Remove ARM __ASSUME_SIGFRAME_V2.
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4         (__ASSUME_SIGFRAME_V2): Remove macro.
5         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10         Declare as function.  Remove conditional macro definitions.
11         (__default_rt_sa_restorer): Likewise.
12         (__default_sa_restorer_v1): Remove declaration.
13         (__default_sa_restorer_v2): Likewise.
14         (__default_rt_sa_restorer_v1): Likewise.
15         (__default_rt_sa_restorer_v2): Likewise.
16         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
19
20 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21
22         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23         (libpthread-routines): Add sysdep.
24         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25         * sysdeps/unix/sysv/linux/sparc/Versions
26         (libpthread: GLIBC_2.3.3): New version set.
27         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33         Moved ...
34         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
37         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
40         * sysdeps/sparc/nptl/sem_init.c: ... here.
41         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42         * sysdeps/sparc/nptl/sem_post.c: ... here.
43         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
45         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46         * sysdeps/sparc/nptl/sem_wait.c: ... here.
47         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
50         (libpthread-routines): Add cpu_relax.
51         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
52         File removed.
53         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
54         (librt: GLIBC_2.3.3): New version set.
55         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
56         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
57         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
58         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
59         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
60         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
61         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
62         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
63         Moved ...
64         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
65         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
66         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
67         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
68         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
69         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
70         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
71         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
72         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
73         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
74         Moved ...
75         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
76         Update #include.
77         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
78         Moved ...
79         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
80         Update #include.
81         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
82         Moved ...
83         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
84         Update #include.
85         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
86         Moved ...
87         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
88         Update #include.
89         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
90         Moved ...
91         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
92         Update #include.
93         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
94         Moved ...
95         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
96         Update #include.
97         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
98         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
99         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
102         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
104         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
108         Moved ...
109         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
111         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
113         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
114
115 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
116
117         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
118         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
119         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
120         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
121         * nscd/nscd.c: Likewise.
122         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
123         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
124         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
125         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
126
127         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
128         <kernel-features.h>.
129         (init_mq_netlink): Remove conditional have_sock_cloexec
130         definitions.  Remove code conditional on have_sock_cloexec < 0.
131         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
132         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
133         * sysdeps/unix/sysv/linux/opensock.c: Do not include
134         <kernel-features.h>.
135         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
136         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
137
138 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
139
140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
141         Add tests for memset_chk and memset.
142
143         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
144         with AVX2_Usable.
145
146 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
147
148         [BZ #16046]
149         * elf/tst-dl-iter-static.c: New file.
150         * elf/Makefile (tests-static): Add tst-dl-iter-static.
151
152         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
153         error.
154
155 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
156
157         * sysdeps/unix/sysv/linux/kernel-features.h
158         (__ASSUME_F_GETOWN_EX): Remove macro.
159         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
160         <kernel-features.h>.
161         (miss_F_GETOWN_EX): Remove variable or macro.
162         (do_fcntl): Do not check miss_F_GETOWN_EX.
163         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
164
165         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
166         Remove macro.
167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
168         [!__ASSUME_AT_RANDOM]: Remove conditional code.
169         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
170
171         * sysdeps/unix/sysv/linux/kernel-features.h
172         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
173         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
174         [ADJ_OFFSET_SS_READ]: Make code unconditional.
175         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
176
177 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
178
179         [BZ #17075]
180         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
181         Fix calculation of the symbol's value.
182         * sysdeps/arm/tst-armtlsdescloc.c: New file.
183         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
184         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
185         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
186         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
187         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
188         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
189         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
190         (modules-names): Add `tst-armtlsdescmod',
191         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
192         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
193         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
194         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
195         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
196         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
197         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
198         ($(objpfx)tst-armtlsdescloc): New dependency.
199         ($(objpfx)tst-armtlsdescextnow): Likewise.
200         ($(objpfx)tst-armtlsdescextlazy): Likewise.
201         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
202         TLS scheme support.
203         * sysdeps/arm/configure: Regenerate.
204
205 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
206
207         * include/fcntl.h (__atfct_seterrno): Remove prototype.
208         (__atfct_seterrno_2): Likewise.
209         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
210         <kernel-features.h>.
211         (__ASSUME_ATFCTS): Do not undefine and redefine.
212         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
213         (__have_atfcts): Remove conditional definition.
214         (__fxstatat([__NR_fstatat64]: Make code unconditional.
215         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
216         unreachable if [__ASSUME_ATFCTS].
217         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
218         not undefine and redefine.
219         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
220         <kernel-features.h>.
221         (faccessat) [__NR_faccessat]: Make code unconditional.
222         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
223         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
224         <kernel-features.h>.
225         (fchmodat) [__NR_fchmodat]: Make code unconditional.
226         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
227         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
228         <kernel-features.h>.
229         (fchownat) [__NR_fchownat]: Make code unconditional.
230         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
231         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
232         <kernel-features.h>.
233         (futimesat) [__NR_futimesat]: Make code unconditional.
234         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
235         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
236         <kernel-features.h>.
237         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
238         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
239         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
240         <kernel-features.h>.
241         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
242         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
243         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
244         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
245         <kernel-features.h>.
246         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
247         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
248         * sysdeps/unix/sysv/linux/linkat.c: Do not include
249         <kernel-features.h>.
250         (linkat) [__NR_linkat]: Make code unconditional.
251         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
252         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
253         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
254         <kernel-features.h>.
255         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
256         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
257         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
258         <kernel-features.h>.
259         (mkdirat) [__NR_mkdirat]: Make code unconditional.
260         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
261         * sysdeps/unix/sysv/linux/openat.c: Do not include
262         <kernel-features.h>.
263         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
264         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
265         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
266         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
267         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
268         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
269         <kernel-features.h>.
270         (readlinkat) [__NR_readlinkat]: Make code unconditional.
271         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
272         result of INLINE_SYSCALL directly, not via int variable.
273         * sysdeps/unix/sysv/linux/renameat.c: Do not include
274         <kernel-features.h>.
275         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
276         (renameat) [__NR_renameat]: Make code unconditional.
277         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
278         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
279         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
280         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
281         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
282         (__ASSUME_ATFCTS): Do not undefine and redefine.
283         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
284         <kernel-features.h>.
285         (symlinkat) [__NR_symlinkat]: Make code unconditional.
286         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
287         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
288         <kernel-features.h>.
289         (unlinkat) [__NR_unlinkat]: Make code unconditional.
290         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
291         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
292         (__ASSUME_ATFCTS): Do not undefine and redefine.
293         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
294         <kernel-features.h>.
295         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
296         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
297         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
298         <kernel-features.h>.
299         (__xmknodat) [__NR_mknodat]: Make code unconditional.
300         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
301
302 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
303
304         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
305
306 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
307
308         [BZ #17069]
309         * posix/regcomp.c (parse_reg_exp): Deallocate partially
310         constructed tree before returning error.
311         * posix/bug-regexp36.c: Expand test case.
312
313 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
314
315         [BZ #6803]
316         * math/libm-test.inc (scalbln_test_date):
317         Add errno expectations.
318         * math/w_scalblnf.c: New File.
319         Add wrapper which checks for setting errno to ERANGE.
320         Add weak_alias for corresponding scalbln function.
321         * math/w_scalbln.c: Likewise.
322         * math/w_scalblnl.c: Likewise.
323         * math/Makefile (libm-calls): Add w_scalbln.
324         * sysdeps/ieee754/flt-32/s_scalblnf.c:
325         Remove weak_alias for corresponding scalbln function.
326         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
327         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
328         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
329         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
330         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
331         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
332         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
333         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
334         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
335         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
336         Remove long_double_symbol for scalblnl function in libm, libc.
337         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
338         Add wrapper which checks for setting errno to ERANGE.
339         Add long_double_symbol for scalblnl function in libm, libc.
340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
341         Remove long_double_symbol for scalblnl in libm.
342         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
343         Add wrapper which checks for setting errno to ERANGE.
344         Add long_double_symbol for scalblnl function in libm.
345         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
346         Do not use wrapper because of own implementation.
347
348 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
349
350         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
351         3 bytes for __pad1 for x32.
352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
353
354 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
355             H.J. Lu  <hongjiu.lu@intel.com>
356
357         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
358         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
359         * sysdeps/x86_64/multiarch/memset.S: Likewise.
360         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
361         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
362
363 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
364
365         [BZ #17069]
366         * posix/regcomp.c (parse_expression): Deallocate partially
367         constructed tree before returning error.
368         * posix/Makefile.c (tests): Add bug-regex36.
369         (generated): Add bug-regex36.mtrace.
370         (tests-special): Add $(objpfx)bug-regex36-mem.out
371         (bug-regex36-ENV): New variable.
372         ($(objpfx)bug-regex36-mem.out): New rule.
373         * posix/bug-regex36.c: New file.
374
375 2014-06-19  Will Newton  <will.newton@linaro.org>
376
377         * malloc/malloc.c (systrim): If extra is zero then return
378         early.
379
380 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
381
382         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
383
384 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
385
386         * sysdeps/aarch64/strchr.S: New file.
387
388 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
389
390         [BZ #17022]
391         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
392         from arguments -2 or below.
393         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
394         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
395
396 2014-06-18  Andreas Schwab  <schwab@suse.de>
397
398         [BZ #17062]
399         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
400         of a bracket expr not to run off the end of the string.
401         * posix/Makefile (tests): Add tst-fnmatch3.
402         * posix/tst-fnmatch3.c: New file.
403
404 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
405
406         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
407         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
408         [$(cross-compiling) = no]: Likewise.
409         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
410         [$(cross-compiling) = no]: Likewise.
411
412 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
413
414         [BZ #17031]
415         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
416         double, adjusted for any remainder from the high double.
417         * math/libm-test.inc (nearbyint): Add tests.
418         (rint): Likewise.
419
420 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
421
422         * nptl/sysdeps/powerpc/Makefile: Moved ...
423         * sysdeps/powerpc/nptl/Makefile: ... here.
424         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
425         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
426         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
427         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
428         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
429         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
430         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
431         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
432         * nptl/sysdeps/powerpc/tls.h: Moved ...
433         * sysdeps/powerpc/nptl/tls.h: ... here.
434
435 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
436
437         [BZ #16681]
438         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
439         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
440         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
441         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
442         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
443         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
444         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
445         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
446         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
447
448 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
449
450         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
451
452 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
453
454         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
455         defined operator.
456
457         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
458         $TIMEOUTFACTOR.
459
460 2014-06-16  Florian Weimer  <fweimer@redhat.com>
461
462         [BZ #17058]
463         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
464         non-executed part of the test.
465
466 2014-06-16  Andreas Schwab  <schwab@suse.de>
467
468         * string/bits/string2.h (strdup, strndup): Update feature guard.
469
470 2014-06-14  David S. Miller  <davem@davemloft.net>
471
472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
473
474 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
475
476         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
477         that was previously under [RESET_PID].
478         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
479
480         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
481         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
482         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
483         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
484         (__libc_vfork): New strong alias.
485         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
486
487 2014-06-14 Andi Kleen  <ak@linux.intel.com>
488
489         * sysdeps/generic/elide.h: New file.
490
491 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
492
493         * Makefile (installed-headers): Adjust path of pthread.h header.
494
495 2014-06-13  Roland McGrath  <roland@hack.frob.com>
496
497         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
498         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
499         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
500         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
501
502         * nptl/sysdeps/s390/Makefile: Moved ...
503         * sysdeps/s390/nptl/Makefile: ... here.
504         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
505         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
506         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
507         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
508         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
509         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
510         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
511         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
512         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
513         * sysdeps/s390/nptl/pthreaddef.h: ... here.
514         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
515         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
516         * nptl/sysdeps/s390/tls.h: Moved ...
517         * sysdeps/s390/nptl/tls.h: ... here.
518
519         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
520         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
521
522 2014-06-13  David S. Miller  <davem@davemloft.net>
523
524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
527         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
529         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
531         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
532         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
533         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
534         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
535         Remove RESET_PID cpp guards.
536         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
537         Remove RESET_PID cpp guards.
538         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
539
540 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
541
542         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
543         __sp to uintptr_t.
544
545 2014-06-13  Andi Kleen  <ak@linux.intel.com>
546
547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
549         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
551         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
554         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
555         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
556         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
559         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
560         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
561         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
564         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
565         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
566         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
567
568         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
569         (pthread_rwlock_rdlock): Add elision.
570         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
571         (pthread_rwlock_wrlock): Add elision.
572         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
573         (pthread_rwlock_trywrlock): Add elision.
574         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
575         (pthread_rwlock_tryrdlock): Add elision.
576         * nptl/pthread_rwlock_unlock.c: Include elide.h.
577         (pthread_rwlock_tryrdlock): Add elision unlock.
578         * nptl/sysdeps/pthread/pthread.h:
579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
580         (PTHREAD_RWLOCK_INITIALIZER,
581         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
582         Handle new elision field.
583         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
584         * sysdeps/arm/nptl/bits/pthreadtypes.h
585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
586         * sysdeps/sh/nptl/bits/pthreadtypes.h
587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
588         * sysdeps/tile/nptl/bits/pthreadtypes.h
589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
590         * sysdeps/a/nptl/bits/pthreadtypes.h
591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
592         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
594         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
596         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
598         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
600         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
602         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
604         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
606         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
608         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
609         (elision_init): Set try_xbegin to zero when no RTM.
610         * sysdeps/x86/nptl/bits/pthreadtypes.h
611         (pthread_rwlock_t): Change __pad1 to __rwelision.
612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
613
614 2014-06-13  Andi Kleen  <ak@linux.intel.com>
615
616         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
617         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
618         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
619         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
620
621 2014-06-13  Meador Inge  <meadori@codesourcery.com>
622
623         [BZ #16996]
624         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
625         that the cached result has been set before returning it.
626
627 2014-06-12  Roland McGrath  <roland@hack.frob.com>
628
629         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
630         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
631         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
632         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
633         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
634         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
635
636         * nptl/sysdeps/sparc/Makefile: Moved ...
637         * sysdeps/sparc/nptl/Makefile: ... here.
638         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
639         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
640         * nptl/sysdeps/sparc/tls.h: Moved ...
641         * sysdeps/sparc/nptl/tls.h: ... here.
642         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
643         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
644         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
645         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
646         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
647         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
648         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
649         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
650         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
651         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
652         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
653         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
654         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
655         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
656         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
657         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
658         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
660         Update #include.
661         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
663         Update #include.
664         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
666         Update #include.
667         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
668         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
669         Update #include.
670
671         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
672
673         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
674         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
675
676         * sysdeps/pthread/posix-timer.h: Include <list.h>.
677         (struct list_links): Type removed.
678         (struct thread_node, struct timer_node): Replace struct list_links
679         with struct list_head.
680         (list_unlink_ip): Likewise.
681         * sysdeps/pthread/timer_routines.c
682         (timer_free_list, thread_free_list, thread_active_list): Likewise.
683         (list_append, list_insbefore): Likewise.
684         (list_init): Function removed.
685         (thread_init, init_module): Use INIT_LIST_HEAD instead.
686         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
687         * sysdeps/pthread/Makefile: ... here, new file.
688
689         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
690         * sysdeps/nptl/Implies: ... here.
691         * sysdeps/unix/sysv/linux/Implies: Add nptl.
692         * nptl/sysdeps/pthread/list.h: Moved ...
693         * include/list.h: ... here.
694         * nptl/sysdeps/pthread/createthread.c: Moved ...
695         * nptl/createthread.c: ... here.
696         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
697         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
698         * nptl/pt-longjmp.c: ... here.
699         * nptl/sysdeps/pthread/Makefile: Moved ...
700         * sysdeps/nptl/Makefile: ... here.
701         * nptl/sysdeps/pthread/Subdirs: Moved ...
702         * sysdeps/nptl/Subdirs: ... here.
703         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
704         * sysdeps/nptl/aio_misc.h: ... here.
705         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
706         * sysdeps/nptl/bits/libc-lock.h: ... here.
707         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
708         * sysdeps/nptl/bits/libc-lockP.h: ... here.
709         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
710         * sysdeps/nptl/bits/stdio-lock.h: ... here.
711         * nptl/sysdeps/pthread/configure: Moved ...
712         * sysdeps/nptl/configure: ... here.
713         * nptl/sysdeps/pthread/configure.ac: Moved ...
714         * sysdeps/nptl/configure.ac: ... here.
715         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
716         * sysdeps/nptl/gai_misc.h: ... here.
717         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
718         * sysdeps/nptl/librt-cancellation.c: ... here.
719         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
720         * sysdeps/nptl/malloc-machine.h: ... here.
721         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
722         * sysdeps/nptl/pthread-functions.h: ... here.
723         * nptl/sysdeps/pthread/pthread.h: Moved ...
724         * sysdeps/nptl/pthread.h: ... here.
725         * nptl/sysdeps/pthread/setxid.h: Moved ...
726         * sysdeps/nptl/setxid.h: ... here.
727         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
728         * sysdeps/nptl/sigfillset.c: ... here.
729         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
730         * sysdeps/nptl/tcb-offsets.h: ... here.
731         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
732         * sysdeps/nptl/tst-mqueue8x.c: ... here.
733         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
734         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
735         * nptl/sysdeps/pthread/allocalim.h: Moved ...
736         * sysdeps/pthread/allocalim.h: ... here.
737         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
738         * sysdeps/pthread/bits/sigthread.h: ... here.
739         * nptl/sysdeps/pthread/flockfile.c: Moved ...
740         * sysdeps/pthread/flockfile.c: ... here.
741         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
742         * sysdeps/pthread/ftrylockfile.c: ... here.
743         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
744         * sysdeps/pthread/funlockfile.c: ... here.
745         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
746         * sysdeps/pthread/posix-timer.h: ... here.
747         * nptl/sysdeps/pthread/timer_create.c: Moved ...
748         * sysdeps/pthread/timer_create.c: ... here.
749         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
750         * sysdeps/pthread/timer_delete.c: ... here.
751         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
752         * sysdeps/pthread/timer_getoverr.c: ... here.
753         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
754         * sysdeps/pthread/timer_gettime.c: ... here.
755         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
756         * sysdeps/pthread/timer_routines.c: ... here.
757         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
758         * sysdeps/pthread/timer_settime.c: ... here.
759         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
760         * sysdeps/pthread/tst-timer.c: ... here.
761         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
762         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
763
764         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
765         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
766
767         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
768         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
769         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
770         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
771         Update #include target.
772         * nptl/sysdeps/i386/i686/Makefile: Moved ...
773         * sysdeps/i386/i686/nptl/Makefile: ... here.
774         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
775         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
776         Update #include target.
777         * nptl/sysdeps/i386/i686/tls.h: Moved ...
778         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
779         * nptl/sysdeps/i386/Makefile: Moved ...
780         * sysdeps/i386/nptl/Makefile: ... here.
781         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
782         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
783         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
784         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
785         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
786         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
787         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
788         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
789         * sysdeps/i386/nptl/pthreaddef.h: ... here.
790         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
791         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
792         * nptl/sysdeps/i386/tls.h: Moved ...
793         * sysdeps/i386/nptl/tls.h: ... here.
794
795         * sysdeps/sh/Makefile [$(subdir) = csu]
796         (gen-as-const-headers): Add tcb-offsets.sym.
797         * nptl/sysdeps/sh/Makefile: File removed.
798         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
799         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
800         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
801         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
802         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
803         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
804         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
805         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
806         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
807         * sysdeps/sh/nptl/pthreaddef.h: ... here.
808         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
809         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
810         * nptl/sysdeps/sh/tls.h: Moved ...
811         * sysdeps/sh/nptl/tls.h: ... here.
812         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
813         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
814         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
815         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
816         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
817         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
818         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
820         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
821         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
823         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
825         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
827         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
829         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
831         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
833         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
837         Moved ...
838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
840         Moved ...
841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
842         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
843         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
844         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
845         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
846         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
847         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
848         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
849         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
850         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
851         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
852         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
853         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
854         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
855         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
856         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
857         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
858         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
859         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
860
861 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
862
863         * posix/spawn_faction_addopen.c: Include string.h.
864
865 2014-06-11  Roland McGrath  <roland@hack.frob.com>
866
867         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
868         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
869         * nptl/sysdeps/x86_64/Makefile: Moved ...
870         * sysdeps/x86_64/nptl/Makefile: ... here.
871         * nptl/sysdeps/x86_64/configure: Moved ...
872         * sysdeps/x86_64/nptl/configure: ... here.
873         * nptl/sysdeps/x86_64/configure.ac: Moved ...
874         * sysdeps/x86_64/nptl/configure.ac: ... here.
875         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
876         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
877         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
878         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
879         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
880         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
881         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
882         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
883         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
884         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
885         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
886         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
887         * nptl/sysdeps/x86_64/tls.h: Moved ...
888         * sysdeps/x86_64/nptl/tls.h: ... here.
889         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
890         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
891         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
892         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
893
894         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
895
896 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
897
898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
899
900 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
901
902         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
903         type.
904         [POSIX] (off_t): Likewise.
905         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
906         [POSIX] (S_ISBLK): Require macro.
907         [POSIX] (S_ISCHR): Likewise.
908         [POSIX] (S_ISDIR): Likewise.
909         [POSIX] (S_ISFIFO): Likewise.
910         [POSIX] (S_ISREG): Likewise.
911         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
912         optional-macro.
913         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
914         type.
915         [POSIX] (time_t): Likewise.
916         [POSIX] (timer_t): Likewise.
917
918 2014-06-11  Florian Weimer  <fweimer@redhat.com>
919
920         [BZ #17048]
921         * posix/spawn_int.h (struct __spawn_action): Make the path string
922         non-const to support deallocation.
923         * posix/spawn_faction_addopen.c
924         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
925         * posix/spawn_faction_destroy.c
926         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
927         path in all spawn_do_open actions.
928         * posix/tst-spawn.c (do_test): Exercise the copy operation in
929         posix_spawn_file_actions_addopen.
930
931 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
932
933         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
934         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
935         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
936         conditional code always true.
937         (__libc_vfork): New alias.
938
939 2014-06-11  Roland McGrath  <roland@hack.frob.com>
940
941         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
942         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
943
944         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
945
946         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
947         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
948
949         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
950         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
951
952         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
953         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
954
955 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
956
957         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
958         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
959         multiarch strcmp for PPC64.
960         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
961         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
963         multiarch optimizations.
964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
965         (__libc_ifunc_impl_list): Likewise.
966
967 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
968
969         * benchtests/scripts/validate_benchout.py: New script.
970         * benchtests/Makefile (bench-func): Call it.
971         * benchtests/scripts/benchout.schema.json: New file.
972
973 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
974
975         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
976         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
977         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
978         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
979         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
980         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
981         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
982         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
983         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
984         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
985         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
986         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
987         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
988         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
989         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
990         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
992         Moved ...
993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
994         ... here.
995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
996         Moved ...
997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
999         Moved ...
1000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1001         ... here.
1002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1003         Moved ...
1004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1005         ... here.
1006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1007         Moved ...
1008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1010         Moved ...
1011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1012         ... here.
1013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1014         Moved ...
1015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1016         ... here.
1017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1018         Moved ...
1019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1021         Moved ...
1022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1023         ... here.
1024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1025         Moved ...
1026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1027         ... here.
1028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1029         Moved ...
1030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1031         ... here.
1032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1033         Moved ...
1034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1036         Moved ...
1037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1038         ... here.
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1040         Moved ...
1041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1042         ... here.
1043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1044         Moved ...
1045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1046         ... here.
1047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1048         Moved ...
1049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1051         Moved ...
1052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1053         ... here.
1054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1055         Moved ...
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1057         ... here.
1058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1059         Moved ...
1060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1064         ... here.
1065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1066         Moved ...
1067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1069         Moved ...
1070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1072         Moved ...
1073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1074         ... here.
1075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1076         Moved ...
1077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1078         ... here.
1079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1080         Moved ...
1081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1082         ... here.
1083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1084         Moved ...
1085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1087         Moved ...
1088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1089         ... here.
1090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1091         Moved ...
1092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1093         ... here.
1094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1095         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1096         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1097         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1099         Moved ...
1100         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1101         ... here.
1102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1103         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1105         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1109         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1111         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1113         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1115         Moved ...
1116         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1118         Moved ...
1119         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1121         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1123         Moved ...
1124         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1128         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1129         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1130         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1131
1132 2014-06-10  Wilco  <wdijkstr@arm.com>
1133
1134         * math/test-fenv-return.c: New file.
1135         * math/Makefile: Add new test test-fenv-return.
1136
1137 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1138
1139         [BZ #17042]
1140         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1141         when x - 1 is zero.
1142         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1143         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1144         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1145         0.0L for an argument of 1.0L.
1146         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1147         Likewise.
1148         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1149         value when x - 1 is zero.
1150         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1151         * sysdeps/i386/fpu/libm-test-ulps: Update.
1152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1153
1154 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1155
1156         [BZ #15119]
1157         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1158
1159 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1160
1161         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1162         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1163
1164 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1165
1166         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1167         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1168
1169         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1170         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1171
1172         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1173         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1174
1175         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1176         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1177
1178         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1179         if not already defined.
1180         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1181         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1182         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1183         (TLS_INIT_TP): Use it.
1184         (TLS_DEFINE_INIT_TP): New macro.
1185         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1186
1187 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1188
1189         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1190         constant.
1191         [POSIX] (IXANY): Likewise.
1192         [POSIX] (OLCUC): Likewise.
1193         [POSIX || POSIX2008] (CBAUD): Do not allow.
1194         [POSIX || POSIX2008] (DEFECHO): Likewise.
1195         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1196         [POSIX || POSIX2008] (ECHOKE): Likewise.
1197         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1198         [POSIX || POSIX2008] (EXTA): Likewise.
1199         [POSIX || POSIX2008] (EXTB): Likewise.
1200         [POSIX || POSIX2008] (FLUSHO): Likewise.
1201         [POSIX || POSIX2008] (LOBLK): Likewise.
1202         [POSIX || POSIX2008] (PENDIN): Likewise.
1203         [POSIX || POSIX2008] (SWTCH): Likewise.
1204         [POSIX || POSIX2008] (VDISCARD): Likewise.
1205         [POSIX || POSIX2008] (VDSUSP): Likewise.
1206         [POSIX || POSIX2008] (VLNEXT): Likewise.
1207         [POSIX || POSIX2008] (VREPRINT): Likewise.
1208         [POSIX || POSIX2008] (VSTATUS): Likewise.
1209         [POSIX || POSIX2008] (VWERASE): Likewise.
1210         (B*): Change to B[0123456789]*.
1211         * conform/data/time.h-data [POSIX || UNIX98]
1212         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1213         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1214         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1215         [POSIX] (tm_*): Do not allow.
1216
1217 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1218
1219         * Makefile (install): Don't set LANGUAGE.
1220         * Makefile.in (install): Likewise.
1221         * assert/Makefile (test-assert-ENV): Remove variable.
1222         (test-assert-perr-ENV): Likewise.
1223         * elf/Makefile (neededtest4-ENV): Likewise.
1224         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1225         [$(cross-compiling) = no]: Don't set LANGUAGE.
1226         * io/ftwtest-sh (LANG): Remove variable.
1227         * libio/Makefile (tst-widetext-ENV): Likewise.
1228         * manual/install.texi (Running make install): Don't refer to
1229         environment settings for make install.
1230         * INSTALL: Regenerated.
1231         * nptl/tst-tls6.sh: Don't set LANG.
1232         * posix/globtest.sh (LANG): Remove variable.
1233         * string/Makefile (tester-ENV): Likewise.
1234         (inl-tester-ENV): Likewise.
1235         (noinl-tester-ENV): Likewise.
1236         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1237         [$(cross-compiling) = no]: Don't set LANGUAGE.
1238         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1239         without explicit environment settings.
1240
1241 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1242
1243         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1244         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1245         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1246         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1247
1248 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1249
1250         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1251         other files in the crypt directory.
1252         * crypt/crypt.c: Remove duplicate includes.
1253         * crypt/crypt-entry.c: Likewise.
1254         * crypt/crypt_util.c: Likewise.
1255
1256 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1257
1258         * Makeconfig (run-program-env): New variable.
1259         (run-program-prefix-before-env): Likewise.
1260         (run-program-prefix-after-env): Likewise.
1261         (run-program-prefix): Define in terms of new variables.
1262         (built-program-cmd-before-env): New variable.
1263         (built-program-cmd-after-env): Likewise.
1264         (built-program-cmd): Define in terms of new variables.
1265         (test-program-prefix-before-env): New variable.
1266         (test-program-prefix-after-env): Likewise.
1267         (test-program-prefix): Define in terms of new variables.
1268         (test-program-cmd-before-env): New variable.
1269         (test-program-cmd-after-env): Likewise.
1270         (test-program-cmd): Define in terms of new variables.
1271         * Rules (make-test-out): Use $(run-program-env).
1272         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1273         (help): Do not mention environment variables.  Mention
1274         --timeoutfactor option.
1275         (timeoutfactor): New variable.
1276         (blacklist_exports): Remove function.
1277         (exports): Remove variable.
1278         (command): Do not include ${exports}.
1279         * manual/install.texi (Configuring and compiling): Do not mention
1280         test wrappers preserving environment variables.  Mention that last
1281         assignment to a variable must take precedence.
1282         * INSTALL: Regenerated.
1283         * benchtests/Makefile (run-bench): Use $(run-program-env).
1284         * catgets/Makefile ($(objpfx)test1.cat): Use
1285         $(built-program-cmd-before-env), $(run-program-env) and
1286         $(built-program-cmd-after-env).
1287         ($(objpfx)test2.cat): Do not specify environment variables
1288         explicitly.
1289         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1290         $(run-program-env) and $(built-program-cmd-after-env).
1291         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1292         $(run-program-env) and $(test-program-cmd-after-env).
1293         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1294         explicitly.
1295         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1296         run_program_env and test_program_cmd_after_env arguments.
1297         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1298         * elf/tst-pathopt.sh: Use run_program_env argument.
1299         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1300         $(test-wrapper-env) and $(run-program-env).
1301         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1302         run_program_env arguments.
1303         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1304         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1305         $(test-program-prefix-before-env), $(run-program-env) and
1306         $(test-program-prefix-after-env).
1307         ($(objpfx)tst-gettext2.out): Likewise.
1308         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1309         run_program_env and test_program_prefix_after_env arguments.
1310         * intl/tst-gettext2.sh: Likewise.
1311         * intl/tst-gettext4.sh: Do not set environment variables
1312         explicitly.
1313         * intl/tst-gettext6.sh: Likewise.
1314         * intl/tst-translit.sh: Likewise.
1315         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1316         $(test-program-prefix-before-env), $(run-program-env) and
1317         $(test-program-prefix-after-env).
1318         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1319         run_program_env and test_program_prefix_after_env arguments.
1320         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1321         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1322         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1323         explicitly with each use of ${test_wrapper_env}.
1324         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1325         $(test-program-prefix-before-env), $(run-program-env) and
1326         $(test-program-prefix-after-env).
1327         * posix/tst-getconf.sh: Do not set environment variables
1328         explicitly.
1329         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1330         run_program_env and test_program_prefix_after_env arguments.
1331         * stdio-common/tst-printf.sh: Do not set environment variables
1332         explicitly.
1333         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1334         $(test-program-prefix-before-env), $(run-program-env) and
1335         $(test-program-prefix-after-env).
1336         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1337         run_program_env and test_program_prefix_after_env arguments.
1338         Split $test calls into $test_pre and $test.
1339         * timezone/Makefile (build-testdata): Use
1340         $(built-program-cmd-before-env), $(run-program-env) and
1341         $(built-program-cmd-after-env).
1342
1343 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1344
1345         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1346         strlen for non SHARED builds.
1347
1348 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1349
1350         * nptl/allocatestack.c (check_list): Inlined function...
1351         (__reclaim_stacks): ... here.
1352
1353 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1354
1355         [BZ #15698]
1356         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1357         memory overrun.
1358
1359 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1360
1361         * Rules (make-test-out): Include
1362         LOCPATH=$(common-objpfx)localedata in default environment.
1363         * debug/Makefile (tst-chk1-ENV): Remove variable.
1364         (tst-chk2-ENV): Likewise.
1365         (tst-chk3-ENV): Likewise.
1366         (tst-chk4-ENV): Likewise.
1367         (tst-chk5-ENV): Likewise.
1368         (tst-chk6-ENV): Likewise.
1369         (tst-lfschk1-ENV): Likewise.
1370         (tst-lfschk2-ENV): Likewise.
1371         (tst-lfschk3-ENV): Likewise.
1372         (tst-lfschk4-ENV): Likewise.
1373         (tst-lfschk5-ENV): Likewise.
1374         (tst-lfschk6-ENV): Likewise.
1375         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1376         (tst-iconv7-ENV): Likewise.
1377         * intl/Makefile (LOCPATH-ENV): Likewise.
1378         (tst-codeset-ENV): Likewise.
1379         (tst-gettext3-ENV): Likewise.
1380         (tst-gettext5-ENV): Likewise.
1381         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1382         (tst-fopenloc-ENV): Likewise.
1383         (tst-fgetws-ENV): Remove variable.
1384         (tst-ungetwc1-ENV): Likewise.
1385         (tst-ungetwc2-ENV): Likewise.
1386         (bug-ungetwc2-ENV): Likewise.
1387         (tst-swscanf-ENV): Likewise.
1388         (bug-ftell-ENV): Likewise.
1389         (tst-fgetwc-ENV): Likewise.
1390         (tst-fseek-ENV): Likewise.
1391         (tst-ftell-partial-wide-ENV): Likewise.
1392         (tst-ftell-active-handler-ENV): Likewise.
1393         (tst-ftell-append-ENV): Likewise.
1394         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1395         (tst-regexloc-ENV): Likewise.
1396         (bug-regex1-ENV): Likewise.
1397         (tst-regex-ENV): Likewise.
1398         (tst-regex2-ENV): Likewise.
1399         (bug-regex5-ENV): Likewise.
1400         (bug-regex6-ENV): Likewise.
1401         (bug-regex17-ENV): Likewise.
1402         (bug-regex18-ENV): Likewise.
1403         (bug-regex19-ENV): Likewise.
1404         (bug-regex20-ENV): Likewise.
1405         (bug-regex22-ENV): Likewise.
1406         (bug-regex23-ENV): Likewise.
1407         (bug-regex25-ENV): Likewise.
1408         (bug-regex26-ENV): Likewise.
1409         (bug-regex30-ENV): Likewise.
1410         (bug-regex32-ENV): Likewise.
1411         (bug-regex33-ENV): Likewise.
1412         (bug-regex34-ENV): Likewise.
1413         (bug-regex35-ENV): Likewise.
1414         (tst-rxspencer-ENV): Likewise.
1415         (tst-rxspencer-no-utf8-ENV): Likewise.
1416         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1417         (tst-sscanf-ENV): Likewise.
1418         (tst-swprintf-ENV): Likewise.
1419         (tst-swscanf-ENV): Likewise.
1420         (test-vfprintf-ENV): Likewise.
1421         (scanf13-ENV): Likewise.
1422         (bug14-ENV): Likewise.
1423         (tst-grouping-ENV): Likewise.
1424         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1425         (tst-strtod3-ENV): Likewise.
1426         (tst-strtod4-ENV): Likewise.
1427         (tst-strtod5-ENV): Likewise.
1428         (testmb2-ENV): Likewise./
1429         * string/Makefile (tst-strxfrm-ENV): Likewise.
1430         (tst-strxfrm2-ENV): Likewise.
1431         (bug-strcoll1-ENV): Likewise.
1432         (test-strcasecmp-ENV): Likewise.
1433         (test-strncasecmp-ENV): Likewise.
1434         * time/Makefile (tst-strptime-ENV): Likewise.
1435         (tst-ftime_l-ENV): Likewise.
1436         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1437         (tst-mbrtowc-ENV): Likewise.
1438         (tst-wcrtomb-ENV): Likewise.
1439         (tst-mbrtowc2-ENV): Likewise.
1440         (tst-c16c32-1-ENV): Likewise.
1441         (tst-mbsnrtowcs-ENV): Likewise.
1442
1443 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1444
1445         * manual/resource.texi (How to get information about the memory
1446         subsystem?): Fix typo.
1447         Reported by Peon de la Parra Ivan <peon@keba.com>
1448
1449 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1450
1451         [BZ #16882]
1452         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1453         (pthread_spin_lock): Branch out of spin loop to proper location.
1454         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1455         (pthread_spin_lock): Likewise.
1456
1457         * nptl/tst-spin4.c: New test.
1458         * nptl/Makefile (tests): Add tst-spin4.
1459
1460 2014-06-03  Andreas Schwab  <schwab@suse.de>
1461
1462         [BZ #15946]
1463         * resolv/res_send.c (send_dg): Reload file descriptor after
1464         calling reopen.
1465
1466 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1467
1468         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1469
1470 2014-06-03  Richard Henderson  <rth@redhat.com>
1471
1472         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1473         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1474         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1475         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1476         in the SAVE_PID block.
1477         (__libc_vfork): New alias.
1478         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1479
1480         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1481         child in registers, not on the stack.  Remove RESET_PID conditionals.
1482         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1483
1484 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1485
1486         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1487
1488 2014-06-03  Wilco  <wdijkstr@arm.com>
1489
1490         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1491         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1492         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1493         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1494         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1495         Likewise.
1496
1497 2014-06-03  Wilco  <wdijkstr@arm.com>
1498
1499         * sysdeps/aarch64/fpu/math_private.h
1500         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1501         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1502         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1503         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1504         Fix declarations.
1505
1506 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1507
1508         * crypt/crypt-private.h: Include ufc-crypt.h.
1509         (__b64_from_24bit): Declare extern.
1510         * crypt/crypt_util.c(__b64_from_24bit): New function.
1511         (b64t): New static const variable.
1512         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1513         (b64t): Remove variable.
1514         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1515         * crypt/sha256-crypt.c: Include crypt-private.h.
1516         (b64t): Remove variable.
1517         (__sha256_crypt_r): Remove b64_from_24bit and replace
1518         with __b64_from_24bit.
1519         * crypt/sha512-crypt.c: Likewise.
1520
1521 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1522
1523         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1524         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1525         Label the code __libc_vfork rather than __vfork.
1526         [!NOT_IN_libc] (vfork): Define as weak alias.
1527         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1528         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1529         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1530
1531 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1532
1533         * malloc/malloc.c (malloc_info): Fix format specifier for
1534         n_mmaps.
1535
1536 2014-06-02  Wilco  <wdijkstr@arm.com>
1537
1538         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1539         FPCR write.
1540
1541 2014-06-02  Wilco  <wdijkstr@arm.com>
1542
1543         [BZ #17009]
1544         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1545         Rewrite to reduce FPCR/FPSR accesses.
1546
1547 2014-06-01  David S. Miller  <davem@davemloft.net>
1548
1549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1550
1551 2014-05-31  David S. Miller  <davem@davemloft.net>
1552
1553         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1554         to occur in round to nearest mode when |x| >= 2.0
1555
1556 2014-05-30  Richard Henderson  <rth@twiddle.net>
1557
1558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1559         (PSEUDO_RET_NOERRNO): Remove.
1560         (ret): Don't redefine.
1561         (ret_NOERRNO): Define in terms of ret.
1562         (ret_ERRVAL): Likewise.
1563
1564         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1565         use of PSEUDO_RET; perform the error check directly.
1566
1567 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1568
1569         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1570         with __int128_t.
1571
1572 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1573
1574         * malloc/malloc (malloc_info): Fix formatting.
1575
1576 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1577             Roland McGrath  <roland@hack.frob.com>
1578
1579         * malloc/malloc (malloc_info): Also print mmapped statistics.
1580
1581 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1582
1583         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1584         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1585
1586 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1587
1588         * malloc/malloc.c (malloc_info): Inline mi_arena.
1589
1590 2014-05-29  Richard Henderson  <rth@twiddle.net>
1591
1592         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1593         Remove comma before expanding ASM_ARGS_##nr.
1594         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1595         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1596         of ASM_ARGS_##nr.
1597         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1598         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1599         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1600         (ASM_ARGS_1): Add leading comma.
1601
1602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1603         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1604         to __errno_location.
1605         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1606         Remove the expected plt for __errno_location.
1607
1608         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1609         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1610         call to __read_tp.
1611
1612         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1613         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1614         it and break it down.
1615         (DOCARGS_0, DOCARGS_1): Do nothing.
1616         (DOCARGS_2): Update to store into the new stack frame.
1617         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1618         (UNDOCARGS_1): Update to restore from the new stack frame.
1619         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1620         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1621
1622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1623         (SINGLE_THREAD_P): New parameter for result regno.
1624         (PSEUDO): Update to match; use cbz instead of beq.
1625
1626         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1627         Use ENTRY to define the _nocancel entry point.  Share the syscall
1628         and syscall error check paths with the cancel path.
1629         (PSEUDO_END): New.
1630
1631         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1632         whitespace; tabs before and after asm mnemonics.
1633
1634 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1635
1636         [BZ #15132]
1637         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1638         Call fstat64 or stat64 internally, depending on arguments passed.
1639         Replace stat buffer argument with file descriptor argument.
1640         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1641         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1642         Pass fd to __internal_statvfs instead of calling fstat64.
1643         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1644         Pass fd to __internal_statvfs64 instead of calling fstat64.
1645         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1646         Pass -1 to __internal_statvfs instead of calling stat64.
1647         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1648         Pass -1 to __internal_statvfs64 instead of calling stat64.
1649
1650 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1651
1652         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1653         that was previously under [RESET_PID].
1654         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1655
1656         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1657         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1658
1659 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1660
1661         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1662
1663         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1664         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1665
1666 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1667
1668         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1669
1670 2014-05-27  Andreas Schwab  <schwab@suse.de>
1671
1672         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1673         TLS_INIT_TP macro.
1674         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1675         * elf/rtld.c (init_tls, dl_main): Likewise.
1676         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1677         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1678         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1679         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1680         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1681         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1682         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1683         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1684         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1685         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1686         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1687         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1688         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1689         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1690         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1691         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1692         * sysdeps/generic/tls.h: Update description.
1693
1694 2014-05-27  Will Newton  <will.newton@linaro.org>
1695
1696         [BZ #16990]
1697         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1698         and restore r2 rather than just restoring.
1699
1700 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1701
1702         [BZ #16724]
1703         * libio/tst-ftell-append.c: New test case.
1704         * libio/Makefile (tests): Add test case.
1705         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1706         append mode.
1707         * libio/wfileops.c (do_ftell_wide): Likewise.
1708
1709 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1710
1711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1712
1713         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1714         ...
1715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1717         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1718         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1719         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1720         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1722         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1724         Moved ...
1725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1727         Moved ...
1728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1730         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1731         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1732         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1733         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1734         ...
1735         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1737         Moved ...
1738         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1739         here.
1740         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1741         ...
1742         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1743         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1744         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1745
1746         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1747         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1749         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1750
1751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1752         merge into ...
1753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1755         ...
1756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1758         ...
1759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1761         Moved ...
1762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1763         here.
1764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1765         Moved ...
1766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1767         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1768         Moved ...
1769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1770
1771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1772         conditional [RESET_PID].
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1775         removed.
1776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1777         removed.
1778
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1780         <tcb-offsets.h>.
1781         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1782         (__libc_vfork): New strong alias.
1783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1784         removed.
1785         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1786         Removed.
1787
1788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1789         <tcb-offsets.h>.
1790         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1791         (__libc_vfork): New strong alias.
1792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1793         removed.
1794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1795         removed.
1796
1797 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1798
1799         * malloc/malloc.c (mi_arena): New function.
1800         (malloc_info): Remove nested function mi_arena. Call non-nosted
1801         function mi_arena.
1802
1803 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1804
1805         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1806         by insrwi.
1807         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1808         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1809         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1810         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1811         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1812         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1813         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1814
1815 2014-05-26  Andreas Schwab  <schwab@suse.de>
1816
1817         [BZ #16984]
1818         * locale/programs/repertoire.c (repertoire_read): Add slash
1819         between I18NPATH element and file name.
1820         * locale/programs/locfile.c (locfile_read): Likewise.
1821
1822 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1823
1824         * nptl/pthread_mutexattr_settype.c
1825         (__pthread_mutexattr_settype):
1826         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1827
1828 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1829
1830         * nptl/tst-mutex5 (do_test):
1831         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1832
1833 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1834
1835         * benchtests/README: Document 'init' directive.
1836         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1837         BENCH_INIT.
1838         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1839         (parse_file): Recognize 'init' directive.
1840
1841 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1842
1843         [BZ #16796]
1844         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1845         alignment of struct pthread.
1846
1847 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1848
1849         [BZ #16878]
1850         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1851         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1852         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1853         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1854
1855 2014-05-25  Richard Henderson  <rth@twiddle.net>
1856
1857         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1858         (SINGLE_THREAD_P_PIC): Remove.
1859         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1860         (SINGLE_THREAD_P_PIC): Remove.
1861
1862         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1863         branch to syscall error ...
1864         (PSEUDO): ... here.
1865         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1866         from __local_syscall_error to .Lsyscall_error.
1867         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1868         (SYSCALL_ERROR): Update label name.
1869
1870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1871         Do not use DOARGS/UNDOARGS.
1872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1873         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1874         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1875         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1876         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1877
1878         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1879         block comment.
1880
1881         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1882         define if !NOT_IN_libc.
1883         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1884         define with non-default symbol versions.
1885
1886 2014-05-23  Richard Henderson  <rth@twiddle.net>
1887
1888         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1889         (vfork, __vfork): Define via compat_symbol.
1890
1891         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1892         [!HAVE_IFUNC] (vfork_compat): Remove.
1893         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1894
1895 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1896
1897         [BZ #16978]
1898         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1899         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1900         variable.
1901
1902 2014-05-23  Richard Henderson  <rth@twiddle.net>
1903
1904         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1905         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1906         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1907         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1908
1909         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1910         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1911         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1912         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1913         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1914         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1915         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1916         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1917         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1918         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1919         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1920         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1921         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1924         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1925         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1926         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1927         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1928         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1929         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1930         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1931         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1932         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1933         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1936         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1937         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1938         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1939         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1940         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1944         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1948         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1949         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1950         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1951         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1952         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1953         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1954         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1956         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1958         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1960         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1961         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1962         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1963         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1964         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1965
1966         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1967         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1968         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1969         before exiting on error.
1970         (__libc_vfork): New strong alias.
1971         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1972         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1973
1974         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1975         that was previously under [RESET_PID].
1976         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1977
1978         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1979
1980 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1981
1982         [BZ #16977]
1983         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1984         value when x - 1 is zero.
1985         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1986         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1987         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1988         0.0L for an argument of 1.0L.
1989         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1990         Likewise.
1991         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1992         value when x - 1 is zero.
1993         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1994         * sysdeps/i386/fpu/libm-test-ulps: Update.
1995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1996
1997 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1998
1999         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2000         alphasort and versionsort.
2001
2002 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2003
2004         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2005         macro.
2006         [copysignf]: Likewise.
2007
2008 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2009
2010         * crypt/md5-crypt.c: Fix formatting.
2011
2012 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2013
2014         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2015         (b64_from_24bit): New function.
2016
2017 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2018
2019         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2020         libc_hidden_builtin_def to ifunc.
2021         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2022         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2023
2024 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2025
2026         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2027         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2028
2029 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2030
2031         * nscd/Depend (linuxthreads): Remove.
2032         (nptl): Add.
2033         * resolv/Depend (linuxthreads): Remove.
2034         * rt/Depend (linuxthreads): Remove.
2035
2036         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2037         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2038         $(common-objpfx)elf/.
2039         (link-libc-before-gnulib): Likewise.
2040         (elfobjdir): Remove variable.
2041         * Makefile (install): Use $(elf-objpfx) instead of
2042         $(common-objpfx)elf/.
2043         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2044         $(elfobjdir)/.
2045         (link-libc-deps): Likewise.
2046         ($(common-objpfx)libc.so): Likewise.
2047         ($(common-objpfx)linkobj/libc.so): Likewise.
2048         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2049         instead of $(common-objpfx)elf/.
2050         (symbolic-link-list): Likewise.
2051         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2052         [$(cross-compiling) = no]: Likewise.
2053         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2054         $(elfobjdir)/.
2055         (static-gnulib-arch): Likewise.
2056         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2057         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2058         $(common-objpfx)elf/.
2059
2060 2014-05-21  Richard Henderson  <rth@redhat.com>
2061
2062         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2063         (SINGLE_THREAD_P): Use the correct width load.  Fold
2064         into the ldr offset.
2065
2066         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2067         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2068
2069 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2070
2071         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2072         (libgcc_s_resume): Use __attribute_used__.
2073         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2074         Likewise.
2075
2076 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2077
2078         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2079         optimization when used with float constants.
2080
2081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2082
2083 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2084
2085         [BZ #16915]
2086         * locale/nl_langinfo_l.c: Make direct reference to every
2087         _nl_current_CATEGORY symbol.
2088         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2089         (tests-static): Add tst-langinfo-static.
2090         (tests-special): Add tst-langinfo-static.out.
2091         ($(objpfx)tst-langinfo.out): Redirect output.
2092         ($(objpfx)tst-langinfo-static.out): New.
2093         * localedata/tst-langinfo.sh: Send output to stdout.
2094         * localedata/tst-langinfo-static.c: New file.
2095
2096         [BZ #16965]
2097         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2098         when the shift amount is modulo the limb size.
2099
2100 2014-05-20  Richard Henderson  <rth@redhat.com>
2101
2102         [BZ #16967]
2103         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2104         Change type of sa_flags from unsigned int to int.
2105
2106         [BZ #16966]
2107         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2108
2109         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2110
2111 2014-05-20  Will Newton  <will.newton@linaro.org>
2112
2113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2114         Test the return value of the system call in the nocancel case.
2115
2116 2014-05-20  Will Newton  <will.newton@linaro.org>
2117             Yvan Roux  <yvan.roux@linaro.org>
2118
2119         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2120         #include of asm/ptrace.h.
2121         (PTRACE_GET_THREAD_AREA): Remove #undef.
2122         (PTRACE_GETHBPREGS): Likewise.
2123         (PTRACE_SETHBPREGS): Likewise.
2124         (struct user_regs_struct): New structure.
2125         (struct user_fpsimd_struct): New structure.
2126         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2127         #include of asm/ptrace.h and second #include of sys/user.h.
2128         (PTRACE_GET_THREAD_AREA): Remove #undef.
2129         (PTRACE_GETHBPREGS): Likewise.
2130         (PTRACE_SETHBPREGS): Likewise.
2131         (ELF_NGREG): Use new struct user_regs_struct.
2132         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2133
2134 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2135
2136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2138
2139 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2140
2141         [BZ #16958]
2142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2143         membar to avoid block loads/stores to overlap previous stores.
2144
2145 2014-05-17  Richard Henderson  <rth@redhat.com>
2146
2147         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2148         Create the __##syscall_name##_nocancel entry point.
2149         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2150         Remove; let the sysdep-cancel.h code create it.
2151
2152 2014-05-17  David S. Miller  <davem@davemloft.net>
2153
2154         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2155         Protect with __USE_GNU.
2156         (TIOCSET_TEMPT): Likewise.
2157         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2158         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2159         these are already provided in bits/ioctl-types.h
2160
2161 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2162
2163         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2164         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2165
2166         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2167         Use wait4 regardless of [__NR_waitpid].
2168
2169 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2170
2171         PR libgcc/60166
2172         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2173         (_FP_NANSIGN_Q): Set the quiet bit.
2174
2175 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2176
2177         * benchtests/Makefile
2178         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2179         not $(common-objpfx)math/libm.so.
2180         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2181         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2182         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2183         $(common-objpfx)dlfcn/libdl.so.
2184         ($(objpfx)tst-audit8): Depend on $(libm), not
2185         $(common-objpfx)math/libm.so.
2186         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2187         not $(common-objpfx)dlfcn/libdl.so.
2188         * math/Makefile
2189         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2190         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2191         [$(build-shared) = yes].
2192         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2193         $(common-objpfx)nptl/libpthread.so.
2194         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2195         $(common-objpfx)math/libm.so$(libm.so-version) or
2196         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2197         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2198         $(common-objpfx)dlfcn/libdl.so.
2199         * setjmp/Makefile (link-libm): Remove variable.
2200         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2201         * stdio-common/Makefile (link-libm): Remove variable.
2202         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2203         * stdlib/Makefile (link-libm): Remove variable.
2204         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2205         ($(objpfx)tst-strtod-round): Likewise.
2206         ($(objpfx)tst-tininess): Likewise.
2207         ($(objpfx)tst-strtod-underflow): Likewise.
2208         ($(objpfx)tst-strtod6): Likewise.
2209         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2210         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2211         $(common-objpfx)dlfcn/libdl.so.
2212
2213 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2214
2215         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2216         BSD terminal modes definitions.
2217
2218 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2219
2220         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2221         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2222
2223         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2224         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2225         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2226         Don't do #include_next.
2227         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2228         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2229         Don't do #include_next.
2230         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2231         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2232         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2233         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2234
2235 2014-05-16  Allan McRae  <allan@archlinux.org>
2236
2237         * po/sv.po: Update Swedish translation from translation project.
2238
2239         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2240         in sed expression.
2241
2242 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2243
2244         [BZ #16917]
2245         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2246         errno if the TIOCGPTN ioctl fails with an error different than
2247         EINVAL.
2248         * login/tst-ptsname.c: New file.
2249         * login/Makefile (tests): Add tst-ptsname.
2250
2251         [BZ #16943]
2252         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2253         and prlimit64.
2254
2255 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2256
2257         [BZ #16849]
2258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2259         herrno to return EAI_AGAIN.
2260
2261 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2262
2263         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2264         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2265         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2266         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2267         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2268         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2269         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2270         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2272         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2273         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2274         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2275         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2276         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2278         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2280         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2281         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2282         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2284         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2286         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2287         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2288         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2292         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2294         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2298         Moved ...
2299         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2301         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2303         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2307         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2309         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2311         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2315         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2317         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2319         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2321         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2323         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2327         Moved ...
2328         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2340         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2344         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2346         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2348         Moved ...
2349         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2351         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2352
2353         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2354         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2355         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2356         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2357         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2358         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2359         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2360         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2361         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2362         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2363         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2364         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2365         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2367         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2368         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2369         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2371         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2372         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2373         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2375         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2377         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2378         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2379         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2380         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2381         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2382         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2383         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2384
2385         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2386         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2387
2388         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2389         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2390         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2391         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2392         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2394         Moved ...
2395         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2397         Moved ...
2398         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2400         Moved ...
2401         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2403         Moved ...
2404         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2405         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2406         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2407         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2408         Moved ...
2409         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2410         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2411         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2413         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2414         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2415         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2417         Moved ...
2418         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2420         Moved ...
2421         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2422         ... here.
2423         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2424         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2425         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2426         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2428         Moved ...
2429         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2430         ... here.
2431         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2432         Moved ...
2433         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2434         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2435         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2437         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2439         Moved ...
2440         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2442         Moved ...
2443         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2445         Moved ...
2446         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2447         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2448         Moved ...
2449         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2450         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2451         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2452         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2453         Moved ...
2454         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2455         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2456         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2458         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2459         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2460         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2462         Moved ...
2463         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2465         Moved ...
2466         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2467         ... here.
2468         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2469         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2470         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2471         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2473         Moved ...
2474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2475         ... here.
2476         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2477         Moved ...
2478         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2479         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2480         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2481         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2482         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2483         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2484         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2485         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2486         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2488         Moved ...
2489         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2491         Moved ...
2492         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2494         Moved ...
2495         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2496         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2497         Moved ...
2498         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2499         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2500         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2501         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2502         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2503         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2504         Moved ...
2505         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2506         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2507         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2511         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2513         Moved ...
2514         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2516         Moved ...
2517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2518         ... here.
2519         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2520         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2521         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2522         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2524         Moved ...
2525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2526         ... here.
2527         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2528         Moved ...
2529         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2531         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2533         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2534         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2535         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2536         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2537         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2539         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2540
2541         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2542         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2543
2544         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2545         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2546
2547         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2548         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2549         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2550         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2551         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2552         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2553         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2554         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2555         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2556         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2558         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2559         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2560         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2561         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2563         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2565         Moved ...
2566         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2570         Moved ...
2571         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2573         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2575         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2579         Moved ...
2580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2585         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2587         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2588         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2589         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2590         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2591         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2592         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2593         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2594         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2595         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2596         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2597         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2598         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2599         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2600
2601         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2602         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2603         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2604         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2605         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2606
2607         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2608         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2609         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2610         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2611         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2612         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2613         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2614         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2615         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2616         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2617
2618         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2619         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2620
2621         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2622         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2623         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2624         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2625         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2626         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2627         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2628         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2629         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2630         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2631         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2632         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2633         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2634         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2636         Update #include.
2637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2638         Likewise.
2639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2640         Likewise.
2641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2642         Likewise.
2643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2644         Likewise.
2645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2646         Likewise.
2647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2648         Likewise.
2649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2650         Likewise.
2651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2652         Likewise.
2653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2654         Likewise.
2655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2663         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2667         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2668         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2669         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2670
2671         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2672         that was previously under [RESET_PID].
2673         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2674         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2675         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2676
2677         * sysdeps/i386/nptl/Implies: New file.
2678         * sysdeps/x86_64/nptl/Implies: New file.
2679         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2680         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2681         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2682         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2683
2684         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2685         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2686         (__libc_vfork): New strong alias.
2687         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2688         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2689
2690         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2691         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2692         (__libc_vfork): New strong alias.
2693         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2694         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2695
2696         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2697         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2698         (__libc_vfork): New strong alias.
2699         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2700         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2701         * nptl/pt-vfork.c: New file.
2702         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2703         (libpthread: GLIBC_2.20): New version set (empty).
2704
2705 2014-05-14  Will Newton  <will.newton@linaro.org>
2706
2707         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2708         rather than #if.
2709
2710 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2711
2712         [BZ #16564]
2713         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2714         arguments with exponent 65 or above.
2715         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2716         arguments 0x1p113L or above.
2717         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2718         to arguments 0x1p107L or above.
2719         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2720         positive arguments with exponent 65 or above.
2721         * math/auto-libm-test-in: Add more tests of log1p.
2722         * math/auto-libm-test-out: Regenerated.
2723
2724         [BZ #16928]
2725         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2726         non-finite arguments is +0.
2727         * math/s_cacosf.c (__cacosf): Likewise.
2728         * math/s_cacosl.c (__cacosl): Likewise.
2729         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2730         * sysdeps/i386/fpu/libm-test-ulps: Update.
2731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732
2733         [BZ #16927]
2734         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2735         value.
2736         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2737         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2738         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2739         for explicit high bit of mantissa when testing for argument equal
2740         to 1.
2741         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2742         * sysdeps/i386/fpu/libm-test-ulps: Update.
2743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744
2745         [BZ #16516]
2746         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2747         (__erf): Scale by 16 instead of 8 in potentially underflowing
2748         case.  Ensure exception if result actually underflows.
2749         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2750         (__erff): Scale by 16 instead of 8 in potentially underflowing
2751         case.  Ensure exception if result actually underflows.
2752         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2753         (efx8): Remove variable.
2754         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2755         case.  Ensure exception if result actually underflows.
2756         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2757         (efx8): Remove variable.
2758         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2759         case.  Ensure exception if result actually underflows.
2760         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2761         (efx8): Remove variable.
2762         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2763         case.  Ensure exception if result actually underflows.
2764         * math/auto-libm-test-in: Add more tests of erf.
2765         * math/auto-libm-test-out: Regenerated.
2766
2767 2014-05-14  Andreas Schwab  <schwab@suse.de>
2768
2769         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2770         Remove code conditionalized on USE___THREAD.
2771
2772         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2773         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2774         not definedness.
2775
2776 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2777
2778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2779         Define unconditionally.
2780         (__ASSUME_O_CLOEXEC): Likewise.
2781         (__ASSUME_SOCK_CLOEXEC): Likewise.
2782         (__ASSUME_IN_NONBLOCK): Likewise.
2783         (__ASSUME_PIPE2): Likewise.
2784         (__ASSUME_EVENTFD2): Likewise.
2785         (__ASSUME_SIGNALFD4): Likewise.
2786         (__ASSUME_DUP3): Likewise.
2787         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2788         (__ASSUME_DUP3): Do not define.
2789         (__ASSUME_EVENTFD2): Likewise.
2790         (__ASSUME_IN_NONBLOCK): Likewise.
2791         (__ASSUME_O_CLOEXEC): Likewise.
2792         (__ASSUME_PIPE2): Likewise.
2793         (__ASSUME_SIGNALFD4): Likewise.
2794         (__ASSUME_SOCK_CLOEXEC): Likewise.
2795         (__ASSUME_UTIMES): Undefine.
2796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2797         (__ASSUME_UTIMES): Do not define.
2798         (__ASSUME_O_CLOEXEC): Likewise.
2799         (__ASSUME_SOCK_CLOEXEC): Likewise.
2800         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2801         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2802         0x020621].
2803         (__ASSUME_PIPE2): Likewise.
2804         (__ASSUME_EVENTFD2): Likewise.
2805         (__ASSUME_SIGNALFD4): Likewise.
2806         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2807         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2808         Do not define.
2809         (__ASSUME_EVENTFD2): Likewise.
2810         (__ASSUME_SIGNALFD4): Likewise.
2811         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2812         (__ASSUME_32BITUIDS): Likewise.
2813         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2814         (__ASSUME_IPC64): Likewise.
2815         (__ASSUME_ST_INO_64_BIT): Likewise.
2816         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2817         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2818         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2819         (__ASSUME_UTIMES): Do not define.
2820         (__ASSUME_PSELECT): Likewise.
2821         (__ASSUME_PPOLL): Likewise.
2822         (__ASSUME_O_CLOEXEC): Likewise.
2823         (__ASSUME_SOCK_CLOEXEC): Likewise.
2824         (__ASSUME_IN_NONBLOCK): Likewise.
2825         (__ASSUME_PIPE2): Likewise.
2826         (__ASSUME_EVENTFD2): Likewise.
2827         (__ASSUME_SIGNALFD4): Likewise.
2828         (__ASSUME_DUP3): Likewise.
2829         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2830         (__ASSUME_UTIMES): Likewise.
2831         (__ASSUME_O_CLOEXEC): Likewise.
2832         (__ASSUME_SOCK_CLOEXEC): Likewise.
2833         (__ASSUME_IN_NONBLOCK): Likewise.
2834         (__ASSUME_PIPE2): Likewise.
2835         (__ASSUME_EVENTFD2): Likewise.
2836         (__ASSUME_SIGNALFD4): Likewise.
2837         (__ASSUME_DUP3): Likewise.
2838         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2839         (__ASSUME_UTIMES): Likewise.
2840         (__ASSUME_O_CLOEXEC): Likewise.
2841         (__ASSUME_SOCK_CLOEXEC): Likewise.
2842         (__ASSUME_IN_NONBLOCK): Likewise.
2843         (__ASSUME_PIPE2): Likewise.
2844         (__ASSUME_EVENTFD2): Likewise.
2845         (__ASSUME_SIGNALFD4): Likewise.
2846         (__ASSUME_DUP3): Likewise.
2847         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2848         Likewise.
2849         (__ASSUME_UTIMES): Likewise.
2850         (__ASSUME_EVENTFD2): Likewise.
2851         (__ASSUME_SIGNALFD4): Likewise.
2852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2853         (__ASSUME_O_CLOEXEC): Likewise.
2854         (__ASSUME_SOCK_CLOEXEC): Likewise.
2855         (__ASSUME_IN_NONBLOCK): Likewise.
2856         (__ASSUME_PIPE2): Likewise.
2857         (__ASSUME_EVENTFD2): Likewise.
2858         (__ASSUME_SIGNALFD4): Likewise.
2859         (__ASSUME_DUP3): Likewise.
2860         (__ASSUME_UTIMES): Undefine.
2861
2862         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2863         feclearexcept.  Remove symbol versioning code.
2864         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2865         symbol versioning code.
2866         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2867         symbol versioning code.
2868         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2869         feupdateenv.  Remove symbol versioning code.
2870         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2871         fegetexceptflag.  Remove symbol versioning code.
2872         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2873         fesetexceptflag.  Remove symbol versioning code.
2874         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2875         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2876         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2877         (__posix_fadvise64_l32): Remove prototype.
2878         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2879         code.
2880
2881 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2882
2883         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2884         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2885         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2886         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2887
2888 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2889
2890         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2891         current working directory
2892
2893 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2894
2895         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2896         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2897         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2898         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2899         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2900         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2901         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2902         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2903         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2904         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2905         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2906         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2907         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2908         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2909         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2910         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2911         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2912         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2914         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2915         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2916         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2917         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2918         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2919         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2920         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2921         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2922         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2923         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2924         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2926         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2927         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2928         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2929         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2930         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2931         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2932         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2933         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2934         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2935         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2936         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2937
2938         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2939         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2940
2941         * sysdeps/unix/sysv/linux/arm/Makefile
2942         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2943         Add rt-aeabi_unwind_cpp_pr1.
2944         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2945         Add nptl-aeabi_unwind_cpp_pr1.
2946         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2947         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2948         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2949         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2950         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2951         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2952
2953         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2954         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2955         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2956         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2957
2958         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2959         Deconditionalize the code that was previously under [RESET_PID].
2960         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2961
2962         * sysdeps/generic/exit-thread.h: New file.
2963         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2964         * include/unistd.h (__exit_thread): Remove declaration.
2965         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2966         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2967         * csu/libc-start.c: Include <exit-thread.h>.
2968         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2969         * nptl/pthread_create.c: Include <exit-thread.h>.
2970         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2971         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2972         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2973         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2974         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2975         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2976         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2977         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2978         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2979         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2980         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2981         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2982         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2983         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2984         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2985         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2986         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2987
2988 2014-05-13  Andreas Schwab  <schwab@suse.de>
2989
2990         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2991
2992 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2993
2994         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2995         (__ASSUME_UTIMES): Do not condition on kernel version.
2996         (__ASSUME_PSELECT): Define unconditionally.
2997         (__ASSUME_PPOLL): Likewise.
2998         (__ASSUME_ATFCTS): Likewise.
2999         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3000         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3001         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3002         (__ASSUME_UTIMENSAT): Define unconditionally.
3003         (__ASSUME_PRIVATE_FUTEX): Likewise.
3004         (__ASSUME_FALLOCATE): Likewise.
3005         (__ASSUME_O_CLOEXEC): Likewise.
3006         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3007         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3008         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3009         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3010         (__ASSUME_IN_NONBLOCK): Likewise.
3011         (__ASSUME_PIPE2): Likewise.
3012         (__ASSUME_EVENTFD2): Likewise.
3013         (__ASSUME_SIGNALFD4): Likewise.
3014         (__ASSUME_DUP3): Likewise.
3015         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3016         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3017         (__ASSUME_AT_RANDOM): Likewise.
3018         (__ASSUME_PREADV): Likewise.
3019         (__ASSUME_PWRITEV): Likewise.
3020         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3021         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3022         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3023         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3024         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3025         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3026         (__ASSUME_O_CLOEXEC): Define unconditionally.
3027         (__ASSUME_PSELECT): Do not undefine conditionally.
3028         (__ASSUME_PPOLL): Likewise.
3029         (__ASSUME_ATFCTS): Likewise.
3030         (__ASSUME_SET_ROBUST_LIST): Likewise.
3031         (__ASSUME_UTIMENSAT): Likewise.
3032         (__ASSUME_FDATASYNC): Define unconditionally.
3033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3034         (__ASSUME_SIGFRAME_V2): Likewise.
3035         )__ASSUME_EVENTFD2): Likewise.
3036         (__ASSUME_SIGNALFD4): Likewise.
3037         (__ASSUME_PSELECT): Do not undefine conditionally.
3038         (__ASSUME_PPOLL): Likewise.
3039         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3040         (__ASSUME_PSELECT): Define unconditionally.
3041         (__ASSUME_PPOLL): Likewise.
3042         (__ASSUME_O_CLOEXEC): Likewise.
3043         (__ASSUME_SOCK_CLOEXEC): Likewise.
3044         (__ASSUME_IN_NONBLOCK): Likewise.
3045         (__ASSUME_PIPE2): Likewise.
3046         (__ASSUME_EVENTFD2): Likewise.
3047         (__ASSUME_SIGNALFD4): Likewise.
3048         (__ASSUME_DUP3): Likewise.
3049         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3050         (__ASSUME_O_CLOEXEC): Likewise.
3051         (__ASSUME_SOCK_CLOEXEC): Likewise.
3052         (__ASSUME_IN_NONBLOCK): Likewise.
3053         (__ASSUME_PIPE2): Likewise.
3054         (__ASSUME_EVENTFD2): Likewise.
3055         (__ASSUME_SIGNALFD4): Likewise.
3056         (__ASSUME_DUP3): Likewise.
3057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3058         (__ASSUME_EVENTFD2): Likewise.
3059         (__ASSUME_SIGNALFD4): Likewise.
3060         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3061
3062 2014-05-12  Andreas Schwab  <schwab@suse.de>
3063
3064         [BZ #16932]
3065         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3066         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3067         than maximum RPC packet size.
3068         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3069         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3070         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3071         (_nss_nis_getservbyport_r): Likewise.
3072
3073 2014-05-12  Will Newton  <will.newton@linaro.org>
3074
3075         * malloc/Makefile (tests): Add tst-mallopt.
3076         * malloc/tst-mallopt.c: New file.
3077
3078 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3079
3080         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3081         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3082
3083 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3084
3085         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3086         (tst-tlsmod6.so): Likewise.
3087
3088 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3089
3090         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3091
3092 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3093
3094         [BZ #16064]
3095         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3096         and <dl-procinfo.h>.
3097         (__fegetenv): Save SSE state in envp->__eip if supported.
3098         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3099         envp->__eip if supported.
3100         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3101         and <dl-procinfo.h>.
3102         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3103         __data_offset and __data_selector in environment to 0.  Set SSE
3104         state if supported.
3105         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3106         test-fenv-sse.
3107         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3108         -mfpmath=sse.
3109         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3110
3111 2014-05-09  Will Newton  <will.newton@linaro.org>
3112
3113         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3114         and libc_relro_required for ARM.
3115         * sysdeps/arm/preconfigure: Regenerate.
3116
3117 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3118             Stefan Liebler  <stli@linux.vnet.ibm.com>
3119
3120         * config.make.in (enable-lock-elision): New Makefile variable.
3121         * configure.ac: Likewise.
3122         * configure: Regenerate.
3123         * sysdeps/s390/configure.ac:
3124         Add check for gcc transactions support.
3125         * sysdeps/s390/configure: Regenerate.
3126         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3127         Build elision files if enabled.
3128         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3129         Add lock elision support for s390.
3130         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3131         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3132         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3133         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3134         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3135         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3137         Likewise.
3138         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3139         Likewise.
3140         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3141         Likewise.
3142         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3143         Likewise.
3144         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3145         (__lll_timedlock_elision, __lll_lock_elision)
3146         (__lll_unlock_elision, __lll_trylock_elision)
3147         (lll_timedlock_elision, lll_lock_elision)
3148         (lll_unlock_elision, lll_trylock_elision): Add.
3149         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3150         (pthread_mutex_t): Add lock elision support for s390.
3151
3152 2014-05-14  Wilco  <wdijkstr@arm.com>
3153
3154         * sysdeps/arm/fclrexcpt.c: Cleanup.
3155         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3156         * sysdeps/arm/feenablxcpt.c: Cleanup.
3157         * sysdeps/arm/fegetenv.c: Cleanup.
3158         * sysdeps/arm/fegetexcept.c: Cleanup.
3159         * sysdeps/arm/fegetround.c: Cleanup.
3160         * sysdeps/arm/feholdexcpt.c: Cleanup.
3161         * sysdeps/arm/fesetenv.c: Cleanup.
3162         * sysdeps/arm/fesetround.c: Cleanup.
3163         * sysdeps/arm/feupdateenv.c: Cleanup.
3164         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3165         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3166         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3167         * sysdeps/arm/ftestexcept.c: Cleanup.
3168         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3169         * sysdeps/arm/setfpucw.c: Cleanup.
3170
3171 2014-05-09  Will Newton  <will.newton@linaro.org>
3172
3173         * sysdeps/arm/armv7/strcmp.S: New file.
3174         * NEWS: Mention addition of ARMv7 optimized strcmp.
3175
3176 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3177
3178         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3179         look for %.ac rather than %.in.
3180
3181         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3182         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3183         * sysdeps/mach/hurd/configure: Regenerated.
3184         * sysdeps/unix/sysv/linux/configure: Regenerated.
3185
3186         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3187
3188 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3189
3190         [BZ# 16922]
3191         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3192         (LONG_SUB): Ditto.
3193         (PTR_SUB): Ditto.
3194
3195 2014-05-07  Andreas Schwab  <schwab@suse.de>
3196
3197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3198         when skipping over non-matching result from nscd.
3199
3200 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3201
3202         [BZ #16876]
3203         * nptl/sockperf.c (client): Check socket return value.
3204
3205         [BZ #16877]
3206         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3207         nscd security class.
3208
3209 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3210
3211         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3212         * sysdeps/arm/unwind.h: ... here.
3213
3214 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3215
3216         [BZ# 16916]
3217         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3218         Define.
3219
3220 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3221
3222         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3223         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3224         multiarch strncpy for PPC64.
3225         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3226         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3227         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3228         multiarch optimizations.
3229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3230         (__libc_ifunc_impl_list): Likewise.
3231         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3232         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3233         multiarch stpncpy for PPC64.
3234         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3235         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3236
3237 2014-05-06  Andreas Schwab  <schwab@suse.de>
3238
3239         [BZ #16912]
3240         * gmon/mcount.c (_MCOUNT_DECL): Use
3241         atomic_compare_and_exchange_bool_acq instead of
3242         catomic_compare_and_exchange_bool_acq.
3243
3244 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3245
3246         * elf/Makefile (others, install-bin): Remove pldd.
3247         (pldd-modules): Variable removed.
3248         ($(objpfx)pldd): Target removed.
3249         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3250         (others, install-bin): Append pldd here.
3251         ($(objpfx)pldd): New target.
3252
3253         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3254         to 0, so the first #if test emitted later doesn't see it undefined.
3255         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3256         * sysdeps/gnu/errlist.c: Regenerated.
3257
3258 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3259
3260         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3261         [libc_hidden_builtin_def]: Define to empty value.
3262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3263         [libc_hidden_builtin_def]: Likewise.
3264         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3265         [libc_hidden_builtin_def]: Likewise.
3266         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3267         [libc_hidden_builtin_def]: Likewise.
3268         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3269         __redirect_memcpy and define ifunc as default hidden symbol.
3270         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3271         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3272
3273 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3274
3275         * locale/iso-4217.def: Reintroduce XDR currency.
3276
3277 2014-05-04  Allan McRae  <allan@archlinux.org>
3278
3279         * po/eo.po: Update Esperanto translation from translation project.
3280
3281 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3282
3283         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3284         and FEATURE_INDEX_MAX to 1.
3285         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3286
3287 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3288
3289         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3290         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3291         * iconvdata/big5.c (ONE_DIRECTION): Define.
3292         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3293         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3294         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3295         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3296         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3297         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3298         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3299         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3300         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3301         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3302         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3303         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3304         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3305         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3306         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3307         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3308         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3309         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3310         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3311         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3312         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3313         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3314         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3315         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3316         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3317         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3318         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3319         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3320         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3321         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3322         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3323         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3324         * iconvdata/johab.c (ONE_DIRECTION): Define.
3325         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3326         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3327         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3328         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3329         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3330         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3331         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3332         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3333         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3334         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3335
3336 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3337
3338         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3339         (_IO_JUMPS_OFFSET): Define to 0.
3340
3341         * nptl/sysdeps/pthread/bits/libc-lock.h
3342         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3343         (__libc_lock_define_initialized_recursive): Always define using
3344         initializer.  Modern compilers treat uninitialized (implicit zero) and
3345         explicit zero initializers the same (i.e. put the datum in bss).
3346
3347 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3348
3349         * nscd/nscd-client.h: Include <string.h>.
3350
3351 2014-05-01  David S. Miller  <davem@davemloft.net>
3352
3353         [BZ #16885]
3354         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3355         multiple zero bytes exist at the end of a string.
3356         Reported by Aurelien Jarno <aurelien@aurel32.net>
3357
3358         * string/test-strcmp.c (check): Add explicit test for situations where
3359         there are multiple zero bytes after the first.
3360
3361 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3362
3363         [BZ #16890]
3364         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3365         when compiling wprintf.
3366         * stdio-common/tstdiomisc.c (t3): New function.
3367         (main): Call it.
3368
3369 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3370
3371         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3372         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3373         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3374         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3375
3376 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3377
3378         * stdlib/longlong.h: Updated from GCC.
3379
3380 2014-05-01  Will Newton  <will.newton@linaro.org>
3381             Bernard Ogden  <bernie.ogden@linaro.org>
3382
3383         * NEWS: Update fixed bug list.
3384
3385         [BZ #15119]
3386         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3387
3388 2014-04-30  David S. Miller  <davem@davemloft.net>
3389
3390         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3391         (libc_feholdexcept_setround_sparc_ctx): New function.
3392         (libc_fesetenv_sparc_ctx): Likewise.
3393         (libc_feupdateenv_sparc_ctx): Likewise.
3394         (libc_feholdsetround_sparc_ctx): Likewise.
3395         (libc_feholdexcept_setround_ctx): Define.
3396         (libc_feholdexcept_setroundf_ctx): Likewise.
3397         (libc_feholdexcept_setroundl_ctx): Likewise.
3398         (libc_fesetenv_ctx): Likewise.
3399         (libc_fesetenvf_ctx): Likewise.
3400         (libc_fesetenvl_ctx): Likewise.
3401         (libc_feupdateenv_ctx): Likewise.
3402         (libc_feupdateenvf_ctx): Likewise.
3403         (libc_feupdateenvl_ctx): Likewise.
3404         (libc_feresetround_ctx): Likewise.
3405         (libc_feresetroundf_ctx): Likewise.
3406         (libc_feresetroundl_ctx): Likewise.
3407         (libc_feholdsetround_ctx): Likewise.
3408         (libc_feholdsetroundf_ctx): Likewise.
3409         (libc_feholdsetroundl_ctx): Likewise.
3410
3411         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3412         with __USE_GNU instead of XOPEN cpp guards.
3413
3414         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3415         0.
3416
3417         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3418         with XOPEN cpp guards.
3419
3420 2014-04-30  Julian Brown  <julian@codesourcery.com>
3421
3422         [BZ #16888]
3423         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3424         handling.
3425
3426 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3427
3428         [BZ #9894]
3429         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3430         Change to 2.6.32.
3431         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3432         * sysdeps/unix/sysv/linux/configure: Regenerated.
3433         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3434         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3435         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3436         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3437         * README: Update reference to required Linux kernel version.
3438         * manual/install.texi (Linux): Update reference to required Linux
3439         kernel headers version.
3440         * INSTALL: Regenerated.
3441
3442         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3443         header inclusion.
3444         [POSIX] (limits.h): Likewise.
3445         [POSIX] (math.h): Likewise.
3446         [POSIX] (sys/wait.h): Likewise.
3447         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3448         function.
3449         [POSIX] (stddef.h): Do not allow header inclusion.
3450
3451 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3452
3453         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3454
3455 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3456
3457         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3458         Return immediately after lll_futex_wake.
3459
3460 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3461
3462         [BZ #16791]
3463         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3464         structure.
3465         (datahead_init_pos): Call datahead_init_common early.
3466         (datahead_init_neg): Likewise.
3467
3468         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3469         datahead_init_neg): New functions.
3470         * nscd/aicache.c (addhstaiX): Use them.
3471         * nscd/grpcache.c (cache_addgr): Likewise.
3472         * nscd/hstcache.c (cache_addhst): Likewise.
3473         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3474         * nscd/netgroupcache.c (do_notfound): Likewise.
3475         (addgetnetgrentX): Likewise.
3476         (addinnetgrX): Likewise.
3477         * nscd/pwdcache.c (cache_addpw): Likewise.
3478         * nscd/servicescache.c (cache_addserv): Likewise.
3479
3480 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3481             Atsushi Onoe  <atsushi@onoe.org>
3482
3483         [BZ #14308]
3484         [BZ #12994]
3485         [BZ #13651]
3486         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3487         one response is valid.
3488         * resolv/res_send.c (send_dg): Check for validity of other
3489         response if the current response is a referral.
3490
3491 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3492
3493         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3494
3495 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3496
3497         [BZ #16823]
3498         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3499         Always divide by positive zero when computing -Inf result.
3500         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3501         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3502
3503 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3504
3505         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3506         FPSCR if value do not change.
3507         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3508         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3509         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3510         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3511         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3512         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3513         function.
3514
3515 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3516
3517         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3518         * sysdeps/unix/sysv/linux/hppa: Move directory from
3519         ports/systeps/unix/sysv/linux/hppa.
3520         * README: Update listing for hppa-*-linux-gnu.
3521
3522 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3523
3524         [BZ #16754]
3525         * manual/stdio.texi (Hook functions): Fix types of stream hook
3526         functions.
3527         [BZ #16854]
3528         * socket/sys/socket.h: Fix typo in comment.
3529
3530 2014-04-28  Wilco  <wdijkstr@arm.com>
3531
3532         * sysdeps/arm/fenv_private.h: New file.
3533         * sysdeps/arm/math_private.h: New file.
3534         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3535
3536 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3537
3538         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3539         with __int128_t.
3540         (La_x86_64_retval): Likewise.
3541
3542 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3543
3544         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3545         fpsr if value didn't change.
3546         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3547         to fpcr if value didn't change.
3548         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3549         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3550         fpsr or fpcr if value didn't change.
3551         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3552         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3553         fpcr if value didn't change.
3554         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3555         to fpsr if value didn't change.
3556
3557 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3558
3559         * nptl/tst-sem3.c: Use test-skeleton.c
3560         (main): Rename to do_test.  Use return instead of
3561         exit.
3562         * nptl/tst-sem4.c: Use test-skeleton.c
3563         (main): Rename to do_test.
3564
3565 2014-04-22  David S. Miller  <davem@davemloft.net>
3566
3567         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3568         (struct sigaction): New struct member __glibc_reserved0, change
3569         type of sa_flags to int.
3570
3571 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3572
3573         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3574         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3575
3576 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3577
3578         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3579         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3580
3581 2014-04-22  Will Newton  <will.newton@linaro.org>
3582             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3583
3584         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3585         (__longjmp): Add longjmp and longjmp_target SystemTap
3586         probes.
3587         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3588         (__sigsetjmp): Add setjmp SystemTap probe.
3589
3590 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3591
3592         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3593         match manual order.
3594
3595 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3596
3597         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3598
3599         * sysdeps/powerpc/fpu/fenv_private.h
3600         (libc_feholdexcept_setroundl_ctx): Define to
3601         libc_feholdexcept_setround_ppc_ctx.
3602         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3603         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3604         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3605         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3606
3607 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3608
3609         * sysdeps/aarch64/math-tests.h: New file.
3610
3611 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3612
3613         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3614         New.
3615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3616         Check and set bit_AVX2_Usable.
3617         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3618         macro.
3619         (bit_AVX2): Likewise.
3620         (index_AVX2_Usable): Likewise.
3621         (CPUID_AVX2): Likewise.
3622         (HAS_AVX2): Likewise.
3623
3624 2014-04-17  Will Newton  <will.newton@linaro.org>
3625
3626         * manual/setjmp.texi (System V contexts): Add note that
3627         calling setcontext on a context created by a call to a
3628         signal handler is undefined.  Update text to note that
3629         setcontext from a signal handler is possible but not
3630         recommended.
3631
3632         [BZ #16629]
3633         * stdlib/tst-setcontext.c: Include signal.h.
3634         (main): Check that the signal stack before and
3635         after swapcontext is the same.
3636
3637         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3638         Re-implement to restore registers in user code and avoid
3639         rt_sigreturn system call.
3640
3641 2014-04-17  Wilco  <wdijkstr@arm.com>
3642
3643         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3644         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3645         * math/test-fenv.c: Skip exception trap tests on targets which only
3646         support non-stop mode.
3647
3648 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3649             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3650
3651         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3652         (libc_feholdsetround_aarch64_ctx)
3653         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3654         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3655         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3656         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3657         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3658         (libc_feresetround_noexl_ctx): Define.
3659
3660 2014-04-16  Richard Henderson  <rth@redhat.com>
3661
3662         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3663
3664         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3665         unwind tables.
3666
3667         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3668         const from the non-libc, non-ldso copy.
3669
3670         * sysdeps/alpha/libm-test-ulps: Regenerate.
3671
3672 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3673             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3674
3675         * sysdeps/aarch64/fpu/math_private.h: New file.
3676
3677 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3678
3679         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3680
3681 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3682
3683         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3684         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3686         Intel MPX bound registers before _dl_profile_fixup.
3687         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3688         registers after _dl_profile_fixup.  Save and restore bound
3689         registers bnd0/bnd1 when calling _dl_call_pltexit.
3690         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3691         (LR_BND_OFFSET): Likewise.
3692         (LRV_BND0_OFFSET): Likewise.
3693         (LRV_BND1_OFFSET): Likewise.
3694
3695 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3696
3697         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3698         to...
3699         * sysdeps/mach/hurd/i386/tls.h: ... here.
3700         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3701         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3702         fields.
3703
3704 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3705
3706         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3707
3708 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3709
3710         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3711
3712 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3713
3714         [BZ #14770]
3715         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3716         * sysdeps/s390/configure: Regenerate.
3717
3718         [BZ #16824]
3719         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3720         Set round-to-nearest internally to reduce error accumulation.
3721
3722 2014-04-16  Alan Modra  <amodra@gmail.com>
3723
3724         [BZ #16740]
3725         [BZ #16619]
3726         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3727         * math/libm-test.inc (frexp_test_data): Add tests.
3728         * NEWS: Update fixed bug list.
3729
3730 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3731
3732         * benchtests/Makefile: Depend on libraries in build directory.
3733         (bench-math): Separate out math tests.
3734         (bench-pthread): Separate out pthread tests.
3735         (bench): Include math and pthread tests.
3736
3737 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3738
3739         [BZ #16831]
3740         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3741         _dl_debug_initialize.
3742
3743         * configure.ac: Remove SELinux header check.
3744         * configure: Regenerate.
3745         * nscd/selinux.c (perms): Array of const char* to permission names.
3746         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3747         default policy. Call string_to_security_class and string_to_av_perm to
3748         translate strings. Enforce default policy and call avs_has_perm with
3749         results of translated strings.
3750
3751 2014-04-13  David S. Miller  <davem@davemloft.net>
3752
3753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3754
3755 2014-04-12  Allan McRae  <allan@archlinux.org>
3756
3757         [BZ #16838]
3758         * manual/string.texi (Collation Functions): Fix qsort argument
3759         order in example.
3760         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3761
3762 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3763
3764         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3765         Make the test a no-op if there are no exceptions defined.
3766
3767 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3768
3769         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3770         enable-hardcoded-path-in-tests
3771
3772 2014-04-11  Will Newton  <will.newton@linaro.org>
3773
3774         * benchtests/Makefile (extra-objs): Add json-lib.o.
3775         (bench-func): Tidy up JSON output.
3776         * benchtests/bench-skeleton.c: Include json-lib.h.
3777         (main): Use JSON library functions to do output of
3778         benchmark results.
3779         * benchtests/bench-timing-type.c (main): Output the
3780         timing type simply, leaving formatting to the user.
3781         * benchtests/json-lib.c: New file.
3782         * benchtests/json-lib.h: Likewise.
3783
3784 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3785
3786         [BZ #15215]
3787         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3788         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3789         memory barriers.  Add comments.
3790         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3791         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3792         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3793         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3794         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3795         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3796
3797 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3798
3799         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3800         * sysdeps/s390/s390-64/configure.ac: ... this ...
3801         * sysdeps/s390/configure.ac: ... to here.
3802         * sysdeps/s390/s390-32/configure: Delete file.
3803         * sysdeps/s390/s390-64/configure: Delete file.
3804         * sysdeps/s390/configure: Regenerate.
3805
3806 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3807
3808         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3809
3810 2014-04-11  Will Newton  <will.newton@linaro.org>
3811
3812         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3813         to zero if it is not defined elsewhere.  (mtrim): Test
3814         the value of MALLOC_DEBUG with #if rather than #ifdef.
3815
3816 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3817
3818         * benchtests/pthread_once-inputs: New file.
3819         * benchtests/pthread_once-source.c: New file.
3820         * benchtests/README: Update documentation.
3821
3822 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3823             H.J. Lu  <hongjiu.lu@intel.com>
3824
3825         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3826         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3827         * sysdeps/x86_64/configure: Regenerated.
3828         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3829         macro.
3830         (REGISTER_SAVE_RAX): Likewise.
3831         (REGISTER_SAVE_RCX): Likewise.
3832         (REGISTER_SAVE_RDX): Likewise.
3833         (REGISTER_SAVE_RSI): Likewise.
3834         (REGISTER_SAVE_RDI): Likewise.
3835         (REGISTER_SAVE_R8): Likewise.
3836         (REGISTER_SAVE_R9): Likewise.
3837         (REGISTER_SAVE_BND0): Likewise.
3838         (REGISTER_SAVE_BND1): Likewise.
3839         (REGISTER_SAVE_BND2): Likewise.
3840         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3841         bound registers when calling _dl_fixup.
3842
3843 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3844
3845         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3846         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3847         of its definition.
3848         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3849         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3850         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3851         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3852         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3853         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3854         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3855
3856 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3857
3858         [BZ #15514]
3859         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3860         pathconf(_PC_NAME_MAX).
3861
3862 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3863
3864         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3865         Remove macro usage.
3866         (__PTHREAD_SPINS): Move definition to ...
3867         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3868         (__PTHREAD_SPINS): ... here.
3869         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3870         (__PTHREAD_SPIN): Likewise.
3871         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3872         (__PTHREAD_SPIN): Likewise.
3873         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3874         (__PTHREAD_SPIN): Likewise.
3875         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3876         (__PTHREAD_SPIN): Likewise.
3877         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3878         (__PTHREAD_SPIN): Likewise.
3879         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3880         (__PTHREAD_SPIN): Likewise.
3881         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3882         (__PTHREAD_SPIN): Likewise.
3883         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3884         (__PTHREAD_SPIN): Likewise.
3885         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3886         (__PTHREAD_SPIN): Likewise.
3887         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3888         (__PTHREAD_SPIN): Likewise.
3889         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3890         (__PTHREAD_SPIN): Likewise.
3891         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3892         (__PTHREAD_SPIN): Likewise.
3893
3894         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3895         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3896         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3897         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3898         imply folder.
3899         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3900         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3901         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3902         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3903         correct imply path.
3904         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3905         strlen symbol for non multi-arch builds.
3906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3907         missing hidden_def and weak_alias.
3908
3909 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3910
3911         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3912
3913 2014-04-07  Will Newton  <will.newton@linaro.org>
3914
3915         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3916         and contents.  [!_LIBC] Remove #ifndef and contents.
3917         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3918         * string/memccpy.c (__memccpy): Use ANSI prototype.
3919         * string/memfrob.c (memfrob): Likewise.
3920         * string/strcoll.c (STRCOLL): Likewise.
3921         * string/strlen.c (strlen): Likewise.
3922         * string/strtok.c (STRTOK): Likewise.
3923         * string/strcat.c: Remove unused #include of memcopy.h.
3924         (strcat): Use ANSI prototype.
3925         * string/strchr.c: Remove unused #include of memcopy.h.
3926         (strchr): Use ANSI prototype.
3927         * string/strcmp.c: Remove unused #include of memcopy.h.
3928         (strcmp): Use ANSI prototype.
3929         * string/strcpy.c: Remove unused #include of memcopy.h.
3930         (strcpy): Use ANSI prototype.
3931
3932 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3933
3934         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3935         * config.make.in (config-extra-cppflags): Set it from
3936         libc_extra_cppflags.
3937         * configure.ac (libc_extra_cflags): Make it accumulate over
3938         configure fragments.
3939         (libc_extra_cppflags): New flag.
3940         * configure. Regenerate.
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3942         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3943         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3945
3946         [BZ #16815]
3947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3948         result for FE_DOWNWARD rounding mode.
3949         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3950         Likewise.
3951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3952
3953 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3954
3955         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3956         in function argument name.
3957
3958 2014-04-03  David Svoboda  <svoboda@cert.org>
3959
3960         [BZ #5666]
3961         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3962         explicitly.
3963
3964 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3965
3966         * elf/dl-unmap-segments.h: New file.
3967         * sysdeps/generic/ldsodefs.h
3968         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3969         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3970         * elf/dl-fptr.c: Likewise.
3971         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3972         * sysdeps/aarch64/tlsdesc.c: Likewise.
3973         * sysdeps/arm/tlsdesc.c: Likewise.
3974         * sysdeps/i386/tlsdesc.c: Likewise.
3975         * sysdeps/tile/dl-runtime.c: Likewise.
3976         * sysdeps/x86_64/tlsdesc.c: Likewise.
3977         * elf/dl-load.h: New file.
3978         * elf/dl-load.c: Include it.
3979         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3980         Macros moved to dl-load.h.
3981         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3982         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3983         Use _dl_unmap_segments in place of __munmap.
3984         Break out segment-mapping loop into ...
3985         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3986
3987 2014-04-03  Will Newton  <will.newton@linaro.org>
3988
3989         * elf/dl-lookup.c (do_lookup_x): Remove comment
3990         referring to nested function and move variable
3991         declarations down to before first use.
3992
3993 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3994
3995         [BZ #16799]
3996         [BZ #16800]
3997         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3998         with 0 numerator.
3999         * math/s_catanf.c (__catanf): Likewise.
4000         * math/s_catanh.c (__catanh): Likewise.
4001         * math/s_catanhf.c (__catanhf): Likewise.
4002         * math/s_catanhl.c (__catanhl): Likewise.
4003         * math/s_catanl.c (__catanl): Likewise.
4004         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4005         by positive zero when computing -Inf result.
4006         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4007         (catanh_test): Likewise.
4008         * sysdeps/i386/fpu/libm-test-ulps: Update.
4009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010
4011         [BZ #16789]
4012         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4013         instead of using underflowing value in computing result.
4014         * math/s_clog10.c (__clog10): Likewise.
4015         * math/s_clog10f.c (__clog10f): Likewise.
4016         * math/s_clog10l.c (__clog10l): Likewise.
4017         * math/s_clogf.c (__clogf): Likewise.
4018         * math/s_clogl.c (__clogl): Likewise.
4019         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4020         (clog10_test): Likewise.
4021         * sysdeps/i386/fpu/libm-test-ulps: Update.
4022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4023
4024 2014-04-02  Alan Modra  <amodra@gmail.com>
4025
4026         [BZ #16739]
4027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4028         output when value is near a power of two.  Use int64_t for lx and
4029         remove casts.  Use decimal rather than hex exponent constants.
4030         Don't use long double multiplication when double will suffice.
4031         * math/libm-test.inc (nextafter_test_data): Add tests.
4032         * NEWS: Add 16739 and 16786 to bug list.
4033
4034         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4035
4036         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4037
4038 2014-04-01  Will Newton  <will.newton@linaro.org>
4039
4040         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4041         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4042
4043 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4044
4045         [BZ #13347]
4046         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4047         * nptl/tst-setuid2.c: New file.
4048         * nptl/Makefile (xtests): Add tst-setuid2.
4049
4050 2014-04-01  Alan Modra  <amodra@gmail.com>
4051
4052         [BZ #16786]
4053         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4054
4055 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4056
4057         [BZ #6803]
4058         [BZ #6804]
4059         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4060         set errno as appropriate.
4061         * math/w_scalbf.c (__scalbf): Likewise.
4062         * math/w_scalbl.c (__scalbl): Likewise.
4063         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4064         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4065         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4066         Add more NaN tests.
4067
4068         [BZ #16349]
4069         * math/w_atan2.c: Include <errno.h>.
4070         (__atan2): Set errno for result underflowing to zero.
4071         * math/w_atan2f.c: Include <errno.h>.
4072         (__atan2f): Set errno for result underflowing to zero.
4073         * math/w_atan2l.c: Include <errno.h>.
4074         (__atan2l): Set errno for result underflowing to zero.
4075         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4076         tests.
4077         * math/auto-libm-test-out: Regenerated.
4078
4079 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4080
4081         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4082         Encode instruction correctly in little endian.
4083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4084         Likewise.
4085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4086         Likewise.
4087         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4088         Likewise.
4089         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4090         Likewise.
4091
4092 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4093
4094         [BZ #9894]
4095         * sysdeps/unix/sysv/linux/kernel-features.h
4096         [__sparc__ && !__arch64__ && !__sparc_v9__]
4097         (__ASSUME_SET_ROBUST_LIST): Do not define.
4098         [__sparc__ && !__arch64__ && !__sparc_v9__]
4099         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4100         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4101         Likewise.
4102         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4103         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4104         (__ASSUME_REQUEUE_PI): Likewise.
4105         (__ASSUME_SET_ROBUST_LIST): Likewise.
4106         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4107         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4108         Undefine.
4109         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4111         Likewise.
4112         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4113         Likewise.
4114         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4115         Likewise.
4116         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4117         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4118         Undefine.
4119         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4120         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4121         Likewise.
4122
4123         [BZ #16648]
4124         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4125         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4126         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4127
4128 2014-03-31  Will Newton  <will.newton@linaro.org>
4129
4130         * benchtests/Makefile (bench): Add ffs and ffsll to list
4131         of tests.
4132         * benchtests/ffs-inputs: New file.
4133         * benchtests/ffsll-inputs: Likewise.
4134
4135 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4136
4137         [BZ #16770]
4138         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4139         too large before casting to int.
4140         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4141         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4142         * math/libm-test.inc (scalb_test_data): Add more tests.
4143
4144 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4145
4146         * benchtests/Makefile (DETAILED_OPT): New make option.
4147         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4148         set.
4149         * benchtests/bench-skeleton.c: Include stdbool.h.
4150         (main): Store and print timings per input.
4151         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4152         member to each argument value.
4153         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4154         (_print_arg_data): Initialize per-input timing to 0.
4155
4156         * benchtests/Makefile (timing-type): New binary.
4157         (bench-clean): Also remove bench-timing-type.
4158         (bench): New target for timing-type.
4159         (bench-func): Print output in JSON format.
4160         * benchtests/bench-skeleton.c (main): Print output in JSON
4161         format.
4162         * benchtests/bench-timing-type.c: New file.
4163         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4164         (TIMING_PRINT_STATS): Remove.
4165         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4166         name separately.
4167
4168         * benchtests/bench-modf.c: Remove.
4169         * benchtests/modf-inputs: New inputs file.
4170
4171 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4172
4173         [BZ #16362]
4174         * math/s_clog10.c (M_PI_LOG10E): New macro.
4175         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4176         imaginary parts are 0.
4177         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4178         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4179         imaginary parts are 0.
4180         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4181         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4182         imaginary parts are 0.
4183         * math/libm-test.inc (clog10_test_data): Update expected results
4184         for when real and imaginary parts are 0.
4185
4186 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4187
4188         * elf/dl-load.c: Finish conversion of __builtin_expect into
4189         __glibc_{un}likely.
4190
4191 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4192
4193         [BZ #16348]
4194         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4195         1+x for argument with exponent below -67.
4196         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4197         Likewise.
4198         * math/auto-libm-test-in: Add more tests of exp.
4199         * math/auto-libm-test-out: Regenerated.
4200
4201 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4202
4203         [BZ #16759]
4204         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4205         (nscd_getnetgrent): Use it.
4206
4207         [BZ #16760]
4208         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4209         of stpcpy.
4210
4211 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4212
4213         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4214         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4215         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4216         (lll_robust_unlock): Remove out of line section. Use cfi
4217         intrinsics.
4218         (LLL_STUB_UNWIND_INFO*): Remove.
4219         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4220         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4221         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4222         (lll_robust_unlock): Remove out of line section. Use cfi
4223         intrinsics.
4224         (LLL_STUB_UNWIND_INFO*): Remove.
4225
4226 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4227
4228         [BZ #16758]
4229         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4230         blank values.
4231
4232 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4233
4234         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4235
4236 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4237
4238         [BZ #16198]
4239         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4240         fnstenv.
4241         * math/test-fenv-preserve.c: New file.
4242         * math/Makefile (tests): Add test-fenv-preserve.
4243
4244 2014-03-26  Will Newton <will.newton@linaro.org>
4245
4246         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4247
4248 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4249
4250         * scripts/versionlist.awk: Partition the version sets and emit all
4251         GLIBC_* (sorted) before all others (sorted).
4252
4253 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4254
4255         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4256         GLIBC_2.2.5 version.
4257
4258 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4259
4260         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4261         calls.
4262
4263         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4264         previous change.
4265
4266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267
4268 2014-03-25  Andreas Schwab  <schwab@suse.de>
4269
4270         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4271         label to be used after in6ailist is initialized.
4272
4273 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4274
4275         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4276         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4277
4278 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4279
4280         [BZ #16357]
4281         [BZ #16599]
4282         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4283         min_plus_half.
4284         (fp_formats): Update initializers.
4285         (init_fp_formats): Initialize new field.
4286         (output_for_one_input_case): Allow underflow for results up to
4287         min_plus_half.
4288         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4289         * math/auto-libm-test-in: Don't mark some underflows from asin and
4290         atanh as spurious.
4291         * math/auto-libm-test-out: Regenerated.
4292         * sysdeps/i386/fpu/libm-test-ulps: Update.
4293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4294
4295 2014-03-25  Andreas Schwab  <schwab@suse.de>
4296
4297         * libio/Makefile (tst-ftell-partial-wide-ENV)
4298         (tst-ftell-active-handler-ENV): Define.
4299
4300 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4301
4302         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4303
4304 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4305
4306         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4307
4308 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4309
4310         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4311         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4313
4314 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4315
4316         [BZ #16634]
4317         * elf/dl-load.c (open_verify): Add mode parameter.
4318         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4319         (open_path): Change from boolean 'secure' to complete flag 'mode'
4320         (_dl_map_object): Adjust.
4321         * elf/Makefile (tests): Add tst-dlopen-aout.
4322         * elf/tst-dlopen-aout.c: New test.
4323
4324 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4325
4326         [BZ #16714]
4327         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4328         (struct stat): Rename member pad0 to __glibc_reserved0.
4329
4330         [BZ #16712]
4331         * sysdeps/s390/s390-32/bits/wordsize.h
4332         (__WORDSIZE32_SIZE_ULONG): New define.
4333         * sysdeps/s390/s390-64/bits/wordsize.h
4334         (__WORDSIZE32_SIZE_ULONG): Likewise.
4335         * sysdeps/generic/stdint.h (SIZE_MAX):
4336         Define as UL if __WORDSIZE32_SIZE_ULONG.
4337
4338         [BZ #16713]
4339         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4340         (__glibc_reserved0): New variable.
4341         (sa_flags): Change type to int.
4342
4343         * posix/Makefile (before-compile): Use += before-compile instead
4344         of a :=.
4345
4346         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4347         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4348
4349 2014-03-20  Andreas Schwab  <schwab@suse.de>
4350
4351         [BZ #16743]
4352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4353         non-matching result from nscd.
4354
4355 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4356
4357         * scripts/bench.py: Moved to ...
4358         * benchtests/scripts/bench.py: ... here.
4359         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4360
4361 2014-03-24  Andreas Schwab  <schwab@suse.de>
4362
4363         [BZ #16002]
4364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4365         alloca_account and account alloca use for struct in6ailist.
4366
4367 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4368
4369         [BZ #16284]
4370         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4371         rounding mode to recompute results that overflow to infinity or
4372         underflow to zero.
4373         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4374         bug 16284.
4375         * math/auto-libm-test-out: Regenerated.
4376         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4377         (ccosh_test): Likewise.
4378         (csin_test_data): Use plus_oflow.
4379         (csin_test): Use ALL_RM_TEST.
4380         (csinh_test_data): Use plus_oflow.
4381         (csinh_test): Use ALL_RM_TEST.
4382         * sysdeps/i386/fpu/libm-test-ulps: Update.
4383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4384
4385 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4386
4387         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4388         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4389         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4390
4391         [BZ #16731]
4392         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4393         when x - 1 is zero.
4394         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4395         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4396         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4398         argument is 1.
4399         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4400         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4401         zero.
4402         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4403         * sysdeps/i386/fpu/libm-test-ulps: Update.
4404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4405
4406 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4407
4408         * scripts/bench.pl: Remove file.
4409         * scripts/bench.py: New benchmark script.
4410         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4411         * benchtests/README: Mention python dependency.
4412         * scripts/pylintrc: New file.
4413         * scripts/pylint: New file.
4414
4415         * bits/mathdef.h: Use #ifdef instead of #if.
4416         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4417         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4418         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4419         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4420         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4421         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4422
4423 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4424             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4425
4426         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4428         and strpbrk-ppc64 objects.
4429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4430         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4432         multiarch strpbrk for POWER7.
4433         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4434         multiarch strpbrk for PPC64.
4435         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4436         ifunc selector.
4437         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4438         strpbrk for POWER7.
4439
4440 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4441
4442         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4443         (atan_test): Likewise.
4444         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4445         (atanh_test): Use ALL_RM_TEST.
4446         (atan2_test_data): Likewise.
4447         (cabs_test): Likewise.
4448         (cacosh_test): Likewise.
4449         (carg_test): Likewise.
4450         (casin_test): Likewise.
4451         (casinh_test): Likewise.
4452         (cbrt_test): Likewise.
4453         (csqrt_test): Likewise.
4454         (erf_test): Likewise.
4455         (erfc_test): Likewise.
4456         (pow10_test): Likewise.
4457         (exp2_test): Likewise.
4458         (hypot_test): Likewise.
4459         (j0_test): Likewise.
4460         (j1_test): Likewise.
4461         (lgamma_test): Likewise.
4462         (gamma_test): Likewise.
4463         (sincos_test): Likewise.
4464         (tanh_test): Likewise.
4465         (y0_test): Likewise.
4466         (y1_test): Likewise.
4467         * sysdeps/i386/fpu/libm-test-ulps: Update.
4468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4469
4470 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4471
4472         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4474         and strcspn-ppc64 objects.
4475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4476         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4477         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4478         multiarch strcspn for POWER7.
4479         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4480         multiarch strcspn for PPC64.
4481         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4482         ifunc selector.
4483         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4484         strcspn for POWER7.
4485
4486 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4487
4488         * math/gen-libm-test.pl (generate_testfile): Expect only function
4489         name as argument to AUTO_TESTS_* and pass results for all rounding
4490         modes to parse_args.
4491         (parse_auto_input): Separate inputs of automatic tests from
4492         outputs before storing in %auto_tests.
4493         * math/libm-test.inc (acos_test_data): Update call to
4494         AUTO_TESTS_f_f.
4495         (acos_test): Use ALL_RM_TEST.
4496         (acos_tonearest_test_data): Remove.
4497         (acos_test_tonearest): Likewise.
4498         (acos_towardzero_test_data): Likewise.
4499         (acos_test_towardzero): Likewise.
4500         (acos_downward_test_data): Likewise.
4501         (acos_test_downward): Likewise.
4502         (acos_upward_test_data): Likewise.
4503         (acos_test_upward): Likewise.
4504         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4505         (asin_test_data): Likewise.
4506         (asin_test): Use ALL_RM_TEST.
4507         (asin_tonearest_test_data): Remove.
4508         (asin_test_tonearest): Likewise.
4509         (asin_towardzero_test_data): Likewise.
4510         (asin_test_towardzero): Likewise.
4511         (asin_downward_test_data): Likewise.
4512         (asin_test_downward): Likewise.
4513         (asin_upward_test_data): Likewise.
4514         (asin_test_upward): Likewise.
4515         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4516         (atan_test_data): Likewise.
4517         (atanh_test_data): Likewise.
4518         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4519         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4520         (carg_test_data): Likewise.
4521         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4522         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4523         (ccosh_test_data): Likewise.
4524         (cexp_test_data): Likewise.
4525         (clog_test_data): Likewise.
4526         (clog10_test_data): Likewise.
4527         (cos_test_data): Update call to AUTO_TESTS_f_f.
4528         (cos_test): Use ALL_RM_TEST.
4529         (cos_tonearest_test_data): Remove.
4530         (cos_test_tonearest): Likewise.
4531         (cos_towardzero_test_data): Likewise.
4532         (cos_test_towardzero): Likewise.
4533         (cos_downward_test_data): Likewise.
4534         (cos_test_downward): Likewise.
4535         (cos_upward_test_data): Likewise.
4536         (cos_test_upward): Likewise.
4537         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4538         (cosh_test): Use ALL_RM_TEST.
4539         (cosh_tonearest_test_data): Remove.
4540         (cosh_test_tonearest): Likewise.
4541         (cosh_towardzero_test_data): Likewise.
4542         (cosh_test_towardzero): Likewise.
4543         (cosh_downward_test_data): Likewise.
4544         (cosh_test_downward): Likewise.
4545         (cosh_upward_test_data): Likewise.
4546         (cosh_test_upward): Likewise.
4547         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4548         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4549         (ctan_test_data): Likewise.
4550         (ctan_test): Use ALL_RM_TEST.
4551         (ctan_tonearest_test_data): Remove.
4552         (ctan_test_tonearest): Likewise.
4553         (ctan_towardzero_test_data): Likewise.
4554         (ctan_test_towardzero): Likewise.
4555         (ctan_downward_test_data): Likewise.
4556         (ctan_test_downward): Likewise.
4557         (ctan_upward_test_data): Likewise.
4558         (ctan_test_upward): Likewise.
4559         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4560         (ctanh_test): Use ALL_RM_TEST.
4561         (ctanh_tonearest_test_data): Remove.
4562         (ctanh_test_tonearest): Likewise.
4563         (ctanh_towardzero_test_data): Likewise.
4564         (ctanh_test_towardzero): Likewise.
4565         (ctanh_downward_test_data): Likewise.
4566         (ctanh_test_downward): Likewise.
4567         (ctanh_upward_test_data): Likewise.
4568         (ctanh_test_upward): Likewise.
4569         (erf_test_data): Update call to AUTO_TESTS_f_f.
4570         (erfc_test_data): Likewise.
4571         (exp_test_data): Likewise.
4572         (exp_test): Use ALL_RM_TEST.
4573         (exp_tonearest_test_data): Remove.
4574         (exp_test_tonearest): Likewise.
4575         (exp_towardzero_test_data): Likewise.
4576         (exp_test_towardzero): Likewise.
4577         (exp_downward_test_data): Likewise.
4578         (exp_test_downward): Likewise.
4579         (exp_upward_test_data): Likewise.
4580         (exp_test_upward): Likewise.
4581         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4582         (exp10_test): Use ALL_RM_TEST.
4583         (exp10_tonearest_test_data): Remove.
4584         (exp10_test_tonearest): Likewise.
4585         (exp10_towardzero_test_data): Likewise.
4586         (exp10_test_towardzero): Likewise.
4587         (exp10_downward_test_data): Likewise.
4588         (exp10_test_downward): Likewise.
4589         (exp10_upward_test_data): Likewise.
4590         (exp10_test_upward): Likewise.
4591         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4592         (expm1_test_data): Likewise.
4593         (expm1_test): Use ALL_RM_TEST.
4594         (expm1_tonearest_test_data): Remove.
4595         (expm1_test_tonearest): Likewise.
4596         (expm1_towardzero_test_data): Likewise.
4597         (expm1_test_towardzero): Likewise.
4598         (expm1_downward_test_data): Likewise.
4599         (expm1_test_downward): Likewise.
4600         (expm1_upward_test_data): Likewise.
4601         (expm1_test_upward): Likewise.
4602         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4603         (fma_test): Use ALL_RM_TEST.
4604         (fma_towardzero_test_data): Remove.
4605         (fma_test_towardzero): Likewise.
4606         (fma_downward_test_data): Likewise.
4607         (fma_test_downward): Likewise.
4608         (fma_upward_test_data): Likewise.
4609         (fma_test_upward): Likewise.
4610         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4611         (j0_test_data): Update call to AUTO_TESTS_f_f.
4612         (j1_test_data): Likewise.
4613         (jn_test_data): Update call to AUTO_TESTS_if_f.
4614         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4615         (log_test_data): Update call to AUTO_TESTS_f_f.
4616         (log10_test_data): Likewise.
4617         (log1p_test_data): Likewise.
4618         (log2_test_data): Likewise.
4619         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4620         (pow_tonearest_test_data): Likewise.
4621         (sin_test_data): Update call to AUTO_TESTS_f_f.
4622         (sin_test): Use ALL_RM_TEST.
4623         (sin_tonearest_test_data): Remove.
4624         (sin_test_tonearest): Likewise.
4625         (sin_towardzero_test_data): Likewise.
4626         (sin_test_towardzero): Likewise.
4627         (sin_downward_test_data): Likewise.
4628         (sin_test_downward): Likewise.
4629         (sin_upward_test_data): Likewise.
4630         (sin_test_upward): Likewise.
4631         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4632         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4633         (sinh_test): Use ALL_RM_TEST.
4634         (sinh_tonearest_test_data): Remove.
4635         (sinh_test_tonearest): Likewise.
4636         (sinh_towardzero_test_data): Likewise.
4637         (sinh_test_towardzero): Likewise.
4638         (sinh_downward_test_data): Likewise.
4639         (sinh_test_downward): Likewise.
4640         (sinh_upward_test_data): Likewise.
4641         (sinh_test_upward): Likewise.
4642         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4643         (sqrt_test): Use ALL_RM_TEST.
4644         (sqrt_tonearest_test_data): Remove.
4645         (sqrt_test_tonearest): Likewise.
4646         (sqrt_towardzero_test_data): Likewise.
4647         (sqrt_test_towardzero): Likewise.
4648         (sqrt_downward_test_data): Likewise.
4649         (sqrt_test_downward): Likewise.
4650         (sqrt_upward_test_data): Likewise.
4651         (sqrt_test_upward): Likewise.
4652         (tan_test_data): Update call to AUTO_TESTS_f_f.
4653         (tan_test): Use ALL_RM_TEST.
4654         (tan_tonearest_test_data): Remove.
4655         (tan_test_tonearest): Likewise.
4656         (tan_towardzero_test_data): Likewise.
4657         (tan_test_towardzero): Likewise.
4658         (tan_downward_test_data): Likewise.
4659         (tan_test_downward): Likewise.
4660         (tan_upward_test_data): Likewise.
4661         (tan_test_upward): Likewise.
4662         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4663         (tgamma_test_data): Likewise.
4664         (y0_test_data): Likewise.
4665         (y1_test_data): Likewise.
4666         (yn_test_data): Update call to AUTO_TESTS_if_f.
4667         (main): Do not call removed functions.
4668
4669 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4670
4671         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4672         (ldexp_test_data): Remove.
4673         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4674         scalbn_test_data.
4675         (scalb_test): Use ALL_RM_TEST.
4676
4677 2014-03-19  Andreas Schwab  <schwab@suse.de>
4678
4679         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4680
4681 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4682
4683         [BZ #16649]
4684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4685         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4686         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4688         (__ASSUME_PREADV): Undefine.
4689         (__ASSUME_PWRITEV): Likewise.
4690
4691 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4692
4693         * bits/mman-linux.h: Add comment about non-Linux use.
4694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4695         bits/mman-linux.h resting place.
4696
4697         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4698         * bits/mman-linux.h: ... here.
4699
4700 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4701
4702         * conform/conformtest.pl: Add standard definition when calling C
4703         preprocessor on data files.
4704         (checknamespace): Remove unused variable.
4705
4706 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4707
4708         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4709         minus_oflow, plus_uflow and minus_uflow in expected results.
4710         * math/libm-test.inc (scalbn_test_data): Add more tests of
4711         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4712         minus_uflow.
4713         (scalbn_test): Use ALL_RM_TEST.
4714         (scalbln_test_data): Add more tests of negative arguments.  Use
4715         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4716         (scalbln_test): Use ALL_RM_TEST.
4717
4718 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4719
4720         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4721
4722 2014-03-18  Will Newton  <will.newton@linaro.org>
4723
4724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4725         inaccurate comment.
4726
4727 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4728
4729         * Makerules [!subdir] (check-abi): Exit with error status if a
4730         test failed.
4731
4732 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4733
4734         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4735         for rint.  Include results for all rounding modes.
4736         (nearbyint_test): Use ALL_RM_TEST.
4737         (rint_test_data): Include all tests used for nearbyint.
4738
4739 2014-03-17  Will Newton  <will.newton@linaro.org>
4740
4741         * nptl/sysdeps/pthread/pthread.h: Revert previous
4742         change.
4743
4744         * sysdeps/generic/ldsodefs.h: Revert previous
4745         change.
4746
4747         * libio/genops.c: Revert previous change.
4748         * libio/libioP.h: Likewise.
4749         * stdio-common/vfprintf.c: Likewise.
4750
4751         * sysdeps/generic/math_private.h: Revert previous
4752         change.
4753
4754         * sysdeps/generic/math_private.h: Check whether
4755         HAVE_RM_CTX is defined with #ifdef rather
4756         than #if.
4757
4758         * argp/argp-fmtstream.h: Check whether
4759         __STRICT_ANSI__ is defined with #ifdef rather
4760         than #if.
4761         * argp/argp.h: Likewise.
4762
4763         * libio/genops.c: Check whether
4764         _IO_JUMPS_OFFSET is defined with #ifdef rather
4765         than #if.
4766         * libio/libioP.h: Likewise.
4767         * stdio-common/vfprintf.c: Likewise.
4768
4769         * sysdeps/generic/ldsodefs.h: Check whether
4770         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4771         than #if.
4772
4773         * nptl/sysdeps/pthread/pthread.h: Check
4774         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4775         its value.
4776
4777 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4778
4779         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4780         setting O_APPEND.
4781         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4782         test case.
4783
4784         [BZ #16680]
4785         * libio/fileops.c (_IO_file_open): Seek to end of file but
4786         don't cache the offset.
4787         (get_file_offset): Remove function.
4788         (do_ftell): Use cached offset when available.
4789         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4790         don't cache the offset.
4791         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4792         case.
4793         (do_one_test): Call it.
4794         (do_ftell_test): Fix up expected old offset for a+ mode.
4795         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4796         available.
4797
4798         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4799         up test status with function return status.
4800         (do_write_test): Likewise.
4801         (do_append_test): Likewise.
4802
4803         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4804         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4805         Remove.
4806
4807 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4808
4809         * math/gen-libm-test.pl (parse_args): Handle results specified for
4810         each rounding mode separately.
4811         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4812         tests and results from lrint_tonearest_test_data,
4813         lrint_towardzero_test_data, lrint_downward_test_data and
4814         lrint_upward_test_data.
4815         (lrint_test): Use ALL_RM_TEST.
4816         (lrint_tonearest_test_data): Remove.
4817         (lrint_test_tonearest): Likewise.
4818         (lrint_towardzero_test_data): Likewise.
4819         (lrint_test_towardzero): Likewise.
4820         (lrint_downward_test_data): Likewise.
4821         (lrint_test_downward): Likewise.
4822         (lrint_upward_test_data): Likewise.
4823         (lrint_test_upward): Likewise.
4824         (llrint_test_data): Merge in per-rounding-mode tests and results
4825         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4826         llrint_downward_test_data and llrint_upward_test_data.
4827         (llrint_test): Use ALL_RM_TEST.
4828         (llrint_tonearest_test_data): Remove.
4829         (llrint_test_tonearest): Likewise.
4830         (llrint_towardzero_test_data): Likewise.
4831         (llrint_test_towardzero): Likewise.
4832         (llrint_downward_test_data): Likewise.
4833         (llrint_test_downward): Likewise.
4834         (llrint_upward_test_data): Likewise.
4835         (llrint_test_upward): Likewise.
4836         (rint_test_data): Merge in per-rounding-mode tests and results
4837         from rint_tonearest_test_data, rint_towardzero_test_data,
4838         rint_downward_test_data and rint_upward_test_data.  Add
4839         per-rounding-mode results for tests not in those arrays.
4840         (rint_test): Use ALL_RM_TEST.
4841         (rint_tonearest_test_data): Remove.
4842         (rint_test_tonearest): Likewise.
4843         (rint_towardzero_test_data): Likewise.
4844         (rint_test_towardzero): Likewise.
4845         (rint_downward_test_data): Likewise.
4846         (rint_test_downward): Likewise.
4847         (rint_upward_test_data): Likewise.
4848         (rint_test_upward): Likewise.
4849         (main): Don't call removed functions.
4850
4851 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4852
4853         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4854         "Compiled on ..." crapola.  It is anti-useful.
4855
4856 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4857
4858         * scripts/evaluate-test.sh: Handle fourth argument to determine
4859         whether test run should stop on failure.
4860         * Makeconfig (stop-on-test-failure): New variable.
4861         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4862         $(stop-on-test-failure).
4863         * Makefile (tests): Give a summary of results from testing and
4864         exit with failure status if they include an ERROR or FAIL.
4865         (xtests): Likewise.
4866         * manual/install.texi (Configuring and compiling): Mention
4867         stop-on-test-failure=y.
4868         * INSTALL: Regenerated.
4869
4870 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4871
4872         * scripts/versionlist.awk: New file.
4873         * Makerules [$(build-shared) = yes]
4874         (postclean-generated): Add Versions.def, not Versions.def.v and
4875         Versions.def.v.i.
4876         ($(common-objpfx)Versions.def.v.i): Target removed.
4877         ($(common-objpfx)Versions.def): New target.
4878         ($(common-objpfx)Versions.all): Depend on that rather that
4879         $(common-objpfx)Versions.def.v.
4880         * Versions.def: File removed.
4881
4882         * Makeconfig (+gccwarn): Add -Wundef.
4883         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4884         a dl-sysdep.h breaking its contract.
4885         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4886         * include/stackinfo.h: New file.
4887         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4888         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4889         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4890         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4891         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4892         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4893         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4894         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4895         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4896         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4897         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4898         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4899         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4900         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4901         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4902
4903 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4904
4905         [BZ #16707]
4906         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4907         implementation.
4908         * math/libm-test.inc (round_test_data): Add more tests.
4909
4910         [BZ #16706]
4911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4912         implementation.
4913         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4914
4915         [BZ #16701]
4916         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4917         implementation.
4918         * math/libm-test.inc (ceil_test_data): Add more tests.
4919
4920         * math/libm-test.inc (trunc_test_data): Add more tests related to
4921         BZ#16414.
4922
4923 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4924
4925         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4926         with #if rather than #ifdef.
4927         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4928
4929 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4930
4931         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4932         first.  Disable AVX-512 GCC support if assembler doesn't support
4933         it.
4934         * sysdeps/x86_64/configure: Regenerated.
4935
4936 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4937
4938         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4939         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4940         (__old_pthread_attr_setstack): Likewise.
4941         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4942         [!_STACK_GROWS_DOWN]: Likewise.
4943
4944 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4945
4946         * config.make.in (have-bash2): Delete.
4947         * configure.ac (libc_cv_have_bash2): Delete.
4948         * configure: Regenerate.
4949         * elf/Makefile (common-ldd-rewrite): Rename to ...
4950         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4951         (sh-ldd-rewrite): Delete.
4952         (bash-ldd-rewrite): Delete.
4953         (have-bash2): Delete checks.
4954         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4955         ldd-rewrite.
4956
4957         * config.make.in (have-ksh): Delete.
4958         (KSH): Delete.
4959         * configure.ac (libc_cv_have_ksh): Delete.
4960         * configure: Regenerate.
4961
4962         * elf/Makefile: Delete $(have-ksh) check.
4963         ($(objpfx)sotruss): Change KSH to BASH.
4964         * elf/sotruss.ksh: Rename to ...
4965         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4966         function style to match POSIX.  Drop ksh vim mode setting.
4967
4968         * manual/time.texi (Specifying the Time Zone with TZ): Change
4969         Tuesday to Thursday.
4970
4971         * debug/tst-longjmp_chk2.c: Update header comment.
4972         (stackoverflow_handler): Add comment.  Call assert on pass value.
4973
4974 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4975
4976         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4977         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4978         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4979         (La_x86_64_vector): Add zmm.
4980         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4981         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4982         ($(objpfx)tst-audit10): New target.
4983         ($(objpfx)tst-audit10.out): Likewise.
4984         (tst-audit10-ENV): New.
4985         (AVX512-CFLAGS): Likewise.
4986         (CFLAGS-tst-audit10.c): Likewise.
4987         (CFLAGS-tst-auditmod10a.c): Likewise.
4988         (CFLAGS-tst-auditmod10b.c): Likewise.
4989         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4990         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4991         * sysdeps/x86_64/configure: Regenerated.
4992         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4993         AVX-512 zmm register support.
4994         (_dl_x86_64_save_sse): Likewise.
4995         (_dl_x86_64_restore_sse): Likewise.
4996         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4997         size vector registers.
4998         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4999         (ZMM_SIZE): Likewise.
5000         * sysdeps/x86_64/tst-audit10.c: New file.
5001         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5002         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5003
5004 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5005
5006         * configure.ac (HAVE_EHDR_START): New check.
5007         * configure: Regenerated.
5008         * config.h.in (HAVE_EHDR_START): New #undef.
5009         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5010         assuming the lowest-addressed segment maps the start of the file.
5011
5012 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5013
5014         * INSTALL: Regenerated.
5015
5016 2014-03-13  Will Newton  <will.newton@linaro.org>
5017
5018         * manual/setjmp.texi (System V contexts): Improve
5019         clarity and grammar of documentation.
5020
5021 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5022
5023         [BZ #16381]
5024         * elf/Makefile (tests): Add tst-pie2.
5025         (tests-pie): Add tst-pie2.
5026         * elf/tst-pie2.c: New file.
5027         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5028         for ET_EXEC.
5029         * elf/rtld.c (map_doit): Load executable as lt_executable.
5030         (dl_main): Likewise.
5031
5032 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5033
5034         [BZ #16642]
5035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5036         (__ASSUME_PSELECT): Undefine.
5037
5038 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5039
5040         [BZ #16689]
5041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5042         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5043         static build.
5044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5045         selector for static builds.
5046
5047 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5048
5049         [BZ #16695]
5050         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5051         key in the buffer.
5052
5053 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5054
5055         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5056         IFUNC selector for static builds.
5057
5058 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5059
5060         * sysdeps/mips/math_private.h [__mips_hard_float]
5061         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5062         libc_feresetround_mips_ctx.
5063         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5064         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5065         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5066
5067         [BZ #16677]
5068         * math/s_nextafter.c (__nextafter): Do not return value from
5069         overflowing computation.
5070         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5071         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5073         Likewise.
5074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5075         Likewise.
5076         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5077         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5078
5079 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5080
5081         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5082         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5083         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5084         the new mov targetting sp.
5085
5086 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5087
5088         [BZ #16683]
5089         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5090         Define it for static builds as well.
5091         (NO_BZERO_IMPL): Likewise.
5092
5093 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5094
5095         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5096         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5097         multiarch strspn for PPC64.
5098         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5099         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5101         (__libc_ifunc_impl_list): Likewise.
5102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5103         multiarch optimizations
5104         * string/strspn.c (strspn): Using macro to redefine symbol name.
5105
5106 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5107             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5108
5109         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5110         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5111         multiarch strncat for PPC64.
5112         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5113         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5115         (__libc_ifunc_impl_list): Likewise.
5116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5117         multiarch optimizations
5118
5119 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5120
5121         [BZ #16639]
5122         * nscd/nscd.service: Make service type forking.
5123
5124 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5125
5126         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5127         sign in non default rounding modes.
5128         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5129
5130 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5131
5132         * math/libm-test.inc (ALL_RM_TEST): New macro.
5133         (ceil_test): Use ALL_RM_TEST.
5134         (cimag_test): Likewise.
5135         (conj_test): Likewise.
5136         (copysign_test): Likewise.
5137         (cproj_test): Likewise.
5138         (creal_test): Likewise.
5139         (fabs_test): Likewise.
5140         (floor_test): Likewise.
5141         (fmax_test): Likewise.
5142         (fmin_test): Likewise.
5143         (fmod_test): Likewise.
5144         (fpclassify_test): Likewise.
5145         (frexp_test): Likewise.
5146         (ilogb_test): Likewise.
5147         (isfinite_test): Likewise.
5148         (finite_test): Likewise.
5149         (isgreater_test): Likewise.
5150         (isgreaterequal_test): Likewise.
5151         (isinf_test): Likewise.
5152         (isless_test): Likewise.
5153         (islessequal_test): Likewise.
5154         (islessgreater_test): Likewise.
5155         (isnan_test): Likewise.
5156         (isnormal_test): Likewise.
5157         (issignaling_test): Likewise.
5158         (isunordered_test): Likewise.
5159         (logb_test): Likewise.
5160         (logb_downward_test_data): Remove.
5161         (logb_test_downward): Likewise.
5162         (lround_test): Use ALL_RM_TEST.
5163         (llround_test): Likewise.
5164         (modf_test): Likewise.
5165         (nexttoward_test): Likewise.
5166         (remainder_test): Likewise.
5167         (drem_test): Likewise.
5168         (remainder_tonearest_test_data): Likewise.
5169         (remainder_test_tonearest): Likewise.
5170         (drem_test_tonearest): Likewise.
5171         (remainder_towardzero_test_data): Likewise.
5172         (remainder_test_towardzero): Likewise.
5173         (drem_test_towardzero): Likewise.
5174         (remainder_downward_test_data): Likewise.
5175         (remainder_test_downward): Likewise.
5176         (drem_test_downward): Likewise.
5177         (remainder_upward_test_data): Likewise.
5178         (remainder_test_upward): Likewise.
5179         (drem_test_upward): Likewise.
5180         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5181         (round_test): Use ALL_RM_TEST.
5182         (signbit_test): Likewise.
5183         (trunc_test): Likewise.
5184         (significand_test): Likewise.
5185         (main): Don't call removed functions.
5186
5187 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5188
5189         [BZ #16674]
5190         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5191         || __USE_XOPEN2K8].
5192         (ILL_ILLOPN): Likewise.
5193         (ILL_ILLADR): Likewise.
5194         (ILL_ILLTRP): Likewise.
5195         (ILL_PRVOPC): Likewise.
5196         (ILL_PRVREG): Likewise.
5197         (ILL_COPROC): Likewise.
5198         (ILL_BADSTK): Likewise.
5199         (FPE_INTDIV): Likewise.
5200         (FPE_INTOVF): Likewise.
5201         (FPE_FLTDIV): Likewise.
5202         (FPE_FLTOVF): Likewise.
5203         (FPE_FLTUND): Likewise.
5204         (FPE_FLTRES): Likewise.
5205         (FPE_FLTINV): Likewise.
5206         (FPE_FLTSUB): Likewise.
5207         (SEGV_MAPERR): Likewise.
5208         (SEGV_ACCERR): Likewise.
5209         (BUS_ADRALN): Likewise.
5210         (BUS_ADRERR): Likewise.
5211         (BUS_OBJERR): Likewise.
5212         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5213         (TRAP_TRACE): Likewise.
5214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5215         __USE_XOPEN2K8].
5216         (CLD_KILLED): Likewise.
5217         (CLD_DUMPED): Likewise.
5218         (CLD_TRAPPED): Likewise.
5219         (CLD_STOPPED): Likewise.
5220         (CLD_CONTINUED): Likewise.
5221         (POLL_IN): Likewise.
5222         (POLL_OUT): Likewise.
5223         (POLL_MSG): Likewise.
5224         (POLL_ERR): Likewise.
5225         (POLL_PRI): Likewise.
5226         (POLL_HUP): Likewise.
5227         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5228         Likewise.
5229         (ILL_ILLOPN): Likewise.
5230         (ILL_ILLADR): Likewise.
5231         (ILL_ILLTRP): Likewise.
5232         (ILL_PRVOPC): Likewise.
5233         (ILL_PRVREG): Likewise.
5234         (ILL_COPROC): Likewise.
5235         (ILL_BADSTK): Likewise.
5236         (FPE_INTDIV): Likewise.
5237         (FPE_INTOVF): Likewise.
5238         (FPE_FLTDIV): Likewise.
5239         (FPE_FLTOVF): Likewise.
5240         (FPE_FLTUND): Likewise.
5241         (FPE_FLTRES): Likewise.
5242         (FPE_FLTINV): Likewise.
5243         (FPE_FLTSUB): Likewise.
5244         (SEGV_MAPERR): Likewise.
5245         (SEGV_ACCERR): Likewise.
5246         (BUS_ADRALN): Likewise.
5247         (BUS_ADRERR): Likewise.
5248         (BUS_OBJERR): Likewise.
5249         (BUS_MCEERR_AR): Likewise.
5250         (BUS_MCEERR_AO): Likewise.
5251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5252         (TRAP_TRACE): Likewise.
5253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5254         __USE_XOPEN2K8].
5255         (CLD_KILLED): Likewise.
5256         (CLD_DUMPED): Likewise.
5257         (CLD_TRAPPED): Likewise.
5258         (CLD_STOPPED): Likewise.
5259         (CLD_CONTINUED): Likewise.
5260         (POLL_IN): Likewise.
5261         (POLL_OUT): Likewise.
5262         (POLL_MSG): Likewise.
5263         (POLL_ERR): Likewise.
5264         (POLL_PRI): Likewise.
5265         (POLL_HUP): Likewise.
5266         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5267         (ILL_ILLOPN): Likewise.
5268         (ILL_ILLADR): Likewise.
5269         (ILL_ILLTRP): Likewise.
5270         (ILL_PRVOPC): Likewise.
5271         (ILL_PRVREG): Likewise.
5272         (ILL_COPROC): Likewise.
5273         (ILL_BADSTK): Likewise.
5274         (FPE_INTDIV): Likewise.
5275         (FPE_INTOVF): Likewise.
5276         (FPE_FLTDIV): Likewise.
5277         (FPE_FLTOVF): Likewise.
5278         (FPE_FLTUND): Likewise.
5279         (FPE_FLTRES): Likewise.
5280         (FPE_FLTINV): Likewise.
5281         (FPE_FLTSUB): Likewise.
5282         (SEGV_MAPERR): Likewise.
5283         (SEGV_ACCERR): Likewise.
5284         (BUS_ADRALN): Likewise.
5285         (BUS_ADRERR): Likewise.
5286         (BUS_OBJERR): Likewise.
5287         (BUS_MCEERR_AR): Likewise.
5288         (BUS_MCEERR_AO): Likewise.
5289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5290         (TRAP_TRACE): Likewise.
5291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5292         __USE_XOPEN2K8].
5293         (CLD_KILLED): Likewise.
5294         (CLD_DUMPED): Likewise.
5295         (CLD_TRAPPED): Likewise.
5296         (CLD_STOPPED): Likewise.
5297         (CLD_CONTINUED): Likewise.
5298         (POLL_IN): Likewise.
5299         (POLL_OUT): Likewise.
5300         (POLL_MSG): Likewise.
5301         (POLL_ERR): Likewise.
5302         (POLL_PRI): Likewise.
5303         (POLL_HUP): Likewise.
5304         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5305         Likewise.
5306         (ILL_ILLOPN): Likewise.
5307         (ILL_ILLADR): Likewise.
5308         (ILL_ILLTRP): Likewise.
5309         (ILL_PRVOPC): Likewise.
5310         (ILL_PRVREG): Likewise.
5311         (ILL_COPROC): Likewise.
5312         (ILL_BADSTK): Likewise.
5313         (ILL_BADIADDR): Likewise.
5314         (ILL_BREAK): Likewise.
5315         (FPE_INTDIV): Likewise.
5316         (FPE_INTOVF): Likewise.
5317         (FPE_FLTDIV): Likewise.
5318         (FPE_FLTOVF): Likewise.
5319         (FPE_FLTUND): Likewise.
5320         (FPE_FLTRES): Likewise.
5321         (FPE_FLTINV): Likewise.
5322         (FPE_FLTSUB): Likewise.
5323         (FPE_DECOVF): Likewise.
5324         (FPE_DECDIV): Likewise.
5325         (FPE_DECERR): Likewise.
5326         (FPE_INVASC): Likewise.
5327         (FPE_INVDEC): Likewise.
5328         (SEGV_MAPERR): Likewise.
5329         (SEGV_ACCERR): Likewise.
5330         (SEGV_PSTKOVF): Likewise.
5331         (BUS_ADRALN): Likewise.
5332         (BUS_ADRERR): Likewise.
5333         (BUS_OBJERR): Likewise.
5334         (BUS_MCEERR_AR): Likewise.
5335         (BUS_MCEERR_AO): Likewise.
5336         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5337         (TRAP_TRACE): Likewise.
5338         (TRAP_BRANCH): Likewise.
5339         (TRAP_HWBKPT): Likewise.
5340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5341         __USE_XOPEN2K8].
5342         (CLD_KILLED): Likewise.
5343         (CLD_DUMPED): Likewise.
5344         (CLD_TRAPPED): Likewise.
5345         (CLD_STOPPED): Likewise.
5346         (CLD_CONTINUED): Likewise.
5347         (POLL_IN): Likewise.
5348         (POLL_OUT): Likewise.
5349         (POLL_MSG): Likewise.
5350         (POLL_ERR): Likewise.
5351         (POLL_PRI): Likewise.
5352         (POLL_HUP): Likewise.
5353         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5354         (ILL_ILLOPN): Likewise.
5355         (ILL_ILLADR): Likewise.
5356         (ILL_ILLTRP): Likewise.
5357         (ILL_PRVOPC): Likewise.
5358         (ILL_PRVREG): Likewise.
5359         (ILL_COPROC): Likewise.
5360         (ILL_BADSTK): Likewise.
5361         (FPE_INTDIV): Likewise.
5362         (FPE_INTOVF): Likewise.
5363         (FPE_FLTDIV): Likewise.
5364         (FPE_FLTOVF): Likewise.
5365         (FPE_FLTUND): Likewise.
5366         (FPE_FLTRES): Likewise.
5367         (FPE_FLTINV): Likewise.
5368         (FPE_FLTSUB): Likewise.
5369         (SEGV_MAPERR): Likewise.
5370         (SEGV_ACCERR): Likewise.
5371         (BUS_ADRALN): Likewise.
5372         (BUS_ADRERR): Likewise.
5373         (BUS_OBJERR): Likewise.
5374         (BUS_MCEERR_AR): Likewise.
5375         (BUS_MCEERR_AO): Likewise.
5376         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5377         (TRAP_TRACE): Likewise.
5378         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5379         __USE_XOPEN2K8].
5380         (CLD_KILLED): Likewise.
5381         (CLD_DUMPED): Likewise.
5382         (CLD_TRAPPED): Likewise.
5383         (CLD_STOPPED): Likewise.
5384         (CLD_CONTINUED): Likewise.
5385         (POLL_IN): Likewise.
5386         (POLL_OUT): Likewise.
5387         (POLL_MSG): Likewise.
5388         (POLL_ERR): Likewise.
5389         (POLL_PRI): Likewise.
5390         (POLL_HUP): Likewise.
5391         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5392         (ILL_ILLOPN): Likewise.
5393         (ILL_ILLADR): Likewise.
5394         (ILL_ILLTRP): Likewise.
5395         (ILL_PRVOPC): Likewise.
5396         (ILL_PRVREG): Likewise.
5397         (ILL_COPROC): Likewise.
5398         (ILL_BADSTK): Likewise.
5399         (FPE_INTDIV): Likewise.
5400         (FPE_INTOVF): Likewise.
5401         (FPE_FLTDIV): Likewise.
5402         (FPE_FLTOVF): Likewise.
5403         (FPE_FLTUND): Likewise.
5404         (FPE_FLTRES): Likewise.
5405         (FPE_FLTINV): Likewise.
5406         (FPE_FLTSUB): Likewise.
5407         (SEGV_MAPERR): Likewise.
5408         (SEGV_ACCERR): Likewise.
5409         (BUS_ADRALN): Likewise.
5410         (BUS_ADRERR): Likewise.
5411         (BUS_OBJERR): Likewise.
5412         (BUS_MCEERR_AR): Likewise.
5413         (BUS_MCEERR_AO): Likewise.
5414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5415         (TRAP_TRACE): Likewise.
5416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5417         __USE_XOPEN2K8].
5418         (CLD_KILLED): Likewise.
5419         (CLD_DUMPED): Likewise.
5420         (CLD_TRAPPED): Likewise.
5421         (CLD_STOPPED): Likewise.
5422         (CLD_CONTINUED): Likewise.
5423         (POLL_IN): Likewise.
5424         (POLL_OUT): Likewise.
5425         (POLL_MSG): Likewise.
5426         (POLL_ERR): Likewise.
5427         (POLL_PRI): Likewise.
5428         (POLL_HUP): Likewise.
5429         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5430         (ILL_ILLOPN): Likewise.
5431         (ILL_ILLADR): Likewise.
5432         (ILL_ILLTRP): Likewise.
5433         (ILL_PRVOPC): Likewise.
5434         (ILL_PRVREG): Likewise.
5435         (ILL_COPROC): Likewise.
5436         (ILL_BADSTK): Likewise.
5437         (FPE_INTDIV): Likewise.
5438         (FPE_INTOVF): Likewise.
5439         (FPE_FLTDIV): Likewise.
5440         (FPE_FLTOVF): Likewise.
5441         (FPE_FLTUND): Likewise.
5442         (FPE_FLTRES): Likewise.
5443         (FPE_FLTINV): Likewise.
5444         (FPE_FLTSUB): Likewise.
5445         (SEGV_MAPERR): Likewise.
5446         (SEGV_ACCERR): Likewise.
5447         (BUS_ADRALN): Likewise.
5448         (BUS_ADRERR): Likewise.
5449         (BUS_OBJERR): Likewise.
5450         (BUS_MCEERR_AR): Likewise.
5451         (BUS_MCEERR_AO): Likewise.
5452         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5453         (TRAP_TRACE): Likewise.
5454         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5455         __USE_XOPEN2K8].
5456         (CLD_KILLED): Likewise.
5457         (CLD_DUMPED): Likewise.
5458         (CLD_TRAPPED): Likewise.
5459         (CLD_STOPPED): Likewise.
5460         (CLD_CONTINUED): Likewise.
5461         (POLL_IN): Likewise.
5462         (POLL_OUT): Likewise.
5463         (POLL_MSG): Likewise.
5464         (POLL_ERR): Likewise.
5465         (POLL_PRI): Likewise.
5466         (POLL_HUP): Likewise.
5467         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5468         (ILL_ILLOPN): Likewise.
5469         (ILL_ILLADR): Likewise.
5470         (ILL_ILLTRP): Likewise.
5471         (ILL_PRVOPC): Likewise.
5472         (ILL_PRVREG): Likewise.
5473         (ILL_COPROC): Likewise.
5474         (ILL_BADSTK): Likewise.
5475         (ILL_DBLFLT): Likewise.
5476         (ILL_HARDWALL): Likewise.
5477         (FPE_INTDIV): Likewise.
5478         (FPE_INTOVF): Likewise.
5479         (FPE_FLTDIV): Likewise.
5480         (FPE_FLTOVF): Likewise.
5481         (FPE_FLTUND): Likewise.
5482         (FPE_FLTRES): Likewise.
5483         (FPE_FLTINV): Likewise.
5484         (FPE_FLTSUB): Likewise.
5485         (SEGV_MAPERR): Likewise.
5486         (SEGV_ACCERR): Likewise.
5487         (BUS_ADRALN): Likewise.
5488         (BUS_ADRERR): Likewise.
5489         (BUS_OBJERR): Likewise.
5490         (BUS_MCEERR_AR): Likewise.
5491         (BUS_MCEERR_AO): Likewise.
5492         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5493         (TRAP_TRACE): Likewise.
5494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5495         __USE_XOPEN2K8].
5496         (CLD_KILLED): Likewise.
5497         (CLD_DUMPED): Likewise.
5498         (CLD_TRAPPED): Likewise.
5499         (CLD_STOPPED): Likewise.
5500         (CLD_CONTINUED): Likewise.
5501         (POLL_IN): Likewise.
5502         (POLL_OUT): Likewise.
5503         (POLL_MSG): Likewise.
5504         (POLL_ERR): Likewise.
5505         (POLL_PRI): Likewise.
5506         (POLL_HUP): Likewise.
5507         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5508         (ILL_ILLOPN): Likewise.
5509         (ILL_ILLADR): Likewise.
5510         (ILL_ILLTRP): Likewise.
5511         (ILL_PRVOPC): Likewise.
5512         (ILL_PRVREG): Likewise.
5513         (ILL_COPROC): Likewise.
5514         (ILL_BADSTK): Likewise.
5515         (FPE_INTDIV): Likewise.
5516         (FPE_INTOVF): Likewise.
5517         (FPE_FLTDIV): Likewise.
5518         (FPE_FLTOVF): Likewise.
5519         (FPE_FLTUND): Likewise.
5520         (FPE_FLTRES): Likewise.
5521         (FPE_FLTINV): Likewise.
5522         (FPE_FLTSUB): Likewise.
5523         (SEGV_MAPERR): Likewise.
5524         (SEGV_ACCERR): Likewise.
5525         (BUS_ADRALN): Likewise.
5526         (BUS_ADRERR): Likewise.
5527         (BUS_OBJERR): Likewise.
5528         (BUS_MCEERR_AR): Likewise.
5529         (BUS_MCEERR_AO): Likewise.
5530         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5531         (TRAP_TRACE): Likewise.
5532         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5533         __USE_XOPEN2K8].
5534         (CLD_KILLED): Likewise.
5535         (CLD_DUMPED): Likewise.
5536         (CLD_TRAPPED): Likewise.
5537         (CLD_STOPPED): Likewise.
5538         (CLD_CONTINUED): Likewise.
5539         (POLL_IN): Likewise.
5540         (POLL_OUT): Likewise.
5541         (POLL_MSG): Likewise.
5542         (POLL_ERR): Likewise.
5543         (POLL_PRI): Likewise.
5544         (POLL_HUP): Likewise.
5545         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5546         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5547
5548         [BZ #16670]
5549         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5550         before #include of <time.h>.
5551         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5552         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5553         (test-xfail-UNIX98/sched.h/conform): Likewise.
5554
5555 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5556
5557         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5558         error absence of trapping exception support.
5559         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5560
5561 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5562
5563         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5564         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5565         * timezone/Makefile (testdata): Move definition above include of
5566         Rules.
5567         (test-zones): New variable.
5568         (tests-special): Add zone files.
5569         (build-testdata): Use $(evaluate-test).
5570
5571         * elf/Makefile (tests-special): Rename tests to end with .out.
5572         ($(objpfx)noload-mem): Likewise.
5573         ($(objpfx)tst-leaks1-mem): Likewise.
5574         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5575         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5576         $(objpfx)test-iconvconfig.out.
5577         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5578         set -e inside subshell and redirect output to file.
5579         * iconvdata/Makefile (generated): Rename tests to end with .out.
5580         Correct type.
5581         (tests-special): Rename tests to end with .out.
5582         ($(objpfx)mtrace-tst-loading): Likewise.
5583         * intl/Makefile (generated): Likewise.
5584         (tests-special): Likewise.
5585         ($(objpfx)mtrace-tst-gettext): Likewise.
5586         * misc/Makefile (generated): Likewise.
5587         (tests-special): Likewise.
5588         ($(objpfx)tst-error1-mem): Likewise.
5589         * nptl/Makefile (tests-special): Likewise.
5590         ($(objpfx)tst-stack3-mem): Likewise.
5591         (generated): Likewise.
5592         * posix/Makefile (generated): Likewise.
5593         (tests-special): Likewise.
5594         (xtests-special): Likewise.
5595         ($(objpfx)tst-fnmatch-mem): Likewise.
5596         ($(objpfx)bug-regex2-mem): Likewise.
5597         ($(objpfx)bug-regex14-mem): Likewise.
5598         ($(objpfx)bug-regex21-mem): Likewise.
5599         ($(objpfx)bug-regex31-mem): Likewise.
5600         ($(objpfx)tst-vfork3-mem): Likewise.
5601         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5602         ($(objpfx)tst-pcre-mem): Likewise.
5603         ($(objpfx)tst-boost-mem): Likewise.
5604         ($(objpfx)bug-ga2-mem): Likewise.
5605         ($(objpfx)bug-glob2-mem): Likewise.
5606         * resolv/Makefile (generate): Likewise.
5607         (tests-special): Likewise.
5608         (xtests-special): Likewise.
5609         (generated): Likewise.
5610         ($(objpfx)mtrace-tst-leaks): Likewise.
5611         ($(objpfx)mtrace-tst-leaks2): Likewise.
5612
5613         * scripts/merge-test-results.sh: New file.
5614         * Makefile (tests-special-notdir): New variable.
5615         (tests): Run merge-test-results.sh.
5616         (xtests): Likewise.
5617         * Rules (tests-special-notdir): New variable.
5618         (xtests-special-notdir): Likewise.
5619         (tests): Run merge-test-results.sh
5620         (xtests): Likewise.
5621
5622         * Makeconfig (test-xfail-name): New variable.
5623         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5624         compute variable name for expected failures.
5625         * conform/Makefile (conformtest-headers-data): New variable.
5626         (conformtest-standards): Likewise.
5627         (conformtest-headers-ISO): Likewise.
5628         (conformtest-headers-ISO99): Likewise.
5629         (conformtest-headers-ISO11): Likewise.
5630         (conformtest-headers-POSIX): Likewise.
5631         (conformtest-headers-XPG3): Likewise.
5632         (conformtest-headers-XPG4): Likewise.
5633         (conformtest-headers-UNIX98): Likewise.
5634         (conformtest-headers-XOPEN2K): Likewise.
5635         (conformtest-headers-POSIX2008): Likewise.
5636         (conformtest-headers-XOPEN2K8): Likewise.
5637         (conformtest-header-list-base): Likewise.
5638         (conformtest-header-list-tests): Likewise.
5639         (conformtest-header-base): Likewise.
5640         (conformtest-header-tests): Likewise.
5641         (tests-special): Add $(conformtest-header-list-tests).  If
5642         [$(fast-check) && !$(cross-compiling)], add
5643         $(conformtest-header-tests) instead of
5644         $(objpfx)run-conformtest.out.
5645         (generated): Add $(conformtest-header-list-base).  If
5646         [$(fast-check) && !$(cross-compiling)], add
5647         $(conformtest-header-base).  Remove previous setting.
5648         ($(conformtest-header-list-tests)): New target.
5649         (test-xfail-run-conformtest): Remove variable.
5650         ($(objpfx)run-conformtest.out): Remove target.
5651         (test-xfail-ISO11/complex.h/conform): New variable.
5652         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5653         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5654         (test-xfail-XPG3/varargs.h/conform): Likewise.
5655         (test-xfail-XPG4/varargs.h/conform): Likewise.
5656         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5657         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5658         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5659         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5660         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5661         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5662         (test-xfail-XPG3/ftw.h/conform): Likewise.
5663         (test-xfail-XPG3/grp.h/conform): Likewise.
5664         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5665         (test-xfail-XPG3/limits.h/conform): Likewise.
5666         (test-xfail-XPG3/pwd.h/conform): Likewise.
5667         (test-xfail-XPG3/search.h/conform): Likewise.
5668         (test-xfail-XPG3/signal.h/conform): Likewise.
5669         (test-xfail-XPG3/stdio.h/conform): Likewise.
5670         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5671         (test-xfail-XPG3/string.h/conform): Likewise.
5672         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5673         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5674         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5675         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5676         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5677         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5678         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5679         (test-xfail-XPG3/termios.h/conform): Likewise.
5680         (test-xfail-XPG3/time.h/conform): Likewise.
5681         (test-xfail-XPG3/unistd.h/conform): Likewise.
5682         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5683         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5684         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5685         (test-xfail-XPG4/netdb.h/conform): Likewise.
5686         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5687         (test-xfail-XPG4/signal.h/conform): Likewise.
5688         (test-xfail-XPG4/stdio.h/conform): Likewise.
5689         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5690         (test-xfail-XPG4/stropts.h/conform): Likewise.
5691         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5692         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5693         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5694         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5695         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5696         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5697         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5698         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5699         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5700         (test-xfail-XPG4/termios.h/conform): Likewise.
5701         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5702         (test-xfail-XPG4/unistd.h/conform): Likewise.
5703         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5704         (test-xfail-POSIX/sched.h/conform): Likewise.
5705         (test-xfail-POSIX/signal.h/conform): Likewise.
5706         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5707         (test-xfail-POSIX/tar.h/conform): Likewise.
5708         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5709         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5710         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5711         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5712         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5713         (test-xfail-UNIX98/sched.h/conform): Likewise.
5714         (test-xfail-UNIX98/signal.h/conform): Likewise.
5715         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5716         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5717         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5718         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5719         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5720         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5721         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5722         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5723         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5724         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5725         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5726         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5727         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5728         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5729         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5730         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5731         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5732         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5733         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5734         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5735         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5736         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5737         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5738         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5739         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5740         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5741         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5742         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5743         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5744         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5745         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5746         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5747         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5748         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5749         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5750         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5751         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5752         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5753         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5754         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5755         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5756         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5757         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5758         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5759         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5760         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5761         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5762         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5763         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5764         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5765         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5766         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5767         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5768         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5769         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5770         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5771         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5772         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5773         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5774         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5775         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5776         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5777         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5778         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5779         (conformtest-cc-flags): Likewise.
5780         ($(conformtest-header-tests): New target.
5781         * conform/check-header-lists.sh: New file.
5782         * conform/run-conformtest.sh: Remove.
5783
5784         * conform/conformtest.pl: Allow ' and \ in values given for
5785         constants.
5786         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5787         inclusion.
5788         [POSIX] (sys/types.h): Likewise.
5789         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5790         inclusion.
5791         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5792         inclusion.
5793         * conform/data/signal.h-data (SIGIO): Remove expectation.
5794         [XPG3] (SIGBUS): Do not expect.
5795         [POSIX || XPG3] (SIGPOLL): Likewise.
5796         [POSIX || XPG3] (SIGPROF): Likewise.
5797         [POSIX || XPG3] (SIGSYS): Likewise.
5798         [XPG3] (SIGTRAP): Likewise.
5799         [POSIX || XPG3] (SIGURG): Likewise.
5800         [POSIX || XPG3] (SIGVTALRM): Likewise.
5801         [POSIX || XPG3] (SIGXCPU): Likewise.
5802         [POSIX || XPG3] (SIGXFSZ): Likewise.
5803         [POSIX] (SA_SIGINFO): Expect.
5804         [XPG3] (siginfo_t): Do not expect type or contents.
5805         [POSIX] (si_pid): Do not expect element.
5806         [POSIX] (si_uid): Likewise.
5807         [POSIX] (si_addr): Likewise.
5808         [POSIX] (si_status): Likewise.
5809         [POSIX] (si_band): Likewise.
5810         [XPG4] (si_value): Likewise.
5811         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5812         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5813         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5814         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5815         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5816         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5817         [POSIX || XPG3] (ILL_COPROC): Likewise.
5818         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5819         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5820         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5821         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5822         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5823         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5824         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5825         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5826         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5827         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5828         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5829         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5830         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5831         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5832         [POSIX || XPG3] (CLD_EXITED): Likewise.
5833         [POSIX || XPG3] (CLD_KILLED): Likewise.
5834         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5835         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5836         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5837         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5838         [POSIX || XPG3] (POLL_IN): Likewise.
5839         [POSIX || XPG3] (POLL_OUT): Likewise.
5840         [POSIX || XPG3] (POLL_MSG): Likewise.
5841         [POSIX || XPG3] (POLL_ERR): Likewise.
5842         [POSIX || XPG3] (POLL_PRI): Likewise.
5843         [POSIX || XPG3] (POLL_HUP): Likewise.
5844         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5845         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5846         (SIG*): Do not allow.
5847         [XPG3] (si_*): Likewise.
5848         [XPG3] (SI_*): Likewise.
5849         [XPG3 || XPG4] (sigev_*): Likewise.
5850         [XPG3 || XPG4] (SIGEV_*): Likewise.
5851         [XPG3 || XPG4] (sival_*): Likewise.
5852         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5853         [POSIX || XPG3] (BUS_*): Likewise.
5854         [POSIX || XPG3] (CLD_*): Likewise.
5855         [POSIX || XPG3] (FPE_*): Likewise.
5856         [POSIX || XPG3] (ILL_*): Likewise.
5857         [POSIX || XPG3] (POLL_*): Likewise.
5858         [POSIX || XPG3] (SEGV_*): Likewise.
5859         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5860         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5861         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5862         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5863         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5864         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5865         Specify type and value.
5866         (TVERSLEN): Likewise.
5867         (REGTYPE): Likewise.
5868         (AREGTYPE): Likewise.
5869         (LNKTYPE): Likewise.
5870         (SYMTYPE): Likewise.
5871         (CHRTYPE): Likewise.
5872         (BLKTYPE): Likewise.
5873         (DIRTYPE): Likewise.
5874         (FIFOTYPE): Likewise.
5875         (CONTTYPE): Likewise.
5876         (TSUID): Likewise.
5877         (TSGID): Likewise.
5878         (TSVTX): Likewise.
5879         (TUREAD): Likewise.
5880         (TUWRITE): Likewise.
5881         (TUEXEC): Likewise.
5882         (TGREAD): Likewise.
5883         (TGWRITE): Likewise.
5884         (TGEXEC): Likewise.
5885         (TOREAD): Likewise.
5886         (TOWRITE): Likewise.
5887         (TOEXEC): Likewise.
5888         [POSIX] (TSVTX): Expect constant.
5889
5890 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5891
5892         * Makefile (tests): Change dependencies to ....
5893         (tests-special): ... additions to this variable.
5894         (tests): Depend on $(tests-special).
5895         * Makerules (check-abi-list): New variable.
5896         (check-abi): Depend on $(check-abi-list).
5897         [$(subdir) = elf] (tests-special): Add
5898         $(objpfx)check-abi-libc.out.
5899         [$(build-shared) = yes && subdir] (tests-special): Add
5900         $(check-abi-list).
5901         [$(build-shared) = yes && subdir] (tests): Do not depend on
5902         check-abi.
5903         * Rules (tests): Depend on $(tests-special).
5904         (xtests): Depend on $(xtests-special).
5905         * catgets/Makefile (tests): Change dependencies to ....
5906         (tests-special): ... additions to this variable.
5907         * conform/Makefile (tests): Change dependencies to ....
5908         (tests-special): ... additions to this variable.
5909         * elf/Makefile (tests): Change dependencies to ....
5910         (tests-special): ... additions to this variable.
5911         * grp/Makefile (tests): Change dependencies to ....
5912         (tests-special): ... additions to this variable.
5913         * iconv/Makefile (xtests): Change dependencies to ....
5914         (xtests-special): ... additions to this variable.
5915         * iconvdata/Makefile (tests): Change dependencies to ....
5916         (tests-special): ... additions to this variable.
5917         * intl/Makefile (tests): Change dependencies to ....
5918         (tests-special): ... additions to this variable.  Also add
5919         $(objpfx)tst-gettext.out.
5920         * io/Makefile (tests): Change dependencies to ....
5921         (tests-special): ... additions to this variable.
5922         * libio/Makefile (tests): Change dependencies to ....
5923         (tests-special): ... additions to this variable.
5924         * malloc/Makefile (tests): Change dependencies to ....
5925         (tests-special): ... additions to this variable.
5926         * misc/Makefile (tests): Change dependencies to ....
5927         (tests-special): ... additions to this variable.
5928         * nptl/Makefile (tests): Change dependencies to ....
5929         (tests-special): ... additions to this variable.
5930         * nptl_db/Makefile (tests): Change dependencies to ....
5931         (tests-special): ... additions to this variable.
5932         * posix/Makefile (tests): Change dependencies to ....
5933         (tests-special): ... additions to this variable.
5934         (xtests): Change dependencies to ....
5935         (xtests-special): ... additions to this variable.
5936         * resolv/Makefile (tests): Change dependencies to ....
5937         (tests-special): ... additions to this variable.
5938         (xtests): Change dependencies to ....
5939         (xtests-special): ... additions to this variable.
5940         * stdio-common/Makefile (tests): Change dependencies to ....
5941         (tests-special): ... additions to this variable.
5942         (do-tst-unbputc): Remove target.
5943         (do-tst-printf): Likewise.
5944         * stdlib/Makefile (tests): Change dependencies to ....
5945         (tests-special): ... additions to this variable.
5946         * string/Makefile (tests): Change dependencies to ....
5947         (tests-special): ... additions to this variable.
5948         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5949         (tests-special): ... additions to this variable.
5950
5951         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5952         whole file.
5953         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5954         whole file.
5955         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5956         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5957
5958         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5959         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5960         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5961         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5962         * conform/data/libgen.h-data [XPG3]: Likewise.
5963         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5964         * conform/data/ndbm.h-data [XPG3]: Likewise.
5965         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5966         * conform/data/netdb.h-data [XPG3]: Likewise.
5967         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5968         * conform/data/poll.h-data [XPG3]: Likewise.
5969         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5970         * conform/data/strings.h-data [XPG3]: Likewise.
5971         * conform/data/stropts.h-data [XPG3]: Likewise.
5972         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5973         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5974         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5975         Likewise.
5976         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5977         * conform/data/sys/time.h-data [XPG3]: Likewise.
5978         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5979         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5980         * conform/data/sys/un.h-data [XPG3]: Likewise.
5981         * conform/data/syslog.h-data [XPG3]: Likewise.
5982         * conform/data/ucontext.h-data [XPG3]: Likewise.
5983         * conform/data/utmpx.h-data [XPG3]: Likewise.
5984         * conform/data/varargs.h-data [UNIX98]: Enable file.
5985
5986         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5987
5988         * math/libm-test.inc (struct test_f_f_data): Move expected results
5989         into structure for each rounding mode.
5990         (struct test_ff_f_data): Likewise.
5991         (struct test_ff_f_data_nexttoward): Likewise.
5992         (struct test_fi_f_data): Likewise.
5993         (struct test_fl_f_data): Likewise.
5994         (struct test_if_f_data): Likewise.
5995         (struct test_fff_f_data): Likewise.
5996         (struct test_c_f_data): Likewise.
5997         (struct test_f_f1_data): Likewise.
5998         (struct test_fF_f1_data): Likewise.
5999         (struct test_ffI_f1_data): Likewise.
6000         (struct test_c_c_data): Likewise.
6001         (struct test_cc_c_data): Likewise.
6002         (struct test_f_i_data): Likewise.
6003         (struct test_ff_i_data): Likewise.
6004         (struct test_f_l_data): Likewise.
6005         (struct test_f_L_data): Likewise.
6006         (struct test_fFF_11_data): Likewise.
6007         (RM_): New macro.
6008         (RM_FE_DOWNWARD): Likewise.
6009         (RM_FE_TONEAREST): Likewise.
6010         (RM_FE_TOWARDZERO): Likewise.
6011         (RM_FE_UPWARD): Likewise.
6012         (RUN_TEST_LOOP_f_f): Update references to expected results.
6013         (RUN_TEST_LOOP_2_f): Likewise.
6014         (RUN_TEST_LOOP_fff_f): Likewise.
6015         (RUN_TEST_LOOP_c_f): Likewise.
6016         (RUN_TEST_LOOP_f_f1): Likewise.
6017         (RUN_TEST_LOOP_fF_f1): Likewise.
6018         (RUN_TEST_LOOP_fI_f1): Likewise.
6019         (RUN_TEST_LOOP_ffI_f1): Likewise.
6020         (RUN_TEST_LOOP_c_c): Likewise.
6021         (RUN_TEST_LOOP_cc_c): Likewise.
6022         (RUN_TEST_LOOP_f_i): Likewise.
6023         (RUN_TEST_LOOP_f_i_tg): Likewise.
6024         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6025         (RUN_TEST_LOOP_f_b): Likewise.
6026         (RUN_TEST_LOOP_f_b_tg): Likewise.
6027         (RUN_TEST_LOOP_f_l): Likewise.
6028         (RUN_TEST_LOOP_f_L): Likewise.
6029         (RUN_TEST_LOOP_fFF_11): Likewise.
6030         * math/gen-libm-test.pl (parse_args): Output four copies of
6031         expected results for each test.
6032
6033         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6034         (__ASSUME_UTIMES): Remove.
6035         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6036         (__ASSUME_UTIMES): Likewise.
6037
6038         * math/gen-auto-libm-tests.c: Update comment on output format.
6039         (output_for_one_input_case): Generate before-rounding and
6040         after-rounding information as conditions on output flags not
6041         floating-point format.
6042         * math/auto-libm-test-out: Regenerated.
6043         * math/gen-libm-test.pl (cond_value): New function.
6044         (or_cond_value): Use cond_value.
6045         (generate_testfile): Handle conditional exceptions.
6046
6047 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6048
6049         * math/libm-test.inc (max_valid_error): New variable.
6050         (init_max_error): Take new argument specifying whether function
6051         results are exactly determined.  Set max_valid_error and bound
6052         other variables for errors based on this argument.
6053         (set_max_error): Do not record results above max_valid_error.
6054         (check_float_internal): Only accept errors of up to 0.5ulps if
6055         also at most max_valid_error.
6056         (START): Take new argument EXACT and pass it to init_max_error.
6057         (acos_test): Update call to START.
6058         (acos_test_tonearest): Likewise.
6059         (acos_test_towardzero): Likewise.
6060         (acos_test_downward): Likewise.
6061         (acos_test_upward): Likewise.
6062         (acosh_test): Likewise.
6063         (asin_test): Likewise.
6064         (asin_test_tonearest): Likewise.
6065         (asin_test_towardzero): Likewise.
6066         (asin_test_downward): Likewise.
6067         (asin_test_upward): Likewise.
6068         (asinh_test): Likewise.
6069         (atan_test): Likewise.
6070         (atanh_test): Likewise.
6071         (atan2_test): Likewise.
6072         (cabs_test): Likewise.
6073         (cacos_test): Likewise.
6074         (cacosh_test): Likewise.
6075         (carg_test): Likewise.
6076         (casin_test): Likewise.
6077         (casinh_test): Likewise.
6078         (catan_test): Likewise.
6079         (catanh_test): Likewise.
6080         (cbrt_test): Likewise.
6081         (ccos_test): Likewise.
6082         (ccosh_test): Likewise.
6083         (ceil_test): Likewise.
6084         (cexp_test): Likewise.
6085         (cimag_test): Likewise.
6086         (clog_test): Likewise.
6087         (clog10_test): Likewise.
6088         (conj_test): Likewise.
6089         (copysign_test): Likewise.
6090         (cos_test): Likewise.
6091         (cos_test_tonearest): Likewise.
6092         (cos_test_towardzero): Likewise.
6093         (cos_test_downward): Likewise.
6094         (cos_test_upward): Likewise.
6095         (cosh_test): Likewise.
6096         (cosh_test_tonearest): Likewise.
6097         (cosh_test_towardzero): Likewise.
6098         (cosh_test_downward): Likewise.
6099         (cosh_test_upward): Likewise.
6100         (cpow_test): Likewise.
6101         (cproj_test): Likewise.
6102         (creal_test): Likewise.
6103         (csin_test): Likewise.
6104         (csinh_test): Likewise.
6105         (csqrt_test): Likewise.
6106         (ctan_test): Likewise.
6107         (ctan_test_tonearest): Likewise.
6108         (ctan_test_towardzero): Likewise.
6109         (ctan_test_downward): Likewise.
6110         (ctan_test_upward): Likewise.
6111         (ctanh_test): Likewise.
6112         (ctanh_test_tonearest): Likewise.
6113         (ctanh_test_towardzero): Likewise.
6114         (ctanh_test_downward): Likewise.
6115         (ctanh_test_upward): Likewise.
6116         (erf_test): Likewise.
6117         (erfc_test): Likewise.
6118         (exp_test): Likewise.
6119         (exp_test_tonearest): Likewise.
6120         (exp_test_towardzero): Likewise.
6121         (exp_test_downward): Likewise.
6122         (exp_test_upward): Likewise.
6123         (exp10_test): Likewise.
6124         (exp10_test_tonearest): Likewise.
6125         (exp10_test_towardzero): Likewise.
6126         (exp10_test_downward): Likewise.
6127         (exp10_test_upward): Likewise.
6128         (pow10_test): Likewise.
6129         (exp2_test): Likewise.
6130         (expm1_test): Likewise.
6131         (expm1_test_tonearest): Likewise.
6132         (expm1_test_towardzero): Likewise.
6133         (expm1_test_downward): Likewise.
6134         (expm1_test_upward): Likewise.
6135         (fabs_test): Likewise.
6136         (fdim_test): Likewise.
6137         (floor_test): Likewise.
6138         (fma_test): Likewise.
6139         (fma_test_towardzero): Likewise.
6140         (fma_test_downward): Likewise.
6141         (fma_test_upward): Likewise.
6142         (fmax_test): Likewise.
6143         (fmin_test): Likewise.
6144         (fmod_test): Likewise.
6145         (fpclassify_test): Likewise.
6146         (frexp_test): Likewise.
6147         (hypot_test): Likewise.
6148         (ilogb_test): Likewise.
6149         (isfinite_test): Likewise.
6150         (finite_test): Likewise.
6151         (isgreater_test): Likewise.
6152         (isgreaterequal_test): Likewise.
6153         (isinf_test): Likewise.
6154         (isless_test): Likewise.
6155         (islessequal_test): Likewise.
6156         (islessgreater_test): Likewise.
6157         (isnan_test): Likewise.
6158         (isnormal_test): Likewise.
6159         (issignaling_test): Likewise.
6160         (isunordered_test): Likewise.
6161         (j0_test): Likewise.
6162         (j1_test): Likewise.
6163         (jn_test): Likewise.
6164         (ldexp_test): Likewise.
6165         (lgamma_test): Likewise.
6166         (gamma_test): Likewise.
6167         (lrint_test): Likewise.
6168         (lrint_test_tonearest): Likewise.
6169         (lrint_test_towardzero): Likewise.
6170         (lrint_test_downward): Likewise.
6171         (lrint_test_upward): Likewise.
6172         (llrint_test): Likewise.
6173         (llrint_test_tonearest): Likewise.
6174         (llrint_test_towardzero): Likewise.
6175         (llrint_test_downward): Likewise.
6176         (llrint_test_upward): Likewise.
6177         (log_test): Likewise.
6178         (log10_test): Likewise.
6179         (log1p_test): Likewise.
6180         (log2_test): Likewise.
6181         (logb_test): Likewise.
6182         (logb_test_downward): Likewise.
6183         (lround_test): Likewise.
6184         (llround_test): Likewise.
6185         (modf_test): Likewise.
6186         (nearbyint_test): Likewise.
6187         (nextafter_test): Likewise.
6188         (nexttoward_test): Likewise.
6189         (pow_test): Likewise.
6190         (pow_test_tonearest): Likewise.
6191         (pow_test_towardzero): Likewise.
6192         (pow_test_downward): Likewise.
6193         (pow_test_upward): Likewise.
6194         (remainder_test): Likewise.
6195         (drem_test): Likewise.
6196         (remainder_test_tonearest): Likewise.
6197         (drem_test_tonearest): Likewise.
6198         (remainder_test_towardzero): Likewise.
6199         (drem_test_towardzero): Likewise.
6200         (remainder_test_downward): Likewise.
6201         (drem_test_downward): Likewise.
6202         (remainder_test_upward): Likewise.
6203         (drem_test_upward): Likewise.
6204         (remquo_test): Likewise.
6205         (rint_test): Likewise.
6206         (rint_test_tonearest): Likewise.
6207         (rint_test_towardzero): Likewise.
6208         (rint_test_downward): Likewise.
6209         (rint_test_upward): Likewise.
6210         (round_test): Likewise.
6211         (scalb_test): Likewise.
6212         (scalbn_test): Likewise.
6213         (scalbln_test): Likewise.
6214         (signbit_test): Likewise.
6215         (sin_test): Likewise.
6216         (sin_test_tonearest): Likewise.
6217         (sin_test_towardzero): Likewise.
6218         (sin_test_downward): Likewise.
6219         (sin_test_upward): Likewise.
6220         (sincos_test): Likewise.
6221         (sinh_test): Likewise.
6222         (sinh_test_tonearest): Likewise.
6223         (sinh_test_towardzero): Likewise.
6224         (sinh_test_downward): Likewise.
6225         (sinh_test_upward): Likewise.
6226         (sqrt_test): Likewise.
6227         (sqrt_test_tonearest): Likewise.
6228         (sqrt_test_towardzero): Likewise.
6229         (sqrt_test_downward): Likewise.
6230         (sqrt_test_upward): Likewise.
6231         (tan_test): Likewise.
6232         (tan_test_tonearest): Likewise.
6233         (tan_test_towardzero): Likewise.
6234         (tan_test_downward): Likewise.
6235         (tan_test_upward): Likewise.
6236         (tanh_test): Likewise.
6237         (tgamma_test): Likewise.
6238         (trunc_test): Likewise.
6239         (y0_test): Likewise.
6240         (y1_test): Likewise.
6241         (yn_test): Likewise.
6242         (significand_test): Likewise.
6243
6244         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6245         individual tests in comment.
6246         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6247         (prev_max_error): New variable.
6248         (prev_real_max_error): Likewise.
6249         (prev_imag_max_error): Likewise.
6250         (compare_ulp_data): Don't refer to test names in comment.
6251         (find_test_ulps): Remove function.
6252         (find_function_ulps): Likewise.
6253         (find_complex_function_ulps): Likewise.
6254         (init_max_error): Take function name as argument.  Look up ulps
6255         for that function.
6256         (print_ulps): Remove function.
6257         (print_max_error): Use prev_max_error instead of calling
6258         find_function_ulps.
6259         (print_complex_max_error): Use prev_real_max_error and
6260         prev_imag_max_error instead of calling find_complex_function_ulps.
6261         (check_float_internal): Take max_ulp parameter instead of calling
6262         find_test_ulps.  Don't call print_ulps.
6263         (check_float): Update call to check_float_internal.
6264         (check_complex): Update calls to check_float_internal.
6265         (START): Pass argument to init_max_error.
6266         * math/gen-libm-test.pl (%results): Don't include "kind"
6267         information.
6268         (parse_ulps): Don't handle ulps of individual tests.
6269         (print_ulps_file): Likewise.
6270         (output_ulps): Likewise.
6271         * math/README.libm-test: Update.
6272         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6273         individual tests.
6274         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6275         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6276         * sysdeps/arm/libm-test-ulps: Likewise.
6277         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6278         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6279         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6280         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6281         * sysdeps/microblaze/libm-test-ulps: Likewise.
6282         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6285         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6286         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6287         * sysdeps/sh/libm-test-ulps: Likewise.
6288         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6289         * sysdeps/tile/libm-test-ulps: Likewise.
6290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6291
6292 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6293
6294         * math/libm-test.inc (print_complex_max_error): Check separately
6295         whether real and imaginary errors are within allowed range and
6296         pass 0 to print_complex_function_ulps instead of value within
6297         allowed range.
6298
6299 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6300
6301         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6302         formatting.
6303         (get_handles_fopen): Likewise.
6304         (do_write_test): Likewise.
6305
6306         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6307
6308         * libio/fileops.c (do_ftell): Use cached offset when
6309         available.
6310         * libio/iofwide.c (do_ftell_wide): Likewise.
6311         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6312         _IO_file_attach.
6313         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6314
6315         [BZ #16532]
6316         * libio/libioP.h (get_file_offset): New function.
6317         * libio/fileops.c (get_file_offset): Likewise.
6318         (do_ftell): Likewise.
6319         (_IO_new_file_seekoff): Split out ftell logic.
6320         * libio/wfileops.c (do_ftell_wide): Likewise.
6321         (_IO_wfile_seekoff): Split out ftell logic.
6322         * libio/tst-ftell-active-handler.c: New test case.
6323         * libio/Makefile (tests): Add it.
6324
6325 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6326
6327         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6328         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6329
6330 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6331
6332         [BZ #16639]
6333         * nscd/connections.c (nscd_init): Call do_exit.
6334         (start_threads): Call do_exit and notify_parent.
6335         (begin_drop_privileges): Call do_exit.
6336         (finish_drop_privileges): Likewise.
6337         * nscd/selinux.c (preserve_capabilities): Likewise.
6338         (install_real_capabilities): Likewise.
6339         (nscd_selinux_enabled): Likewise.
6340         (avc_create_thread): Likewise.
6341         (avc_alloc_lock): Likewise.
6342         (nscd_avc_init): Likewise.
6343         * nscd/nscd.c (parent_fd): New static variable.
6344         (main): Create a pipe between parent and child processes.
6345         Skip closing parent_fd.
6346         (monitor_child): New function.
6347         (do_exit): Likewise.
6348         (notify_parent): Likewise.
6349         * nscd/nscd.h (notify_parent): Likewise.
6350         (do_exit): Likewise.
6351
6352 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6353
6354         * malloc/malloc.c (__libc_calloc): Revert last change.
6355
6356 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6357
6358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6359
6360 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6361
6362         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6364         implementation.
6365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6366         (__libc_ifunc_impl_list): Likewise.
6367         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6368         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6369         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6370         * string/strrchr.c: Define STRRCHR.
6371
6372 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6373
6374         * benchtest/bench-strtok.c (simple_strtok): Delete.
6375         (strtok_string): Use as benchmark.
6376         * string/strtok (STRTOK): New macro.
6377
6378 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6379
6380         * manual/threads.texi: Add header and standard comments to all
6381         functions.
6382
6383         * elf/dl-lookup.c (check_match): New function.
6384         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6385         (do_lookup_x): Remove nested function check_match. Use non-nested
6386         function check_match.
6387
6388 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6389
6390         * csu/Makefile (generated, before-compile): Use += rather than =.
6391         * catgets/Makefile (generated, generated-dirs): Likewise.
6392         * debug/Makefile (generated): Likewise.
6393         * dlfcn/Makefile (generated): Likewise.
6394         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6395         * iconvdata/Makefile (before-compile, generated): Likewise.
6396         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6397         * libio/Makefile (generated): Likewise.
6398         * malloc/Makefile (generated): Likewise.
6399         * manual/Makefile (generated, generated-dirs): Likewise.
6400         * misc/Makefile (generated): Likewise.
6401         * posix/Makefile (generated): Likewise.
6402         * resolv/Makefile (generated): Likewise.
6403         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6404         * timezone/Makefile (generated, generated-dirs): Likewise.
6405
6406         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6407
6408 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6409
6410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6411         power8 implementation.
6412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6413         file: POWER8 llround ifunc implementation.
6414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6415         (__lllround): Add POWER8 implementation.
6416         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6417         POWER8 llround implementation.
6418
6419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6420         power8 implementation.
6421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6422         file: POWER8 llrint ifunc implementation.
6423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6424         Add POWER8 implementation.
6425         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6426         POWER8 llrint implementation.
6427
6428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6429         power8 implementation.
6430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6431         file: POWER8 finite ifunc implementation.
6432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6433         Add POWER8 implementation.
6434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6435         Likewise.
6436         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6437         POWER8 finite implementation.
6438         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6439
6440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6441         power8 implementation.
6442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6443         file: POWER8 isinf ifunc implementation.
6444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6445         POWER8 implementation.
6446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6447         Likewise.
6448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6449         isinf implementation.
6450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6451
6452         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6453         (INIT_ARCH): Add hwcap2 initialization.
6454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6455         power8 implementation.
6456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6457         file: POWER8 isnan ifunc implementation.
6458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6459         POWER8 implementation.
6460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6461         Likewise.
6462         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6463         isnan implementation.
6464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6465
6466 2014-02-27  Joey Ye  <joey.ye@arm.com>
6467
6468         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6469         (_FP_NANFRAC_Q): Set to zero.
6470
6471 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6472
6473         [BZ #16623]
6474         * math/auto-libm-test-in: New test inputs.
6475         * math/auto-libm-test-out: Regenerate.
6476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6477         and DA.
6478         (__cos): Likewise.
6479         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6480
6481 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6482
6483         * scripts/evaluate-test.sh: Take new argument indicating whether
6484         failure is expected.
6485         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6486         indicating whether failure is expected.
6487         * conform/Makefile (test-xfail-run-conformtest): New variable.
6488         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6489         level.
6490         * posix/Makefile (test-xfail-annexc): New variable.
6491         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6492
6493 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6494
6495         * argp/Makefile: Include Makeconfig immediately after defining
6496         subdir.
6497         * assert/Makefile: Likewise.
6498         * benchtests/Makefile: Likewise.
6499         * catgets/Makefile: Likewise.
6500         * conform/Makefile: Likewise.
6501         * crypt/Makefile: Likewise.
6502         * csu/Makefile: Likewise.
6503         (all): Remove target.
6504         * ctype/Makefile: Include Makeconfig immediately after defining
6505         subdir.
6506         * debug/Makefile: Likewise.
6507         * dirent/Makefile: Likewise.
6508         * dlfcn/Makefile: Likewise.
6509         * gmon/Makefile: Likewise.
6510         * gnulib/Makefile: Likewise.
6511         * grp/Makefile: Likewise.
6512         * gshadow/Makefile: Likewise.
6513         * hesiod/Makefile: Likewise.
6514         * hurd/Makefile: Likewise.
6515         (all): Remove target.
6516         * iconvdata/Makefile: Include Makeconfig immediately after
6517         defining subdir.
6518         * inet/Makefile: Likewise.
6519         * intl/Makefile: Likewise.
6520         * io/Makefile: Likewise.
6521         * libio/Makefile: Likewise.
6522         (all): Remove target.
6523         * locale/Makefile: Include Makeconfig immediately after defining
6524         subdir.
6525         * login/Makefile: Likewise.
6526         * mach/Makefile: Likewise.
6527         (all): Remove target.
6528         * malloc/Makefile: Include Makeconfig immediately after defining
6529         subdir.
6530         (all): Remove target.
6531         * manual/Makefile: Include Makeconfig immediately after defining
6532         subdir.
6533         * math/Makefile: Likewise.
6534         * misc/Makefile: Likewise.
6535         * nis/Makefile: Likewise.
6536         * nss/Makefile: Likewise.
6537         * po/Makefile: Likewise.
6538         (all): Remove target.
6539         * posix/Makefile: Include Makeconfig immediately after defining
6540         subdir.
6541         * pwd/Makefile: Likewise.
6542         * resolv/Makefile: Likewise.
6543         * resource/Makefile: Likewise.
6544         * rt/Makefile: Likewise.
6545         * setjmp/Makefile: Likewise.
6546         * shadow/Makefile: Likewise.
6547         * signal/Makefile: Likewise.
6548         * socket/Makefile: Likewise.
6549         * soft-fp/Makefile: Likewise.
6550         * stdio-common/Makefile: Likewise.
6551         * stdlib/Makefile: Likewise.
6552         * streams/Makefile: Likewise.
6553         * string/Makefile: Likewise.
6554         * sunrpc/Makefile: Likewise.
6555         (all): Remove target.
6556         * sysvipc/Makefile: Include Makeconfig immediately after defining
6557         subdir.
6558         * termios/Makefile: Likewise.
6559         * time/Makefile: Likewise.
6560         * timezone/Makefile: Likewise.
6561         (all): Remove target.
6562         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6563         subdir.
6564         * wctype/Makefile: Likewise.
6565
6566 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6567
6568         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6569         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6570         (libc_feholdexcept_setround_mips): Ditto.
6571         (libc_feholdsetround): New.
6572         (libc_feholdsetroundf): New.
6573         (libc_feholdsetroundl): New.
6574         (libc_feupdateenv_test_mips): New.
6575         (libc_feupdateenv_test): New.
6576         (libc_feupdateenv_testf): New.
6577         (libc_feupdateenv_testl): New.
6578         (libc_feresetround): New.
6579         (libc_feresetroundf): New.
6580         (libc_feresetroundl): New.
6581         (libc_fetestexcept_mips): New.
6582         (libc_fetestexcept): New.
6583         (libc_fetestexceptf): New.
6584         (libc_fetestexceptl): New.
6585         (HAVE_RM_CTX): New.
6586         (libc_feholdexcept_setround_mips_ctx): New.
6587         (libc_feholdexcept_setround_ctx): New.
6588         (libc_feholdexcept_setroundf_ctx): New.
6589         (libc_feholdexcept_setroundl_ctx): New.
6590         (libc_fesetenv_mips_ctx): New.
6591         (libc_fesetenv_ctx): New.
6592         (libc_fesetenv_ctxf): New.
6593         (libc_fesetenv_ctxl): New.
6594         (libc_feupdateenv_mips_ctx): New.
6595         (libc_feupdateenv_ctx): New.
6596         (libc_feupdateenvf_ctx): New.
6597         (libc_feupdateenvl_ctx): New.
6598         (libc_feholdsetround_mips_ctx): New.
6599         (libc_feholdsetround_ctx): New.
6600         (libc_feholdsetroundf_ctx): New.
6601         (libc_feholdsetroundl_ctx): New.
6602         (libc_feresetround_mips_ctx): New.
6603         (libc_feresetround_ctx): New.
6604         (libc_feresetroundf_ctx): New.
6605         (libc_feresetroundl_ctx): New.
6606
6607 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6608
6609         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6610
6611         * manual/ipc.texi: New file.
6612         * manual/Makefile (chapters): Add ipc.
6613         * manual/job.texi: Add "Inter-Process Communication" to next.
6614         * manual/process.texi: Add "Inter-Process Communication" to prev.
6615
6616 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6617
6618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6619
6620 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6621
6622         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6623
6624         * manual/arith.texi: Fix spaces after sentences.
6625         * manual/charset.texi: Likewise.
6626         * manual/errno.texi: Likewise.
6627         * manual/install.texi: Likewise.
6628         * manual/llio.texi: Likewise.
6629         * manual/locale.texi: Likewise.
6630         * manual/maint.texi: Likewise.
6631         * manual/math.texi: Likewise.
6632         * manual/memory.texi: Likewise.
6633         * manual/message.texi: Likewise.
6634         * manual/probes.texi: Likewise.
6635         * manual/resource.texi: Likewise.
6636         * manual/signal.texi: Likewise.
6637         * manual/socket.texi: Likewise.
6638         * manual/stdio.texi: Likewise.
6639         * manual/string.texi: Likewise.
6640         * manual/time.texi: Likewise.
6641         * manual/users.texi: Likewise.
6642
6643 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6644
6645         [BZ #16632]
6646         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6647         _DEFAULT_SOURCE is defined.
6648
6649 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6650             Carlos O'Donell  <carlos@redhat.com>
6651
6652         [BZ #16613]
6653         * elf/dl-tls.c (_dl_count_modids): New function.
6654         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6655         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6656         audit library and increment generation counter.
6657         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6658         * elf/tst-audit9.c: New file.
6659         * elf/tst-auditmod9a.c: New file.
6660         * elf/tst-auditmod9b.c: New file.
6661         * elf/Makefile: Add rules to build and run tst-audit9.
6662
6663 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6664
6665         [BZ #15347]
6666         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6667
6668 2014-02-25  Will Newton  <will.newton@linaro.org>
6669
6670         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6671         (__longjmp): Restore sp and lr before restoring callee
6672         saved registers.  Add longjmp and longjmp_target
6673         SystemTap probe point.
6674         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6675         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6676         Define to zero to match jmpbuf layout.
6677         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6678         (__sigsetjmp): Save sp and lr before saving callee
6679         saved registers.  Add setjmp SystemTap probe point.
6680
6681 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6682
6683         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6684
6685 2014-02-24  Andreas Schwab  <schwab@suse.de>
6686
6687         [BZ #15804]
6688         * elf/pldd.c (wait_for_ptrace_stop): New function.
6689         (main): Call it after attaching.
6690
6691 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6692
6693         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6694         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6695         Versions files is now verboten.
6696         * hurd/Versions (libc: GLIBC_2.0):
6697         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6698         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6699         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6700         * mach/Versions: Likewise.
6701
6702         * csu/Versions: Remove unused %include.
6703         * resolv/Versions: Likewise.
6704
6705 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6706
6707         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6708         ($(objpfx)check-local-headers.out): Likewise.
6709         ($(objpfx)begin-end-check.out): Likewise.
6710         * Makerules (check-abi-%.out): Likewise.
6711         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6712         ($(objpfx)test2.cat): Likewise.
6713         ($(objpfx)de/libc.cat): Likewise.
6714         ($(objpfx)test-gencat.out): Likewise.
6715         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6716         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6717         ($(objpfx)noload-mem): Likewise.
6718         ($(objpfx)tst-pathopt.out): Likewise.
6719         ($(objpfx)tst-rtld-load-self.out): Likewise.
6720         ($(objpfx)tst-array1-cmp.out): Likewise.
6721         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6722         ($(objpfx)tst-array2-cmp.out): Likewise.
6723         ($(objpfx)tst-array3-cmp.out): Likewise.
6724         ($(objpfx)tst-array4-cmp.out): Likewise.
6725         ($(objpfx)tst-array5-cmp.out): Likewise.
6726         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6727         ($(objpfx)check-textrel.out): Likewise.
6728         ($(objpfx)check-execstack.out): Likewise.
6729         ($(objpfx)check-localplt.out): Likewise.
6730         ($(objpfx)order2-cmp.out): Likewise.
6731         ($(objpfx)tst-leaks1-mem): Likewise.
6732         ($(objpfx)tst-leaks1-static-mem): Likewise.
6733         ($(objpfx)tst-initorder-cmp.out): Likewise.
6734         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6735         ($(objpfx)tst-unused-dep.out): Likewise.
6736         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6737         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6738         * iconv/Makefile (test-iconvconfig): Likewise.
6739         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6740         ($(objpfx)iconv-test.out): Likewise.
6741         ($(objpfx)tst-tables.out): Likewise.
6742         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6743         ($(objpfx)tst-gettext.out): Likewise.
6744         ($(objpfx)tst-translit.out): Likewise.
6745         ($(objpfx)tst-gettext2.out): Likewise.
6746         ($(objpfx)tst-gettext4.out): Likewise.
6747         ($(objpfx)tst-gettext6.out): Likewise.
6748         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6749         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6750         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6751         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6752         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6753         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6754         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6755         ($(objpfx)wordexp-tst.out): Likewise.
6756         ($(objpfx)annexc.out): Likewise.
6757         ($(objpfx)tst-fnmatch-mem): Likewise.
6758         ($(objpfx)bug-regex2-mem): Likewise.
6759         ($(objpfx)bug-regex14-mem): Likewise.
6760         ($(objpfx)bug-regex21-mem): Likewise.
6761         ($(objpfx)bug-regex31-mem): Likewise.
6762         ($(objpfx)tst-vfork3-mem): Likewise.
6763         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6764         ($(objpfx)tst-pcre-mem): Likewise.
6765         ($(objpfx)tst-boost-mem): Likewise.
6766         ($(objpfx)tst-getconf.out): Likewise.
6767         ($(objpfx)bug-ga2-mem): Likewise.
6768         ($(objpfx)bug-glob2-mem): Likewise.
6769         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6770         ($(objpfx)mtrace-tst-leaks2): Likewise.
6771         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6772         ($(objpfx)tst-printf.out): Likewise.
6773         ($(objpfx)tst-setvbuf1.out): Likewise.
6774         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6775         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6776         ($(objpfx)tst-fmtmsg.out): Likewise.
6777         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6778         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6779
6780         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6781         * bits/sigaction.h [__USE_MISC]: Likewise.
6782         * bits/waitstatus.h: Update #endif comments.
6783         * ctype/ctype.h: Likewise.
6784         * dirent/dirent.h: Likewise.
6785         [__USE_MISC]: Remove redundant conditionals.
6786         * grp/grp.h: Update #endif comments.
6787         [__USE_GNU]: Remove redundant conditionals.
6788         [__USE_MISC]: Likewise.
6789         * inet/netinet/in.h [__USE_GNU]: Likewise.
6790         * io/sys/stat.h [__USE_MISC]: Likewise.
6791         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6792         * libio/bits/stdio.h: Update #endif comments.
6793         [__USE_MISC]: Remove redundant conditionals.
6794         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6795         * libio/stdio.h: Update #endif comments.
6796         [__USE_MISC]: Remove redundant conditionals.
6797         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6798         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6799         * math/math.h: Update #else and #endif comments.
6800         [__USE_MISC]: Remove redundant conditionals.
6801         * misc/sys/uio.h: Update #endif comments.
6802         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6803         * posix/glob.h [__USE_MISC]: Likewise.
6804         * posix/sys/types.h: Update #endif comments.
6805         [__USE_MISC]: Remove redundant conditionals.
6806         * posix/sys/wait.h: Update #endif comments.
6807         [__USE_MISC]: Remove redundant conditionals.
6808         * posix/unistd.h: Update #endif comments.
6809         [__USE_MISC]: Remove redundant conditionals.
6810         * pwd/pwd.h [__USE_GNU]: Likewise.
6811         [__USE_MISC]: Likewise.
6812         * resolv/netdb.h [__USE_GNU]: Likewise.
6813         * signal/signal.h: Update #endif comments.
6814         [__USE_MISC]: Remove redundant conditionals.
6815         * stdlib/stdlib.h: Update #else and #endif comments.
6816         [__USE_MISC]: Remove redundant conditionals.
6817         [__USE_GNU]: Likewise.
6818         * string/bits/string2.h [__USE_MISC]: Likewise.
6819         * string/string.h: Update #endif comments.
6820         [__USE_MISC]: Remove redundant conditionals.
6821         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6822         Likewise.
6823         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6824         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6825         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6826         Likewise.
6827         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6828         Likewise.
6829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6830         comments.
6831         [__USE_MISC]: Remove redundant conditionals.
6832         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6833         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6834         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6835         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6836         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6837         Likewise.
6838         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6839         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6840         Likewise.
6841         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6842         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6843         Likewise.
6844         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6845         Likewise.
6846         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6847         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6852         * sysdeps/x86/bits/string.h: Update #endif comments.
6853         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6854         conditionals.
6855         * time/sys/time.h: Update #endif comments.
6856         * time/time.h: Likewise.
6857         [__USE_MISC]: Remove redundant conditionals.
6858
6859 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6860
6861         [BZ #16600]
6862         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6863
6864 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6865
6866         * Versions.def (librt): Add GLIBC_2.17.
6867
6868 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6869
6870         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6871         synonym for _SYS_AUXV_H to allow direct inclusion.
6872         * sysdeps/sparc/bits/hwcap.h: Likewise.
6873         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6874         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6875         * sysdeps/sparc/sysdep.h: Likewise.
6876
6877 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6878
6879         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6880
6881 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6882
6883         * benchtests/bench-strrchr.c: Print length instead of position.
6884
6885 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6886
6887         [BZ #16611]
6888         * sysdeps/unix/sysv/linux/kernel-features.h
6889         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6890         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6891         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6892         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6893         Likewise.
6894         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6895         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6896         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6897         (__ASSUME_SENDMMSG): Define instead of using previous
6898         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6899         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6900         (__ASSUME_SENDMMSG_SYSCALL): Define.
6901         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6902         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6903         Likewise.
6904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6905         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6906         Likewise.
6907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6908         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6911         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6912         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6913         [__ASSUME_SENDMMSG]: Change conditionals to
6914         [__ASSUME_SENDMMSG_SOCKETCALL].
6915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6916         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6917         Define.
6918         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6919         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6920         Likewise.
6921         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6922         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6923         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6924         [!__ASSUME_SENDMMSG]: Change conditional to
6925         [!__ASSUME_SENDMMSG_SOCKETCALL].
6926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6927         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6928         Define.
6929
6930         [BZ #16610]
6931         * sysdeps/unix/sysv/linux/kernel-features.h
6932         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6933         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6934         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6935         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6936         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6937         [__i386__ || __sparc__]
6938         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6939         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6940         (__ASSUME_RECVMMSG): Define instead of using previous
6941         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6942         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6943         (__ASSUME_RECVMMSG_SYSCALL): Define.
6944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6946         Likewise.
6947         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6952         Likewise.
6953         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6954         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6955         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6956         [__ASSUME_RECVMMSG]: Change condition to
6957         [__ASSUME_RECVMMSG_SOCKETCALL].
6958         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6959         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6960         Define.
6961         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6963         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6964         Likewise.
6965         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6966         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6967         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6968         [!__ASSUME_RECVMMSG]: Change condition to
6969         [!__ASSUME_RECVMMSG_SOCKETCALL].
6970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6971         (__ASSUME_RECVMMSG_SYSCALL): Define.
6972
6973         [BZ #16609]
6974         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6975         __powerpc__ || __s390__ || __sh__ || __sparc__]
6976         (__ASSUME_SOCKETCALL): Define.
6977         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6978         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6979         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6980         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6981         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6982         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6983         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6984         (__ASSUME_ACCEPT4): Define instead of using previous
6985         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6986         __powerpc__ || __sparc__ || __s390__)] condition.
6987         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6988         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6989         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6990         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6991         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6992         [!__ASSUME_ACCEPT4]: Change condition to
6993         [!__ASSUME_ACCEPT4_SOCKETCALL].
6994         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6995         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6996         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6997         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6998         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6999         __ASSUME_ACCEPT4_SYSCALL.
7000         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7001         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7003         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7004         __ASSUME_ACCEPT4_SYSCALL.
7005         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7006         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7007         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7008         [__ASSUME_ACCEPT4]: Change condition to
7009         [__ASSUME_ACCEPT4_SOCKETCALL].
7010         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7011         (__ASSUME_SOCKETCALL): Define.
7012         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7014         (__ASSUME_SOCKETCALL): Define.
7015         (__ASSUME_ACCEPT4): Remove.
7016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7017         Define.
7018         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7019         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7020         Likewise.
7021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7022         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7023
7024         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7025         macro.
7026         (HWCAP_ARM_LPAE): Likewise.
7027         (HWCAP_ARM_EVTSTRM): Likewise.
7028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7029         Add vpfd32, lpae and evtstrm.
7030         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7031         Increase to 22.
7032
7033 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7034
7035         * math/auto-libm-test-in: Add tests of clog10.
7036         * math/auto-libm-test-out: Regenerated.
7037         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7038         * sysdeps/i386/fpu/libm-test-ulps: Update.
7039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7040
7041 2014-02-18  Andreas Schwab  <schwab@suse.de>
7042
7043         [BZ #16574]
7044         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7045         Store non-zero if the second buffer was newly allocated.
7046         (send_dg): Likewise.
7047         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7048         to send_vc and send_dg.
7049         (res_nsend): Pass NULL for ansp2_malloced.
7050         * resolv/res_query.c (__libc_res_nquery): Add parameter
7051         answerp2_malloced and pass it down to __libc_res_nsend.
7052         (res_nquery): Pass additional NULL to __libc_res_nquery.
7053         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7054         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7055         second answer buffer if answerp2_malloced was set.
7056         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7057         (__libc_res_nquerydomain): Add parameter
7058         answerp2_malloced and pass it down to __libc_res_nquery.
7059         (res_nquerydomain): Pass additional NULL to
7060         __libc_res_nquerydomain.
7061         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7062         additional NULL to __libc_res_nsend and __libc_res_nquery.
7063         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7064         additional NULL to __libc_res_nsearch.
7065         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7066         parameter of __libc_res_nsearch to check for separately allocated
7067         second buffer.
7068         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7069         __libc_res_nquery.
7070         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7071         additional NULL to __libc_res_nquery.
7072         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7073         __libc_res_nsearch.
7074         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7075         * include/resolv.h: Update prototypes of __libc_res_nquery,
7076         __libc_res_nsearch, __libc_res_nsend.
7077
7078 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7079
7080         * math/auto-libm-test-in: Add tests of fma.
7081         * math/auto-libm-test-out: Regenerated.
7082         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7083         (fma_towardzero_test_data): Likewise.
7084         (fma_downward_test_data): Likewise.
7085         (fma_upward_test_data): Likewise.
7086         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7087         mpc_mode.
7088         (rounding_modes): Add values for new field.
7089         (func_calc_method): Add value mpfr_fff_f.
7090         (func_calc_desc): Add mpfr_fff_f union field.
7091         (test_function): Add field exact_args.
7092         (FUNC): Add macro argument EXACT_ARGS.
7093         (FUNC_mpfr_f_f): Update call to FUNC.
7094         (FUNC_mpfr_f_f): Likewise.
7095         (FUNC_mpfr_ff_f): Likewise.
7096         (FUNC_mpfr_if_f): Likewise.
7097         (FUNC_mpc_c_f): Likewise.
7098         (FUNC_mpc_c_c): Likewise.
7099         (test_functions): Add fma.  Update calls to FUNC.
7100         (handle_input_arg): Add argument exact_args.
7101         (add_test): Update call to handle_input_arg.
7102         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7103         (output_for_one_input_case): Update call to calc_generic_results.
7104         Recalculate exact zero results in each rounding mode.
7105
7106         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7107         non-negative before setting low bit.
7108         * math/auto-libm-test-in: Mark one asin test possibly having
7109         spurious underflow.
7110         * math/auto-libm-test-out: Regenerated.
7111         * sysdeps/i386/fpu/libm-test-ulps: Update.
7112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113
7114 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7115
7116         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7117         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7118         ports/sysdeps/unix/sysv/linux/microblaze.
7119         * README: Add missing listing for microblaze*-*-linux-gnu.
7120
7121 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7122
7123         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7124         * sysdeps/unix/sysv/linux/ia64: Move directory from
7125         ports/sysdeps/unix/sysv/linux/ia64.
7126         * README: Update listing for ia64-*-linux-gnu.
7127
7128 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7129             Joseph Myers  <joseph@codesourcery.com>
7130
7131         * Makeconfig (test-name): New variable.
7132         (evaluate-test): Likewise.
7133         * Makerules (do-test-clean): Remove .test-result files.
7134         (common-mostlyclean): Likewise.
7135         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7136         * scripts/evaluate-test.sh: New file.
7137
7138 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7139
7140         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7141         separate $(objpfx)tst-fopenloc-cmp.out and
7142         $(objpfx)tst-fopenloc-mem.out targets.
7143         (tests): Update dependencies.
7144         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7145         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7146         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7147         (tst-rxspencer-no-utf8-ARGS): New variable.
7148         (tst-rxspencer-no-utf8-ENV): Likewise.
7149         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7150         instead of $(objpfx)tst-rxspencer-mem.
7151         ($(objpfx)tst-rxspencer-mem): Change target to
7152         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7153         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7154         * posix/tst-rxspencer-no-utf8.c: New file.
7155
7156         * elf/Makefile ($(objpfx)order.out): Remove rule.
7157         [$(run-built-tests) = yes] (tests): Depend on
7158         $(objpfx)order-cmp.out.
7159         ($(objpfx)order-cmp.out): New rule.
7160         [$(run-built-tests) = yes] (tests): Depend on
7161         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7162         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7163         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7164         $(objpfx)tst-array5-static-cmp.out.
7165         ($(objpfx)tst-array1.out): Remove rule.
7166         ($(objpfx)tst-array1-cmp.out): New rule.
7167         ($(objpfx)tst-array1-static.out): Remove rule.
7168         ($(objpfx)tst-array1-static-cmp.out): New rule.
7169         ($(objpfx)tst-array2.out): Remove rule.
7170         ($(objpfx)tst-array2-cmp.out): New rule.
7171         ($(objpfx)tst-array3.out): Remove rule.
7172         ($(objpfx)tst-array3-cmp.out): New rule.
7173         ($(objpfx)tst-array4.out): Remove rule.
7174         ($(objpfx)tst-array4-cmp.out): New rule.
7175         ($(objpfx)tst-array5.out): Remove rule.
7176         ($(objpfx)tst-array5-cmp.out): New rule.
7177         ($(objpfx)tst-array5-static.out): Remove rule.
7178         ($(objpfx)tst-array5-static-cmp.out): New rule.
7179         [$(run-built-tests) = yes] (tests): Depend on
7180         $(objpfx)order2-cmp.out.
7181         ($(objpfx)order2.out): Remove rule.
7182         ($(objpfx)order2-cmp.out): New rule.
7183         ($(objpfx)tst-initorder.out): Remove rule.
7184         [$(run-built-tests) = yes] (tests): Depend on
7185         $(objpfx)tst-initorder-cmp.out.
7186         ($(objpfx)tst-initorder-cmp.out): New rule.
7187         ($(objpfx)tst-initorder2.out): Remove rule.
7188         [$(run-built-tests) = yes] (tests): Depend on
7189         $(objpfx)tst-initorder2-cmp.out.
7190         ($(objpfx)tst-initorder2-cmp.out): New rule.
7191         [$(run-built-tests) = yes] (tests): Depend on
7192         $(objpfx)tst-unused-dep-cmp.out.
7193         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7194         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7195         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7196         on $(objpfx)tst-setvbuf1-cmp.out.
7197         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7198         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7199         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7200         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7201         ($(objpfx)tst-svc.out): Remove rule.
7202         ($(objpfx)tst-svc-cmp.out): New rule.
7203
7204 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7205
7206         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7207         * ctype/ctype.h [__USE_MISC]: Likewise.
7208         * dirent/dirent.h [__USE_MISC]: Likewise.
7209         * grp/grp.h [__USE_MISC]: Likewise.
7210         * io/fcntl.h [__USE_MISC]: Likewise.
7211         * io/sys/stat.h [__USE_MISC]: Likewise.
7212         * libio/stdio.h [__USE_MISC]: Likewise.
7213         * posix/unistd.h [__USE_MISC]: Likewise.
7214         * pwd/pwd.h [__USE_MISC]: Likewise.
7215         * stdlib.h [__USE_MISC]: Likewise.
7216         * string/bits/string2.h [__USE_MISC]: Likewise.
7217         * string/string.h [__USE_MISC]: Likewise.
7218         * time/time.h [__USE_MISC]: Likewise.
7219
7220 2014-02-13  Andreas Schwab  <schwab@suse.de>
7221
7222         [BZ #16574]
7223         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7224         second answer buffer if it was separately allocated.
7225
7226 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7227
7228         * sysdeps/mips/math-tests.h: Include <features.h>.
7229         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7230         (ROUNDING_TESTS_long_double): Do not define.
7231         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7232         (EXCEPTION_TESTS_long_double): Likewise.
7233         * sysdeps/mips/mips64/libm-test-ulps: Update.
7234
7235         * include/features.h (__USE_BSD): Remove macro definitions.
7236         (__USE_SVID): Likewise.
7237         (_BSD_SOURCE): Likewise.
7238         (_SVID_SOURCE): Likewise.
7239         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7240         from definition of _DEFAULT_SOURCE.
7241         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7242         [_DEFAULT_SOURCE].
7243         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7244         * bits/mman.h [__USE_BSD]: Likewise.
7245         * bits/termios.h [__USE_BSD]: Likewise.
7246         * bits/waitstatus.h [__USE_BSD]: Likewise.
7247         * ctype/ctype.h [__USE_SVID]: Likewise.
7248         * dirent/dirent.h [__USE_BSD]: Likewise.
7249         * grp/grp.h [__USE_SVID]: Likewise.
7250         [__USE_BSD]: Likewise.
7251         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7252         * io/fcntl.h [__USE_BSD]: Likewise.
7253         * io/ftw.h [__USE_BSD]: Likewise.
7254         * io/sys/stat.h [__USE_BSD]: Likewise.
7255         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7256         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7257         * libio/stdio.h [__USE_SVID]: Likewise.
7258         [__USE_BSD]: Likewise.
7259         * math/math.h [__USE_SVID]: Likewise.
7260         [__USE_BSD]: Likewise.
7261         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7262         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7263         * misc/search.h [__USE_SVID]: Likewise.
7264         * misc/sys/mman.h [__USE_BSD]: Likewise.
7265         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7266         * misc/sys/uio.h [__USE_BSD]: Likewise.
7267         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7268         * posix/glob.h [__USE_BSD]: Likewise.
7269         * posix/regex.h [__USE_BSD]: Likewise.
7270         * posix/sys/types.h [__USE_BSD]: Likewise.
7271         [__USE_SVID]: Likewise.
7272         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7273         * posix/sys/wait.h [__USE_BSD]: Likewise.
7274         [__USE_SVID]: Likewise.
7275         * posix/unistd.h [__USE_BSD]: Likewise.
7276         [__USE_SVID]: Likewise.
7277         * pwd/pwd.h [__USE_SVID]: Likewise.
7278         * resolv/netdb.h [__USE_BSD]: Likewise.
7279         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7280         * signal/signal.h [__USE_BSD]: Likewise.
7281         [__USE_SVID]: Likewise.
7282         * socket/sys/socket.h [__USE_BSD]: Likewise.
7283         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7284         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7285         [__USE_SVID]: Likewise.
7286         * string/bits/string2.h [__USE_BSD]: Likewise.
7287         [__USE_SVID]: Likewise.
7288         * string/bits/string3.h [__USE_BSD]: Likewise.
7289         * string/endian.h [__USE_BSD]: Likewise.
7290         * string/string.h [__USE_SVID]: Likewise.
7291         [__USE_BSD]: Likewise.
7292         * string/strings.h [__USE_BSD]: Likewise.
7293         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7294         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7295         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7296         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7297         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7298         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7299         Likewise.
7300         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7301         Likewise.
7302         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7303         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7304         Likewise.
7305         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7306         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7307         Likewise.
7308         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7309         Likewise.
7310         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7311         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7312         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7313         Likewise.
7314         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7315         Likewise.
7316         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7317         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7318         * termios/termios.h [__USE_BSD]: Likewise.
7319         * time/sys/time.h [__USE_BSD]: Likewise.
7320         * time/time.h [__USE_BSD]: Likewise.
7321         [__USE_SVID]: Likewise.
7322
7323         * Makefile (subdir_targets): Remove subdir_lint.out.
7324
7325         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7326         (do-tst-printf): Likewise.
7327         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7328         $(objpfx)tst-printf.out.
7329
7330         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7331
7332         * Makerules (check-abi-%): Change target to
7333         $(objpfx)check-abi-%.out.
7334         (check-abi target): Update dependencies.
7335         (check-abi-pattern variable): Redirect output of diff to $@.
7336         (check-abi variable): Likewise.
7337         * elf/Makefile (check-abi): Update dependencies.
7338
7339         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7340         unused.
7341         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7342         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7343         subnormal range.
7344         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7345         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7346         value has largest subnormal exponent.
7347         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7348         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7349         * sysdeps/aarch64/soft-fp/sfp-machine.h
7350         (_FP_TININESS_AFTER_ROUNDING): New macro.
7351         * sysdeps/alpha/soft-fp/sfp-machine.h
7352         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7353         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7354         Likewise.
7355         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7356         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7357         * sysdeps/mips/soft-fp/sfp-machine.h
7358         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7359         * sysdeps/powerpc/soft-fp/sfp-machine.h
7360         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7361         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7362         Likewise.
7363         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7364         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7365         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7366         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7367         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7368         Likewise.
7369
7370 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7371
7372         [BZ #16545]
7373         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7374         model 1.
7375
7376 2014-02-12  Richard Henderson  <rth@redhat.com>
7377
7378         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7379         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7380         * sysdeps/unix/sysv/linux/alpha: Move directory from
7381         ports/sysdeps/unix/sysv/linux/alpha.
7382         * README: Update listing for alpha-*-linux-gnu.
7383
7384 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7385
7386         * include/features.h: Update comment documenting feature test
7387         macros.
7388         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7389         _DEFAULT_SOURCE.
7390         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7391         (_SVID_SOURCE): Likewise.
7392         (_DEFAULT_SOURCE): Update description of default features.
7393         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7394         with _GNU_SOURCE.
7395         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7396         (S_ISVTX): Likewise.
7397         * manual/math.texi (Mathematical Constants): Likewise.
7398         * manual/signal.texi (Interrupted Primitives): Likewise.
7399         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7400         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7401         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7402         Don't refer to _SVID_SOURCE in warning text.
7403
7404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7405
7406         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7407         already defined.
7408         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7409         * sysdeps/mips/dl-lookup.c: Remove.
7410         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7411
7412 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7413
7414         [BZ #16447]
7415         * math/auto-libm-test-in: Add testcase for expl.
7416         * math/auto-libm-test-out: Regenerate.
7417         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7418         calculation of unsafe.
7419         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7420
7421 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7422
7423         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7424         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7425         ports/sysdeps/unix/sysv/linux/aarch64.
7426         * README: Update listing for aarch64*-*-linux-gnu.
7427
7428 2014-02-11  Will Newton  <will.newton@linaro.org>
7429
7430         * manual/probes.texi (Mathematical Function Probes): Use
7431         "triggered" instead of "hit".
7432
7433         * manual/probes.texi (Internal Probes): Add documentation
7434         of setjmp, longjmp and longjmp_target probes.
7435
7436         * include/stap-probe.h: Add comment about probe argument
7437         format.
7438
7439         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7440         definition.  (tr_where, tr_freehook, tr_mallochook,
7441         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7442
7443 2014-02-11  David S. Miller  <davem@davemloft.net>
7444
7445         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7446         processing int_tests.
7447
7448 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7449
7450         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7451         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7452         * sysdeps/unix/sysv/linux/mips: Move directory from
7453         ports/sysdeps/unix/sysv/linux/mips.
7454         * README: Update listing for mips-*-linux-gnu and
7455         mips64-*-linux-gnu.
7456
7457 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7458
7459         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7460         * sysdeps/unix/sysv/linux/m68k: Move directory from
7461         ports/sysdeps/unix/sysv/linux/m68k.
7462         * README: Update listing for m68k-*-linux-gnu.
7463
7464 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7465
7466         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7467         * sysdeps/unix/sysv/linux/generic: Move directory from
7468         ports/sysdeps/unix/sysv/linux/generic.
7469         * sysdeps/unix/sysv/linux/tile: Move directory from
7470         ports/sysdeps/unix/sysv/linux/tile.
7471         * README: Update listing for tile*-*-linux-gnu.
7472
7473 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7474
7475         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7476         __builtin_expect.
7477         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7478         * catgets/open_catalog.c (__open_catalog): Likewise.
7479         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7480         * debug/confstr_chk.c: Likewise.
7481         * debug/fread_chk.c (__fread_chk): Likewise.
7482         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7483         * debug/getgroups_chk.c: Likewise.
7484         * debug/mbsnrtowcs_chk.c: Likewise.
7485         * debug/mbsrtowcs_chk.c: Likewise.
7486         * debug/mbstowcs_chk.c: Likewise.
7487         * debug/memcpy_chk.c: Likewise.
7488         * debug/memmove_chk.c: Likewise.
7489         * debug/mempcpy_chk.c: Likewise.
7490         * debug/memset_chk.c: Likewise.
7491         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7492         * debug/strcat_chk.c (__strcat_chk): Likewise.
7493         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7494         * debug/strncat_chk.c (__strncat_chk): Likewise.
7495         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7496         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7497         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7498         * debug/wcpncpy_chk.c: Likewise.
7499         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7500         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7501         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7502         * debug/wcsncpy_chk.c: Likewise.
7503         * debug/wcsnrtombs_chk.c: Likewise.
7504         * debug/wcsrtombs_chk.c: Likewise.
7505         * debug/wcstombs_chk.c: Likewise.
7506         * debug/wmemcpy_chk.c: Likewise.
7507         * debug/wmemmove_chk.c: Likewise.
7508         * debug/wmempcpy_chk.c: Likewise.
7509         * debug/wmemset_chk.c: Likewise.
7510         * dirent/scandirat.c (SCANDIRAT): Likewise.
7511         * dlfcn/dladdr1.c (dladdr1): Likewise.
7512         * dlfcn/dladdr.c (dladdr): Likewise.
7513         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7514         * dlfcn/dlerror.c (__dlerror): Likewise.
7515         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7516         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7517         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7518         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7519         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7520         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7521         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7522         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7523         Likewise.
7524         * elf/dl-conflict.c: Likewise.
7525         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7526         * elf/dl-dst.h: Likewise.
7527         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7528         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7529         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7530         * elf/dl-init.c (call_init, _dl_init): Likewise.
7531         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7532         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7533         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7534         Likewise.
7535         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7536         Likewise.
7537         * elf/dl-minimal.c (__libc_memalign): Likewise.
7538         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7539         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7540         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7541         * elf/dl-sym.c (do_sym): Likewise.
7542         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7543         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7544         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7545         * elf/dl-writev.h (_dl_writev): Likewise.
7546         * elf/ldconfig.c (search_dir): Likewise.
7547         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7548         (dl_main): Likewise.
7549         * elf/setup-vdso.h (setup_vdso): Likewise.
7550         * grp/compat-initgroups.c (compat_call): Likewise.
7551         * grp/fgetgrent.c (fgetgrent): Likewise.
7552         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7553         * grp/putgrent.c (putgrent): Likewise.
7554         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7555         Likewise.
7556         * hurd/hurdinit.c: Likewise.
7557         * iconvdata/8bit-gap.c (struct): Likewise.
7558         * iconvdata/ansi_x3.110.c : Likewise.
7559         * iconvdata/big5.c : Likewise.
7560         * iconvdata/big5hkscs.c : Likewise.
7561         * iconvdata/cp1255.c: Likewise.
7562         * iconvdata/cp1258.c : Likewise.
7563         * iconvdata/cp932.c : Likewise.
7564         * iconvdata/euc-cn.c: Likewise.
7565         * iconvdata/euc-jisx0213.c : Likewise.
7566         * iconvdata/euc-jp.c: Likewise.
7567         * iconvdata/euc-jp-ms.c : Likewise.
7568         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7569         * iconvdata/gb18030.c : Likewise.
7570         * iconvdata/gbbig5.c (const): Likewise.
7571         * iconvdata/gbgbk.c: Likewise.
7572         * iconvdata/gbk.c : Likewise.
7573         * iconvdata/ibm1364.c : Likewise.
7574         * iconvdata/ibm930.c : Likewise.
7575         * iconvdata/ibm932.c: Likewise.
7576         * iconvdata/ibm933.c : Likewise.
7577         * iconvdata/ibm935.c : Likewise.
7578         * iconvdata/ibm937.c : Likewise.
7579         * iconvdata/ibm939.c : Likewise.
7580         * iconvdata/ibm943.c: Likewise.
7581         * iconvdata/iso_11548-1.c: Likewise.
7582         * iconvdata/iso-2022-cn.c : Likewise.
7583         * iconvdata/iso-2022-cn-ext.c : Likewise.
7584         * iconvdata/iso-2022-jp-3.c: Likewise.
7585         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7586         * iconvdata/iso-2022-kr.c : Likewise.
7587         * iconvdata/iso646.c (gconv_end): Likewise.
7588         * iconvdata/iso_6937-2.c : Likewise.
7589         * iconvdata/iso_6937.c : Likewise.
7590         * iconvdata/iso8859-1.c: Likewise.
7591         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7592         * iconvdata/shift_jisx0213.c : Likewise.
7593         * iconvdata/sjis.c : Likewise.
7594         * iconvdata/t.61.c : Likewise.
7595         * iconvdata/tcvn5712-1.c : Likewise.
7596         * iconvdata/tscii.c: Likewise.
7597         * iconvdata/uhc.c : Likewise.
7598         * iconvdata/unicode.c (gconv_end): Likewise.
7599         * iconvdata/utf-16.c (gconv_end): Likewise.
7600         * iconvdata/utf-32.c (gconv_end): Likewise.
7601         * iconvdata/utf-7.c (base64): Likewise.
7602         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7603         * iconv/gconv_close.c (__gconv_close): Likewise.
7604         * iconv/gconv_open.c (__gconv_open): Likewise.
7605         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7606         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7607         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7608         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7609         (ucs4le_internal_loop_single): Likewise.
7610         * iconv/iconv.c (iconv): Likewise.
7611         * iconv/iconv_close.c: Likewise.
7612         * iconv/loop.c (SINGLE): Likewise.
7613         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7614         * include/atomic.h: Likewise.
7615         * inet/inet6_option.c (option_alloc): Likewise.
7616         * intl/bindtextdom.c (set_binding_values): Likewise.
7617         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7618         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7619         * intl/localealias.c (read_alias_file): Likewise.
7620         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7621         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7622         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7623         * libio/fmemopen.c (fmemopen): Likewise.
7624         * libio/iofgets.c (_IO_fgets): Likewise.
7625         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7626         * libio/iofgetws.c (fgetws): Likewise.
7627         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7628         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7629         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7630         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7631         * locale/findlocale.c (_nl_find_locale): Likewise.
7632         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7633         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7634         Likewise.
7635         * locale/setlocale.c (setlocale): Likewise.
7636         * login/programs/pt_chown.c (main): Likewise.
7637         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7638         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7639         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7640         (mmap, mmap64, mremap, munmap): Likewise.
7641         * math/e_exp2l.c: Likewise.
7642         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7643         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7644         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7645         * math/s_catan.c (__catan): Likewise.
7646         * math/s_catanf.c (__catanf): Likewise.
7647         * math/s_catanh.c (__catanh): Likewise.
7648         * math/s_catanhf.c (__catanhf): Likewise.
7649         * math/s_catanhl.c (__catanhl): Likewise.
7650         * math/s_catanl.c (__catanl): Likewise.
7651         * math/s_ccosh.c (__ccosh): Likewise.
7652         * math/s_ccoshf.c (__ccoshf): Likewise.
7653         * math/s_ccoshl.c (__ccoshl): Likewise.
7654         * math/s_cexp.c (__cexp): Likewise.
7655         * math/s_cexpf.c (__cexpf): Likewise.
7656         * math/s_cexpl.c (__cexpl): Likewise.
7657         * math/s_clog10.c (__clog10): Likewise.
7658         * math/s_clog10f.c (__clog10f): Likewise.
7659         * math/s_clog10l.c (__clog10l): Likewise.
7660         * math/s_clog.c (__clog): Likewise.
7661         * math/s_clogf.c (__clogf): Likewise.
7662         * math/s_clogl.c (__clogl): Likewise.
7663         * math/s_csin.c (__csin): Likewise.
7664         * math/s_csinf.c (__csinf): Likewise.
7665         * math/s_csinh.c (__csinh): Likewise.
7666         * math/s_csinhf.c (__csinhf): Likewise.
7667         * math/s_csinhl.c (__csinhl): Likewise.
7668         * math/s_csinl.c (__csinl): Likewise.
7669         * math/s_csqrt.c (__csqrt): Likewise.
7670         * math/s_csqrtf.c (__csqrtf): Likewise.
7671         * math/s_csqrtl.c (__csqrtl): Likewise.
7672         * math/s_ctan.c (__ctan): Likewise.
7673         * math/s_ctanf.c (__ctanf): Likewise.
7674         * math/s_ctanh.c (__ctanh): Likewise.
7675         * math/s_ctanhf.c (__ctanhf): Likewise.
7676         * math/s_ctanhl.c (__ctanhl): Likewise.
7677         * math/s_ctanl.c (__ctanl): Likewise.
7678         * math/w_pow.c: Likewise.
7679         * math/w_powf.c: Likewise.
7680         * math/w_powl.c: Likewise.
7681         * math/w_scalb.c (sysv_scalb): Likewise.
7682         * math/w_scalbf.c (sysv_scalbf): Likewise.
7683         * math/w_scalbl.c (sysv_scalbl): Likewise.
7684         * misc/error.c (error_tail): Likewise.
7685         * misc/pselect.c (__pselect): Likewise.
7686         * nis/nis_callback.c (__nis_create_callback): Likewise.
7687         * nis/nis_call.c (__nisfind_server): Likewise.
7688         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7689         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7690         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7691         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7692         * nis/nis_lookup.c (nis_lookup): Likewise.
7693         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7694         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7695         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7696         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7697         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7698         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7699         * nis/nss_compat/compat-initgroups.c (add_group)
7700         (internal_getgrent_r): Likewise.
7701         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7702         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7703         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7704         (internal_getspnam_r): Likewise.
7705         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7706         (_nss_nis_getaliasbyname_r): Likewise.
7707         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7708         (_nss_nis_getntohost_r): Likewise.
7709         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7710         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7711         (_nss_nis_getgrgid_r): Likewise.
7712         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7713         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7714         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7715         (_nss_nis_gethostbyname4_r): Likewise.
7716         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7717         (initgroups_netid): Likewise.
7718         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7719         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7720         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7721         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7722         (_nss_nis_getprotobynumber_r): Likewise.
7723         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7724         (_nss_nis_getsecretkey): Likewise.
7725         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7726         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7727         (_nss_nis_getpwuid_r): Likewise.
7728         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7729         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7730         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7731         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7732         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7733         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7734         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7735         Likewise.
7736         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7737         (_nss_nisplus_getntohost_r): Likewise.
7738         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7739         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7740         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7741         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7742         Likewise.
7743         * nis/nss_nisplus/nisplus-initgroups.c
7744         (_nss_nisplus_initgroups_dyn): Likewise.
7745         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7746         (_nss_nisplus_getnetbyaddr_r): Likewise.
7747         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7748         (_nss_nisplus_getprotobynumber_r): Likewise.
7749         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7750         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7751         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7752         Likewise.
7753         * nis/nss_nisplus/nisplus-service.c
7754         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7755         (_nss_nisplus_getservbyport_r): Likewise.
7756         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7757         (_nss_nisplus_getspnam_r): Likewise.
7758         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7759         Likewise.
7760         * nscd/aicache.c (addhstaiX): Likewise.
7761         * nscd/cache.c (cache_search, prune_cache): Likewise.
7762         * nscd/connections.c (register_traced_file, send_ro_fd)
7763         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7764         (main_loop_epoll): Likewise.
7765         * nscd/grpcache.c (addgrbyX): Likewise.
7766         * nscd/hstcache.c (addhstbyX): Likewise.
7767         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7768         * nscd/mem.c (gc, mempool_alloc): Likewise.
7769         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7770         (addinnetgrX): Likewise.
7771         * nscd/nscd-client.h (__nscd_acquire_maplock)
7772         (__nscd_drop_map_ref): Likewise.
7773         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7774         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7775         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7776         Likewise.
7777         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7778         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7779         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7780         (__nscd_get_map_ref): Likewise.
7781         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7782         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7783         Likewise.
7784         * nscd/pwdcache.c (addpwbyX): Likewise.
7785         * nscd/selinux.c (preserve_capabilities): Likewise.
7786         * nscd/servicescache.c (addservbyX): Likewise.
7787         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7788         * posix/fnmatch.c (fnmatch): Likewise.
7789         * posix/getopt.c (_getopt_internal_r): Likewise.
7790         * posix/glob.c (glob, glob_in_dir): Likewise.
7791         * posix/wordexp.c (exec_comm_child): Likewise.
7792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7793         (getanswer_r, gaih_getanswer_slice): Likewise.
7794         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7795         * resolv/res_init.c: Likewise.
7796         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7797         * resolv/res_query.c (__libc_res_nquery): Likewise.
7798         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7799         Likewise.
7800         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7801         * stdio-common/perror.c (perror): Likewise.
7802         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7803         * stdio-common/tmpnam.c (tmpnam): Likewise.
7804         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7805         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7806         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7807         Likewise.
7808         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7809         * stdlib/putenv.c (putenv): Likewise.
7810         * stdlib/setenv.c (__add_to_environ): Likewise.
7811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7812         * stdlib/strtol_l.c (INTERNAL): Likewise.
7813         * string/memmem.c (memmem): Likewise.
7814         * string/strerror.c (strerror): Likewise.
7815         * string/strnlen.c (__strnlen): Likewise.
7816         * string/test-memmem.c (simple_memmem): Likewise.
7817         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7818         * sunrpc/pm_getport.c (__get_socket): Likewise.
7819         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7820         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7821         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7822         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7823         Likewise.
7824         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7825         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7826         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7827         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7828         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7829         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7830         Likewise.
7831         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7832         Likewise.
7833         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7834         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7836         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7837         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7839         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7840         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7841         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7842         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7843         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7844         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7845         Likewise.
7846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7847         Likewise.
7848         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7849         Likewise.
7850         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7851         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7852         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7853         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7854         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7855         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7856         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7857         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7859         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7860         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7862         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7863         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7865         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7866         Likewise.
7867         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7868         Likewise.
7869         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7870         Likewise.
7871         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7872         Likewise.
7873         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7875         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7876         Likewise.
7877         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7878         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7879         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7880         * sysdeps/posix/sleep.c: Likewise.
7881         * sysdeps/posix/tempname.c: Likewise.
7882         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7883         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7884         Likewise.
7885         * sysdeps/powerpc/powerpc32/dl-machine.h
7886         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7887         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7888         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7889         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7890         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7891         Likewise.
7892         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7894         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7896         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7897         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7898         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7899         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7900         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7901         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7903         (elf_machine_lazy_rel): Likewise.
7904         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7905         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7906         (elf_machine_lazy_rel): Likewise.
7907         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7908         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7909         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7910         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7911         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7912         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7913         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7914         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7915         Likewise.
7916         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7917         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7918         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7919         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7920         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7921         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7922         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7923         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7924         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7925         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7926         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7927         Likewise.
7928         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7929         (__posix_fallocate64_l64): Likewise.
7930         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7931         (posix_fallocate): Likewise.
7932         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7933         Likewise.
7934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7935         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7936         (getifaddrs_internal): Likewise.
7937         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7938         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7939         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7940         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7941         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7942         (__posix_fallocate64_l64): Likewise.
7943         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7946         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7947         (__get_clockfreq): Likewise.
7948         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7949         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7950         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7953         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7954         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7955         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7956         Likewise.
7957         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7958         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7959         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7960         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7961         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7962         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7963         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7964         Likewise.
7965         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7966         (posix_fallocate): Likewise.
7967         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7968         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7969         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7970         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7971         (elf_machine_rela, elf_machine_rela_relative)
7972         (elf_machine_lazy_rel): Likewise.
7973         * time/asctime.c (asctime_internal): Likewise.
7974         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7975         * time/tzset.c (__tzset_parse_tz): Likewise.
7976         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7977         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7978         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7979         * wcsmbs/wcsmbsload.h: Likewise.
7980
7981         [BZ #15894]
7982         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7983
7984         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7985         (arena_get2): Remove THREAD_STATS conditionals.
7986         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7987         (__malloc_stats, int): Likewise.
7988
7989 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7990
7991         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7992         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7993
7994         * manual/setjmp.texi: Fix typos/grammar errors.
7995
7996         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7997         Only return early when n is <= 0.  Delete unused return statement.
7998
7999         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8000         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8001         * debug/tst-longjmp_chk3.c: New file.
8002
8003         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8004         (test_main): Replace code with set_fortify_handler call.
8005         * debug/test-strcpy_chk.c: Likewise.
8006         * debug/tst-chk1.c: Likewise.
8007         * debug/tst-longjmp_chk.c: Likewise.
8008         * test-skeleton.c: Include fcntl.h & paths.h
8009         (set_fortify_handler): Define.
8010
8011         * debug/tst-longjmp_chk.c: Add header comment and include
8012         ../test-skeleton.c.
8013         (do_test): Mark static.
8014         (TEST_FUNCTION): Define.
8015
8016         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8017         (IP_PMTUDISC_INTERFACE): Likewise.
8018         (IP_MULTICAST_IF): Likewise.
8019         (IP_MULTICAST_TTL): Likewise.
8020         (IP_MULTICAST_LOOP): Likewise.
8021         (IP_ADD_MEMBERSHIP): Likewise.
8022         (IP_DROP_MEMBERSHIP): Likewise.
8023         (IP_UNBLOCK_SOURCE): Likewise.
8024         (IP_BLOCK_SOURCE): Likewise.
8025         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8026         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8027         (IP_MSFILTER): Likewise.
8028         (MCAST_JOIN_GROUP): Likewise.
8029         (MCAST_BLOCK_SOURCE): Likewise.
8030         (MCAST_UNBLOCK_SOURCE): Likewise.
8031         (MCAST_LEAVE_GROUP): Likewise.
8032         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8033         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8034         (MCAST_MSFILTER): Likewise.
8035         (IP_MULTICAST_ALL): Likewise.
8036         (IP_UNICAST_IF): Likewise.
8037
8038         * timezone/Makefile: Delete $(have-ksh) check.
8039         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8040         * timezone/tzselect.ksh: Add +x mode bits.
8041
8042         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8043         (ANON_INODE_FS_MAGIC): Likewise.
8044         (BDEVFS_MAGIC): Likewise.
8045         (BINFMTFS_MAGIC): Likewise.
8046         (BTRFS_TEST_MAGIC): Likewise.
8047         (CRAMFS_MAGIC_WEND): Likewise.
8048         (DEBUGFS_MAGIC): Likewise.
8049         (ECRYPTFS_SUPER_MAGIC): Likewise.
8050         (EXT3_SUPER_MAGIC): Likewise.
8051         (EXT4_SUPER_MAGIC): Likewise.
8052         (FUTEXFS_SUPER_MAGIC): Likewise.
8053         (HOSTFS_SUPER_MAGIC): Likewise.
8054         (HUGETLBFS_MAGIC): Likewise.
8055         (MINIX3_SUPER_MAGIC): Likewise.
8056         (MTD_INODE_FS_MAGIC): Likewise.
8057         (NILFS_SUPER_MAGIC): Likewise.
8058         (OPENPROM_SUPER_MAGIC): Likewise.
8059         (PIPEFS_MAGIC): Likewise.
8060         (PSTOREFS_MAGIC): Likewise.
8061         (QNX6_SUPER_MAGIC): Likewise.
8062         (RAMFS_MAGIC): Likewise.
8063         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8064         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8065         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8066         (SECURITYFS_MAGIC): Likewise.
8067         (SELINUX_MAGIC): Likewise.
8068         (SMACK_MAGIC): Likewise.
8069         (SOCKFS_MAGIC): Likewise.
8070         (SQUASHFS_MAGIC): Likewise.
8071         (STACK_END_MAGIC): Likewise.
8072         (TMPFS_MAGIC): Likewise.
8073         (USBDEVICE_SUPER_MAGIC): Likewise.
8074         (V9FS_MAGIC): Likewise.
8075         (XENFS_SUPER_MAGIC): Likewise.
8076         (CRAMFS_MAGIC): Fix typo in comment.
8077         (EXT2_SUPER_MAGIC): Update comment.
8078         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8079
8080 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8081
8082         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8083         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8084         * sysdeps/unix/sysv/linux/arm: Move directory from
8085         ports/sysdeps/unix/sysv/linux/arm.
8086         * README: Update listing for arm-*-linux-gnueabi.
8087
8088         * README: Remove mention of am33.
8089
8090 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8091
8092         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8093         than the comma operator, to avoid "rhs of comma has no effect"
8094         compiler warnings.
8095         (__sigfillset, __sigandset, __sigorset): Likewise.
8096         * include/signal.h (__sigemptyset): Likewise.
8097         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8098
8099 2014-02-07  Allan McRae  <allan@archlinux.org>
8100
8101         * version.h (RELEASE): Set to "development".
8102         (VERSION): Set to "2.19.90"
8103         * NEWS: Add 2.20 section.
8104
8105 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8106
8107         [BZ #16529]
8108         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8109
8110 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8111
8112         * manual/contrib.texi: Update entry for Carlos O'Donell,
8113         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8114
8115 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8116
8117         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8118
8119         * sysdeps/unix/sysv/linux/kernel-features.h
8120         [__LINUX_KERNEL_VERSION >= 0x020621]
8121         (__ASSUME_PROC_PID_TASK_COMM): Define.
8122
8123 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8124
8125         [BZ #16398]
8126         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8127         conversion when destination buffer does not have enough space.
8128         * libio/tst-ftell-partial-wide.c: New test case.
8129         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8130
8131         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8132         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8133         Leonard and Allan McRae.
8134
8135 2014-02-04  David S. Miller  <davem@davemloft.net>
8136
8137         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8138         32-bit.
8139
8140 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8141
8142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8143         New file
8144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8145         New file
8146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8147         New file.
8148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8149         New file.
8150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8151         New file.
8152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8153         New file.
8154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8155         New file.
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8157         New file.
8158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8159         New file.
8160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8161         New file.
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8163         New file.
8164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8165         New file.
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8167         New file.
8168
8169 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8170
8171         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8172         * shlib-versions: Likewise.
8173
8174 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8175             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8176
8177         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8178         (abilist-pattern): New variable, set to %-le.abilist.
8179
8180         * Makerules (abilist-pattern): New variable.
8181         (vpath): Use $(abilist-pattern) in place of %.abilist.
8182         (check-abi-% pattern rule): Likewise.
8183         (check-abi, update-abi): Likewise.
8184
8185 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8186
8187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8188
8189 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8190
8191         * manual/startup.texi: Add next, previous, and top entries for
8192         the `Program Arguments' and `Environment Variables' nodes.
8193
8194 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8195
8196         * manual/macros.texi: Add comments before MTASC-safety macros.
8197
8198         * manual/users.texi: Document MTASC-safety properties.
8199
8200         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8201         (pthread_getspecific, pthread_setspecific): Format with
8202         @deftypefun, and add @safety note.
8203         * manual/signal.texi: Move comments that analyze the above
8204         functions to their home place.
8205
8206 2014-02-03  Allan McRae  <allan@archlinux.org>
8207
8208         * po/sl.po: Update Slovenian translation from translation project.
8209
8210 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8211
8212         * manual/time.texi (timegm): Add missing blank after @c.
8213         Reported by Joseph Myers <joseph@codesourcery.com>.
8214
8215 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8216
8217         * manual/check-safety.sh: New.
8218         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8219
8220         * manual/terminal.texi: Document MTASC-safety properties.
8221
8222         * manual/filesys.texi: Document MTASC-safety properties.
8223
8224         * manual/errno.texi: Document MTASC-safety properties.
8225
8226         * manual/intro.texi: Document safety identifiers and
8227         conditionals.
8228
8229         * manual/string.texi (wcstok): Fix prototype.
8230         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8231
8232         * manual/time.texi: Document MTASC-safety properties.
8233
8234         * manual/string.texi: Document MTASC-safety properties.
8235
8236         * manual/threads.texi: Document MTASC-safety properties.
8237
8238         * manual/stdio.texi: Document MTASC-safety properties.
8239
8240         * manual/syslog.texi: Document MTASC-safety properties.
8241
8242         * manual/sysinfo.texi: Document MTASC-safety properties.
8243
8244         * manual/startup.texi: Document MTASC-safety properties.
8245
8246         * manual/socket.texi: Document MTASC-safety properties.
8247
8248         * manual/signal.texi: Document MTASC-safety properties.
8249
8250 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8251
8252         * manual/setjmp.texi: Document MTASC-safety properties.
8253
8254         * manual/search.texi: Document MTASC-safety properties.
8255
8256         * manual/resource.texi: Document MTASC-safety properties.
8257
8258         * manual/process.texi: Document MTASC-safety properties.
8259
8260         * manual/platform.texi: Document MTASC-safety properties.
8261
8262         * manual/pipe.texi: Document MTASC-safety properties.
8263
8264         * manual/pattern.texi: Document MTASC-safety properties.
8265
8266         * manual/message.texi: Document MTASC-safety properties.
8267
8268         [BZ #12751]
8269         * manual/memory.texi: Document MTASC-safety properties.
8270
8271         * manual/math.texi: Document MTASC-safety properties.
8272
8273         * manual/locale.texi: Document MTASC-safety properties.
8274
8275         * manual/llio.texi: Document MTASC-safety properties.
8276
8277         * manual/libdl.texi: New.
8278
8279         * manual/lang.texi: Document MTASC-safety properties.
8280
8281         * manual/job.texi: Document MTASC-safety properties.
8282
8283         * manual/getopt.texi: Document MTASC-safety properties.
8284
8285         * manual/ctype.texi: Document MTASC-safety properties.
8286
8287 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8288
8289         [BZ #16046]
8290         * csu/libc-tls.c (static_map): Remove variable.
8291         (__libc_setup_tls): Use main executable's link map for TLS data.
8292         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8293         casing for LM_ID_BASE and GL(dl_nns).
8294         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8295         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8296         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8297         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8298         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8299         member.
8300         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8301         l_phnum members.
8302
8303 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8304
8305         * manual/debug.texi: Document MTASC-safety properties.
8306
8307 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8308
8309         [BZ #16510]
8310         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8311         of __x86_64__ when disabling x87 inline functions.
8312
8313 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8314
8315         * manual/charset.texi: Document MTASC-safety properties.
8316
8317         * manual/crypt.texi: Document MTASC-safety properties.
8318
8319         * manual/conf.texi: Document MTASC-safety properties.
8320
8321         * manual/arith.texi: Document MTASC-safety properties.
8322
8323         * manual/argp.texi: Document MTASC-safety properties.
8324
8325         * manual/macros.texi: Introduce macros to document multi
8326         thread, asynchronous signal and asynchronous cancellation
8327         safety properties.
8328         * manual/intro.texi: Introduce the properties themselves.
8329
8330 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8331
8332         * sysdeps/sh/sh4/Makefile: New file.
8333
8334 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8335
8336         * math/gen-libm-test.pl ($srcdir): New variable.
8337         ($auto_input): Use it.
8338
8339 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8340
8341         [BZ #16506]
8342         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8343         access beyond array bounds when parsing netgroups file.
8344
8345         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8346         the old buffer before realloc.
8347
8348 2014-01-27  Allan McRae  <allan@archlinux.org>
8349
8350         * po/fr.po: Update French translation from translation project.
8351
8352 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8353
8354         * sysdeps/sh/libm-test-ulps: Regenerate.
8355
8356 2014-01-24  David S. Miller  <davem@davemloft.net>
8357
8358         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8359
8360 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8361
8362         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8363         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8364
8365 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8366
8367         [BZ #16474]
8368         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8369         string pointers after reallocation.
8370
8371 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8372
8373         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8374         __SH4A__ instead of __SH_FPU_ANY__.
8375
8376 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8377
8378         * sysdeps/sh/fpu_control.h: New file.
8379         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8380         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8381         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8382         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8383         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8384         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8385         * sysdeps/sh/sys/ucontext.h: Remove.
8386         * sysdeps/sh/sys: Remove directory.
8387
8388 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8389
8390         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8391         s390/sys/ucontext.h.
8392         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8393         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8394
8395 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8396
8397         [BZ #15605]
8398         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8399
8400 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8401
8402         [BZ#16431]
8403         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8404         Adjust the vDSO correctly for internal calls.
8405         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8406
8407 2014-01-20  Allan McRae  <allan@archlinux.org>
8408
8409         * po/ca.po: Update Catalan translation from translation project.
8410
8411 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8412
8413         * sysdeps/s390/sotruss-lib.c: New file.
8414
8415 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8416
8417         [BZ#16430]
8418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8419         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8420         local calls issues by not having a PLT stub required for IFUNC calls.
8421         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8422
8423 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8424
8425         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8426         * math/test-fpucw-static.c: Likewise.
8427
8428 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8429
8430         [BZ #16453]
8431         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8432
8433 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8434
8435         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8436         implementation for powerpc.
8437
8438 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8439
8440         [BZ #14782]
8441         * sysdeps/posix/system.c (__libc_system): Do not enable
8442         asynchronous cancellation.
8443
8444 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8445
8446         [BZ #16427]
8447         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8448         handling only for numbers special also in the IEEE case.
8449
8450 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8451
8452         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8453
8454 2014-01-11  Allan McRae  <allan@archlinux.org>
8455
8456         * po/bg.po: Update Bulgarian translation from translation project.
8457
8458         * po/de.po: Update German translation from translation project.
8459
8460 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8461
8462         * sysdeps/generic/gcc-compat.h: New file.
8463
8464 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8465
8466         * benchtests/asin-inputs: Correct slow inputs.
8467         * benchtests/acos-inputs: Likewise.
8468
8469 2014-01-10  Allan McRae  <allan@archlinux.org>
8470
8471         * po:sv.po: Update Swedish translation from translation project.
8472
8473         * po/vi.po: Update Vietnamese translation from translation project.
8474
8475         * po/eo.po: Update Esperanto translation from translation project.
8476
8477         * po/cs.po: Update Czech translation from translation project.
8478
8479         * po/nl.po: Update Dutch translation from translation project.
8480
8481         * po/pl.po: Update Polish translation from translation project.
8482
8483         * po/ru.po: Update Russian translation from translation project.
8484
8485         * po/uk.po: Update Ukrainian translation from translation project.
8486
8487 2014-01-08  Brooks Moses  <bmoses@google.com>
8488
8489         * elf/dl-load.c: Fix comment typo.
8490
8491 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8492
8493         * po/header.pot: Rename to...
8494         * po/pot.header: ... this.
8495         * po/Makefile: Use pot.header.
8496
8497 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8498             Maxim Kuvyrkov  <maxim@kugelworks.com>
8499
8500         [BZ #16394]
8501         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8502         SRC and DEST against LEN.
8503
8504 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8505
8506         [BZ #16414]
8507         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8508         implementation.
8509         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8510
8511 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8512
8513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8514
8515 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8516
8517         [BZ #16408]
8518         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8519         for large positive arguments.
8520
8521 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8522
8523         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8524
8525         * math/auto-libm-test-in: Mark various tests with
8526         xfail-rounding:ldbl-128ibm.
8527         * math/auto-libm-test-out: Regenerated.
8528
8529         [BZ #16407]
8530         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8531         Increase overflow threshold.
8532
8533 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8534
8535         [BZ #14286]
8536         * stdio-common/vfprintf.c: Check for integer overflow.
8537
8538 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8539
8540         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8541         the first argument and return value of __tls_get_addr_internal.
8542
8543 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8544
8545         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8546         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8547
8548 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8549
8550         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8551         * sysdeps/s390/rtld-global-offsets.sym: New file.
8552         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8553         GLIBC_2.19 symbol.
8554         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8555         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8556         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8557         ... this.
8558         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8559         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8560         ... this.
8561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8562         Regenerate.
8563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8564         Regenerate.
8565         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8566         halfs of GPRs for high_gprs contexts.
8567         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8568         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8569         field.
8570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8571         uc_flags field.
8572         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8573         64 bit versions:
8574         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8575         for high GPRs (uc_high_gprs) and for future extensions
8576         (__reserved).
8577         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8578         for future extensions (__reserved).
8579         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8580         64 bit versions:
8581         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8582         SC_HIGHGPRS offset definition.
8583         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8584         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8585
8586         * Versions.def: Add GLIBC_2.19 for libpthread.
8587         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8588         siglongjmp for libpthread with GLIBC_2.19 symver.
8589         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8590         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8591         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8592         * sysdeps/s390/__longjmp.c: New file.
8593         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8594         * sysdeps/s390/longjmp.c: New file.
8595         * sysdeps/s390/setjmp.S: New file.
8596         * sysdeps/s390/sigjmp.S: New file.
8597         * sysdeps/s390/v1-longjmp.c: New file.
8598         * sysdeps/s390/v1-setjmp.h: New file.
8599         * sysdeps/s390/v1-sigjmp.c: New file.
8600         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8601         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8602         GLIBC_2.19 version.
8603         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8604         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8605         versioned symbols for ____longjmp_chk.
8606         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8607         Likewise.
8608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8609         Regenerate.
8610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8611         Regenerate.
8612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8613         Regenerate.
8614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8615         Regenerate.
8616         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8617         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8618         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8619         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8620         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8621         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8622         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8623         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8624         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8625         * sysdeps/s390/rtld-__longjmp.c: New file.
8626         * sysdeps/s390/rtld-setjmp.S: New file.
8627
8628 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8629
8630         [BZ #16400]
8631         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8632         Return -__logl (x) for small positive arguments without evaluating
8633         a polynomial.
8634
8635 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8636
8637         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8638         Rename to ...
8639         (__ptrace_peeksiginfo_args): ... this.
8640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8641         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8642         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8643
8644 2014-01-06  Allan McRae  <allan@archlinux.org>
8645
8646         * inet/netinet/in.h: Fix typo in comment.
8647
8648 2014-01-05  Andreas Jaeger  <aj@suse.de>
8649
8650         * sysdeps/i386/fpu/libm-test-ulps: Update.
8651
8652 2014-01-05  Allan McRae  <allan@archlinux.org>
8653
8654         * po/libc.pot: Regenerated.
8655
8656         * malloc/memusagestat.c: Fix gettext call formatting.
8657
8658 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8659
8660         * nscd/nscd.c: Improve usage() output.
8661
8662 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8663
8664         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8665         * sysdeps/unix/sysv/linux/configure: Regenerated.
8666         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8667         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8668
8669 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8670
8671         [BZ #16390]
8672         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8673         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8674
8675 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8676
8677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8678         extra tokens at end of #undef directive.
8679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8680         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8681         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8682
8683 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8684
8685         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8686
8687         * math/auto-libm-test-in: Mark various tests with
8688         xfail-rounding:ldbl-128ibm.
8689         * math/auto-libm-test-out: Regenerated.
8690
8691 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8692
8693         [BZ #16386]
8694         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8695         numbers with subnormal high part when calculating exponent.
8696
8697         [BZ #16385]
8698         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8699         fabs.
8700
8701         [BZ #16384]
8702         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8703         M_LN2l.
8704         (__ieee754_acoshl): Use __log1pl not __log1p.
8705
8706 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8707
8708         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8709         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8710         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8711         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8712         (reused_arena, arena_get2): Convert to GNU style.
8713         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8714         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8715         (memalign_check, __malloc_set_state): Likewise.
8716         * malloc/mallocbug.c (main): Likewise.
8717         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8718         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8719         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8720         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8721         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8722         (__posix_memalign, malloc_info): Likewise.
8723         * malloc/malloc.h: Likewise.
8724         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8725         (mallochook, memalignhook, reallochook, mabort): Likewise.
8726         * malloc/mcheck.h: Likewise.
8727         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8728         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8729         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8730         * malloc/morecore.c (__default_morecore): Likewise.
8731         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8732         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8733         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8734         (print_and_abort): Likewise.
8735         * malloc/obstack.h: Likewise.
8736         * malloc/set-freeres.c (__libc_freeres): Likewise.
8737         * malloc/tst-mallocstate.c (main): Likewise.
8738         * malloc/tst-mtrace.c (main): Likewise.
8739         * malloc/tst-realloc.c (do_test): Likewise.
8740
8741 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8742
8743         [BZ #16366]
8744         * nscd/netgroupcache.c (do_notfound): New function.
8745         (addgetnetgrentX): Use it.
8746
8747         [BZ # 16365]
8748         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8749         NSS_STATUS_NOTFOUND.
8750
8751 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8752
8753         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755
8756 2014-01-01  Allan McRae  <allan@archlinux.org>
8757
8758         * scripts/update-copyrights: Update configure input file suffix.
8759
8760         * NEWS: Update copyright year.
8761         * catgets/gencat.c: Likewise.
8762         * csu/version.c: Likewise.
8763         * debug/catchsegv.sh: Likewise.
8764         * debug/pcprofiledump.c: Likewise.
8765         * debug/xtrace.sh: Likewise.
8766         * elf/ldconfig.c: Likewise.
8767         * elf/ldd.bash.in: Likewise.
8768         * elf/pldd.c: Likewise.
8769         * elf/sotruss.ksh: Likewise.
8770         * elf/sprof.c: Likewise.
8771         * iconv/iconv_prog.c: Likewise.
8772         * iconv/iconvconfig.c: Likewise.
8773         * locale/programs/locale.c: Likewise.
8774         * locale/programs/localedef.c: Likewise.
8775         * login/programs/pt_chown.c: Likewise.
8776         * malloc/memusage.sh: Likewise.
8777         * malloc/memusagestat.c: Likewise.
8778         * malloc/mtrace.pl: Likewise.
8779         * manual/libc.texinfo: Likewise.
8780         * nscd/nscd.c: Likewise.
8781         * nss/getent.c: Likewise.
8782         * nss/makedb.c: Likewise.
8783         * posix/getconf.c: Likewise.
8784         * scripts/test-installation.pl: Likewise.
8785
8786         * All files with FSF copyright notices: Update copyright dates
8787         using scripts/update-copyrights.
8788         * intl/plural.c: Regenerated.
8789         * locale/programs/charmap-kw.h: Likewise.
8790         * locale/programs/locfile-kw.h: Likewise.
8791
8792 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8793
8794         * sysdeps/unix/sysv/linux/configure: Regenerated.
8795         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8796         the linux/fanotify.h header.
8797         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8798         HAVE_LINUX_FANOTIFY_H is defined.
8799
8800 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8801
8802         * benchtests/cos-inputs: New inputs.
8803         * benchtests/sin-inputs: Likewise.
8804
8805         * benchtests/atan-inputs: New inputs. Fix name of multiple
8806         precision fallback inputs.
8807
8808         * benchtests/atanh-inputs: New inputs.
8809         * benchtests/tanh-inputs: Likewise.
8810
8811         * benchtests/acosh-inputs: New inputs.
8812         * benchtests/asinh-inputs: Likewise.
8813
8814         * benchtests/cosh-inputs: New inputs.
8815         * benchtests/sinh-inputs: Likewise.
8816
8817         * benchtests/acos-inputs: Add more inputs.
8818         * benchtests/asin-inputs: Likewise.
8819
8820 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8821
8822         [BZ #16375]
8823         * manual/arith.texi: Fix spelling.
8824         * manual/charset.texi: Likewise.
8825         * manual/errno.texi: Likewise.
8826         * manual/filesys.texi: Likewise.
8827         * manual/lang.texi: Likewise.
8828         * manual/llio.texi: Likewise.
8829         * manual/locale.texi: Likewise.
8830         * manual/message.texi: Likewise.
8831         * manual/resource.texi: Likewise.
8832         * manual/search.texi: Likewise.
8833         * manual/setjmp.texi: Likewise.
8834         * manual/stdio.texi: Likewise.
8835         * manual/string.texi: Likewise.
8836         * manual/sysinfo.texi: Likewise.
8837         * manual/time.texi: Likewise.
8838
8839 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8840
8841         * po/sl.po: New file.
8842
8843 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8844
8845         * .gitignore: Add core/.gdbinit/.gdb_history.
8846
8847 2013-12-27  Allan McRae  <allan@archlinux.org>
8848
8849         [BZ #16369]
8850         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8851         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8852
8853 2013-12-24  Brooks Moses  <bmoses@google.com>
8854
8855         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8856         all compilers that claim C++98 compliance, not just GCC.
8857         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8858         Likewise.
8859
8860 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8861
8862         * NEWS: Restore accidentally deleted bug-fix entries.
8863
8864 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8865             Ondřej Bílka  <neleai@seznam.cz>
8866
8867         [BZ #15073]
8868         * malloc/malloc.c (_int_free): Perform sanity check only if we
8869         have_lock.
8870
8871 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8872
8873         [BZ #12986]
8874         * manual/stdio.texi (String Input Conversions): Clarify that character
8875         classes are not supported.
8876
8877 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8878
8879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8880
8881 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8882
8883         [BZ #16337]
8884         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8885         Calculate results for small negative arguments directly rather
8886         than using reflection formula with special underflow handling.
8887
8888         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8889         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8890         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8891         (fchflags): Likewise.
8892         (revoke): Likewise.
8893         (setlogin): Likewise.
8894         (sigaltstack): Likewise.
8895         (wait4): Likewise.
8896         (sigblock): Remove.
8897         (sigsetmask): Likewise.
8898         (wait3): Likewise.
8899         (waitpid): Likewise.
8900         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8901         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8902         file.
8903         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8904         * sysdeps/unix/bsd/Makefile: ... here.
8905         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8906         * sysdeps/unix/bsd/Versions: ... here.
8907         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8908         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8909         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8910         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8911         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8912         * sysdeps/unix/bsd/sigblock.c: ... here.
8913         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8914         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8915         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8916         * sysdeps/unix/bsd/sigvec.c: ... here.
8917         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8918         * sysdeps/unix/bsd/tcdrain.c: ... here.
8919         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8920         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8921         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8922         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8923         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8924         * sysdeps/unix/bsd/wait.c: ... here.
8925         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8926         * sysdeps/unix/bsd/wait3.c: ... here.
8927         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8928         * sysdeps/unix/bsd/waitpid.c: ... here.
8929
8930 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8931
8932         [BZ #16356]
8933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8934         round-to-nearest for [!USE_AS_EXPM1L].
8935         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8936         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8937         more tests of exp and exp10.  Expect some exp10 tests to miss
8938         exceptions or fail in directed rounding modes.
8939         * math/auto-libm-test-out: Regenerated.
8940         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8941         (exp10_test_tonearest): New function.
8942         (exp10_towardzero_test_data): New array.
8943         (exp10_test_towardzero): New function.
8944         (exp10_downward_test_data): New array.
8945         (exp10_test_downward): New function.
8946         (exp10_upward_test_data): New array.
8947         (exp10_test_upward): New function.
8948         (main): Call the new functions.
8949         * sysdeps/i386/fpu/libm-test-ulps: Update.
8950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8951
8952 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8953
8954         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8955         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8956         * math/auto-libm-test-out: Regenerated.
8957         * math/libm-test.inc (acosh_test_data): Add more tests.
8958         (atanh_test_data): Likewise.
8959         (ceil_test_data): Likewise.
8960         (copysign_test_data): Likewise.
8961         * sysdeps/i386/fpu/libm-test-ulps: Update.
8962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8963
8964         * timezone/checktab.awk: Update from tzcode 2013i.
8965         * timezone/private.h: Likewise.
8966         * timezone/scheck.c: Likewise.
8967         * timezone/tzfile.h: Likewise.
8968         * timezone/tzselect.ksh: Likewise.
8969         * timezone/zdump.c: Likewise.
8970         * timezone/zic.c: Likewise.
8971
8972         * math/auto-libm-test-in: Add tests of cpow.
8973         * math/auto-libm-test-out: Regenerated.
8974         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8975         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8976         mpc_cc_c.
8977         (func_calc_desc): Add mpc_cc_c union field.
8978         (test_functions): Add cpow.
8979         (special_fill_2pi): New function.
8980         (special_real_inputs): Add 2pi.
8981         (calc_generic_results): Handle mpc_cc_c.
8982         * sysdeps/i386/fpu/libm-test-ulps: Update.
8983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8984
8985         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8986         csqrt, ctan and ctanh.
8987         * math/auto-libm-test-out: Regenerated.
8988         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8989         (TEST_COND_x86): Likewise.
8990         (ccos_test_data): Use AUTO_TESTS_c_c.
8991         (ccosh_test_data): Likewise.
8992         (cexp_test_data): Likewise.
8993         (clog_test_data): Likewise.
8994         (csqrt_test_data): Likewise.
8995         (ctan_test_data): Likewise.
8996         (ctan_tonearest_test_data): Likewise.
8997         (ctan_towardzero_test_data): Likewise.
8998         (ctan_downward_test_data): Likewise.
8999         (ctan_upward_test_data): Likewise.
9000         (ctanh_test_data): Likewise.
9001         (ctanh_tonearest_test_data): Likewise.
9002         (ctanh_towardzero_test_data): Likewise.
9003         (ctanh_downward_test_data): Likewise.
9004         (ctanh_upward_test_data): Likewise.
9005         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9006         mpc_c_c.
9007         (func_calc_desc): Add mpc_c_c union field.
9008         (FUNC_mpc_c_c): New macro.
9009         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9010         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9011         ctanh.
9012         (special_fill_min_subnorm_p120): New function.
9013         (special_real_inputs): Add min_subnorm_p120.
9014         (calc_generic_results): Handle mpc_c_c.
9015         * sysdeps/i386/fpu/libm-test-ulps: Update.
9016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9017
9018 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9019
9020         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9021         (do_sin_slow): New functions.
9022         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9023         (cslow2, csloww1, csloww2): Use the new functions.
9024
9025         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9026         Use M to change sign of result instead of X.  Assume X is
9027         positive.
9028         (csloww1): Likewise.
9029         (__sin): Adjust.
9030         (__cos): Adjust.
9031
9032         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9033         arguments A and DA.
9034         (__sin): Adjust.
9035         (__cos): Likewise.
9036
9037         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9038         (__cos): Likewise.
9039         (sloww1): Don't adjust sign of DX.
9040         (csloww1): Likewise.
9041         (sloww2): Use X directly and don't adjust sign of DX.
9042         (csloww2): Likewise.
9043
9044 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9045
9046         * math/auto-libm-test-in: Add tests of cabs and carg.
9047         * math/auto-libm-test-out: Regenerated.
9048         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9049         (carg_test_data): Likewise.
9050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9051         mpc_c_f.
9052         (func_calc_desc): Add mpc_c_f union field.
9053         (test_functions): Add cabs and carg.
9054         (calc_generic_results): Handle mpc_c_f.
9055
9056         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9057         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9058         as a macro and a compat symbol.
9059         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9060         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9061         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9062         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9063         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9064         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9065         not use .hidden.
9066         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9067         Likewise.
9068         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9069         Likewise.
9070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9071         Likewise.
9072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9073         Likewise.
9074         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9075         Likewise.
9076         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9077         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9078         from GLIBC_2.3.2.
9079
9080 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9081
9082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9083
9084 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9085
9086         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9087         trailing whitespace removed.
9088         * scripts/config.guess: Update to version 2013-11-29.
9089         * scripts/config.sub: Update to version 2013-10-01.
9090
9091         * math/auto-libm-test-in: Add tests of sincos.
9092         * math/auto-libm-test-out: Regenerated.
9093         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9094         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9095         mpfr_f_11.
9096         (func_calc_desc): Add mpfr_f_11 union field.
9097         (test_functions): Add sincos.
9098         (calc_generic_results): Handle mpfr_f_11.
9099         * sysdeps/i386/fpu/libm-test-ulps: Update.
9100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9101
9102 2013-12-19  Andreas Schwab  <schwab@suse.de>
9103
9104         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9105         CALL_MCOUNT.
9106         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9107         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9108         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9109
9110 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9111
9112         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9113         * sysdeps/i386/fpu/libm-test-ulps: Update.
9114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9115
9116         [BZ #16293]
9117         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9118         round-to-nearest mode when using frndint.
9119         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9120         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9121         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9122         Likewise.
9123         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9124         sinh test to fail.
9125         * math/auto-libm-test-out: Regenerated.
9126         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9127         (TEST_COND_x86): Likewise.
9128         (expm1_tonearest_test_data): New array.
9129         (expm1_test_tonearest): New function.
9130         (expm1_towardzero_test_data): New array.
9131         (expm1_test_towardzero): New function.
9132         (expm1_downward_test_data): New array.
9133         (expm1_test_downward): New function.
9134         (expm1_upward_test_data): New array.
9135         (expm1_test_upward): New function.
9136         (main): Run the new test functions.
9137         * sysdeps/i386/fpu/libm-test-ulps: Update.
9138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9139
9140         * include/features.h: Update comment documenting feature test
9141         macros.  Mention _DEFAULT_SOURCE in comment.
9142         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9143         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9144         _BSD_SOURCE and _SVID_SOURCE.
9145         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9146         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9147         !_SVID_SOURCE]: Likewise.
9148         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9149         (__USE_POSIX_IMPLICITLY): Define.
9150         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9151         (_POSIX_SOURCE): Undefine and redefine.
9152         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9153         (_POSIX_C_SOURCE): Likewise.
9154         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9155         (Feature Test Macros): Update documentation of default features.
9156
9157 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9158
9159         * benchtests/Makefile: Add bench-strtok.
9160         * benchtests/bench-strtok.c: New file: strtok benchtest.
9161
9162 2013-12-19  Allan McRae  <allan@archlinux.org>
9163
9164         * manual/install.texi: Suppress menu for plain text output.
9165         * INSTALL: Regenerated.
9166
9167 2013-12-18  Brooks Moses  <bmoses@google.com>
9168
9169         [BZ #15846]
9170         * misc/getauxval.c: Include errno.h.
9171         (__getauxval): Set errno to ENOENT if the requested type is not
9172         found.
9173         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9174         don't declare with __attribute_const__.
9175         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9176         * manual/startup.texi: Document that getauxval sets errno.
9177
9178 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9179
9180         * math/auto-libm-test-in: Add tests of jn and yn.
9181         * math/auto-libm-test-out: Regenerated.
9182         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9183         (yn_test_data): Likewise.
9184         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9185         mpfr_if_f.
9186         (func_calc_desc): Add mpfr_if_f union field.
9187         (FUNC_mpfr_if_f): New macro.
9188         (test_functions): Add jn and yn.
9189         (calc_generic_results): Assert type of second input for
9190         mpfr_ff_f.  Handle mpfr_if_f.
9191         (output_for_one_input_case): Disable all checking for arguments
9192         fitting floating-point types in case of an integer argument.
9193         * sysdeps/i386/fpu/libm-test-ulps: Update.
9194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9195
9196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9197         Don't expect fegetround reference in libm.so.
9198
9199 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9200
9201         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9202         $(config-cflags-nofma).
9203
9204 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9205
9206         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9207         * math/auto-libm-test-out: Regenerated.
9208
9209         [BZ #16338]
9210         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9211         to determine exponent and adjust argument to have exponent of -1.
9212         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9213         log2.
9214         * math/auto-libm-test-out: Regenerated.
9215         * sysdeps/i386/fpu/libm-test-ulps: Update.
9216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9217
9218 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9219
9220         * manual/probes.texi: Remove cases when per-thread arenas are
9221         disabled.
9222
9223 2013-12-18  Andreas Schwab  <schwab@suse.de>
9224
9225         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9226         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9227         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9228         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9229         * sysdeps/i386/i686/multiarch/Makefile: Update.
9230         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9231
9232 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9233
9234         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9235         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9236
9237 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9238
9239         [BZ #15968]
9240         Support TZ transition times < 00:00:00.
9241         This is needed for version-3 tz-format files; it supports time
9242         stamps past 2037 for America/Godthab (the only entry in the tz
9243         database for which this change is relevant).
9244         * manual/time.texi (TZ Variable): Document transition times
9245         from -167:59:59 through -00:00:01.
9246         * time/tzset.c (tz_rule): Time of day is now signed.
9247         (__tzset_parse_tz): Parse negative time of day.
9248
9249         Document TZ transition times >= 25:00:00.
9250         * manual/time.texi (TZ Variable): Document transition times from
9251         25:00:00 through 167:59:59.  These are already supported, and this
9252         support will help with version-3 tz-format files.
9253
9254         * manual/time.texi (TZ Variable): Modernize North America example
9255         to reflect current (i.e., 2007-and-later) daylight saving rules.
9256
9257         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9258
9259 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9260
9261         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9262         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9264         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9265         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9266         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9267         * sysdeps/unix/bsd/clock.c: Likewise.
9268         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9269         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9270         * sysdeps/unix/bsd/init-posix.c: Likewise.
9271         * sysdeps/unix/bsd/poll.c: Likewise.
9272         * sysdeps/unix/bsd/ptsname.c: Likewise.
9273         * sysdeps/unix/bsd/seekdir.c: Likewise.
9274         * sysdeps/unix/bsd/setegid.c: Likewise.
9275         * sysdeps/unix/bsd/seteuid.c: Likewise.
9276         * sysdeps/unix/bsd/setgid.c: Likewise.
9277         * sysdeps/unix/bsd/setrgid.c: Likewise.
9278         * sysdeps/unix/bsd/setruid.c: Likewise.
9279         * sysdeps/unix/bsd/setsid.c: Likewise.
9280         * sysdeps/unix/bsd/setuid.c: Likewise.
9281         * sysdeps/unix/bsd/sigaction.c: Likewise.
9282         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9283         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9284         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9285         * sysdeps/unix/bsd/telldir.c: Likewise.
9286         * sysdeps/unix/bsd/times.c: Likewise.
9287         * sysdeps/unix/bsd/usleep.c: Likewise.
9288
9289         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9290         ($(objpfx)libbsd-compat.a): Remove rule.
9291
9292         * include/features.h (__FAVOR_BSD): Do not define.
9293         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9294         features conflicting with POSIX.
9295         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9296         (_BSD_SOURCE): Remove description of not being a subset of other
9297         feature test macros.
9298         * manual/job.texi (getpgrp): Do not document BSD version.
9299         (getpgid): Do not document by reference to BSD getpgrp.
9300         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9301         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9302         * signal/signal.h [__FAVOR_BSD]: Likewise.
9303         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9304         instead of making contents conditional on [__FAVOR_BSD].
9305         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9306
9307 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9308
9309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9310
9311 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9312
9313         [BZ #16314]
9314         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9315         values below 2**-450, not 2**-500.
9316         * math/auto-libm-test-in: Don't allow spurious underflow from
9317         hypot.
9318         * math/auto-libm-test-out: Regenerated.
9319
9320         [BZ #16316]
9321         [BZ #16330]
9322         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9323         values of ha and hb and sort them after adjusting subnormal
9324         arguments.
9325         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9326         Likewise.
9327         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9328         values of ea and eb and sort them after adjusting subnormal
9329         arguments.
9330         * math/auto-libm-test-in: Do not expect some hypot tests of
9331         subnormals to fail.  Add more hypot tests.
9332         * math/auto-libm-test-out: Regenerated.
9333
9334 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9335
9336         [BZ #13304]
9337         * sysdeps/sh/s_fma.c: New file.
9338         * sysdeps/sh/s_fmaf.c: New file.
9339         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9340         version.
9341         * sysdeps/sh/Implies: Add sh/soft-fp.
9342
9343 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9344
9345         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9346         level of indirection to members `objname', `errstring', `malloced'.
9347         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9348         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9349         it as the __longjmp argument (just pass 1 instead).
9350         (_dl_catch_error): Initialize C with argument pointers and address of
9351         volatile local ERRCODE rather than copying values out of C at return.
9352
9353 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9354
9355         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9356         * math/auto-libm-test-out: Regenerated.
9357         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9358         (hypot_test_data): Likewise.
9359         (pow_test_data): Likewise.
9360         (pow_tonearest_test_data): Likewise.
9361         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9362         mpfr_ff_f.
9363         (func_calc_desc): Add mpfr_ff_f union field.
9364         (FUNC_mpfr_ff_f): New macro.
9365         (test_functions): Add atan2, hypot and pow.
9366         (special_fill_min): New function.
9367         (special_fill_minus_min): Likewise.
9368         (special_fill_min_subnorm): Likewise.
9369         (special_fill_minus_min_subnorm): Likewise.
9370         (special_real_inputs): Add min, -min, min_subnorm and
9371         -min_subnorm.
9372         (calc_generic_results): Handle mpfr_ff_f.
9373         * sysdeps/i386/fpu/libm-test-ulps: Update.
9374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375
9376 2013-12-16  Will Newton  <will.newton@linaro.org>
9377
9378         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9379         (Aligned Memory Blocks): Add documentation for aligned_alloc
9380         and suggest it as an alternative to posix_memalign.
9381         (Hooks for Malloc): Document __memalign_hook is also called
9382         for aligned_alloc.  (Summary of Malloc): Add summary for
9383         aligned alloc.  Document __memalign_hook is also called
9384         for aligned_alloc.
9385
9386 2013-12-16  Will Newton  <will.newton@linaro.org>
9387
9388         * manual/memory.texi (Malloc Examples): Clarify default
9389         alignment documentation.  Suggest posix_memalign rather
9390         than memalign or valloc.
9391         (Aligned Memory Blocks): Remove suggestion to use memalign
9392         or valloc.  Remove obsolete comment about BSD.
9393         Document memalign errno values and mark the function obsolete.
9394         Document posix_memalign returned error codes.  Mark valloc
9395         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9396         called for posix_memalign and valloc.
9397         (Summary of Malloc): Add posix_memalign to function summary.
9398         __memalign_hook is also called for posix_memalign and valloc.
9399
9400 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9401
9402         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9403         TAYLOR_SIN.
9404         (__sin): Adjust.
9405         (__cos): Likewise.
9406         (sloww): Use mynumber union.  Expand ternary operator into
9407         if-else statements.
9408         (cslow): use mynumber union.
9409
9410 2013-12-16  Allan McRae  <allan@archlinux.org>
9411
9412         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9413         * configure: Regenerated.
9414
9415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9416
9417         [BZ #14120]
9418         * configure.ac: Added --enable-maintainer-mode. Check for
9419         autoconf when enabled.
9420         * configure: Regenerated.
9421
9422         * nscd/nscd.service: New file.
9423         * nscd/nscd.tmpfiles: New file.
9424
9425 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9426
9427         [BZ #12100]
9428         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9429         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9430         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9431         (strstr): Add __strstr_sse2_unaligned ifunc.
9432         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9433         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9434         (strcasestr): Remove __strcasestr_sse42 ifunc.
9435         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9438
9439 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9440
9441         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9442         * sysdeps/sh/bits/fenv.h: ... here.
9443         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9444
9445 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9446
9447         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9448
9449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9450         hypotf multiarch implementations.
9451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9452         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9454         multiarch hypot for PPC64.
9455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9458         multiarch hypotf for PPC64.
9459
9460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9461         modff multiarch implementations.
9462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9465         multiarch modf for PPC64.
9466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9469         multiarch modff for PPC64.
9470
9471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9472         and logl multiarch implementations.
9473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9476         multiarch logb for PPC64.
9477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9480         multiarch logb for PPC64.
9481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9484         multiarch logb for PPC64.
9485
9486         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9487         isinff multiarch implementation.
9488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9489         file.
9490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9492         multiarch isinf for PPC64.
9493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9494         file.
9495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9496         multiarch isinff for PPC64.
9497
9498         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9499         finitef multiarch implementation.
9500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9501         file.
9502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9504         multiarch finite for PPC64.
9505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9506         file.
9507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9508         multiarch finitef for PPC64.
9509
9510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9511         lrint multiarch implementation.
9512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9513         file.
9514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9516         multiarch llrint for PPC64.
9517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9518         multiarch lrint for PPC64.
9519
9520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9521         copysignf multiarch implementation.
9522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9523         file.
9524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9525         file.
9526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9527         multiarch copysign for PPC64.
9528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9529         multiarch copysignf for PPC64.
9530
9531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9532         multiarch implementation.
9533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9534         file.
9535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9536         file.
9537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9538         file.
9539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9540         file.
9541         multiarch llround for PPC64.
9542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9543         multiarch trunc for PPC64.
9544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9545         multiarch truncf for PPC64.
9546
9547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9548         multiarch implementation.
9549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9550         file.
9551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9552         file.
9553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9554         file.
9555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9556         file.
9557         multiarch llround for PPC64.
9558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9559         multiarch round for PPC64.
9560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9561         multiarch roundf for PPC64.
9562
9563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9564         multiarch implementation.
9565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9566         file.
9567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9568         file.
9569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9570         file.
9571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9572         file.
9573         multiarch llround for PPC64.
9574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9575         multiarch floor for PPC64.
9576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9577         multiarch floorf for PPC64.
9578
9579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9580         multiarch implementation.
9581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9582         file.
9583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9584         file.
9585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9586         file.
9587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9588         file.
9589         multiarch llround for PPC64.
9590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9591         multiarch ceil for PPC64.
9592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9593         multiarch ceilf for PPC64.
9594
9595         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9596         multiarch implementation.
9597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9598         file.
9599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9600         file.
9601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9602         file.
9603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9604         multiarch llround for PPC64.
9605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9606         multiarch lround for PPC64.
9607
9608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9609         multiarch implementation.
9610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9613         file.
9614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9617         multiarch isnan for PPC64.
9618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9619         multiarch isnanf for PPC64.
9620
9621         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9622         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9623         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9624         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9625         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9627
9628         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9629         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9630         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9632
9633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9634         multiarch implementations.
9635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9636         (__libc_ifunc_impl_list): Likewise.
9637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9638         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9640         multiarch stpcpy for PPC64.
9641
9642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9643         multiarch implementations.
9644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9645         (__libc_ifunc_impl_list): Likewise.
9646         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9648         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9649         multiarch strcpy for PPC64.
9650
9651         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9652         redefine function name.
9653         (_wordcopy_fwd_dest_aligned): Likewise.
9654         (_wordcopy_bwd_aligned): Likewise.
9655         (_wordcopy_bwd_dest_aligned): Likewise.
9656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9657         multiarch implementations.
9658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9659         (__libc_ifunc_impl_list): Likewise.
9660         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9661         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9664         multiarch wcscpy for PPC64.
9665
9666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9667         multiarch implementations.
9668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9669         (__libc_ifunc_impl_list): Likewise.
9670         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9671         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9674         multiarch wcscpy for PPC64.
9675
9676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9677         multiarch implementations.
9678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9679         (__libc_ifunc_impl_list): Likewise.
9680         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9681         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9682         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9684         multiarch wcsrchr for PPC64.
9685
9686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9687         multiarch implementations.
9688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9689         (__libc_ifunc_impl_list): Likewise.
9690         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9691         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9692         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9693         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9694         multiarch wcschr for PPC64.
9695
9696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9697         multiarch implementations.
9698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9699         (__libc_ifunc_impl_list): Likewise.
9700         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9701         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9702         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9703         multiarch strchrnul for PPC64.
9704
9705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9706         implementations.
9707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9708         (__libc_ifunc_impl_list): Likewise.
9709         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9710         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9711         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9712         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9713         strchr for PPC64.
9714
9715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9716         implementations.
9717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9718         (__libc_ifunc_impl_list): Likewise.
9719         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9720         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9721         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9722         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9723         strncmp for PPC64.
9724
9725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9726         multiarch implementations.
9727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9728         (__libc_ifunc_impl_list): Likewise.
9729         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9730         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9731         strncasecmp for PPC64.
9732         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9733         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9734         multiarch strncasecmp_l for PPC64.
9735
9736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9737         multiarch implementations.
9738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9739         (__libc_ifunc_impl_list): Likewise.
9740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9742         multiarch strcasecmp for PPC64.
9743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9744         file.
9745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9746         multiarch strcasecmp_l for PPC64.
9747
9748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9749         implementations.
9750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9751         (__libc_ifunc_impl_list): Likewise.
9752         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9754         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9755         strnlen for PPC64.
9756
9757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9758         implementations.
9759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9760         (__libc_ifunc_impl_list): Likewise.
9761         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9762         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9763         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9764         strlen for PPC64.
9765
9766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9767         implementations.
9768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9769         (__libc_ifunc_impl_list): Likewise.
9770         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9771         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9772         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9773         rawmemrchr for PPC64.
9774
9775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9776         implementation.
9777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9778         (__libc_ifunc_impl_list): Likewise.
9779         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9780         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9781         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9782         memrchr for PPC64.
9783
9784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9785         implementation.
9786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9787         (__libc_ifunc_impl_list): Likewise.
9788         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9789         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9790         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9791         memchr for PPC64.
9792
9793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9794         implementation.
9795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9796         (__libc_ifunc_impl_list): Likewise.
9797         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9798         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9799         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9800         mempcpy for PPC64.
9801
9802         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9803         avoid cretion of __bzero symbol.
9804         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9805         Likewise.
9806         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9807         Likewise.
9808         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9809         Likewise.
9810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9811         multiarch implementations.
9812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9813         (__libc_ifunc_impl_list): Likewise.
9814         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9815         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9816         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9817         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9818         bzero for PPC32.
9819         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9820         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9821         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9822         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9823         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9824         memset for PPC64.
9825         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9826
9827         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9829         implementations.
9830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9831         (__libc_ifunc_impl_list): Likewise.
9832         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9833         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9834         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9835         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9836         memcmp for PPC64.
9837
9838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9839         multiarch for POWER/PPC64.
9840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9841         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9848         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9849         memcpy for PPC64.
9850
9851         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9852         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9853         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9854         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9855         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9856         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9857         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9858         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9859         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9860         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9861         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9862         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9863         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9864         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9865         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9873
9874 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9875
9876         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9877
9878 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9879
9880         * benchtests/Makefile (bench): Add exp2 and log2.
9881         (LDLIBS-bench-exp2): Add -lm.
9882         (LDLIBS-bench-log2): Likewise.
9883         * benchtests/exp2-inputs: New inputs file.
9884         * benchtests/log2-inputs: New inputs file.
9885         * benchtests/log-inputs: Add new inputs.
9886         * benchtests/tan-inputs: Likewise.
9887
9888 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9889
9890         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9891         definition...
9892         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9893         (csloww2): ... from here.
9894
9895         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9896         instead of structures.
9897         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9898         (POLYNOMIAL): Likewise.
9899         (TAYLOR_SLOW): Likewise.
9900         (__sin): Likewise.
9901         (__cos): Likewise.
9902         (slow1): Likewise.
9903         (slow2): Likewise.
9904         (sloww): Likewise.
9905         (sloww1); Likewise.
9906         (sloww2): Likewise.
9907         (bsloww1): Likewise.
9908         (bsloww2): Likewise.
9909         (cslow2): Likewise.
9910         (csloww): Likewise.
9911         (csloww1): Likewise.
9912         (csloww2): Likewise.
9913
9914 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9915
9916         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9917         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9918         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9919         * malloc/hooks.c (realloc_check): Likewise.
9920
9921         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9922         * malloc/arena.c: Remove PER_THREAD conditional.
9923         [!PER_THREAD]: Remove code.
9924         (ptmalloc_unlock_all2): Likewise.
9925         (ptmalloc_init): Likewise.
9926         (_int_new_arena): Likewise.
9927         (arena_get2): Likewise.
9928         * malloc/hooks.c (__malloc_get_state): Likewise.
9929         (__malloc_set_state): Likewise.
9930         * malloc/malloc.c: Likewise.
9931         (struct malloc_state): Likewise.
9932         (struct malloc_par): Likewise.
9933         (__libc_realloc): Likewise.
9934         (__libc_mallopt): Likewise.
9935
9936 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9937
9938         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9939
9940 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9941
9942         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9943         macro to a function.  Check for zero perturb_byte.
9944         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9945
9946         * malloc/malloc.c: (force_reg): Remove.
9947         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9948         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9949         force_reg by atomic_forced_read.
9950         * malloc/arena.c (ptmalloc_init): Likewise.
9951         * malloc/hooks.c (top_check): Likewise.
9952
9953 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9954
9955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9956
9957 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9958
9959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9960
9961 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9962
9963         * math/auto-libm-test-in: Add tests of lgamma.
9964         * math/auto-libm-test-out: Regenerated.
9965         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9966         (M_LOG_2_SQRT_PIl): Likewise.
9967         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9968         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9969         mpfr_f_f1.
9970         (func_calc_desc): Add mpfr_f_f1 union field.
9971         (ARGS1): New macro.
9972         (ARGS2): Likewise.
9973         (ARGS3): Likewise.
9974         (ARGS4): Likewise.
9975         (RET1): Likewise.
9976         (RET2): Likewise.
9977         (CALC): Likewise.
9978         (FUNC): Likewise.
9979         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9980         (test_functions): Add lgamma.
9981         (calc_generic_results): Handle mpfr_f_f1.
9982         * sysdeps/i386/fpu/libm-test-ulps: Update.
9983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984
9985 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9986
9987         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9988         __mpn_add_n for PowerPC64/POWER7.
9989         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9990         __mpn_sub_n for PowerPC64/POWER7.
9991
9992         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9993         __mpn_addmul_1 for PowerPC64.
9994         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9995         __mpn_submul_1 for PowerPC64.
9996         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9997         for PowerPC64.
9998         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9999         for PowerPC64.
10000
10001 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10002
10003         [BZ #15089]
10004         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10005
10006 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10007
10008         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10009
10010         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10011         add multiarch folders.
10012         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10013         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10014         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10015         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10016         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10017         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10018         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10019         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10020         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10021         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10022         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10029
10030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10031         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10033         New file.
10034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10035         New file.
10036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10037         multiarch __ieee754_hypot for PowerPC32.
10038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10039         New file.
10040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10041         New file.
10042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10043         multiarch __ieee754_hypotf for PowerPC32.
10044
10045         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10046         long_double_symbol only if __logbl is defined.
10047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10048         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10050         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10052         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10054         path for implementation.
10055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10058         logb, and logbl multiarch implementations for PowerPC32.
10059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10060         file.
10061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10062         file.
10063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10064         multiarch logb for PowerPC32.
10065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10066         file.
10067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10068         file.
10069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10070         multiarch logbf for PowerPC32.
10071         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10073         file.
10074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10075         multiarch logbl implementation for PowerPC32.
10076
10077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10078         and modff multiarch implementations.
10079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10080         New file.
10081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10082         New file.
10083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10084         multiarch modf for PowerPC32.
10085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10086         New file.
10087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10088         New file.
10089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10090         multiarch modff for PowerPC32.
10091
10092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10093         and lrintf multiarch implementations.
10094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10095         New file.
10096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10097         New file.
10098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10099         multiarch lrint for PowerPC32.
10100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10101         file: multiarch lrintf for PowerPC32.
10102
10103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10104         and lroundf multiarch implementations.
10105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10106         New file.
10107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10108         New file.
10109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10110         New file.
10111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10112         multiarch lround for PowerPC32.
10113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10114         file: multiarch lroundf for PowerPC32.
10115
10116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10117         copysign and copysignf multiarch implementations.
10118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10119         New file.
10120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10121         New file.
10122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10123         file: multiarch copysign for PowerPC32.
10124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10125         file: multiarch copysignf for PowerPC32.
10126
10127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10128         and truncf multiarch implementations.
10129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10130         New file.
10131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10132         file.
10133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10134         multiarch trunc for PowerPC32.
10135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10136         New file.
10137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10138         New file.
10139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10140         multiarch truncf for PowerPC32.
10141
10142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10143         and roundf multiarch implementations.
10144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10145         New file.
10146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10147         file.
10148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10149         multiarch round for PowerPC32.
10150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10151         New file.
10152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10153         New file.
10154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10155         multiarch roundf for PowerPC32.
10156
10157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10158         and floorf multiarch implementations.
10159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10160         New file.
10161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10162         file.
10163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10164         multiarch floor for PowerPC32.
10165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10166         New file.
10167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10168         New file.
10169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10170         multiarch floorf for PowerPC32.
10171
10172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10173         and ceilf multiarch implementations.
10174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10175         New file.
10176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10177         file.
10178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10179         multiarch ceil for PowerPC32.
10180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10181         New file.
10182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10183         file.
10184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10185         multiarch ceilf for PowerPC32.
10186
10187         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10188         is defined.
10189         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10190         FINITEF is defined.
10191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10192         and finitef multiarch implementations.
10193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10194         New file.
10195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10196         file.
10197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10198         multiarch finite for PowerPC32.
10199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10200         New file.
10201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10202         file: multiarch finitef for PowerPC32.
10203
10204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10205         and isinff multiarch implementations.
10206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10207         file.
10208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10209         file.
10210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10211         multiarch isinf for PowerPC32.
10212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10213         New file.
10214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10215         multiarch isinff for PowerPC32.
10216
10217         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10218         alias when __isnan is defined.
10219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10220         and isnanf multiarch implementations.
10221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10222         file.
10223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10224         file.
10225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10226         file.
10227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10228         file.
10229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10230         multiarch isnan for PowerPC32.
10231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10232         New file.
10233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10234         New file.
10235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10236         multiarch isnanf for PowerPC32.
10237
10238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10239         and sqrtf multiarch implementations.
10240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10241         file.
10242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10243         file.
10244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10245         multiarch sqrt for PowerPC32.
10246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10247         file.
10248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10249         file.
10250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10251         multiarch sqrtf for PowerPC32.
10252
10253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10254         and llroundf multiarch implementations.
10255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10256         New file.
10257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10258         New file.
10259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10260         New file.
10261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10262         file: multiarch llround for PowerPC32.
10263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10264         file: multiarch llroundf for PowerPC32.
10265
10266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10267         multiarch PowerPC32 fpu implementations.
10268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10269         New file.
10270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10271         New file.
10272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10273         multiarch llrint for PowerPC32.
10274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10275         New file.
10276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10277         New file.
10278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10279         file.
10280
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10282
10283         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10284         file.
10285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10286         file.
10287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10288         file.
10289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10290         multiarch wordcopy for PPC32.
10291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10292         wordcopy objects.
10293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10294         (__libc_ifunc_impl_list): Likewise.
10295         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10296         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10297         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10298         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10299         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10300         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10301
10302         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10304         file.
10305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10306         file.
10307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10308         file.
10309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10310         multiarch wcscpy for PPC32.
10311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10312         multiarch objects.
10313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10314         (__libc_ifunc_impl_list): Likewise.
10315         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10316         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10317         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10318         sysdeps/powerpc/power6/wcscpy.c.
10319
10320         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10321         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10322         file.
10323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10324         file.
10325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10326         file.
10327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10328         multiarch wcsrchr for PPC32.
10329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10330         multiarch objects.
10331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10332         (__libc_ifunc_impl_list): Likewise.
10333         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10334         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10335         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10336         sysdeps/powerpc/power6/wcsrchr.c.
10337
10338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10339         file.
10340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10341         file.
10342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10344         multiarch wcschr for PPc32.
10345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10346         multiarch objects.
10347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10348         (__libc_ifunc_impl_list): Likewise.
10349         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10350         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10351         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10352         sysdeps/powerpc/power6/wcschr.c.
10353
10354         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10355         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10356         file.
10357         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10358         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10359         file: multiarch strchr for PPC32.
10360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10361         multiarch objects.
10362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10363         (__libc_ifunc_impl_list): Likewise.
10364
10365         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10366         name.
10367         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10368         file.
10369         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10370         file.
10371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10372         multiarch strchrnul for PPC32.
10373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10374         multiarch objects.
10375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10376         (__libc_ifunc_impl_list): Likewise.
10377
10378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10379         file.
10380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10381         multiarch strncasecmp for PPC32.
10382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10383         file.
10384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10385         multiarch strncasecmp_l for PPC32.
10386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10387         strncasecmp multiarch objects.
10388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10389         (__libc_ifunc_impl_list): Likewise.
10390
10391         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10392         file.
10393         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10394         multiarch strncasecmp for PPC32.
10395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10396         New file.
10397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10398         multiarch strcasecmp_l for PPC32.
10399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10400         multiarch objects.
10401         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10402         (__libc_ifunc_impl_list): Likewise.
10403
10404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10405         file.
10406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10407         file.
10408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10409         multiarch strncmp for PPC32.
10410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10411         multiarch objects.
10412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10413         (__libc_ifunc_impl_list): Likewise.
10414
10415         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10416         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10417         file.
10418         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10419         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10421         multiarch objects.
10422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10423         (__libc_ifunc_impl_list): Likewise.
10424
10425         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10426         file.
10427         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10428         file.
10429         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10431         multiarch objects.
10432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10433         (__libc_ifunc_impl_list): Likewise.
10434
10435         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10436         file.
10437         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10438         file.
10439         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10440         multiarch rawmemchr for PPC32.
10441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10442         multiarch objects.
10443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10444         (__libc_ifunc_impl_list): Likewise.
10445
10446         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10447         file.
10448         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10449         file.
10450         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10451         file: memrchr multiarch for PPC32.
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10453         multiarch objects.
10454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10455         (__libc_ifunc_impl_list): Likewise.
10456
10457         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10459         file.
10460         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10462         multiarch memchr for PPC32.
10463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10464         multiarch objects.
10465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10466         (__libc_ifunc_impl_list): Likewise.
10467
10468         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10469         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10470         file.
10471         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10472         file.
10473         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10474         file: multiarch mempcpy for PPC32.
10475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10476         multiarch objects.
10477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10478         (__libc_ifunc_impl_list): Likewise.
10479
10480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10484         multiarch bzero for PPC32.
10485         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10486         file.
10487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10488         file.
10489         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10490         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10491         file: multiarch memset for PPC32.
10492         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10494         memset multiarch objects.
10495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10496         (__libc_ifunc_impl_list): Likewise.
10497
10498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10499         file.
10500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10502         memcmp for PPC32.
10503         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10505         multiarch objects.
10506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10507         (__libc_ifunc_impl_list): Likewise.
10508
10509         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10510         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10512         file.
10513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10514         file.
10515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10516         file.
10517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10518         multiarch memcpy for PPC32.
10519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10520         multiarch objects.
10521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10522         (__libc_ifunc_impl_list): Likewise.
10523
10524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10525         support multiarch for POWER/PPC32.
10526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10527         Likewise.
10528         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10530         Implies file to make multiarch folder appers before the fpu and
10531         default folder for power4 configuration.
10532
10533 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10534
10535         * scripts/bench.pl: Append volatile keyword to type.
10536
10537 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10538
10539         * sysdeps/sh/sotruss-lib.c: New file.
10540         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10541
10542 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10543
10544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10545
10546 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10547
10548         [BZ #6810]
10549         * math/w_tgamma.c: Include <errno.h>.
10550         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10551         * math/w_tgammaf.c: Include <errno.h>.
10552         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10553         * math/w_tgammal.c: Include <errno.h>.
10554         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10555         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10556         underflow.  Add more tgamma tests.
10557         * math/auto-libm-test-out: Regenerated.
10558         * sysdeps/i386/fpu/libm-test-ulps: Update.
10559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10560
10561         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10562         sin, sinh, tan, tanh, tgamma, y0 and y1.
10563         * math/auto-libm-test-out: Regenerated.
10564         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10565         (TEST_COND_x86): Likewise.
10566         (M_E2l): Remove macro.
10567         (M_E3l): Likewise.
10568         (M_2_SQRT_PIl): Likewise.
10569         (M_SQRT_PIl): Likewise.
10570         (M_1_DIV_El): Likewise.
10571         (log_test_data): Use AUTO_TESTS_f_f.
10572         (log10_test_data): Likewise.
10573         (log1p_test_data): Likewise.
10574         (log2_test_data): Likewise.
10575         (sin_test_data): Likewise.
10576         (sin_tonearest_test_data): Likewise.
10577         (sin_towardzero_test_data): Likewise.
10578         (sin_downward_test_data): Likewise.
10579         (sin_upward_test_data): Likewise.
10580         (sinh_test_data): Likewise.
10581         (sinh_tonearest_test_data): Likewise.
10582         (sinh_towardzero_test_data): Likewise.
10583         (sinh_downward_test_data): Likewise.
10584         (sinh_upward_test_data): Likewise.
10585         (tan_test_data): Likewise.
10586         (tan_tonearest_test_data): Likewise.
10587         (tan_towardzero_test_data): Likewise.
10588         (tan_downward_test_data): Likewise.
10589         (tan_upward_test_data): Likewise.
10590         (tanh_test_data): Likewise.
10591         (tgamma_test_data): Likewise.
10592         (y0_test_data): Likewise.
10593         (y1_test_data): Likewise.
10594         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10595         (special_real_inputs): Add pi/4.
10596         * sysdeps/i386/fpu/libm-test-ulps: Update.
10597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10598
10599 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10600
10601         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10602         "longjmp_target" static probes.
10603         (__longjmp): Rename to __longjmp_symbol.
10604         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10605         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10606         on which longjmp to generate.
10607         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10608         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10609         probe.
10610         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10611         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10612         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10614         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10617         __longjmp_symbol based on which __longjmp to generate.
10618         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10619         probe.
10620         (setjmp): Rename to setjmp_symbol.
10621         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10622         (_setjmp): Rename to _setjmp_symbol.
10623         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10624         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10625         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10626         which setjmp to generate.
10627         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10628         "longjmp_target" static probes.
10629
10630 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10631
10632         * benchtests/README: Add note about output arguments.
10633         * benchtests/bench-sincos.c: Remove file.
10634         * benchtests/sincos-inputs: New file.
10635         * scripts/bench.pl: Identify output arguments and define
10636         static variables for them.
10637
10638         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10639
10640         [BZ #15941]
10641         * Makefile (INSTALL): Add install-plain.texi as the primary
10642         dependency.
10643         * manual/install-plain.texi: New file.
10644         * manual/install.texi: Include node directive only for
10645         non-plaintext output.
10646
10647 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10648
10649         * stdlib/longlong.h: Update from GCC.
10650
10651         [BZ #6807]
10652         [BZ #15901]
10653         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10654         * math/w_j0f.c (y0f): Likewise.
10655         * math/w_j0l.c (__y0l): Likewise.
10656         * math/w_j1.c (y1): Likewise.
10657         * math/w_j1f.c (y1f): Likewise.
10658         * math/w_j1l.c (__y1l): Likewise
10659         * math/w_jn.c (yn): Likewise.
10660         * math/w_jnf.c (ynf): Likewise.
10661         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10662         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10663         value for Bessel function domain errors outside _SVID_ mode.
10664         Adjust sign of return value for yn (negative integer, 0).
10665         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10666         by zero in return for negative x and set sign appropriately for
10667         negative n.
10668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10669         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10670         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10671         expectations in error cases.
10672         (y1_test_data): Likewise.
10673         (yn_test_data): Likewise.
10674         * sysdeps/i386/fpu/libm-test-ulps: Update.
10675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10676
10677 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10678
10679         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10680         "64" to "64-v1".  Add "64-v2".
10681         (abi-64-options): Rename to ...
10682         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10683         (abi-64-condition): Rename to ...
10684         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10685         (abi-64-ld-soname): Rename to ...
10686         (abi-64-v1-ld-soname): ... this.
10687         (abi-64-v2-options): Define.
10688         (abi-64-v2-condition): Likewise.
10689         (abi-64-v2-ld-soname): Likewise.
10690         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10691         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10695
10696 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10697             Alan Modra  <amodra@gmail.com>
10698
10699         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10700         New versions for use with the ELFv2 ABI.
10701         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10702         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10703         declaration.
10704         (struct La_ppc64v2_retval): Likewise.
10705         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10706         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10707         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10708         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10709         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10710         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10711         Do not save or restore CR.
10712         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10713         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10714         return values for ELFv2 ABI.  Fix location of FPR return registers.
10715         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10716         updated values for _CALL_ELF == 2.
10717         (La_regs, La_retval, int_retval): Likewise.
10718
10719 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10720
10721         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10722         (FRAME_MIN_SIZE_PARM): Likewise.
10723         (FRAME_BACKCHAIN): Likewise.
10724         (FRAME_CR_SAVE): Likewise.
10725         (FRAME_LR_SAVE): Likewise.
10726         (FRAME_TOC_SAVE): Likewise.
10727         (FRAME_PARM_SAVE): Likewise.
10728         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10729         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10730         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10731         (call_mcount_parm_offset): New macro.
10732         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10733         (PROF): Use symbolic stack frame offsets.
10734         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10735         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10736         Redefine in terms of FRAME_MIN_SIZE.
10737         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10738         (_dl_profile_resolve): Likewise.  Update comment.
10739         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10740         symbols stack frame offsets.
10741         (__sigsetjmp): Likewise.
10742         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10743         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10744         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10745         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10746
10747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10748         (FRAME_BACKCHAIN): Remove.
10749         (FRAME_CR_SAVE): Likewise.
10750         (FRAME_LR_SAVE): Likewise.
10751         (FRAME_COMPILER_DW): Likewise.
10752         (FRAME_LINKER_DW): Likewise.
10753         (FRAME_TOC_SAVE): Likewise.
10754         (FRAME_PARM_SAVE): Likewise.
10755         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10756         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10757         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10759         (CHECK_SP): Use symbolic stack frame offsets.
10760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10761         zone" instead of caller's parameter save area for temp storage.
10762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10763         Likewise.  Also, use symbolic stack frame offsets.
10764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10765         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10766         our own stack frame instead of the caller's.
10767         (__socket): Use symbolic stack frame offsets.
10768
10769 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10770             Alan Modra  <amodra@gmail.com>
10771
10772         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10773         Define.
10774         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10775         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10776         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10777         New function.
10778         (elf_machine_fixup_plt): Call it.
10779         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10780         reloc arguments.
10781         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10782         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10783         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10784         r2 before calling target.
10785
10786 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10787             Alan Modra  <amodra@gmail.com>
10788
10789         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10790         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10791         versions of macros to support ELFv2 ABI.
10792         (LOCALENTRY): New macro.
10793         (ENTRY, EALIGN): Use it.
10794         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10795         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10796         fall through into ENTRY entry point.
10797         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10798         Only define if _CALL_ELF != 2.
10799
10800         (elf_machine_matches_host): Verify ABI version matches.
10801         (RTLD_START): Use LOCALENTRY.
10802         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10803         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10804         (PLT_ENTRY_WORDS): New macro.
10805         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10806         (elf_machine_runtime_setup): Support ELFv2 ABI.
10807         (elf_machine_fixup_plt): Likewise.
10808         (elf_machine_plt_conflict): Likewise.
10809         (resolve_ifunc): Likewise.
10810         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10814         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10816         (makecontext): Support ELFv2 ABI.
10817         * elf/elf.h (EF_PPC64_ABI): Define.
10818
10819 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10820
10821         * sysdeps/powerpc/powerpc64/sysdep.h
10822         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10823         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10824         (ENTRY) [ASSEMBLER]: ... but instead here ...
10825         (EALIGN) [ASSEMBLER]: ... and here.
10826         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10827         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10828         (ENTRY_2) [!ASSEMBLER]: Use it.
10829         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10830         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10831         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10832         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10833         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10835         Use PPC64_LOAD_FUNCPTR.
10836
10837         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10838
10839 2013-12-04  Alan Modra  <amodra@gmail.com>
10840
10841         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10842         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10843         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10844         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10845
10846         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10847         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10848         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10849         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10850         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10851         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10852
10853 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10854
10855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10856         (__makecontext): Fix incorrect CFI when backtracing out of
10857         context created via makecontext.
10858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10859         (__setcontext): Fix incorrect CFI during switch to new context.
10860         (__novec_setcontext): Likewise.
10861
10862 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10863
10864         [BZ #4772]
10865         * time/strptime_l.c (__strptime_internal): Allow modifiers
10866         in strptime.
10867         * time/tst-strptime.c (day_tests): Add testcase.
10868
10869 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10870
10871         * scripts/bench.pl: Skip over blank lines.
10872
10873 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10874
10875         [BZ #926]
10876         * manual/time.texi (Calendar Time): Clarify what timezone functions
10877         use.
10878
10879 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10880
10881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10882
10883 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10884
10885         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10886         implementation.
10887         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10888         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10889         * debug/memset_chk.c (__memset_chk): Likewise.
10890         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10891         * debug/strncpy_chk.c: Likewise.
10892
10893 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10894
10895         [BZ #15268]
10896         [BZ #15425]
10897         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10898         (__ieee754_exp): For possibly underflowing results, check size of
10899         result and force underflow exception if required.
10900         * math/auto-libm-test-in: Add more tests of exp.
10901         * math/auto-libm-test-out: Regenerated.
10902         * sysdeps/i386/fpu/libm-test-ulps: Update.
10903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10904
10905         [BZ #16283]
10906         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10907         * math/w_exp2f.c (__exp2f): Likewise.
10908         * math/w_exp2l.c (__exp2l): Likewise.
10909         * math/auto-libm-test-in: Do not allow missing errno on exp2
10910         underflow.
10911         * math/auto-libm-test-out: Regenerated.
10912
10913 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10914
10915         [BZ #16274]
10916         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10917         handle filename validation.
10918         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10919         (do_open): Delete.
10920
10921 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10922
10923         [BZ #6786]
10924         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10925         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10926         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10927         <float.h>.
10928         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10929         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10930         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10931         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10932         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10933         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10934         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10935         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10936         Add more erfc tests.
10937         * math/auto-libm-test-out: Regenerated.
10938         * sysdeps/i386/fpu/libm-test-ulps: Update.
10939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10940
10941         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10942         exp2, expm1, j0 and j1.
10943         * math/auto-libm-test-out: Regenerated.
10944         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10945         (erfc_test_data): Likewise.
10946         (exp_test_data): Likewise.
10947         (exp_tonearest_test_data): Likewise.
10948         (exp_towardzero_test_data): Likewise.
10949         (exp_downward_test_data): Likewise.
10950         (exp_upward_test_data): Likewise.
10951         (exp10_test_data): Likewise.
10952         (exp2_test_data): Likewise.
10953         (expm1_test_data): Likewise.
10954         (j0_test_data): Likewise.
10955         (j1_test_data): Likewise.
10956         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10957         (input_flag_type): Add flag_xfail_rounding.
10958         (input_flags): Add xfail-rounding.
10959         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10960         (output_for_one_input_case): Handle flag_xfail_rounding.
10961         * sysdeps/i386/fpu/libm-test-ulps: Update.
10962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10963
10964 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10965
10966         [BZ #16289]
10967         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10968         division by 0.
10969
10970 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10971
10972         [BZ #16195]
10973         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10974         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10975         (STAP_PROBE0): New macro.
10976         (STAP_PROBE1): Likewise.
10977         (STAP_PROBE2): Likewise.
10978         (STAP_PROBE3): Likewise.
10979         (STAP_PROBE4): Likewise.
10980
10981 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10982
10983         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10984
10985 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10986
10987         * benchtests/Makefile (bench): Add sqrt.
10988         (LDLIBS-bench-sqrt): New.
10989         * benchtests/sqrt-input: New.
10990
10991 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10992
10993         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10994         (GAIH_EAI): Likewise.
10995         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10996         (gaih_inet): Likewise.
10997         (getaddrinfo): Don't use GAIH_EAI.
10998
10999         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11000         (struct gaih): Remove definition.
11001
11002 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11003
11004         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11005         Use HERRNOP directly.
11006
11007 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11008
11009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11010
11011 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11012
11013         * math/gen-auto-libm-tests.c (test_functions): Add more
11014         single-argument functions.
11015         (special_fill_pi_2): New function.
11016         (special_fill_minus_pi_2): Likewise.
11017         (special_fill_pi_6): Likewise.
11018         (special_fill_minus_pi_6): Likewise.
11019         (special_fill_pi_3): Likewise.
11020         (special_fill_2pi_3): Likewise.
11021         (special_fill_e): Likewise.
11022         (special_fill_1_e): Likewise.
11023         (special_fill_e_minus_1): Likewise.
11024         (special_real_inputs): Add more special inputs.
11025         (output_for_one_input_case): Do not require ERANGE on underflow to
11026         zero if round-to-nearest result does not underflow to zero, unless
11027         exact results required.
11028         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11029         atan, atanh, cbrt, cos and cosh.
11030         * math/auto-libm-test-out: Regenerated.
11031         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11032         (acos_tonearest_test_data): Likewise.
11033         (acos_towardzero_test_data): Likewise.
11034         (acos_downward_test_data): Likewise.
11035         (acos_upward_test_data): Likewise.
11036         (acosh_test_data): Likewise.
11037         (asin_test_data): Likewise.
11038         (asin_tonearest_test_data): Likewise.
11039         (asin_towardzero_test_data): Likewise.
11040         (asin_upward_test_data): Likewise.
11041         (asinh_test_data): Likewise.
11042         (atan_test_data): Likewise.
11043         (atanh_test_data): Likewise.
11044         (cbrt_test_data): Likewise.
11045         (cos_test_data): Likewise.
11046         (cos_tonearest_test_data): Likewise.
11047         (cos_towardzero_test_data): Likewise.
11048         (cos_downward_test_data): Likewise.
11049         (cos_upward_test_data): Likewise.
11050         (cosh_test_data): Likewise.
11051         (cosh_tonearest_test_data): Likewise.
11052         (cosh_towardzero_test_data): Likewise.
11053         (cosh_downward_test_data): Likewise.
11054         (cosh_upward_test_data): Likewise.
11055         * sysdeps/i386/fpu/libm-test-ulps: Update.
11056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11057
11058 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11059
11060         [BZ #6787]
11061         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11062         * math/w_exp10f.c (__exp10f): Likewise.
11063         * math/w_exp10l.c (__exp10l): Likewise.
11064         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11065         errno settings in existing tests.
11066
11067         [BZ #14032]
11068         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11069         precision control set to double precision.
11070         * sysdeps/i386/fpu/w_sqrt.c: New file.
11071         * math/auto-libm-test-in: Add more tests.
11072         * math/auto-libm-test-out: Update.
11073
11074         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11075         (sqrt_test_tonearest): New function.
11076         (sqrt_towardzero_test_data): New variable.
11077         (sqrt_test_towardzero): New function.
11078         (sqrt_downward_test_data): New variable.
11079         (sqrt_test_downward): New function.
11080         (sqrt_upward_test_data): New variable.
11081         (sqrt_test_upward): New function.
11082         (main): Call the new functions.
11083
11084         * math/gen-auto-libm-tests.c: New file.
11085         * math/auto-libm-test-in: Likewise.
11086         * math/auto-libm-test-out: New generated file.
11087         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11088         variables.
11089         (%beautify): Add generated representations of zero.
11090         (top level): Set $auto_input and call parse_auto_input.
11091         (beautify): Remove trailing "f" from hex float constants.
11092         (parse_args): Handle XFAIL_TEST.
11093         (convert_condition): New function.
11094         (or_value): Likewise.
11095         (or_cond_value): Likewise.
11096         (generate_testfile): Handle AUTO_TESTS_* lines.
11097         (parse_auto_input): New function.
11098         * math/libm-test.inc (XFAIL_TEST): New macro.
11099         (ERRNO_UNCHANGED): Update value.
11100         (ERRNO_EDOM): Likewise.
11101         (ERRNO_ERANGE): Likewise.
11102         (IGNORE_RESULT): Likewise.
11103         (TEST_COND_flt_32): New macro.
11104         (TEST_COND_dbl_64): Likewise.
11105         (TEST_COND_ldbl_96_intel): Likewise.
11106         (TEST_COND_ldbl_96_m68k): Likewise.
11107         (TEST_COND_ldbl_128): Likewise.
11108         (TEST_COND_ldbl_128ibm): Likewise.
11109         (TEST_COND_long32): Likewise.
11110         (TEST_COND_long64): Likewise.
11111         (TEST_COND_before_rounding): Likewise.
11112         (TEST_COND_after_rounding): Likewise.
11113         (enable_test): Handle XFAIL_TEST flag.
11114         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11115         with finite results.
11116         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11117         auto-libm-test-out.
11118
11119 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11120             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11121
11122         [BZ #16214]
11123         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11124         __tls_get_addr_internal instead of __tls_get_offset in order to
11125         avoid GOT pointer dependency.  Make rtld export
11126         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11127         __tls_get_addr since we are a __tls_get_offset platform.
11128         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11129         GOT pointer being set up before.
11130         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11131
11132 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11133
11134         * manual/math.texi (Errors in Math Functions): Document accuracy
11135         goals.
11136
11137         [BZ #15004]
11138         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11139         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11140         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11141         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11142         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11143         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11144         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11145         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11146         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11147         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11148         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11149         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11150         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11151         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11152         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11153         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11154
11155         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11156         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11157         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11158         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11159         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11160         Likewise.
11161         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11162         Likewise.
11163         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11164         Likewise.
11165         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11166         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11167         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11168         atomic-feupdateenv and flt-rounds.
11169         * sysdeps/powerpc/nofpu/Versions (libc): Add
11170         __atomic_feholdexcept, __atomic_feclearexcept,
11171         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11172         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11173         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11174         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11175         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11176         here.
11177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11178         Update.
11179
11180         * manual/arith.texi (FP Exceptions): Document that exceptions may
11181         not be raised when matherr is used.
11182         (Math Error Reporting): Document overflow in directed rounding
11183         modes.  Document that errno may not be set when finite values are
11184         returned on overflow.  Document intent to set errno on underflow
11185         only for underflow to zero.
11186
11187         [BZ #16271]
11188         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11189         round-to-nearest then adjust result for other rounding modes.
11190         * include/fenv.h (fegetround): Use libm_hidden_proto.
11191         * math/fegetround.c (fegetround): Use libm_hidden_def.
11192         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11193         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11194         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11195         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11196         Likewise.
11197         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11198         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11199         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11200         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11201
11202 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11203
11204         [BZ #16077]
11205         * nss/Versions (libnss_files): Add
11206         _nss_files_gethostbyname3_r.
11207         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11208         New function.
11209         (HOST_DB_LOOKUP): Remove macro.
11210         (_nss_files_gethostbyname_r): Implement function without the
11211         HOST_DB_LOOKUP macro.
11212         (_nss_files_gethostbyname2_r): Likewise.
11213
11214 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11215
11216         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11217
11218 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11219
11220         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11221         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11222         warning.
11223
11224 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11225
11226         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11227         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11228         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11229         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11230         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11231         __fe_nomask_env_priv and attribute_hidden.
11232         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11233         (libc_feupdateenv_test_ppc): Likewise.
11234         (libc_feresetround_ppc): Likewise.
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11236         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11237         compat_symbol macro.
11238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11239         (__fe_nomask_env): Likewise.
11240         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11241
11242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11243
11244         * string/Makefile: Remove ifunc tests.
11245         * string/test-string.h: Define TEST_IFUNC.
11246         * string/test-bcopy-ifunc.c: Remove.
11247         * string/test-bzero-ifunc.c: Likewise.
11248         * string/test-memccpy-ifunc.c: Likewise.
11249         * string/test-memchr-ifunc.c: Likewise.
11250         * string/test-memcmp-ifunc.c: Likewise.
11251         * string/test-memcpy-ifunc.c: Likewise.
11252         * string/test-memmem-ifunc.c: Likewise.
11253         * string/test-memmove-ifunc.c: Likewise.
11254         * string/test-mempcpy-ifunc.c: Likewise.
11255         * string/test-memrchr-ifunc.c: Likewise.
11256         * string/test-memset-ifunc.c: Likewise.
11257         * string/test-rawmemchr-ifunc.c: Likewise.
11258         * string/test-stpcpy-ifunc.c: Likewise.
11259         * string/test-stpncpy-ifunc.c: Likewise.
11260         * string/test-strcasecmp-ifunc.c: Likewise.
11261         * string/test-strcasestr-ifunc.c: Likewise.
11262         * string/test-strcat-ifunc.c: Likewise.
11263         * string/test-strchr-ifunc.c: Likewise.
11264         * string/test-strchrnul-ifunc.c: Likewise.
11265         * string/test-strcmp-ifunc.c: Likewise.
11266         * string/test-strcpy-ifunc.c: Likewise.
11267         * string/test-strcspn-ifunc.c: Likewise.
11268         * string/test-strlen-ifunc.c: Likewise.
11269         * string/test-strncasecmp-ifunc.c: Likewise.
11270         * string/test-strncat-ifunc.c: Likewise.
11271         * string/test-strncmp-ifunc.c: Likewise.
11272         * string/test-strncpy-ifunc.c: Likewise.
11273         * string/test-strnlen-ifunc.c: Likewise.
11274         * string/test-strpbrk-ifunc.c: Likewise.
11275         * string/test-strrchr-ifunc.c: Likewise.
11276         * string/test-strspn-ifunc.c: Likewise.
11277         * string/test-strstr-ifunc.c: Likewise.
11278
11279 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11280
11281         * benchtests/Makefile: Remove ifunc tests.
11282         * benchtests/bench-string.h: Define TEST_IFUNC.
11283         * benchtests/bench-bcopy-ifunc.c: Remove.
11284         * benchtests/bench-bzero-ifunc.c: Likewise.
11285         * benchtests/bench-memccpy-ifunc.c: Likewise.
11286         * benchtests/bench-memchr-ifunc.c: Likewise.
11287         * benchtests/bench-memcmp-ifunc.c: Likewise.
11288         * benchtests/bench-memcpy-ifunc.c: Likewise.
11289         * benchtests/bench-memmem-ifunc.c: Likewise.
11290         * benchtests/bench-memmove-ifunc.c: Likewise.
11291         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11292         * benchtests/bench-memrchr-ifunc.c: Likewise.
11293         * benchtests/bench-memset-ifunc.c: Likewise.
11294         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11295         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11296         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11297         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11298         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11299         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11300         * benchtests/bench-strcat-ifunc.c: Likewise.
11301         * benchtests/bench-strchr-ifunc.c: Likewise.
11302         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11303         * benchtests/bench-strcmp-ifunc.c: Likewise.
11304         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11305         * benchtests/bench-strcpy-ifunc.c: Likewise.
11306         * benchtests/bench-strcspn-ifunc.c: Likewise.
11307         * benchtests/bench-strlen-ifunc.c: Likewise.
11308         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11309         * benchtests/bench-strncat-ifunc.c: Likewise.
11310         * benchtests/bench-strncmp-ifunc.c: Likewise.
11311         * benchtests/bench-strncpy-ifunc.c: Likewise.
11312         * benchtests/bench-strnlen-ifunc.c: Likewise.
11313         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11314         * benchtests/bench-strrchr-ifunc.c: Likewise.
11315         * benchtests/bench-strsep-ifunc.c: Likewise.
11316         * benchtests/bench-strspn-ifunc.c: Likewise.
11317         * benchtests/bench-strstr-ifunc.c: Likewise.
11318
11319 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11320
11321         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11322
11323 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11324
11325         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11326         * rt/aio.h: Likewise.
11327         * sysdeps/gnu/bits/utmp.h: Likewise.
11328         * sysdeps/gnu/bits/utmpx.h: Likewise.
11329         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11330         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11331         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11332         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11333         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11334         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11335         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11336         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11337         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11338         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11339         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11340         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11341         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11343         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11344         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11345         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11346         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11347         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11348         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11349         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11350         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11351         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11352         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11353         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11354         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11355         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11356         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11357         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11358         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11359         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11360         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11361         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11362         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11363         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11364         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11365         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11366         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11367         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11368         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11369         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11370         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11371
11372 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11373
11374         [BZ #16245]
11375         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11376         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11377
11378 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11379
11380         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11381         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11382         Likewise.
11383
11384 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11385
11386         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11387         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11388         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11389         (__fesetround): Remove define.
11390         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11391         rounding and exceptions handling.
11392         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11393         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11394         (__fe_nomask_env): Likewise.
11395         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11396         __fegetround instead of fegetround.
11397         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11398         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11399
11400 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11401
11402         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11403         it's there.
11404
11405         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11406
11407 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11408
11409         [BZ #11157]
11410         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11411         (encrypt_r): Likewise.
11412         * malloc/obstack.h (obstack_free): Likewise.
11413         * posix/unistd.h (encrypt): Likewise.
11414
11415 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11416
11417         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11418         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11419         DL_CALL_DT_FINI() that call the functions directly.
11420         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11421         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11422         * elf/dl-fini.c: Likewise.
11423
11424 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11425
11426         * malloc/hooks.c (memalign_check): Add alignment rounding.
11427         * malloc/malloc.c (_mid_memalign): New function.
11428         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11429         Implement by calling _mid_memalign.
11430         * manual/probes.texi (Memory Allocation Probes): Remove
11431         memory_valloc_retry and memory_pvalloc_retry.
11432
11433 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11434
11435         * locale/programs/locarchive.c (open_archive): Add const
11436         qualifier to ARCHIVEFNAME and copy default fname to
11437         DEFAULT_FNAME.
11438
11439         [BZ #15601]
11440         * libio/tst-widetext.input: Rename Oriya to Odia.
11441         * locale/iso-639.def: Likewise.
11442
11443         * manual/probes.texi (Mathematical Function Probes): Add
11444         documentation for sin, cos, asin and acos probes.
11445         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11446         (__sin32): Add slowasin probe.
11447         (__cos32): Add slowacos probe.
11448         (__mpsin): Add slowsin probe.
11449         (__mpcos): Add slowcos probe.
11450
11451 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11452
11453         [BZ #15483]
11454         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11455         thread-local __sim_exceptions_thread and global
11456         __sim_exceptions_global.
11457         (__sim_disabled_exceptions): Change to thread-local
11458         __sim_disabled_exceptions_thread and global
11459         __sim_disabled_exceptions_global.
11460         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11461         and global __sim_round_mode_global.
11462         (__simulate_exceptions): Use thread-local floating-point state and
11463         set global state from it as needed.
11464         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11465         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11466         __sim_round_mode_thread.
11467         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11468         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11469         and global __sim_exceptions_global.
11470         (__sim_disabled_exceptions): Change to thread-local
11471         __sim_disabled_exceptions_thread and global
11472         __sim_disabled_exceptions_global.
11473         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11474         and global __sim_round_mode_global.
11475         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11476         (SIM_SET_GLOBAL): Likewise.
11477         * sysdeps/powerpc/soft-fp/sfp-machine.h
11478         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11479         __sim_round_mode_thread.
11480         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11481         __sim_disabled_exceptions_thread.
11482         (__sim_exceptions): Change to __sim_exceptions_thread.
11483         (__sim_disabled_exceptions): Change to
11484         __sim_disabled_exceptions_thread.
11485         (__sim_round_mode): Change to __sim_round_mode_thread.
11486         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11487         thread-local floating-point state and set global state from it as
11488         needed.
11489         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11490         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11491         (__sim_disabled_exceptions): Remove extern declaration.
11492         (feenableexcept): Use thread-local floating-point state and set
11493         global state from it as needed.
11494         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11495         extern declaration.
11496         (__sim_disabled_exceptions): Likewise.
11497         (__sim_round_mode): Likewise.
11498         (__fegetenv): Use thread-local floating-point state.
11499         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11500         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11501         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11502         floating-point state and set global state from it as needed.
11503         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11504         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11505         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11506         Likewise.
11507         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11508         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11509         Likewise.
11510         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11511         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11512         Use __sim_round_mode_thread.
11513         * math/test-fenv-tls.c: New file.
11514         * math/Makefile (tests): Add test-fenv-tls.
11515         ($(objpfx)test-fenv-tls): Depend on
11516         $(common-objpfx)nptl/libpthread.so.
11517
11518 2013-11-19  Andreas Schwab  <schwab@suse.de>
11519
11520         * locale/programs/locale.c (show_info): Decode wordarray elements.
11521         * locale/categories.def (LC_MONETARY): Add element for
11522         _NL_MONETARY_CRNCYSTR.
11523         * locale/C-monetary.c (conversion_rate): New variable.
11524         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11525         element.
11526
11527 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11528
11529         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11530         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11531
11532 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11533
11534         * elf/Makefile (tst-auxv): New test.
11535         * elf/tst-auxv.c: New
11536         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11537
11538 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11539
11540         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11541         (hidden_proto): Caller changed.
11542         (hidden_tls_proto): New macro.
11543         (libc_hidden_tls_proto): Likewise.
11544         (rtld_hidden_tls_proto): Likewise.
11545         (libm_hidden_tls_proto): Likewise.
11546         (libresolv_hidden_tls_proto): Likewise.
11547         (librt_hidden_tls_proto): Likewise.
11548         (libdl_hidden_tls_proto): Likewise.
11549         (libnss_files_hidden_tls_proto): Likewise.
11550         (libnsl_hidden_tls_proto): Likewise.
11551         (libnss_nisplus_hidden_tls_proto): Likewise.
11552         (libutil_hidden_tls_proto): Likewise.
11553
11554 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11555
11556         [BZ #10253]
11557         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11558         (decompose_rpath): Defer expansion to fillin_rpath.
11559         (_dl_init_paths): Pass linkmap to fillin_rpath.
11560
11561 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11562
11563         * benchtests/Makefile: Add strsep.
11564         * benchtests/bench-strsep.c: New file: strsep benchtest.
11565         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11566
11567 2013-11-18  Andreas Schwab  <schwab@suse.de>
11568
11569         * locale/programs/locale.c (show_info) [case byte]: Check for
11570         '\377' instead of '\177'.
11571         * locale/C-monetary.c (not_available): Always use "\377".
11572         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11573         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11574         detect unavailable sign_posn locale elements.
11575         * locale/localeconv.c (__localeconv): For grouping and
11576         mon_grouping handle "\177" and "\377" like no grouping.
11577         (INT_ELEM): New macro.  Use it to set all numeric members.
11578         * locale/programs/ld-monetary.c (monetary_read)
11579         <tok_mon_grouping>: Normalize single -1 to the empty string.
11580         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11581         Likewise.
11582
11583 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11584
11585         [BZ #16055]
11586         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11587         when we match (nil).
11588         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11589
11590 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11591
11592         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11593         (NO_TEST_INLINE): Update value.
11594         (ERRNO_UNCHANGED): Likewise.
11595         (ERRNO_EDOM): Likewise.
11596         (ERRNO_ERANGE): Likewise.
11597         (IGNORE_RESULT): Likewise.
11598         (check_float_internal): Check signs of NaN results if
11599         TEST_NAN_SIGN used.
11600         (check_complex): Pass TEST_NAN_SIGN flag through to second
11601         check_float_internal call.
11602         (copysign_test_data): Add tests with quiet NaNs as second
11603         argument.  Use TEST_NAN_SIGN.
11604         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11605         TEST_NAN_SIGN.
11606         (signbit_test_data): Add tests of quiet NaN argument.
11607         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11608
11609         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11610         $ignore_result.
11611         (parse_args): Handle function results specified as IGNORE.
11612         * math/libm-test.inc (IGNORE_RESULT): New macro.
11613         (check_float_internal): Do not check numerical result if flag
11614         IGNORE_RESULT set.
11615         (check_complex): Pass through IGNORE_RESULT to second
11616         check_float_internal call.
11617         (check_int): Do not check numerical result if flag IGNORE_RESULT
11618         set.
11619         (check_long): Likewise.
11620         (check_bool): Likewise.
11621         (check_longlong): Likewise.
11622         (lrint_test_data): Add tests of infinite and NaN arguments.
11623         (lrint_tonearest_test_data): Likewise.
11624         (lrint_towardzero_test_data): Likewise.
11625         (lrint_downward_test_data): Likewise.
11626         (lrint_upward_test_data): Likewise.
11627         (llrint_test_data): Likewise.
11628         (llrint_tonearest_test_data): Likewise.
11629         (llrint_towardzero_test_data): Likewise.
11630         (llrint_downward_test_data): Likewise.
11631         (llrint_upward_test_data): Likewise.
11632         (lround_test_data): Likewise.
11633         (llround_test_data): Likewise.
11634
11635         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11636         (ERRNO_UNCHANGED): Update value.
11637         (ERRNO_EDOM): Likewise.
11638         (ERRNO_ERANGE): Likewise.
11639         (NO_TEST_INLINE_FLOAT): New macro.
11640         (NO_TEST_INLINE_DOUBLE): Likewise.
11641         (enable_test): New function.
11642         (RUN_TEST_f_f): Check enable_test before running test.
11643         (RUN_TEST_2_f): Likewise.
11644         (RUN_TEST_fff_f): Likewise.
11645         (RUN_TEST_c_f): Likewise.
11646         (RUN_TEST_f_f1): Likewise.
11647         (RUN_TEST_fF_f1): Likewise.
11648         (RUN_TEST_fI_f1): Likewise.
11649         (RUN_TEST_ffI_f1): Likewise.
11650         (RUN_TEST_c_c): Likewise.
11651         (RUN_TEST_cc_c): Likewise.
11652         (RUN_TEST_f_i): Likewise.
11653         (RUN_TEST_f_i_tg): Likewise.
11654         (RUN_TEST_ff_i_tg): Likewise.
11655         (RUN_TEST_f_b): Likewise.
11656         (RUN_TEST_f_b_tg): Likewise.
11657         (RUN_TEST_f_l): Likewise.
11658         (RUN_TEST_f_L): Likewise.
11659         (RUN_TEST_fFF_11): Likewise.
11660         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11661         conditionals.
11662         (cosh_test_data): Likewise.
11663         (exp_test_data): Likewise.
11664         (expm1_test_data): Likewise.
11665         (hypot_test_data): Likewise.
11666         (pow_test_data): Likewise.
11667         (sinh_test_data): Likewise.
11668         (tanh_test_data): Likewise.
11669         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11670         flags argument.
11671
11672         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11673         tests with quiet NaN input and output.
11674         (acosh_test_data): Likewise.
11675         (asin_test_data): Likewise.
11676         (asinh_test_data): Likewise.
11677         (atan_test_data): Likewise.
11678         (atanh_test_data): Likewise.
11679         (atan2_test_data): Likewise.
11680         (cbrt_test_data): Likewise.
11681         (cos_test_data): Likewise.
11682         (cosh_test_data): Likewise.
11683         (erf_test_data): Likewise.
11684         (erfc_test_data): Likewise.
11685         (exp_test_data): Likewise.
11686         (exp10_test_data): Likewise.
11687         (exp2_test_data): Likewise.
11688         (expm1_test_data): Likewise.
11689         (hypot_test_data): Likewise.
11690         (j0_test_data): Likewise.
11691         (j1_test_data): Likewise.
11692         (jn_test_data): Likewise.
11693         (lgamma_test_data): Likewise.
11694         (log_test_data): Likewise.
11695         (log10_test_data): Likewise.
11696         (log1p_test_data): Likewise.
11697         (log2_test_data): Likewise.
11698         (pow_test_data): Likewise.
11699         (scalb_test_data): Likewise.
11700         (sin_test_data): Likewise.
11701         (sincos_test_data): Likewise.
11702         (sinh_test_data): Likewise.
11703         (tan_test_data): Likewise.
11704         (tanh_test_data): Likewise.
11705         (tgamma_test_data): Likewise.
11706         (y0_test_data): Likewise.
11707         (y1_test_data): Likewise.
11708         (yn_test_data): Likewise.
11709
11710         [BZ #16167]
11711         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11712         argument being NaN and avoid computations with second argument in
11713         that case.
11714         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11715         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11716         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11717
11718 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11719
11720         * locale/iso-639.def: Add Chitwani Tharu (the).
11721
11722 2013-11-14  Andreas Schwab  <schwab@suse.de>
11723
11724         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11725         word instead of empty string.
11726
11727 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11728
11729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11730         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11732         (__fe_nomask_env): Likewise.
11733
11734 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11735
11736         * benchtests/bench-timing.h: Include time.h.
11737
11738 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11739
11740         [BZ #15997]
11741         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11742         to 3.4.0 for x32.
11743         * sysdeps/unix/sysv/linux/configure: Regenerated.
11744
11745 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11746
11747         [BZ #16151]
11748         * stdlib/strtod_l.c (round_and_return): Do not consider
11749         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11750         exponent one less than half the least subnormal exponent.
11751         * stdlib/test-strtod-round-data: Add more tests.
11752         * stdlib/tst-strtod-round.c (tests): Regenerated.
11753
11754 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11755
11756         [BZ #14143]
11757         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11758         (__fe_mask_env): Likewise.
11759         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11760         libm_hidden_proto and add function prototype.
11761         (__fe_mask_env): Add function prototype.
11762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11763         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11765         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11767         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11768
11769 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11770
11771         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11772         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11773
11774 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11775
11776         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11777         of htab_find_slot().
11778
11779 2013-11-11  David S. Miller  <davem@davemloft.net>
11780
11781         [BZ #16150]
11782         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11783         symbol in the non-vis3 case in static builds.
11784         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11785         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11786         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11787         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11788
11789 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11790
11791         [BZ #387]
11792         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11793         it is empty.
11794
11795 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11796
11797         * benchtests/Makefile: Add bench-strtod.
11798         * benchtests/bench-strtod.c: New file: strtod benchtest
11799
11800 2013-11-11  Andreas Schwab  <schwab@suse.de>
11801
11802         [BZ #16153]
11803         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11804         terminating NUL in key length.
11805
11806 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11807
11808         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11809         Add artificial ODP entry for vDSO symbol for PPC64.
11810         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11811         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11812
11813 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11814
11815         [BZ #15374]
11816         * nss/getent.c (services_keys): Recognize services starting with digit.
11817
11818 2013-11-06  David S. Miller  <davem@davemloft.net>
11819
11820         [BZ #15985]
11821         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11822         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11823
11824 2013-11-06  Will Newton  <will.newton@linaro.org>
11825
11826         * manual/memory.texi (Malloc Examples): Remove register
11827         keyword from examples.
11828
11829 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11830
11831         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11832
11833 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11834
11835         [BZ #6981]
11836         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11837         depending on [__GCC_IEC_559 > 0].
11838         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11839         depending on [__GCC_IEC_559_COMPLEX > 0].
11840
11841 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11842
11843         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11844         to iso-639.def.
11845
11846 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11847
11848         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11849
11850 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11851
11852         [BZ #16112]
11853         * malloc/malloc (malloc_info): Do not handle first bin as
11854         special case.
11855
11856 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11857
11858         * locale/iso-639.def: Add Central Nahuatl (nhn).
11859
11860 2013-11-01  Bruno Haible  <bruno@clisp.org>
11861
11862         [BZ #7003]
11863         * manual/math.texi (BSD Random): Specify range upper bound as
11864         in POSIX.
11865
11866 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11867
11868         * locale/iso-639.def: Add Meadow Mari (mhr).
11869
11870 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11871
11872         [BZ #14752], [BZ #15763]
11873         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11874         Validate name.
11875         * rt/tst_shm.c: Add test for escaping directory.
11876
11877 2013-10-31  Andreas Schwab  <schwab@suse.de>
11878
11879         [BZ #15917]
11880         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11881         followed by 'x' as part of digit sequence.
11882         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11883
11884 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11885
11886         [BZ #16037]
11887         * configure.ac: allow GNU Make 4.0 and greater.
11888         * configure: Regenerated.
11889
11890 2013-10-30  Will Newton  <will.newton@linaro.org>
11891
11892         [BZ #16038]
11893         * malloc/hooks.c (memalign_check): Limit alignment to the
11894         maximum representable power of two.
11895         * malloc/malloc.c (__libc_memalign): Likewise.
11896         * malloc/tst-memalign.c (do_test): Add test for very
11897         large alignment values.
11898         * malloc/tst-posix_memalign.c (do_test): Likewise.
11899
11900 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11901
11902         [BZ #11087]
11903         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11904         (munmap_chunk): Likewise.
11905         (mremap_chunk): Likewise.
11906
11907 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11908
11909         [BZ #15799]
11910         * stdlib/div.c (div): Remove obsolete code.
11911         * stdlib/ldiv.c (ldiv): Likewise.
11912         * stdlib/lldiv.c (lldiv): Likewise.
11913
11914 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11915
11916         [BZ #16071]
11917         * nss/nss_files/files-XXX.c (get_contents_ret): New
11918         enumerator.
11919         (get_contents): New function.
11920         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11921
11922 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11923
11924         * configure.in: Moved to ...
11925         * configure.ac: ... here. Change reference to configure.in
11926         to configure.ac.
11927         * sysdeps/arm/preconfigure.ac: ... here.
11928         configure.in to configure.ac.
11929         * sysdeps/gnu/configure.in: Moved to ...
11930         * sysdeps/gnu/configure.ac: ... here.
11931         * sysdeps/i386/configure.in: Moved to ...
11932         * sysdeps/i386/configure.ac: ... here.
11933         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11934         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11935         * sysdeps/mach/configure.in: Moved to ...
11936         * sysdeps/mach/configure.ac: ... here.
11937         * sysdeps/mach/hurd/configure.in: Moved to ...
11938         * sysdeps/mach/hurd/configure.ac: ... here.
11939         * sysdeps/powerpc/configure.in: Moved to ...
11940         * sysdeps/powerpc/configure.ac: ... here.
11941         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11942         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11943         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11944         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11945         * sysdeps/s390/s390-32/configure.in: Moved to ...
11946         * sysdeps/s390/s390-32/configure.ac: ... here.
11947         * sysdeps/s390/s390-64/configure.in: Moved to ...
11948         * sysdeps/s390/s390-64/configure.ac: ... here.
11949         * sysdeps/sh/configure.in: Moved to ...
11950         * sysdeps/sh/configure.ac: ... here.
11951         * sysdeps/sparc/configure.in: Moved to ...
11952         * sysdeps/sparc/configure.ac: ... here.
11953         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11954         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11955         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11956         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11957         * sysdeps/x86_64/configure.in: Moved to ...
11958         * sysdeps/x86_64/configure.ac: ... here.
11959         * sysdeps/x86_64/preconfigure.in: Moved to ...
11960         * sysdeps/x86_64/preconfigure.ac: ... here.
11961         * aclocal.m4: Change reference to configure.in to configure.ac.
11962         * config.h.in: Likewise.
11963         * manual/install.texi: Likewise.
11964         * manual/maint.texi: Likewise.
11965         * Makefile: Likewise.
11966         * malloc/Makefile: Likewise.
11967         * nscd/Makefile: Likewise.
11968         * Makeconfig: Change reference to configure.in and
11969         preconfigure.in to configure.ac and preconfigure.ac
11970         respectively.
11971         * INSTALL: Regenerated.
11972         * configure: Likewise.
11973         * sysdeps/gnu/configure: Likewise.
11974         * sysdeps/i386/configure: Likewise.
11975         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11976         * sysdeps/mach/configure: Likewise.
11977         * sysdeps/mach/hurd/configure: Likewise.
11978         * sysdeps/powerpc/configure: Likewise.
11979         * sysdeps/powerpc/powerpc32/configure: Likewise.
11980         * sysdeps/powerpc/powerpc64/configure: Likewise.
11981         * sysdeps/s390/s390-32/configure: Likewise.
11982         * sysdeps/s390/s390-64/configure: Likewise.
11983         * sysdeps/sh/configure: Likewise.
11984         * sysdeps/sparc/configure: Likewise.
11985         * sysdeps/unix/sysv/linux/configure: Likewise.
11986         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11987         * sysdeps/x86_64/configure: Likewise.
11988         * sysdeps/x86_64/preconfigure: Likewise.
11989
11990 2013-10-29  Andreas Schwab  <schwab@suse.de>
11991
11992         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11993
11994 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11995
11996         * benchtests/pow-inputs: Add new inputs.
11997
11998         * benchtests/exp-inputs: Add new inputs.
11999
12000         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12001         conditional check for return value.
12002         (__cos32): Likewise.
12003
12004 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12005
12006         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12007         to provide a boost for large inputs with word alignment.
12008         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12009         implementation based on optimized PPC64 strcpy.
12010         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12011         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12012         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12013         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12014
12015 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12016
12017         [BZ #2801]
12018         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12019
12020 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12021
12022         [BZ #14876]
12023         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12024         * time/tst-strptime.c (day_tests): Add testcase.
12025
12026 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12027
12028         [BZ #14029]
12029         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12030
12031 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12032
12033         [BZ #16074]
12034         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12035         MAP_FAILED on error.
12036
12037 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12038
12039         [BZ #16072]
12040         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12041         heap for large requests.
12042
12043 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12044
12045         [BZ #9954]
12046         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12047         result if the result has no associated interface.
12048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12049         interface for all 127.X.Y.Z addresses.
12050
12051 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12052
12053         * locale/iso-639.def: Add Ligurian (lij)
12054
12055 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12056
12057         [BZ #15825]
12058         * sunrpc/rpc_main.c: Document rpcgen -5.
12059
12060 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12061
12062         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12063
12064 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12065
12066         [BZ #10278]
12067         * posix/glob.c: Match only directories when trailing slash is present.
12068         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12069         (main): Add testcase.
12070
12071 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12072
12073         [BZ #15670]
12074         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12075
12076 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12077
12078         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12079         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12080         AUTH_DES and cindex for FIPS 140-2.
12081         (DES Encryption): Add cindex FIPS 46-3.
12082
12083         * locale/locarchive.h (struct locarhandle): Add fname.
12084         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12085         if an optional argument was specified to --list-archive,
12086         otherwise NULL.
12087         * locale/programs/locarchive.c (show_archive_content): Take new
12088         argument fname and pass it via ah.fname to open_archive.
12089         * locale/programs/localedef.h: Update decl.
12090         (open_archive): If AH->fname is non-null, open that file
12091         rather than the default file name, and don't ignore ENOENT.
12092         (create_archive): Set AH.fname to NULL.
12093         (delete_locales_from_archive): Likewise.
12094         (add_locales_to_archive): Likewise.
12095         * locale/programs/locfile.c (write_all_categories): Likewise.
12096
12097 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12098             Aldy Hernandez  <aldyh@redhat.com>
12099
12100         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12101         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12102         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12103         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12104         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12105         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12106         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12108         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12109         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12110         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12111         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12112         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12113         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12114         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12115         Likewise.
12116         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12117         Likewise.
12118         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12119         Likewise.
12120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12121         Likewise.
12122         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12123         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12124         Likewise.
12125         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12126         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12127         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12128         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12129         Likewise.
12130         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12131         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12132         * sysdeps/powerpc/preconfigure: Likewise.
12133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12134         Likewise.
12135         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12136         Replace contents of file by #include of <fenv_libc.h>.
12137         * sysdeps/powerpc/soft-fp/sfp-machine.h
12138         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12139         and <sys/prctl.h>.
12140         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12141         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12142         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12153         Allow copysignl PLT reference to be missing.
12154
12155 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12156             Joseph Myers  <joseph@codesourcery.com
12157
12158         [BZ #15948]
12159         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12160         single character.
12161         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12162
12163 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12164
12165         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12166         * elf/tst-tls1.c: Likewise.
12167         * elf/tst-tls10.h: Likewise.
12168         * elf/tst-tls14.c: Likewise.
12169         * elf/tst-tls2.c: Likewise.
12170         * elf/tst-tls3.c: Likewise.
12171         * elf/tst-tls4.c: Likewise.
12172         * elf/tst-tls5.c: Likewise.
12173         * elf/tst-tls6.c: Likewise.
12174         * elf/tst-tls7.c: Likewise.
12175         * elf/tst-tls8.c: Likewise.
12176         * elf/tst-tls9.c: Likewise.
12177         * elf/tst-tlsmod1.c: Likewise.
12178         * elf/tst-tlsmod13.c: Likewise.
12179         * elf/tst-tlsmod13a.c: Likewise.
12180         * elf/tst-tlsmod14a.c: Likewise.
12181         * elf/tst-tlsmod16a.c: Likewise.
12182         * elf/tst-tlsmod16b.c: Likewise.
12183         * elf/tst-tlsmod2.c: Likewise.
12184         * elf/tst-tlsmod3.c: Likewise.
12185         * elf/tst-tlsmod4.c: Likewise.
12186         * elf/tst-tlsmod5.c: Likewise.
12187         * elf/tst-tlsmod6.c: Likewise.
12188
12189 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12190
12191         [BZ #12486]
12192         * malloc/malloc.c: remove checks for statistics.
12193
12194 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12195
12196         [BZ #15277]
12197         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12198         * inet/tst-network.c: Add testcase.
12199
12200 2013-10-17  Andreas Schwab  <schwab@suse.de>
12201
12202         [BZ #15218]
12203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12204         to determine canonical name.
12205
12206 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12207
12208         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12209         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12210         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12211         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12212         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12213         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12214         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12215         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12216         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12217         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12218         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12219         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12220         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12221         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12222         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12223         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12224         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12225         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12226         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12227         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12231         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12232         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12233         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12234         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12235         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12236         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12237         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12238         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12240         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12241         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12242         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12243         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12244         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12245         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12246         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12247         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12248         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12249         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12250         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12251         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12252         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12253         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12254         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12255         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12256         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12257         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12258         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12259         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12260         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12261         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12262         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12263         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12265         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12266
12267 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12268
12269         [BZ #16041]
12270         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12271         make result into a quiet NaN.
12272
12273 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12274
12275         * soft-fp/adddf3.c: Fix horizontal whitespace.
12276         * soft-fp/addsf3.c: Likewise.
12277         * soft-fp/addtf3.c: Likewise.
12278         * soft-fp/divdf3.c: Likewise.
12279         * soft-fp/divsf3.c: Likewise.
12280         * soft-fp/divtf3.c: Likewise.
12281         * soft-fp/double.h: Likewise.
12282         * soft-fp/eqdf2.c: Likewise.
12283         * soft-fp/eqsf2.c: Likewise.
12284         * soft-fp/eqtf2.c: Likewise.
12285         * soft-fp/extenddftf2.c: Likewise.
12286         * soft-fp/extended.h: Likewise.
12287         * soft-fp/extendsfdf2.c: Likewise.
12288         * soft-fp/extendsftf2.c: Likewise.
12289         * soft-fp/extendxftf2.c: Likewise.
12290         * soft-fp/fixdfdi.c: Likewise.
12291         * soft-fp/fixdfsi.c: Likewise.
12292         * soft-fp/fixdfti.c: Likewise.
12293         * soft-fp/fixsfdi.c: Likewise.
12294         * soft-fp/fixsfsi.c: Likewise.
12295         * soft-fp/fixsfti.c: Likewise.
12296         * soft-fp/fixtfdi.c: Likewise.
12297         * soft-fp/fixtfsi.c: Likewise.
12298         * soft-fp/fixtfti.c: Likewise.
12299         * soft-fp/fixunsdfdi.c: Likewise.
12300         * soft-fp/fixunsdfsi.c: Likewise.
12301         * soft-fp/fixunsdfti.c: Likewise.
12302         * soft-fp/fixunssfdi.c: Likewise.
12303         * soft-fp/fixunssfsi.c: Likewise.
12304         * soft-fp/fixunssfti.c: Likewise.
12305         * soft-fp/fixunstfdi.c: Likewise.
12306         * soft-fp/fixunstfsi.c: Likewise.
12307         * soft-fp/fixunstfti.c: Likewise.
12308         * soft-fp/floatdidf.c: Likewise.
12309         * soft-fp/floatdisf.c: Likewise.
12310         * soft-fp/floatditf.c: Likewise.
12311         * soft-fp/floatsidf.c: Likewise.
12312         * soft-fp/floatsisf.c: Likewise.
12313         * soft-fp/floatsitf.c: Likewise.
12314         * soft-fp/floattidf.c: Likewise.
12315         * soft-fp/floattisf.c: Likewise.
12316         * soft-fp/floattitf.c: Likewise.
12317         * soft-fp/floatundidf.c: Likewise.
12318         * soft-fp/floatundisf.c: Likewise.
12319         * soft-fp/floatunditf.c: Likewise.
12320         * soft-fp/floatunsidf.c: Likewise.
12321         * soft-fp/floatunsisf.c: Likewise.
12322         * soft-fp/floatunsitf.c: Likewise.
12323         * soft-fp/floatuntidf.c: Likewise.
12324         * soft-fp/floatuntisf.c: Likewise.
12325         * soft-fp/floatuntitf.c: Likewise.
12326         * soft-fp/fmadf4.c: Likewise.
12327         * soft-fp/fmasf4.c: Likewise.
12328         * soft-fp/fmatf4.c: Likewise.
12329         * soft-fp/gedf2.c: Likewise.
12330         * soft-fp/gesf2.c: Likewise.
12331         * soft-fp/getf2.c: Likewise.
12332         * soft-fp/ledf2.c: Likewise.
12333         * soft-fp/lesf2.c: Likewise.
12334         * soft-fp/letf2.c: Likewise.
12335         * soft-fp/muldf3.c: Likewise.
12336         * soft-fp/mulsf3.c: Likewise.
12337         * soft-fp/multf3.c: Likewise.
12338         * soft-fp/negdf2.c: Likewise.
12339         * soft-fp/negsf2.c: Likewise.
12340         * soft-fp/negtf2.c: Likewise.
12341         * soft-fp/op-1.h: Likewise.
12342         * soft-fp/op-2.h: Likewise.
12343         * soft-fp/op-4.h: Likewise.
12344         * soft-fp/op-8.h: Likewise.
12345         * soft-fp/op-common.h: Likewise.
12346         * soft-fp/quad.h: Likewise.
12347         * soft-fp/single.h: Likewise.
12348         * soft-fp/soft-fp.h: Likewise.
12349         * soft-fp/sqrtdf2.c: Likewise.
12350         * soft-fp/sqrtsf2.c: Likewise.
12351         * soft-fp/sqrttf2.c: Likewise.
12352         * soft-fp/subdf3.c: Likewise.
12353         * soft-fp/subsf3.c: Likewise.
12354         * soft-fp/subtf3.c: Likewise.
12355         * soft-fp/truncdfsf2.c: Likewise.
12356         * soft-fp/trunctfdf2.c: Likewise.
12357         * soft-fp/trunctfsf2.c: Likewise.
12358         * soft-fp/trunctfxf2.c: Likewise.
12359         * soft-fp/unorddf2.c: Likewise.
12360         * soft-fp/unordsf2.c: Likewise.
12361         * soft-fp/unordtf2.c: Likewise.
12362
12363 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12364
12365         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12366         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12367
12368 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12369
12370         * elf/dl-libc.c: Clear initfini list after freeing.
12371
12372 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12373
12374         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12375         * soft-fp/addsf3.c: Likewise.
12376         * soft-fp/addtf3.c: Likewise.
12377         * soft-fp/divdf3.c: Likewise.
12378         * soft-fp/divsf3.c: Likewise.
12379         * soft-fp/divtf3.c: Likewise.
12380         * soft-fp/double.h: Likewise.
12381         * soft-fp/eqdf2.c: Likewise.
12382         * soft-fp/eqsf2.c: Likewise.
12383         * soft-fp/eqtf2.c: Likewise.
12384         * soft-fp/extenddftf2.c: Likewise.
12385         * soft-fp/extended.h: Likewise.
12386         * soft-fp/extendsfdf2.c: Likewise.
12387         * soft-fp/extendsftf2.c: Likewise.
12388         * soft-fp/extendxftf2.c: Likewise.
12389         * soft-fp/fixdfdi.c: Likewise.
12390         * soft-fp/fixdfsi.c: Likewise.
12391         * soft-fp/fixdfti.c: Likewise.
12392         * soft-fp/fixsfdi.c: Likewise.
12393         * soft-fp/fixsfsi.c: Likewise.
12394         * soft-fp/fixsfti.c: Likewise.
12395         * soft-fp/fixtfdi.c: Likewise.
12396         * soft-fp/fixtfsi.c: Likewise.
12397         * soft-fp/fixtfti.c: Likewise.
12398         * soft-fp/fixunsdfdi.c: Likewise.
12399         * soft-fp/fixunsdfsi.c: Likewise.
12400         * soft-fp/fixunsdfti.c: Likewise.
12401         * soft-fp/fixunssfdi.c: Likewise.
12402         * soft-fp/fixunssfsi.c: Likewise.
12403         * soft-fp/fixunssfti.c: Likewise.
12404         * soft-fp/fixunstfdi.c: Likewise.
12405         * soft-fp/fixunstfsi.c: Likewise.
12406         * soft-fp/fixunstfti.c: Likewise.
12407         * soft-fp/floatdidf.c: Likewise.
12408         * soft-fp/floatdisf.c: Likewise.
12409         * soft-fp/floatditf.c: Likewise.
12410         * soft-fp/floatsidf.c: Likewise.
12411         * soft-fp/floatsisf.c: Likewise.
12412         * soft-fp/floatsitf.c: Likewise.
12413         * soft-fp/floattidf.c: Likewise.
12414         * soft-fp/floattisf.c: Likewise.
12415         * soft-fp/floattitf.c: Likewise.
12416         * soft-fp/floatundidf.c: Likewise.
12417         * soft-fp/floatundisf.c: Likewise.
12418         * soft-fp/floatunsidf.c: Likewise.
12419         * soft-fp/floatunsisf.c: Likewise.
12420         * soft-fp/floatuntidf.c: Likewise.
12421         * soft-fp/floatuntisf.c: Likewise.
12422         * soft-fp/floatuntitf.c: Likewise.
12423         * soft-fp/fmadf4.c: Likewise.
12424         * soft-fp/fmasf4.c: Likewise.
12425         * soft-fp/fmatf4.c: Likewise.
12426         * soft-fp/gedf2.c: Likewise.
12427         * soft-fp/gesf2.c: Likewise.
12428         * soft-fp/getf2.c: Likewise.
12429         * soft-fp/ledf2.c: Likewise.
12430         * soft-fp/lesf2.c: Likewise.
12431         * soft-fp/letf2.c: Likewise.
12432         * soft-fp/muldf3.c: Likewise.
12433         * soft-fp/mulsf3.c: Likewise.
12434         * soft-fp/multf3.c: Likewise.
12435         * soft-fp/negdf2.c: Likewise.
12436         * soft-fp/negsf2.c: Likewise.
12437         * soft-fp/negtf2.c: Likewise.
12438         * soft-fp/op-1.h: Likewise.
12439         * soft-fp/op-2.h: Likewise.
12440         * soft-fp/op-4.h: Likewise.
12441         * soft-fp/op-8.h: Likewise.
12442         * soft-fp/op-common.h: Likewise.
12443         * soft-fp/quad.h: Likewise.
12444         * soft-fp/single.h: Likewise.
12445         * soft-fp/soft-fp.h: Likewise.
12446         * soft-fp/sqrtdf2.c: Likewise.
12447         * soft-fp/sqrtsf2.c: Likewise.
12448         * soft-fp/sqrttf2.c: Likewise.
12449         * soft-fp/subdf3.c: Likewise.
12450         * soft-fp/subsf3.c: Likewise.
12451         * soft-fp/subtf3.c: Likewise.
12452         * soft-fp/truncdfsf2.c: Likewise.
12453         * soft-fp/trunctfdf2.c: Likewise.
12454         * soft-fp/trunctfsf2.c: Likewise.
12455         * soft-fp/trunctfxf2.c: Likewise.
12456         * soft-fp/unorddf2.c: Likewise.
12457         * soft-fp/unordsf2.c: Likewise.
12458         * soft-fp/unordtf2.c: Likewise.
12459
12460 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12461
12462         [BZ #15672]
12463         * misc/error.c (error_tail): Fix possible buffer overflow.
12464
12465 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12466
12467         [BZ #13028]
12468         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12469         address.
12470
12471 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12472
12473         [BZ #832]
12474         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12475         testing pipefail option.
12476
12477 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12478
12479         * soft-fp/double.h: Indent preprocessor directives inside #if.
12480         * soft-fp/extended.h: Likewise.
12481         * soft-fp/op-2.h: Likewise.
12482         * soft-fp/op-4.h: Likewise.
12483         * soft-fp/op-common.h: Likewise.
12484         * soft-fp/quad.h: Likewise.
12485         * soft-fp/single.h: Likewise.
12486         * soft-fp/soft-fp.h: Likewise.
12487
12488 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12489
12490         * iconv/iconv_prog.c: Fix typos.
12491         * stdio-common/psiginfo-data.h: Likewise.
12492
12493 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12494
12495         [BZ #15764]
12496         * locale/setlocale.c: Fix typo.
12497
12498 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12499
12500         [BZ #16036]
12501         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12502         signaling NaN arguments.
12503         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12504         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12505
12506         [BZ #14910]
12507         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12508         unordered operands.
12509         * soft-fp/gesf2.c (__gesf2): Likewise.
12510         * soft-fp/getf2.c (__getf2): Likewise.
12511         * soft-fp/ledf2.c (__ledf2): Likewise.
12512         * soft-fp/lesf2.c (__lesf2): Likewise.
12513         * soft-fp/letf2.c (__letf2): Likewise.
12514
12515         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12516         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12517         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12518         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12519         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12520         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12521         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12522         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12523         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12524         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12525         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12526         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12527         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12528         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12529         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12530         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12531         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12532         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12533         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12534         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12535         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12536         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12537         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12538         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12539         * soft-fp/floattidf.c (__floattidf): Likewise.
12540         * soft-fp/floattisf.c (__floattisf): Likewise.
12541         * soft-fp/floattitf.c (__floattitf): Likewise.
12542         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12543         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12544         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12545         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12546         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12547         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12548         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12549         * soft-fp/gesf2.c (__gesf2): Likewise.
12550         * soft-fp/getf2.c (__getf2): Likewise.
12551         * soft-fp/ledf2.c (__ledf2): Likewise.
12552         * soft-fp/lesf2.c (__lesf2): Likewise.
12553         * soft-fp/letf2.c (__letf2): Likewise.
12554
12555         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12556         Undefine and redefine.
12557         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12558         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12559         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12560         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12561         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12562         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12563         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12564         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12565         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12566         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12567         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12568         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12569         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12570         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12571         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12572
12573         [BZ #16032]
12574         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12575         without decrementing exponent if mantissa >= that for the
12576         denominator, not >.
12577         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12578         denominator, not >.  Decrement exponent in < case instead of
12579         incrementing in >= case.
12580         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12581         without decrementing exponent if mantissa >= that for the
12582         denominator, not >.
12583
12584         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12585         computing saturated result for unsigned overflow.
12586
12587 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12588             Jeff Law  <law@redhat.com>
12589
12590         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12591         (atan2Mp): Add systemtap probe marker.
12592         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12593         (__ieee754_log): Add systemtap probe marker.
12594         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12595         (atanMp): Add systemtap probe marker.
12596         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12597         (tanMp): Add systemtap probe marker.
12598         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12599         (__slowexp): Add systemtap probe marker.
12600         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12601         (__slowpow): Add systemtap probe marker.
12602         * manual/probes.texi: Document probes.
12603
12604 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12605
12606         [BZ #15362]
12607         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12608         written.
12609         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12610         written.
12611         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12612         written to buffer but not flushed.
12613         * libio/iofwrite_u.c:  Likewise.
12614         * libio/iopadn.c:  Return bytes returned even if EOF was
12615         encountered.
12616         * libio/iowpadn.c:  Likewise.
12617         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12618         if _IO_padn does not write the whole buffer.
12619         [!COMPILE_WPRINTF] (PAD): Likewise.
12620
12621 2013-10-10  David S. Miller  <davem@davemloft.net>
12622
12623         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12624         directory block.
12625
12626 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12627
12628         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12629         instead of FSF address.
12630         * soft-fp/fixdfti.c: Likewise.
12631         * soft-fp/fixsfti.c: Likewise.
12632         * soft-fp/fixtfti.c: Likewise.
12633         * soft-fp/fixunsdfti.c: Likewise.
12634         * soft-fp/fixunssfti.c: Likewise.
12635         * soft-fp/fixunstfti.c: Likewise.
12636         * soft-fp/floattidf.c: Likewise.
12637         * soft-fp/floattisf.c: Likewise.
12638         * soft-fp/floattitf.c: Likewise.
12639         * soft-fp/floatuntidf.c: Likewise.
12640         * soft-fp/floatuntisf.c: Likewise.
12641         * soft-fp/floatuntitf.c: Likewise.
12642         * soft-fp/trunctfxf2.c: Likewise.
12643
12644         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12645         * soft-fp/fixdfti.c: Likewise.
12646         * soft-fp/fixsfti.c: Likewise.
12647         * soft-fp/fixtfti.c: Likewise.
12648         * soft-fp/fixunsdfti.c: Likewise.
12649         * soft-fp/fixunssfti.c: Likewise.
12650         * soft-fp/fixunstfti.c: Likewise.
12651         * soft-fp/floattidf.c: Likewise.
12652         * soft-fp/floattisf.c: Likewise.
12653         * soft-fp/floattitf.c: Likewise.
12654         * soft-fp/floatuntidf.c: Likewise.
12655         * soft-fp/floatuntisf.c: Likewise.
12656         * soft-fp/floatuntitf.c: Likewise.
12657         * soft-fp/trunctfxf2.c: Likewise.
12658
12659 2013-10-10  David S. Miller  <davem@davemloft.net>
12660
12661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12662
12663 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12664
12665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12666         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12667         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12668         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12669         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12670         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12671         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12672
12673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12674         for NaNs before doing comparisons on argument.
12675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12676         Likewise.
12677
12678 2013-10-10  Will Newton  <will.newton@linaro.org>
12679
12680         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12681         passed to _int_memalign does not overflow.
12682
12683 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12684
12685         * scripts/bench.pl: Add include-sources directive.
12686         * benchtests/README: Update documentation.
12687
12688 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12689
12690         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12691         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12692         instead of FP_INIT_ROUNDMODE.
12693         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12694         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12695
12696         [BZ #16034]
12697         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12698         copy class of input value.
12699         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12700         not handle exceptions.
12701         * soft-fp/negsf2.c (__negsf2): Likewise.
12702         * soft-fp/negtf2.c (__negtf2): Likewise.
12703         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12704
12705 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12706
12707         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12708         semicolon.  From Linux kernel.
12709
12710 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12711
12712         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12713
12714 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12715
12716         [BZ #156]
12717         * manual/socket.texi: Added statement about buffer
12718         for gethostbyname2_r.
12719
12720 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12721
12722         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12723         Use .p2align directive instead, throughout.
12724         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12725         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12726         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12727         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12728         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12729         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12730         * sysdeps/x86_64/strchr.S: Likewise.
12731         * sysdeps/x86_64/strrchr.S: Likewise.
12732
12733 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12734
12735         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12736
12737         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12738
12739         * sysdeps/generic/math_private.h (__mpsin1): Remove
12740         declaration.
12741         (__mpcos1): Likewise.
12742         (__mpsin): New argument __range_reduce.
12743         (__mpcos): Likewise.
12744         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12745         (slow): Use __mpsin and __mpcos.
12746         (slow1): Likewise.
12747         (slow2): Likewise.
12748         (sloww): Likewise.
12749         (sloww1): Likewise.
12750         (sloww2): Likewise.
12751         (bsloww): Likewise.
12752         (bsloww1): Likewise.
12753         (bsloww2): Likewise.
12754         (cslow2): Likewise.
12755         (csloww): Likewise.
12756         (csloww1): Likewise.
12757         (csloww2): Likewise.
12758         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12759         range_reduce.  Merge in __mpsin1.
12760         (__mpcos): Likewise.
12761         (__mpsin1): Remove.
12762         (__mpcos1): Likewise.
12763
12764 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12765
12766         * locale/loadlocale.c (_nl_intern_locale_data): Use
12767         LOCFILE_ALIGNED_P.
12768         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12769         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12770         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12771         obstack data is appropriately aligned.
12772         (obstack_int32_grow_fast): Likewise.
12773         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12774         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12775         (add_locale_uint32_array): Likewise.
12776
12777 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12778
12779         * benchtests/Makefile: Remove ARGLIST and RET variables.
12780         ($(objpfx)bench-%.c): Pass only function name to the script.
12781         * benchtests/README: Update documentation.
12782         * benchtests/acos-inputs: Add new directives.
12783         * benchtests/acosh-inputs: Likewise.
12784         * benchtests/asin-inputs: Likewise.
12785         * benchtests/asinh-inputs: Likewise.
12786         * benchtests/atan-inputs: Likewise.
12787         * benchtests/atanh-inputs: Likewise.
12788         * benchtests/cos-inputs: Likewise.
12789         * benchtests/cosh-inputs: Likewise.
12790         * benchtests/exp-inputs: Likewise.
12791         * benchtests/log-inputs: Likewise.
12792         * benchtests/pow-inputs: Likewise.
12793         * benchtests/rint-inputs: Likewise.
12794         * benchtests/sin-inputs: Likewise.
12795         * benchtests/sinh-inputs: Likewise.
12796         * benchtests/tan-inputs: Likewise.
12797         * benchtests/tanh-inputs: Likewise.
12798         * scripts/bench.pl: Add support for new directives.
12799
12800 2013-10-07  Alan Modra  <amodra@gmail.com>
12801
12802         * README: Fix careless merge.
12803
12804 2013-10-05  Alan Modra  <amodra@gmail.com>
12805
12806         * NEWS: Mention powerpc64le support and bugs fixed.
12807         * README: Both big-endian and little-endian powerpc64 supported.
12808
12809 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12810
12811         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12812         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12813         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12814         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12815
12816 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12817
12818         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12819         match prototype.
12820
12821 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12822
12823         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12824         Move -mhard-float appending from
12825         ports/sysdeps/powerpc/powerpc32/Makefile.
12826         [$(with-fp) = yes] (ASFLAGS): Likewise.
12827         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12828         * sysdeps/powerpc/nofpu: Move directory from
12829         ports/sysdeps/powerpc/nofpu.
12830         * sysdeps/powerpc/soft-fp: Move directory from
12831         ports/sysdeps/powerpc/soft-fp.
12832         * sysdeps/powerpc/powerpc32/405: Move directory from
12833         ports/sysdeps/powerpc/powerpc32/405.
12834         * sysdeps/powerpc/powerpc32/440: Move directory from
12835         ports/sysdeps/powerpc/powerpc32/440.
12836         * sysdeps/powerpc/powerpc32/464: Move directory from
12837         ports/sysdeps/powerpc/powerpc32/464.
12838         * sysdeps/powerpc/powerpc32/476: Move directory from
12839         ports/sysdeps/powerpc/powerpc32/476.
12840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12841         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12843         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12845         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12850         * README: Update for powerpc-*-linux-gnu software floating point
12851         support in libc.
12852
12853         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12854         case to powerpc/powerpc32*.
12855         * sysdeps/unix/sysv/linux/configure: Regenerated.
12856
12857         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12858         (_FPU_MASK_OM): Define as 0x04.
12859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12861         0x00c10080.
12862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12863         0x0000003c.
12864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12865
12866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12867         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12868         getcontext_e500.
12869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12870         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12871         setcontext_e500.
12872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12874         and setcontext_e500.
12875
12876 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12877
12878         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12879
12880 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12881
12882         * manual/threads.texi (Default Thread Attributes): Fix typo.
12883
12884 2013-10-04  Will Newton  <will.newton@linaro.org>
12885
12886         * malloc/Makefile: Add tst-memalign.
12887         * malloc/tst-memalign.c: New file.
12888
12889         * malloc/tst-posix_memalign.c: Add comments.
12890         (do_test): Add comments and call free on all potentially
12891         allocated pointers. Add space after cast.
12892
12893         * malloc/tst-pvalloc.c: Add comments.
12894         (do_test): Add comments and call free on all potentially
12895         allocated pointers. Remove duplicate check for NULL pointer.
12896         Add space after cast.
12897
12898         * malloc/tst-valloc.c: Add comments.
12899         (do_test): Add comments and call free on all potentially
12900         allocated pointers. Remove duplicate check for NULL pointer.
12901         Add space after cast.
12902
12903 2013-10-04  Alan Modra  <amodra@gmail.com>
12904
12905         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12906         Use stdint types in rather than __attribute__((mode())).
12907         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12908
12909 2013-10-04  Alan Modra  <amodra@gmail.com>
12910
12911         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12912         Correct handling of unaligned relocs for little-endian.
12913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12914
12915 2013-10-04  Alan Modra  <amodra@gmail.com>
12916
12917         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12918         * configure: Regenerate.
12919         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12920         * shlib-versions: Likewise.
12921
12922 2013-10-04  Alan Modra  <amodra@gmail.com>
12923
12924         * string/tester.c (test_memrchr): Increment reported test cycle.
12925
12926 2013-10-04  Alan Modra  <amodra@gmail.com>
12927
12928         * string/test-memcpy.c (do_one_test): When reporting errors, print
12929         string address and don't overrun end of string.
12930
12931 2013-10-04  Alan Modra  <amodra@gmail.com>
12932
12933         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12934         insrdi.  Make better use of reg selection to speed exit slightly.
12935         Schedule entry path a little better.  Remove useless "are we done"
12936         checks on entry to main loop.  Handle wrapping around zero address.
12937         Correct main loop count.  Handle single left-over word from main
12938         loop inline rather than by using loop_small.  Remove extra word
12939         case in loop_small caused by wrong loop count.  Add little-endian
12940         support.
12941         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12942         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12943         cache hint.
12944         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12945         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12946         support.  Avoid rlwimi.
12947         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12948
12949 2013-10-04  Alan Modra  <amodra@gmail.com>
12950
12951         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12952         insrdi.  Formatting.
12953         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12954         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12955         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12956         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12957         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12958         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12959
12960 2013-10-04  Alan Modra  <amodra@gmail.com>
12961
12962         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12964         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12965         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12966         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12967         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12968         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12969         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12970         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12971         use of regs.  Use power7 mtocrf.  Tidy function tails.
12972
12973 2013-10-04  Alan Modra  <amodra@gmail.com>
12974
12975         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12976         Formatting.  Consistently use rXXX register defines or rN defines.
12977         Use early exit labels that avoid restoring unused non-volatile regs.
12978         Make cr field use more consistent with rWORDn compares.  Rename
12979         regs used as shift registers for unaligned loop, using rN defines
12980         for short lifetime/multiple use regs.
12981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12982         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12983         addi 1,1,64 to pop stack frame.  Simplify return value code.
12984         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12985
12986 2013-10-04  Alan Modra  <amodra@gmail.com>
12987
12988         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12989         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12990         rather than rlwimi.
12991         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12992         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12993         little-endian support.  Correct typos.
12994         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12995         rather than rlwimi.
12996         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12997         in loop and entry code to keep "and." results.
12998         (strchr): Add little-endian support.  Comment.  Move cntlzd
12999         earlier in tail.
13000         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13001
13002 2013-10-04  Alan Modra  <amodra@gmail.com>
13003
13004         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13005         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13006         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13007         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13008
13009 2013-10-04  Alan Modra  <amodra@gmail.com>
13010
13011         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13012         (rTMP): Define as r11.
13013         (strcmp): Add little-endian support.  Optimise tail.
13014         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13015         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13016         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13017         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13018         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13019         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13021
13022 2013-10-04  Alan Modra  <amodra@gmail.com>
13023
13024         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13025         little-endian support.  Remove unnecessary "are we done" tests.
13026         Handle "s" wrapping around zero and extremely large "size".
13027         Correct main loop count.  Handle single left-over word from main
13028         loop inline rather than by using small_loop.  Correct comments.
13029         Delete "zero" tail, use "end_max" instead.
13030         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13031
13032 2013-10-04  Alan Modra  <amodra@gmail.com>
13033
13034         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13035         support.  Don't branch over align.
13036         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13037         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13038         support.  Rearrange tmp reg use to suit.  Comment.
13039         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13040
13041 2013-10-04  Alan Modra  <amodra@gmail.com>
13042
13043         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13044
13045 2013-10-04  Alan Modra  <amodra@gmail.com>
13046
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13048         conditional form of branch and link when obtaining pc.
13049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13050
13051 2013-10-04  Alan Modra  <amodra@gmail.com>
13052
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13054         HIWORD/LOWORD.
13055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13057
13058 2013-10-04  Alan Modra  <amodra@gmail.com>
13059
13060         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13061         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13062         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13063         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13064         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13065         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13066         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13067         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13068         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13069         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13070
13071 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13072             Alistair Popple <alistair@ozlabs.au.ibm.com>
13073             Alan Modra <amodra@gmail.com>
13074
13075         [BZ #15723]
13076         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13077         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13078         _dl_hwcap access for little-endian.
13079         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13080         destroy vmx regs when saving unaligned.
13081         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13082         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13083         destroy vmx regs when saving unaligned.
13084
13085 2013-10-04  Alan Modra  <amodra@gmail.com>
13086
13087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13088         Don't use a union to pack hi/low value.
13089
13090 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13091
13092         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13093         for little-endian.
13094         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13095         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13096         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13097         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13098         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13099
13100 2013-10-04  Alan Modra  <amodra@gmail.com>
13101
13102         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13103         constants to usual value for .cst8 section, and remove redundant
13104         high address load.
13105         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13106         constant for 0x1p52.  Load little-endian words of double from
13107         correct stack offsets.
13108
13109 2013-10-04  Alan Modra  <amodra@gmail.com>
13110
13111         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13112         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13113         words of double from correct stack offsets.
13114         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13115         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13116         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13117         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13118         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13119         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13120         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13121         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13122         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13123         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13125         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13126         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13127         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13128         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13129         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13130         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13131
13132 2013-10-04  Alan Modra  <amodra@gmail.com>
13133
13134         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13135         64-bit int/double union.
13136         (_FPU_SETCW): Likewise.
13137         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13138         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13139
13140 2013-10-04  Alan Modra  <amodra@gmail.com>
13141
13142         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13143         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13144
13145 2013-10-04  Alan Modra  <amodra@gmail.com>
13146
13147         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13148         use vector int constants.
13149         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13150
13151 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13152
13153         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13154         array with long long.
13155         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13156         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13157         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13158         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13159         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13160         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13161         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13162         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13163         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13164         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13165         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13166         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13167         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13168
13169 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13170
13171         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13172         (__signbit): Likewise.  Correct for little-endian.
13173         (__signbitl): Call __signbit.
13174         (lrint): Correct for little-endian.
13175         (lrintf): Call lrint.
13176
13177 2013-10-04  Alan Modra  <amodra@gmail.com>
13178
13179         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13180         union 32-bit int array member with 64-bit int array.
13181         (t515, tm256): Double rather than long double.
13182         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13183
13184 2013-10-04  Alan Modra  <amodra@gmail.com>
13185
13186         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13187         Delete.
13188         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13190         version of math_ldbl.h.
13191
13192 2013-10-04  Alan Modra  <amodra@gmail.com>
13193
13194         [BZ #15734], [BZ #15735]
13195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13196         all uses of ieee875 long double macros and unions.  Simplify test
13197         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13198         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13199         normalize after ldbl_extract_mantissa, and don't add hidden bit
13200         already handled.  Don't treat low word of ieee854 mantissa like
13201         low word of IBM long double and mask off bit when testing for
13202         zero.
13203         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13204         all uses of ieee875 long double macros and unions.  Simplify tests
13205         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13206         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13207         two1022, instead use their values.  Recognise that tests for large
13208         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13209         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13210         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13211         test for 0.0L and nan.  Correct negation.
13212         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13213         ieee875 long double macros and unions.  Correct output for large
13214         magnitude x.  Correct absolute value calculation.
13215         (__erfcl): Likewise.
13216         * math/libm-test.inc: Add tests for errors discovered in IBM long
13217         double versions of fmodl, remainderl, erfl and erfcl.
13218
13219 2013-10-04  Alan Modra  <amodra@gmail.com>
13220
13221         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13222         all uses of ieee854 long double macros and unions.  Simplify tests
13223         for long doubles that are fully specified by the high double.
13224         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13225         Likewise.
13226         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13227         Remove dead code too.
13228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13229         (__ieee754_ynl): Likewise.
13230         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13231         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13233         Remove dead code too.
13234         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13235         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13236         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13237         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13238         Simplify.
13239         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13240         Simplify.
13241         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13242         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13244         Comment on variable precision.
13245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13246         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13247         Likewise.
13248         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13249         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13250         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13251         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13252         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13253
13254 2013-10-04  Alan Modra  <amodra@gmail.com>
13255
13256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13257         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13258         all uses of ieee854 long double macros and unions.
13259         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13260         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13263         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13264         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13265         Likewise.
13266         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13267         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13268         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13269         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13270         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13271         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13272         Simplify sign and nan test too.
13273         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13274         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13275         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13276         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13277         Likewise.
13278         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13279         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13280         Likewise.
13281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13282         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13283         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13284         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13286         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13287
13288 2013-10-04  Alan Modra  <amodra@gmail.com>
13289
13290         * stdio-common/printf_size.c (__printf_size): Don't use
13291         union ieee854_long_double in fpnum union.
13292         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13293         signbit macro to retrieve sign from long double.
13294         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13295         retrieve sign from long double.
13296         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13297         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13298         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13299         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13300         * math/test-misc.c (main): Don't use union ieee854_long_double.
13301
13302 2013-10-04  Alan Modra  <amodra@gmail.com>
13303
13304         [BZ #15680]
13305         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13306         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13307         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13308         calculation.  Remove unnecessary test for denormal exponent.
13309         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13310         Correct handling of denormals.  Avoid undefined shift behaviour.
13311         Correct normalisation of low mantissa when low double is denormal.
13312         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13313         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13314         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13315         Correct normalisation of low mantissa.  Test for overflow of high
13316         mantissa and normalise.
13317         (ldbl_nearbyint): Use more readable constant for two52.
13318         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13319         (__mpn_construct_long_double): Fix test for overflow of high
13320         mantissa and correct normalisation.  Avoid undefined shift.
13321
13322 2013-10-04  Alan Modra  <amodra@gmail.com>
13323
13324         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13325         (union ibm_extended_long_double): Define as an array of ieee754_double.
13326         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13327         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13328         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13329         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13331         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13333         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13334         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13335         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13336         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13337
13338 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13339
13340         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13341         page size instead of calling getpagesize.
13342
13343         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13344         (LOCFILE_ALIGN_MASK): Likewise.
13345         (LOCFILE_ALIGN_UP): Likewise.
13346         (LOCFILE_ALIGNED_P): Likewise.
13347         * locale/programs/ld-collate.c (collate_output): Use the new
13348         macros instead of __alignof__ (int32_t).
13349         * locale/weight.h (findidx): Likewise.
13350
13351 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13352
13353         [BZ #431]
13354         * manual/string.texi: Fix strncat and wcsncat.
13355
13356 2013-10-03  Brooks Moses  <bmoses@google.com>
13357
13358         [BZ #15915]
13359         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13360         * Makerules: ...here, and adjust associated comments.
13361
13362 2013-10-02  Will Newton  <will.newton@linaro.org>
13363
13364         * malloc/Makefile: Add tst-pvalloc.
13365         * malloc/tst-pvalloc.c: New file.
13366
13367 2013-10-02  Will Newton  <will.newton@linaro.org>
13368
13369         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13370         improve test coverage.
13371
13372 2013-10-02  Will Newton  <will.newton@linaro.org>
13373
13374         * malloc/Makefile: Add tst-posix_memalign.
13375         * malloc/tst-posix_memalign.c: New file.
13376
13377 2013-10-01  Eric Blake  <eblake@redhat.com>
13378
13379         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13380         Use __THROWNL rather than __THROW on static functions.
13381
13382 2013-09-30  Petr Machata  <pmachata@redhat.com>
13383
13384         * elf/elf.h (R_AARCH64_ABS16): New macro.
13385         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13386         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13387         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13388         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13389         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13390         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13391         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13392         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13393         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13394         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13395         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13396         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13397         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13398         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13399         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13400         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13401         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13402         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13403         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13404         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13405         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13406         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13407         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13408         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13409         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13410         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13411         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13412         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13413         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13414         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13415         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13416         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13417         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13418         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13419         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13420         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13421         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13422         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13423         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13424         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13425         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13426         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13427         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13428         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13429         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13430         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13431         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13432         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13433         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13434         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13435         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13436         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13437         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13438         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13439         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13440         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13441         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13442         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13443         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13444         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13445         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13446         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13447         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13448         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13449         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13450         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13451         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13452         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13453         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13454         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13455         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13456         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13457         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13458         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13459         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13460         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13461         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13462         (R_AARCH64_TLSDESC_LDR): Likewise.
13463         (R_AARCH64_TLSDESC_ADD): Likewise.
13464         (R_AARCH64_TLSDESC_CALL): Likewise.
13465
13466 2013-09-30  Andreas Schwab  <schwab@suse.de>
13467
13468         [BZ #15048]
13469         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13470         the nss database lookup.
13471         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13473
13474 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13475
13476         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13477
13478 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13479
13480         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13481         ${Bash-specific parameter/pattern/string} parameter expansion.
13482         * sysdeps/unix/make-syscalls.sh: Likewise.
13483
13484 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13485
13486         * sysdeps/sh/stackguard-macros.h: New file.
13487
13488 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13489
13490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13491         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13492         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13493         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13494         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13495         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13496
13497 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13498
13499         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13500         Fix thread ID register.
13501
13502 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13503
13504         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13505         [POSIX || UNIX98]: Require rather than permitting all symbols from
13506         <time.h>.
13507         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13508         element of struct sched_param.
13509         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13510         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13511         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13512         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13513         constant.
13514
13515 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13516
13517         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13518         argument calculation.
13519
13520 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13521
13522         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13523         Expect macro.
13524         [POSIX] (pthread_attr_t): Do not require type.
13525         [POSIX] (pthread_cond_t): Likewise.
13526         [POSIX] (pthread_condattr_t): Likewise.
13527         [POSIX] (pthread_key_t): Likewise.
13528         [POSIX] (pthread_mutex_t): Likewise.
13529         [POSIX] (pthread_mutexattr_t): Likewise.
13530         [POSIX] (pthread_once_t): Likewise.
13531         [POSIX] (pthread_t): Likewise.
13532         [POSIX-based standards] (pthread_atfork): Expect function.
13533
13534 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13535             Richard Sandiford  <richard@codesourcery.com>
13536
13537         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13538         (swap_endianness_p): New extern variable.
13539         (set_big_endian): New inline function.
13540         (maybe_swap_uint32): Likewise.
13541         (maybe_swap_uint32_array): Likewise.
13542         (maybe_swap_uint32_obstack): Likewise.
13543         * locale/programs/locfile.c: Include <stdbool.h>.
13544         (swap_endianness_p): New variable.
13545         (add_locale_uint32): Call maybe_swap_uint32.
13546         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13547         (write_locale_data): Call maybe_swap_uint32_array.
13548         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13549         maybe_swap_uint32.
13550         (obstack_int32_grow_fast): Likewise.
13551         (output_weightwc): Call maybe_swap_uint32_obstack.
13552         (collate_output): Likewise.
13553         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13554         (OPT_LITTLE_ENDIAN): Likewise.
13555         (options): Add --little-endian and --big-endian options.
13556         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13557         * locale/programs/locarchive.c: Include "locfile.h".
13558         (GET): New macro.
13559         (SET): Likewise.
13560         (INC): Likewise.
13561         (create_archive): Use the new macros to access fields of
13562         structures directly mapped from or written to locale archives.
13563         (oldlocrecentcmp): Likewise.
13564         (enlarge_archive): Likewise.
13565         (insert_name): Likewise.
13566         (add_alias): Likewise.
13567         (add_locale): Likewise.
13568         (delete_locales_from_archive): Likewise.
13569         (show_archive_content): Likewise.
13570         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13571         locale data.
13572
13573 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13574
13575         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13576         http://www.gnu.org/doc/freemanuals.texi.
13577         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13578
13579 2013-09-24  Will Newton  <will.newton@linaro.org>
13580
13581         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13582         macro.
13583
13584 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13585
13586         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13587         unsigned char.
13588
13589 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13590
13591         * manual/threads.texi (POSIX Threads): Fix a typo.
13592
13593 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13594
13595         [BZ #14547]
13596         * string/tst-strcoll-overflow.c: New test case.
13597         * string/Makefile (xtests): Add tst-strcoll-overflow.
13598         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13599         cache if string sizes may cause integer overflow.
13600
13601         [BZ #14547]
13602         * string/strcoll_l.c (coll_seq): New members rule, idx,
13603         save_idx and back_us.
13604         (get_next_seq_nocache): New function.
13605         (do_compare_nocache): New function.
13606         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13607         when malloc fails.
13608
13609 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13610
13611         [BZ #15754]
13612         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13613         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13614         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13615
13616         [BZ #15754]
13617         * elf/Makefile (tests): Add tst-ptrguard1.
13618         (tests-static): Add tst-ptrguard1-static.
13619         (tst-ptrguard1-ARGS): Define.
13620         (tst-ptrguard1-static-ARGS): Define.
13621         * elf/tst-ptrguard1.c: New file.
13622         * elf/tst-ptrguard1-static.c: New file.
13623         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13624         * sysdeps/i386/stackguard-macros.h: Likewise.
13625         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13626         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13627         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13628         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13629         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13630         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13631
13632 2013-09-23  Hector Marco  <hecmargi@upv.es>
13633             Ismael Ripoll  <iripoll@disca.upv.es>
13634             Carlos O'Donell  <carlos@redhat.com>
13635
13636         [BZ #15754]
13637         * sysdeps/generic/stackguard-macros.h: Define
13638         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13639         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13640         Define __pointer_chk_guard_local.
13641         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13642         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13643
13644 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13645
13646         [BZ #15859]
13647         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13648
13649 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13650
13651         * include/string.h (__ffs): Declare as hidden.
13652         * string/ffs.c (__ffs): Define as hidden.
13653         * sysdeps/i386/ffs.c (__ffs): Likewise.
13654         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13655         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13656         * sysdeps/s390/ffs.c (__ffs): Likewise.
13657         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13658
13659 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13660
13661         * NEWS: Mention malloc probes.
13662
13663         * malloc/arena.c (new_heap): New memory_heap_new probe.
13664         (grow_heap): New memory_heap_more probe.
13665         (shrink_heap): New memory_heap_less probe.
13666         (heap_trim): New memory_heap_free probe.
13667         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13668         (systrim): New memory_sbrk_less probe.
13669         * manual/probes.texi: Document them.
13670
13671         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13672         * manual/probes.texi: Document it.
13673
13674         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13675         (__libc_realloc): Add memory_realloc_retry probe.
13676         (__libc_memalign): Add memory_memalign_retry probe.
13677         (__libc_valloc): Add memory_valloc_retry probe.
13678         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13679         (__libc_calloc): Add memory_calloc_retry probe.
13680         * manual/probes.texi: Document them.
13681
13682         * malloc/arena.c (get_free_list): Add probe
13683         memory_arena_reuse_free_list.
13684         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13685         and memory_arena_reuse.
13686         (arena_get2) [!PER_THREAD]: Likewise.
13687         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13688         memory_arena_reuse_realloc.
13689         * manual/probes.texi: Document them.
13690
13691         * malloc/malloc.c (__libc_free): Add
13692         memory_mallopt_free_dyn_thresholds probe.
13693         (__libc_mallopt): Add multiple memory_mallopt probes.
13694         * manual/probes.texi: Document them.
13695
13696         * malloc/malloc.c: Include stap-probe.h.
13697         (__libc_mallopt): Add memory_mallopt probe.
13698         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13699         * manual/probes.texi: New.
13700         * manual/Makefile (chapters): Add probes.
13701         * manual/threads.texi: Set next node.
13702
13703 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13704
13705         [BZ #15963, #13985]
13706         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13707         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13708         Add `Chinese' to `nan' entry name.
13709
13710 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13711
13712         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13713         (POLYNOMIAL): Likewise.
13714         (TAYLOR_SINCOS): Likewise.
13715         (TAYLOR_SLOW): Likewise.
13716         (__sin): Use TAYLOR_SINCOS.
13717         (__cos): Likewise.
13718         (slow): Use TAYLOR_SLOW.
13719         (sloww): Likewise.
13720         (bsloww): Likewise.
13721         (csloww): Likewise.
13722
13723 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13724
13725         * stdlib/strtod_l.c: Fix buffer overrun.
13726
13727 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13728
13729         * benchtests/Makefile (bench): Add sincos.
13730         * benchtests/bench-sincos.c: New file.
13731
13732         * math/libm-test.inc (cos_test_data): New test inputs.
13733         (sin_test_data): Likewise.
13734
13735         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13736         macro.
13737         (__sin): Use it.
13738         (__cos): Likewise.
13739         (slow1): Likewise.
13740         (slow2): Likewise.
13741         (sloww1): Likewise.
13742         (sloww2): Likewise.
13743         (bsloww1): Likewise.
13744         (bsloww2): Likewise.
13745         (cslow2): Likewise.
13746         (csloww1): Likewise.
13747         (csloww2): Likewise.
13748
13749         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13750         function.
13751         (__sin): Use it.
13752         (__cos): Likewise.
13753
13754         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13755         gotos.
13756         (__cos): Likewise.
13757
13758 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13759
13760         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13761         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13762         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13763         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13764         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13765         * elf/cache.c (print_entry): Handle the new cache flags.
13766
13767 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13768             Aldy Hernandez  <aldyh@redhat.com>
13769
13770         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13771         Change condition to [_SOFT_FLOAT].
13772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13784         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13787         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13788         declaration.
13789
13790 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13791
13792         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13793         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13794         (__longjmp): Use LOAD_GP to load saved GPRs.
13795         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13796         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13797         (__sigsetjmp): Use SAVE_GP to save GPRs.
13798
13799         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13800         Do not append -msoft-float.
13801         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13802
13803 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13804
13805         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13806
13807 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13808
13809         [BZ #15966]
13810         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13811         (_FPU_GETCW): Use initial "__" on variable and field names but not
13812         on macro parameter name.
13813         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13814         parentheses around reference to macro parameter.
13815
13816 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13817
13818         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13819         prototype.
13820         (ctype_startup): Use uint32_t in cast and sizeof for
13821         ctype->charnames.
13822
13823 2013-09-11  Jia Liu  <proljc@gmail.com>
13824
13825         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13826         __daddr_t_defined.
13827         [__FreeBSD__]: Likewise.
13828
13829 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13830
13831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13832         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13833         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13834         (strchr): Remove __strchr_sse42 ifunc selection.
13835         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13836         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13837
13838 2013-09-11  Will Newton  <will.newton@linaro.org>
13839
13840         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13841         parameter to RES. Remove hardcoded 1000 value.
13842         * benchtests/bench-skeleton.c (main): Pass RES parameter
13843         to TIMING_INIT and multiply result by 1000.
13844
13845 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13846
13847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13848
13849 2013-09-11  Andreas Schwab  <schwab@suse.de>
13850
13851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13852         if not defined.
13853         (O_TMPFILE) [__USE_GNU]: Define.
13854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13855         Define.
13856
13857 2013-09-11  Will Newton  <will.newton@linaro.org>
13858
13859         [BZ #15857]
13860         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13861         does not overflow.
13862
13863 2013-09-11  Will Newton  <will.newton@linaro.org>
13864
13865         [BZ #15856]
13866         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13867         does not overflow.
13868
13869 2013-09-11  Will Newton  <will.newton@linaro.org>
13870
13871         [BZ #15855]
13872         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13873         does not overflow.
13874
13875 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13876
13877         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13878         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13879         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13880         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13881         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13882
13883 2013-09-10  Allan McRae  <allan@archlinux.org>
13884
13885         [BZ #15748]
13886         * manual/arith.texi (Parsing of Floats): Clarify
13887         cross-reference.
13888
13889         [BZ #15849]
13890         * manual/install.texi (Running make install): Mention
13891         --enable-pt-chown.
13892         * INSTALL: Regenerated.
13893
13894 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13895
13896         * csu/init-first.c (_init): Remove the !SHARED condition around
13897         FPU control word initialization.
13898         * elf/dl-support.c (_dl_fpu_control): New variable.
13899         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13900         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13901         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13902         * math/test-fpucw-static.c: New file.
13903         * math/test-fpucw-ieee.c: New file.
13904         * math/test-fpucw-ieee-static.c: New file.
13905         * math/Makefile (tests): Add `test-fpucw-ieee' and
13906         `$(tests-static)'.
13907         (tests-static): New variable.
13908         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13909         dependency to...
13910         [($(build-shared),yes)]
13911         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13912         ... this.
13913         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13914         New dependency.
13915
13916 2013-09-09  Allan McRae  <allan@archlinux.org>
13917
13918         [BZ #15939]
13919         * manual/string.texi (Collation Functions): Fix typo in
13920         strcoll example.
13921         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13922
13923         [BZ #15893]
13924         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13925
13926         [BZ #15892]
13927         * libio/memstream.c (open_memstream): Fix memory leak.
13928         * libio/wmemstream.c (open_wmemstream): Likewise.
13929
13930         [BZ #15895]
13931         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13932
13933 2013-09-09  Will Newton  <will.newton@linaro.org>
13934
13935         * malloc/Makefile: Add tst-realloc to tests.
13936         * malloc/tst-realloc.c: New file.
13937
13938 2013-09-09  Allan McRae  <allan@archlinux.org>
13939
13940         [BZ #15844]
13941         * COPYING: Update from GNU website to fix FSF address.
13942         * COPYING.LIB: Likewise.
13943
13944 2013-09-06  David S. Miller  <davem@davemloft.net>
13945
13946         * po/zh_TW.po: Update Chinese (traditional) translation from
13947         translation project.
13948
13949 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13950             Joseph Myers  <joseph@codesourcery.com>
13951
13952         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13953         "localeinfo.h".
13954         (obstack_chunk_alloc): New macro.
13955         (obstack_chunk_free): Likewise.
13956         (record_offset): New function.
13957         (init_locale_data): Likewise.
13958         (align_locale_data): Likewise.
13959         (add_locale_empty): Likewise.
13960         (add_locale_raw_data): Likewise.
13961         (add_locale_raw_obstack): Likewise.
13962         (add_locale_string): Likewise.
13963         (add_locale_wstring): Likewise.
13964         (add_locale_uint32): Likewise.
13965         (add_locale_uint32_array): Likewise.
13966         (add_locale_char): Likewise.
13967         (start_locale_structure): Likewise.
13968         (end_locale_structure): Likewise.
13969         (start_locale_prelude): Likewise.
13970         (end_locale_prelude): Likewise.
13971         (write_locale_data): Take locale_file structure rather than an
13972         iovec.
13973         * locale/programs/locfile.h: Include "obstack.h".
13974         (struct locale_file): Change to store locale file contents instead
13975         of header.
13976         (init_locale_data): New prototype.
13977         (align_locale_data): Likewise.
13978         (add_locale_empty): Likewise.
13979         (add_locale_raw_data): Likewise.
13980         (add_locale_raw_obstack): Likewise.
13981         (add_locale_string): Likewise.
13982         (add_locale_wstring): Likewise.
13983         (add_locale_uint32): Likewise.
13984         (add_locale_uint32_array): Likewise.
13985         (add_locale_char): Likewise.
13986         (start_locale_structure): Likewise.
13987         (end_locale_structure): Likewise.
13988         (start_locale_prelude): Likewise.
13989         (end_locale_prelude): Likewise.
13990         (write_locale_data): Update prototype.
13991         * locale/programs/3level.h (struct TABLE): Remove result field.
13992         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13993         Use new locale_file interface.
13994         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13995         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13996         * locale/programs/ld-address.c (address_output): Use new
13997         locale_file interface.
13998         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13999         NO_ADD_LOCALE.
14000         (collate_finish): Don't call collseq_table_finalize.
14001         (collate_output): Use new locale_file interface.
14002         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14003         in file.
14004         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14005         (TABLE): Move defines earlier in file.
14006         (ELEMENT): Likewise.
14007         (DEFAULT): Likewise.
14008         (wctrans_table_add): Move macro and inline function earlier in
14009         file.
14010         (struct wctype_table): Move type earlier in file.
14011         (add_locale_wctype_table): New static prototype.
14012         (struct locale_ctype_t): Use logical types instead of struct iovec
14013         pointers for members.
14014         (ctype_output): Use new locale_file interface.
14015         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14016         new locale_file interface.
14017         (allocate_arrays): Update for use of new locale_file interface.
14018         * locale/programs/ld-identification.c (identification_output): Use
14019         new locale_file interface.
14020         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14021         * locale/programs/ld-messages.c (messages_output): Likewise.
14022         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14023         * locale/programs/ld-name.c (name_output): Likewise.
14024         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14025         * locale/programs/ld-paper.c (paper_output): Likewise.
14026         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14027         * locale/programs/ld-time.c (time_output): Likewise.
14028
14029 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14030
14031         * benchtests/Makefile: Add memrchr benchmark.
14032         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14033         benchmark as memrchr.
14034         * benchtests/bench-memrchr-ifunc.c: New file.
14035         * benchtests/bench-memrchr.c: New file.
14036
14037 2013-09-06   Will Newton  <will.newton@linaro.org>
14038
14039         * benchtests/Makefile (string-bench): Add memcpy.
14040
14041 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14042             Cong Wang  <amwang@redhat.com>
14043
14044         [BZ #15850]
14045         * sysdeps/unix/sysv/linux/bits/in.h
14046         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14047         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14048         before __USE_KERNEL_IPV6_DEFS uses.
14049         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14050         IPPROTO_BEETPH.
14051         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14052         sockaddr_in6, or ipv6_mreq.
14053
14054 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14055
14056         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14057         memory access for final bytes in some large inputs.
14058         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14059
14060 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14061
14062         * string/test-memrchr.c: New file.
14063         * string/test-memrchr-ifunc.c: New file.
14064         * string/Makefile: Add new memrchr testcase.
14065
14066 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14067
14068         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14069         fanotify_init returns EPERM.
14070
14071 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14072
14073         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14074         errors.
14075         (top level): Treat second token from macro or constant entries for
14076         allowed headers as allowed.
14077         * include/complex.h: Condition internal declarations on
14078         [!_ISOMAC].
14079         * include/fenv.h: Condition include of <stdbool.h> and internal
14080         declarations on [!_ISOMAC].
14081
14082 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14083
14084         [BZ #15923]
14085         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14086
14087 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14088
14089         * configure.in (--enable-versioning): Remove configure option.
14090         (libc_cv_asm_symver_directive): Remove configure test.
14091         (libc_cv_ld_version_script_option): Likewise.
14092         (VERSIONING): Remove variable and AC_SUBST.
14093         (DO_VERSIONING): Remove AC_DEFINE.
14094         * configure: Regenerated.
14095         * config.h.in (DO_VERSIONING): Remove macro.
14096         * Makerules [$(versioning) = yes]: Change conditionals to
14097         [$(build-shared) = yes].
14098         * config.make.in (versioning): Remove variable.
14099         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14100         [$(build-shared) = yes].
14101         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14102         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14103         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14104         [$(build-shared) = yes].
14105         * extra-lib.mk [$(versioning) = yes]: Likewise.
14106         * hurd/Makefile [$(versioning) = yes]: Likewise.
14107         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14108         [SHARED].
14109         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14110         [SHARED].
14111         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14112         [SHARED && !NO_HIDDEN].
14113         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14114         [SHARED].
14115         [SHARED && DO_VERSIONING]: Likewise..
14116         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14117         [$(build-shared) = yes].
14118         * manual/install.texi (--disable-versioning): Remove
14119         documentation.
14120         * INSTALL: Regenerated.
14121         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14122         to [SHARED].
14123         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14124         [$(build-shared) = yes].
14125         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14126         * sysdeps/i386/i686/multiarch/strstr-c.c
14127         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14128         [SHARED && !NO_HIDDEN].
14129         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14130         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14131         * sysdeps/powerpc/powerpc32/dl-machine.c
14132         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14133         * sysdeps/powerpc/powerpc32/sysdep.h
14134         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14135         to [SHARED && PIC && !NO_HIDDEN].
14136         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14137         conditional to [SHARED].
14138
14139 2013-09-04   Will Newton  <will.newton@linaro.org>
14140
14141         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14142         * benchtests/bench-string.h: Include bench-timing.h instead
14143         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14144         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14145         call to HP_TIMING_DIFF_INIT.
14146         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14147         instead of hp-timing.h macros.
14148         * benchtests/bench-memchr.c: Likewise.
14149         * benchtests/bench-memcmp.c: Likewise.
14150         * benchtests/bench-memcpy.c: Likewise.
14151         * benchtests/bench-memmem.c: Likewise.
14152         * benchtests/bench-memmove.c: Likewise.
14153         * benchtests/bench-memset.c: Likewise.
14154         * benchtests/bench-rawmemchr.c: Likewise.
14155         * benchtests/bench-strcasecmp.c: Likewise.
14156         * benchtests/bench-strcasestr.c: Likewise.
14157         * benchtests/bench-strcat.c: Likewise.
14158         * benchtests/bench-strchr.c: Likewise.
14159         * benchtests/bench-strcmp.c: Likewise.
14160         * benchtests/bench-strcpy.c: Likewise.
14161         * benchtests/bench-strcpy_chk.c: Likewise.
14162         * benchtests/bench-strlen.c: Likewise.
14163         * benchtests/bench-strncasecmp.c: Likewise.
14164         * benchtests/bench-strncat.c: Likewise.
14165         * benchtests/bench-strncmp.c: Likewise.
14166         * benchtests/bench-strncpy.c: Likewise.
14167         * benchtests/bench-strnlen.c: Likewise.
14168         * benchtests/bench-strpbrk.c: Likewise.
14169         * benchtests/bench-strrchr.c: Likewise.
14170         * benchtests/bench-strspn.c: Likewise.
14171         * benchtests/bench-strstr.c: Likewise.
14172
14173 2013-09-04  Will Newton  <will.newton@linaro.org>
14174
14175         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14176
14177 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14178
14179         [BZ #15427]
14180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14181         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14182         * math/libm-test.inc (lgamma_test_data): Add more tests.
14183         * sysdeps/i386/fpu/libm-test-ulps: Update.
14184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14185
14186 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14187
14188         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14190         Add ifunc.
14191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14192         Add strcmp-sse2-unaligned
14193         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14194
14195 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14196
14197         * Versions.def (libc): Add GLIBC_2.19.
14198
14199 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14200
14201         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14202         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14203
14204 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14205
14206         [BZ #14155]
14207         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14208         intermediate calculations in recurrence.
14209         (__ieee754_ynf): Likewise.
14210         * math/libm-test.inc (jn_test_data): Do not allow spurious
14211         underflow exception.  Add more tests.
14212         (yn_test_data): Add more tests.
14213         * sysdeps/i386/fpu/libm-test-ulps: Update.
14214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14215
14216 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14217
14218         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14219
14220 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14221
14222         * csu/init-first.c: Fix then/than typos.
14223         * locale/programs/ld-collate.c: Likewise.
14224         * locale/programs/linereader.h: Likewise.
14225         * manual/charset.texi: Likewise.
14226         * manual/filesys.texi: Likewise.
14227         * manual/stdio.texi: Likewise.
14228         * manual/string.texi: Likewise.
14229         * stdlib/fmtmsg.c: Likewise.
14230         * sysdeps/i386/stpncpy.S: Likewise.
14231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14232         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14233         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14234         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14235
14236 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14237
14238         * elf/dl-open.c: Fix typos.
14239         * iconvdata/gbbig5.c: Likewise.
14240         * iconvdata/iso-2022-jp.c: Likewise.
14241         * iconv/gconv_int.h: Likewise.
14242         * iconv/loop.c: Likewise.
14243         * nis/rpcsvc/nis.h: Likewise.
14244         * resolv/ns_name.c: Likewise.
14245         * stdio-common/vfscanf.c: Likewise.
14246         * streams/stropts.h: Likewise.
14247         * sunrpc/rpc_thread.c: Likewise.
14248         * sysdeps/i386/strpbrk.S: Likewise.
14249         * sysdeps/ieee754/k_standard.c: Likewise.
14250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14251         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14252         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14253         * sysdeps/mach/hurd/profil.c: Likewise.
14254         * sysdeps/s390/dl-procinfo.h: Likewise.
14255         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14256         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14257         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14258         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14259         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14260
14261 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14262
14263         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14265
14266 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14267
14268         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14269         aix specific files.
14270         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14273         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14274         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14275         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14276         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14277         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14278
14279 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14280             Roland McGrath  <roland@hack.frob.com>
14281
14282         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14283         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14284
14285 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14286
14287         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14288         __executable_start symbol instead of _start.
14289
14290 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14291
14292         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14293         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14294         Move macros to...
14295         * sysdeps/gnu/ldsodefs.h: ... this new file.
14296
14297         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14298         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14299         instead of ELFOSABI_LINUX.
14300
14301         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14302         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14303         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14304         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14305         Likewise.
14306         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14307         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14308         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14309         Likewise.
14310         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14311         (ibm_extended_long_double): Add ieee_nan member.
14312         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14313         (do_test): New function.
14314
14315         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14316         TEST_TRUNC.
14317         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14318         functions, renamed from truncdfsf_test, trunctfsf_test,
14319         trunctfdf_test.
14320         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14321         functions.
14322         (do_test): Run all these.
14323
14324 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14325
14326         * argp/argp-help.c: Fix typos.
14327         * argp/argp-parse.c: Likewise.
14328         * debug/backtracesyms.c: Likewise.
14329         * elf/elf.h: Likewise.
14330         * malloc/malloc.c: Likewise.
14331         * nis/nis_print.c: Likewise.
14332         * resolv/res_comp.c: Likewise.
14333         * stdlib/stdlib.h: Likewise.
14334         * sunrpc/clnt_tcp.c: Likewise.
14335         * sunrpc/clnt_udp.c: Likewise.
14336         * sunrpc/clnt_unix.c: Likewise.
14337         * sysdeps/unix/bsd/ptsname.c: Likewise.
14338         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14339         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14341         Likewise.
14342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14343         Likewise.
14344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14345         Likewise.
14346         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14347
14348 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14349
14350         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14352
14353 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14354
14355         [BZ #15897]
14356         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14357         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14358         ($(objpfx)bug-dl-leaf): New rule.
14359         ($(objpfx)bug-dl-leaf.so): Likewise.
14360         ($(objpfx)bug-dl-leaf.out): Likewise.
14361         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14362         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14363         * dlfcn/bug-dl-leaf.c: New test.
14364         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14365         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14366         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14367         (dlclose): Likewise.
14368         (dlmopen): Likewise.
14369
14370 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14371
14372         * include/netdb.h [!_ISOMAC]:
14373         Don't include <tls.h>.
14374         (h_errno, __libc_h_errno): Move declaration and macros out of
14375         [_LIBC_REENTRANT].
14376
14377         * include/resolv.h [_RESOLV_H_]:
14378         Don't include <tls.h>.
14379         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14380         * resolv/res_libc.c: Don't include <tls.h>.
14381         (_res): Use __attribute__ ((nocommon)) in place of
14382         __attribute__ ((section (".bss"))).
14383
14384         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14385         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14386
14387         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14388
14389         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14390         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14391
14392         * resolv/res_mkquery.c: Include <sys/time.h>.
14393
14394         * inet/ifreq.c: Moved to ...
14395         * sysdeps/unix/ifreq.c: ... here.
14396         * inet/ifreq.c: New file, true stub version.
14397
14398         * socket/sa_len.c: New file.
14399         * socket/Makefile (aux): Add it.
14400         * sysdeps/unix/sysv/linux/Makefile
14401         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14402         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14403         and #include <socket/sa_len.c>.
14404         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14405         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14406
14407         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14408         * bits/socket.h: ... here.
14409
14410         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14411         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14412         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14413
14414 2013-08-27  Andreas Schwab  <schwab@suse.de>
14415
14416         [BZ #15736]
14417         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14418         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14419         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14420         * string/test-strcasecmp.c (test_main): Run tests in several
14421         locales.
14422         * string/test-strncasecmp.c (test_main): Likewise.
14423
14424         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14425         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14426         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14428         (__strncasecmp_ssse3) [PIC]: Likewise.
14429
14430 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14431
14432         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14433
14434         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14435         instead of explicitly declaring xdecrypt.
14436         * nis/nss_nis/nis-publickey.c: Likewise.
14437
14438 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14439
14440         [BZ #15890]
14441         * nscd/aicache.c: Include res_hconf.h.
14442         (addhstaiX): Initialize res_hconf.
14443
14444 2013-08-26  Andreas Schwab  <schwab@suse.de>
14445
14446         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14447         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14448
14449 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14450
14451         * nscd/aicache.c (addhstaiX): Fix indentation.
14452
14453 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14454
14455         * configure.ac: Quote $build_pt_chown test.
14456         * configure: Regenerated.
14457
14458 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14459
14460         [BZ #15532]
14461         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14462         * math/s_cexpf.c (__cexpf): Likewise.
14463         * math/s_cexpl.c (__cexpl): Likewise.
14464         * math/libm-test.inc (cexp_test_data): Correct expected return
14465         value for NaN + i0.  Add another test.
14466
14467 2013-08-22  David S. Miller  <davem@davemloft.net>
14468
14469         * po/ca.po: Update Catalan translation from translation project.
14470         * po/uk.po: Add Ukrainian translations from translation project.
14471
14472 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14473
14474         [BZ #15797]
14475         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14476         is infinite, not alongside NaN test.
14477         * math/s_fdimf.c (__fdimf): Likewise.
14478         * math/s_fdiml.c (__fdiml): Likewise.
14479         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14480         errno is unchanged.
14481
14482 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14483
14484         * argp/argp-help.c: Fix typos.
14485         * crypt/speeds.c: Likewise.
14486         * csu/check_fds.c: Likewise.
14487         * elf/dl-load.c: Likewise.
14488         * elf/dl-open.c: Likewise.
14489         * elf/reldep3.c: Likewise.
14490         * elf/reldep.c: Likewise.
14491         * elf/sprof.c: Likewise.
14492         * iconv/iconv_charmap.c: Likewise.
14493         * iconv/skeleton.c: Likewise.
14494         * iconv/strtab.c: Likewise.
14495         * io/lockf64.c: Likewise.
14496         * libio/libioP.h: Likewise.
14497         * resolv/gai_notify.c: Likewise.
14498         * resolv/ns_name.c: Likewise.
14499         * resolv/ns_samedomain.c: Likewise.
14500         * resolv/res_send.c: Likewise.
14501         * stdlib/random.c: Likewise.
14502         * sunrpc/rpc/xdr.h: Likewise.
14503         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14504         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14505         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14506         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14507         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14508         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14510         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14511         * sysdeps/mach/hurd/check_fds.c: Likewise.
14512         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14513         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14514         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14515         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14516         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14517         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14518         * sysdeps/pthread/aio_notify.c: Likewise.
14519         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14520         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14521         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14523         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14524
14525 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14526
14527         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14528         version if bit_Slow_SSE4_2 is set.
14529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14530         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14531
14532 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14533
14534         [BZ #15867]
14535         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14536         trampoline stack frame information.
14537         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14539         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14540         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14541         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14542         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14543         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14544         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14545         sa_flags value.
14546         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14547         interrupting a syscall and set with option SA_SIGINFO.
14548
14549 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14550
14551         [BZ #15531]
14552         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14553         argument is infinite.
14554         * math/s_cprojf.c (__cprojf): Likewise.
14555         * math/s_cprojl.c (__cprojl): Likewise.
14556         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14557         * math/libm-test.inc (cproj_test_data): Add more tests.
14558
14559         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14560
14561         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14562         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14563         size.  Use __ffs to determine corresponding shift.
14564
14565 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14566             Roland McGrath  <roland@hack.frob.com>
14567
14568         * Makefile (INSTALL): Remove trailing blank lines from output of
14569         makeinfo.
14570
14571 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14572
14573         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14574         Align 32 bit compat elf_greg to 8 bytes.
14575
14576 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14577
14578         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14579
14580 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14581
14582         * string/strcoll_l.c (coll_seq): New structure.
14583         (get_next_seq_cached): New function.
14584         (get_next_seq): New function.
14585         (do_compare): New function.
14586         (STRCOLL): Use GNU style definition.  Simplify implementation
14587         by using get_next_seq, get_next_seq_cached and do_compare.
14588
14589 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14590
14591         [BZ #14699]
14592         CVE-2013-4237
14593         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14594         member.
14595         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14596         member.
14597         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14598         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14599         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14600         conditional.
14601         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14602         GETDENTS_64BIT_ALIGNED.
14603         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14604         * manual/filesys.texi (Reading/Closing Directory): Document
14605         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14606         strongly.
14607         * manual/conf.texi (Limits for Files): Add portability note to
14608         NAME_MAX, PATH_MAX.
14609         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14610
14611 2013-08-13  Andreas Schwab  <schwab@suse.de>
14612
14613         [BZ #15749]
14614         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14615         of fabs.
14616         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14617         LDBL_MAX_EXP >= 16384]: Add tests for it.
14618
14619 2013-08-12  David S. Miller  <davem@davemloft.net>
14620
14621         * version.h (RELEASE): Set to "development".
14622         (VERSION): Set to "2.18.90".
14623         * NEWS: Add 2.19 section.
14624
14625 2013-08-03  David S. Miller  <davem@davemloft.net>
14626
14627         * po/ko.po: Update Korean translation from translation project.
14628
14629 2013-08-01  David S. Miller  <davem@davemloft.net>
14630
14631         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14632         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14633         Bilka.
14634
14635 2013-07-30  David S. Miller  <davem@davemloft.net>
14636
14637         * po/fr.po: Update French translation from translation project.
14638
14639 2013-07-28  David S. Miller  <davem@davemloft.net>
14640
14641         * po/cs.po: Update Czech translation from translation project.
14642
14643         * po/sv.po: Update Swedish translation from translation project.
14644
14645 2013-07-27  David S. Miller  <davem@davemloft.net>
14646
14647         * po/eo.po: Update Esperanto translation from translation project.
14648
14649         * po/vi.po: Update Vietnamese translation from translation project.
14650
14651         * po/de.po: Update German translation from translation project.
14652
14653 2013-07-26  David S. Miller  <davem@davemloft.net>
14654
14655         * po/bg.po: Update Bulgarian translation from translation project.
14656
14657         * po/nl.po: Update Dutch translation from translation project.
14658         * po/pl.po: Update Polish translation from translation project.
14659         * po/ru.po: Update Russian translation from translation project.
14660
14661 2013-07-24  David S. Miller  <davem@davemloft.net>
14662
14663         * po/libc.pot: Update.
14664
14665 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14666
14667         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14668         variable page size.
14669         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14670         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14671         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14672
14673 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14674
14675         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14676
14677 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14678             Andreas Schwab  <schwab@suse.de>
14679             Roland McGrath  <roland@hack.frob.com>
14680             Joseph Myers  <joseph@codesourcery.com>
14681             Carlos O'Donell  <carlos@redhat.com>
14682
14683         [BZ #15755]
14684         * config.h.in: Define HAVE_PT_CHOWN.
14685         * config.make.in (build-pt-chown): New variable.
14686         * configure.in (--enable-pt_chown): New configure option.
14687         * configure: Regenerate.
14688         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14689         build-pt-chown is enabled.
14690         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14691         pt_chown to fix pty ownership.
14692         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14693         CLOSE_ALL_FDS.
14694         * manual/install.texi (Configuring and compiling): Mention
14695         --enable-pt_chown. Add @findex for grantpt.
14696         * INSTALL: Regenerate.
14697
14698 2013-07-20  David S. Miller  <davem@davemloft.net>
14699
14700         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14701         difference between 32-bit and 64-bit.
14702
14703 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14704
14705         [BZ #15711]
14706         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14707         Avoid system header dependency with -ffreestanding.
14708         ($(objpfx)bits/syscall%d): Likewise.
14709
14710 2013-07-13  David S. Miller  <davem@davemloft.net>
14711
14712         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14713         underflows from atanl/atan2l due to bug 15319.
14714         (casinh_test_data): Likewise.
14715
14716 2013-07-07  David S. Miller  <davem@davemloft.net>
14717
14718         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14719
14720 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14721
14722         * sysdeps/i386/fpu/libm-test-ulps: Update.
14723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724
14725 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14726
14727         * configure.in (--enable-lock-elision): Fix message text.
14728         * INSTALL: Regenerate.
14729         * configure: Regenerate.
14730
14731 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14732
14733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14734
14735 2013-07-03  Andreas Jaeger  <aj@suse.de>
14736
14737         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14738         define.
14739         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14740         (ptrace_peeksiginfo_args): Add.
14741         (__ptrace_peeksiginfo_flags): Add.
14742         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14743         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14744         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14745
14746 2013-07-03  Allan McRae  <allan@archlinux.org>
14747
14748         * sysdeps/i386/fpu/libm-test-ulps: Update.
14749
14750 2013-07-02  David S. Miller  <davem@davemloft.net>
14751
14752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14753
14754 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14755
14756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14757
14758 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14759
14760         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14762
14763 2013-07-02  Andi Kleen <ak@linux.intel.com>
14764
14765         * config.h.in (ENABLE_LOCK_ELISION): Add.
14766         * configure.in (--enable-lock-elision): Add option.
14767         * manual/install.texi: Document --enable lock elision.
14768         * configure: Regenerate
14769         * INSTALL: Regenerate.
14770
14771 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14772
14773         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14774         SSE4.2 strcasecmp for libc.a.
14775         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14776
14777 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14778
14779         [BZ #13304]
14780         * soft-fp/op-common.h (_FP_FMA): New macro.
14781         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14782         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14783         (_FP_MUL_MEAT_1_imm): ... here.
14784         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14785         (_FP_MUL_MEAT_1_wide): ... here.
14786         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14787         (_FP_MUL_MEAT_1_hard): ... here.
14788         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14789         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14790         (_FP_MUL_MEAT_2_wide): ... here.
14791         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14792         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14793         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14794         (_FP_MUL_MEAT_2_gmp): ... here.
14795         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14796         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14797         (_FP_MUL_MEAT_4_wide): ... here.
14798         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14799         (_FP_MUL_MEAT_4_gmp): ... here.
14800         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14801         (_FP_WFRACBITS_DW_S): Likewise.
14802         (_FP_WFRACXBITS_DW_S): Likewise.
14803         (_FP_HIGHBIT_DW_S): Likewise.
14804         (FP_FMA_S): Likewise.
14805         (_FP_FRAC_HIGH_DW_S): Likewise.
14806         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14807         (_FP_WFRACBITS_DW_D): Likewise.
14808         (_FP_WFRACXBITS_DW_D): Likewise.
14809         (_FP_HIGHBIT_DW_D): Likewise.
14810         (FP_FMA_D): Likewise.
14811         (_FP_FRAC_HIGH_DW_D): Likewise.
14812         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14813         (_FP_WFRACBITS_DW_E): Likewise.
14814         (_FP_WFRACXBITS_DW_E): Likewise.
14815         (_FP_HIGHBIT_DW_E): Likewise.
14816         (FP_FMA_E): Likewise.
14817         (_FP_FRAC_HIGH_DW_E): Likewise.
14818         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14819         (_FP_WFRACBITS_DW_Q): Likewise.
14820         (_FP_WFRACXBITS_DW_Q): Likewise.
14821         (_FP_HIGHBIT_DW_Q): Likewise.
14822         (FP_FMA_Q): Likewise.
14823         (_FP_FRAC_HIGH_DW_Q): Likewise.
14824         * soft-fp/fmasf4.c: New file.
14825         * soft-fp/fmadf4.c: Likewise.
14826         * soft-fp/fmatf4.c: Likewise.
14827
14828 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14829
14830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14831         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14832         Silvermont.
14833         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14834         macro.
14835         (index_Slow_SSE4_2): Likewise.
14836         (index_Prefer_PMINUB_for_stringop): Likewise.
14837         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14838         bit_Slow_SSE4_2 is set.
14839         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14840         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14841
14842 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14843
14844         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14845         rtld_global._dl_hwcap2.
14846         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14847         POWER8.
14848         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14849         POWER8 feature descriptions defined in _dl_hwcap2.
14850         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14851         string handling for POWER8 feature bits.
14852         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14853         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14854         _dl_powerpc_cap_flags.
14855         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14856         * sysdeps/powerpc/rtld-global-offsets.sym
14857         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14858         _dl_hwcap2 in the rtld_global_ro structure.
14859
14860 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14861
14862         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14863         hardware capabilities in support of AT_HWCAP2.
14864         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14865         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14866         GLRO(dl_hwcap2).
14867         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14868         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14869         explicitly the unknown a_type display mechanism is used.
14870         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14871         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14872         struct member.
14873         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14874         to macro prototype for AT_HWCAP2 support.
14875         * sysdeps/i386/dl-procinfo.h: Likewise.
14876         * sysdeps/s390/dl-procinfo.h: Likewise.
14877         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14878         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14879         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14880         return -1 for unknown a_type display fallback.
14881         * sysdeps/sparc/dl-procinfo.h: Likewise.
14882         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14883         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14884
14885 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14886
14887         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14888         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14889
14890 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14891
14892         [BZ #12492]
14893         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14894         mprotect making __stack_prot writable.
14895
14896 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14897             Joseph Myers  <joseph@codesourcery.com>
14898
14899         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14900         as being properly aligned.
14901
14902 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14903
14904         * dlfcn/modstatic5.c: New file.
14905         * dlfcn/tststatic5.c: New file.
14906         * dlfcn/Makefile (tests): Add tststatic5.
14907         (tests-static): Likewise.
14908         (modules-names): Add modstatic5.
14909         (tststatic5-ENV): New variable.
14910         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14911
14912         [BZ #15022]
14913         * elf/dl-support.c (_dl_main_map): New variable.
14914         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14915         (_dl_nns, _dl_load_adds): Set to 1.
14916         (_dl_initial_searchlist): Refer to _dl_main_map.
14917         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14918         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14919         call to _dl_get_origin.
14920         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14921         around call_map.
14922         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14923         * dlfcn/modstatic3.c: New file.
14924         * dlfcn/tststatic3.c: New file.
14925         * dlfcn/tststatic4.c: New file.
14926         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14927         (tests-static): Likewise.
14928         (modules-names): Add modstatic3.
14929         (tststatic3-ENV, tststatic4-ENV): New variables.
14930         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14931         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14932
14933 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14934
14935         * configure.in (CC): Require GCC version 4.4 or later.
14936         * configure: Regenerated.
14937         * manual/install.texi (Tools for Compilation): Update GCC version
14938         requirement.
14939         * INSTALL: Regenerated.
14940
14941 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14942
14943         [BZ #15674]
14944         * string/test-memcmp.c (check2): New.
14945         (main): Call check2.
14946
14947         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14948
14949 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14950
14951         [BZ #15022]
14952         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14953         over to...
14954         (dl_open_worker) [!SHARED]: ... here.
14955
14956 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14957
14958         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14959
14960 2013-06-25  Richard Henderson  <rth@redhat.com>
14961
14962         * locale/programs/locarchive.c: Include <libc-internal.h>
14963
14964 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14965
14966         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14967         trailing whitespace removed.
14968
14969 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14970
14971         [BZ #10283]
14972         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14973         * locale/programs/locarchive.c: Include libc-mmap.h.
14974         (prepare_address_space): Take two new outputs (the mmap base and len).
14975         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14976         values.
14977         (create_archive): Declare new mmap base and len values for
14978         prepare_address_space, and store the result in ah.
14979         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14980         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14981         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14982         Declare new mmap base and len values for
14983         prepare_address_space, and store the result in new_ah.
14984         (open_archive): Declare new mmap base and len values for
14985         prepare_address_space, and store the result in ah.
14986         (close_archive): If ah->mmap_base is not NULL, use that and
14987         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14988         * sysdeps/generic/libc-mmap.h: New file.
14989
14990 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14991
14992         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14993         (ALIGN_UP): Likewise.
14994         (PTR_ALIGN_DOWN): Likewise.
14995         (PTR_ALIGN_UP): Likewise.
14996
14997 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14998
14999         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15000         entry mapped to PPC_PLATFORM_POWER8.
15001         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15002         POWER8.
15003         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15004         (_dl_string_platform): Add case for exporting platform position for
15005         POWER8.
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15007         search path to sysdeps/powerpc/powerpc32/power8 directory.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15009         search path to sysdeps/powerpc/powerpc64/power8 directory.
15010         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15011         power7 directories.
15012         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15013         power7 directories.
15014
15015 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15016
15017         * INSTALL: Regenerate.
15018
15019         * nscd/connections.c (nscd_init): Fix comment.
15020
15021 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15022
15023         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15024
15025         [BZ #15667]
15026         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15027         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15028
15029 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15030
15031         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15032         DL_DST_REQ_STATIC.
15033         (DL_DST_REQ_STATIC): Remove macro.
15034
15035 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15036
15037         [BZ #7006]
15038         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15039         with a shift of 0 bits.
15040
15041 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15042
15043         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15044         $(tststatic-ENV).
15045
15046 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15047
15048         [BZ #15655]
15049         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15050
15051 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15052
15053         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15054         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15055         accepts -fno-tree-loop-distribute-patterns.
15056         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15057         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15058         recursive call.
15059         * string/memset.c (memset): Likewise.
15060         * string/test-memmove.c (simple_memmove): Disable loop transformation
15061         to library calls.
15062         * string/test-memset.c (simple_memset): Likewise.
15063         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15064         * benchtests/bench-memset.c (simple_memset): Likewise.
15065         * configure: Regenerated.
15066
15067 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15068
15069         * math/test-misc.c (main): Ignore fesetround failure when failures
15070         of subsequent rounding tests would be ignored.
15071
15072         [BZ #15654]
15073         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15074         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15075         * math/fegetenv.c (__fegetenv): Return 0.
15076         * math/fegetexcept.c (fegetexcept): Return 0.
15077         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15078         FE_TONEAREST.
15079         * math/feholdexcpt.c (feholdexcept): Return 0.
15080         * math/fesetenv.c (__fesetenv): Return 0.
15081         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15082         argument FE_TONEAREST.
15083         * math/feupdateenv.c (__feupdateenv): Return 0.
15084         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15085
15086 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15087
15088         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15089         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15090         ($(objpfx)rtld-%.os rules): Use them.
15091
15092 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15093
15094         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15095         fields.
15096
15097 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15098
15099         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15100         length of target pattern, then descending length of dependency pattern.
15101         * configure.in (AWK): Require gawk 3.1.2 or newer.
15102         * manual/install.texi (Tools for Compilation): Say that we do.
15103         * configure: Regenerated.
15104
15105         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15106         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15107         * scripts/sysd-rules.awk: ... this new script.
15108         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15109         than a glob-style pattern.
15110
15111 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15112
15113         * math/test-misc.c (main): Do not treat incorrectly rounded
15114         conversions as failure unless ROUNDING_TESTS passes.
15115
15116 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15117
15118         [BZ #15631]
15119         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15120         restore exception state around main square root computation, then
15121         check for inexactness explicitly.
15122
15123         * math/libm-test.inc (fma_test_data): Add another test.
15124
15125 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15126
15127         * manual/threads.texi (Non-POSIX Extensions): New document
15128         node.  Document pthread_getattr_default_np and
15129         pthread_setattr_default_np.
15130
15131         * Versions.def (libpthread): Add GLIBC_2.18.
15132         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15134         Likewise.
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15136         Likewise.
15137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15138         Likewise.
15139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15140         Likewise.
15141         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15142         Likewise.
15143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15144         Likewise.
15145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15146         Likewise.
15147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15148         Likewise.
15149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15150         Likewise.
15151
15152 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15153
15154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15155         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15156
15157 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15158             H.J. Lu  <hjl.tools@gmail.com>
15159
15160         [BZ #15627]
15161         * sysdeps/x86_64/rtld-memset.c: Remove file.
15162         * sysdeps/x86_64/rtld-memset.S: New file.
15163
15164 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15165
15166         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15167         (test_in_one_mode): Take arguments for whether the rounding mode
15168         is supported for each floating-point type.
15169         (do_test): Pass new arguments to test_in_one_mode using
15170         ROUNDING_TESTS.
15171
15172 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15173
15174         * posix/tst-waitid.c (do_test): Distinguish different instances of
15175         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15176         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15177         before entering the kernel for waitpid.
15178
15179 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15180
15181         * NEWS: Fix note on clock function precision.  Text by Roland
15182         McGrath.
15183
15184 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15185
15186         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15187         it into place only when and if the sanity check passes.
15188
15189 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15190
15191         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15192         output for whether conversion result is exact.  Take argument
15193         indicating whether type is IBM long double.
15194         (round_for_all): Change need_exact field to ibm_ld.
15195         * stdlib/tst-strtod-round.c (struct exactness): New type.
15196         (struct test): Change bool ld_ok field to struct exactness exact.
15197         (TEST): Update all definitions for change to field.
15198         (tests): Regenerate array contents.
15199         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15200         field value.  Check for IBM long double here.
15201         (do_test): Update calls to test_in_one_mode.
15202
15203 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15204
15205         [BZ #12515]
15206         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15207         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15208
15209 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15210
15211         [BZ #15605]
15212         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15213         generated by the compiler on loop optimizations.
15214         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15215         general definitions.
15216
15217 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15218
15219         * math/bug-nextafter.c: Include <math-tests.h>.
15220         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15221         the relevant type.
15222         * math/bug-nexttoward.c: Include <math-tests.h>.
15223         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15224         the relevant type.
15225         * math/test-misc.c: Include <math-tests.h>.
15226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15227         the relevant type.
15228
15229 2013-06-12  Andreas Jaeger  <aj@suse.de>
15230
15231         * po/ia.po: Update Interlingua translation from translation
15232         project.
15233
15234 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15235
15236         * include/fenv.h: Include stdbool.h.
15237         (struct rm_ctx): New structure.
15238         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15239         Define macro.
15240         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15241         (SET_RESTORE_ROUNDF): Likewise.
15242         (SET_RESTORE_ROUNDL): Likewise.
15243         (SET_RESTORE_ROUND_NOEX): Likewise.
15244         (SET_RESTORE_ROUND_NOEXF): Likewise.
15245         (SET_RESTORE_ROUND_NOEXL): Likewise.
15246         (SET_RESTORE_ROUND_53BIT): Likewise.
15247         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15248         (libc_feresetround_noexf_ctx): Likewise.
15249         (libc_feresetround_noexl_ctx): Likewise.
15250         (libc_feholdsetround_53bit_ctx): Likewise.
15251         (libc_feresetround_53bit_ctx): Likewise.
15252         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15253         (libc_feholdexcept_setround_sse_ctx): New function.
15254         (libc_fesetenv_sse_ctx): Likewise.
15255         (libc_feupdateenv_sse_ctx): Likewise.
15256         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15257         (libc_feholdexcept_setround_387_ctx): Likewise.
15258         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15259         (libc_feholdsetround_387_prec_ctx): Likewise.
15260         (libc_feholdsetround_387_ctx): Likewise.
15261         (libc_feholdsetround_387_53bit_ctx): Likewise.
15262         (libc_feholdsetround_sse_ctx): Likewise.
15263         (libc_feresetround_sse_ctx): Likewise.
15264         (libc_feresetround_387_ctx): Likewise.
15265         (libc_feupdateenv_387_ctx): Likewise.
15266         (libc_feholdexcept_setroundf_ctx): Define macro.
15267         (libc_fesetenvf_ctx): Likewise.
15268         (libc_feupdateenvf_ctx): Likewise.
15269         (libc_feholdsetroundf_ctx): Likewise.
15270         (libc_feresetroundf_ctx): Likewise.
15271         (libc_feholdexcept_setround_ctx): Likewise.
15272         (libc_fesetenv_ctx): Likewise.
15273         (libc_feupdateenv_ctx): Likewise.
15274         (libc_feholdsetround_ctx): Likewise.
15275         (libc_feresetround_ctx): Likewise.
15276         (libc_feholdexcept_setroundl_ctx): Likewise.
15277         (libc_feupdateenvl_ctx): Likewise.
15278         (libc_feholdsetroundl_ctx): Likewise.
15279         (libc_feresetroundl_ctx): Likewise.
15280         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15281         (libc_feresetround_53bit_ctx): Likewise.
15282
15283 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15284
15285         * locale/iso-639.def: Convert to UTF-8.
15286
15287 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15288
15289         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15290         (EXCEPTION_TESTS_double): Likewise.
15291         (EXCEPTION_TESTS_long_double): Likewise.
15292         (EXCEPTION_TESTS): Likewise.
15293         * math/libm-test.inc (test_exceptions): Only test exceptions if
15294         EXCEPTION_TESTS (FLOAT).
15295
15296 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15297
15298         * benchtests/Makefile (string-bench): Add strcpy_chk and
15299         stpcpy_chk.
15300         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15301         * benchtests/bench-stpcpy_chk.c: New file.
15302         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15303         * benchtests/bench-strcpy_chk.c: New file.
15304         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15305         code.
15306         (do_test): Likewise.
15307
15308 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15309
15310         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15311         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15312         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15313         with tabs where appropriate.
15314         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15315         dl-procinfo.h.
15316         [PPC_PLATFORM_PPC440]: Likewise.
15317         [PPC_PLATFORM_PPC464]: Likewise.
15318         [PPC_PLATFORM_PPC476]: Likewise.
15319         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15320         ppc464, and ppc476 platform strings merging from ports/
15321         dl-procinfo.h.
15322
15323 2013-06-11  Andreas Schwab  <schwab@suse.de>
15324
15325         [BZ #14991]
15326         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15327         (from_ucs4_idx): Regenerate.
15328         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15329         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15330         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15331         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15332         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15333         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15334         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15335         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15336         from FROM_LOOP and TO_LOOP specific macros.
15337         (BODY): Handle combining characters.
15338         * iconvdata/BIG5HKSCS.irreversible: Update.
15339         * iconvdata/BIG5HKSCS.precomposed: New file.
15340         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15341         characters.
15342         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15343
15344 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15345
15346         * include/sys/time.h: Fix indentation and add copyright header.
15347
15348         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15349         (do_test): Likewise.
15350         * string/test-memchr.c (do_one_test): Likewise.
15351         (do_test): Likewise.
15352         * string/test-memcmp.c (do_one_test): Likewise.
15353         (do_test): Likewise.
15354         * string/test-memcpy.c (do_one_test): Likewise.
15355         (do_test): Likewise.
15356         * string/test-memmem.c (do_one_test): Likewise.
15357         (do_test): Likewise.
15358         (do_random_tests): Likewise.
15359         * string/test-memmove.c (do_one_test): Likewise.
15360         (do_test): Likewise.
15361         * string/test-memset.c (do_one_test): Likewise.
15362         (do_test): Likewise.
15363         * string/test-rawmemchr.c (do_one_test): Likewise.
15364         (do_test): Likewise.
15365         * string/test-strcasecmp.c (do_one_test): Likewise.
15366         (do_test): Likewise.
15367         * string/test-strcasestr.c (do_one_test): Likewise.
15368         (do_test): Likewise.
15369         * string/test-strcat.c (do_one_test): Likewise.
15370         (do_test): Likewise.
15371         * string/test-strchr.c (do_one_test): Likewise.
15372         (do_test): Likewise.
15373         * string/test-strcmp.c (do_one_test): Likewise.
15374         (do_test): Likewise.
15375         * string/test-strcpy.c (do_one_test): Likewise.
15376         (do_test): Likewise.
15377         * string/test-string.h: Likewise.
15378         (test_init): Likewise.
15379         * string/test-strlen.c (do_one_test): Likewise.
15380         (do_test): Likewise.
15381         * string/test-strncasecmp.c (do_one_test): Likewise.
15382         (do_test): Likewise.
15383         * string/test-strncat.c (do_one_test): Likewise.
15384         (do_test): Likewise.
15385         * string/test-strncmp.c (do_one_test): Likewise.
15386         (do_test_limit): Likewise.
15387         (do_test): Likewise.
15388         * string/test-strncpy.c (do_one_test): Likewise.
15389         (do_test): Likewise.
15390         * string/test-strnlen.c (do_one_test): Likewise.
15391         (do_test): Likewise.
15392         * string/test-strpbrk.c (do_one_test): Likewise.
15393         (do_test): Likewise.
15394         * string/test-strrchr.c (do_one_test): Likewise.
15395         (do_test): Likewise.
15396         * string/test-strspn.c (do_one_test): Likewise.
15397         (do_test): Likewise.
15398         * string/test-strstr.c (do_one_test): Likewise.
15399         (do_test): Likewise.
15400
15401         * benchtests/Makefile (string-bench): Add string benchmarks.
15402         * benchtests/bench-bcopy-ifunc.c: New file.
15403         * benchtests/bench-bcopy.c: New file.
15404         * benchtests/bench-bzero-ifunc.c: New file.
15405         * benchtests/bench-bzero.c: New file.
15406         * benchtests/bench-memccpy-ifunc.c: New file.
15407         * benchtests/bench-memccpy.c: New file.
15408         * benchtests/bench-memchr-ifunc.c: New file.
15409         * benchtests/bench-memchr.c: New file.
15410         * benchtests/bench-memcmp-ifunc.c: New file.
15411         * benchtests/bench-memcmp.c: New file.
15412         * benchtests/bench-memmem-ifunc.c: New file.
15413         * benchtests/bench-memmem.c: New file.
15414         * benchtests/bench-memmove-ifunc.c: New file.
15415         * benchtests/bench-memmove.c: New file.
15416         * benchtests/bench-mempcpy-ifunc.c: New file.
15417         * benchtests/bench-mempcpy.c: New file.
15418         * benchtests/bench-memset-ifunc.c: New file.
15419         * benchtests/bench-memset.c: New file.
15420         * benchtests/bench-rawmemchr-ifunc.c: New file.
15421         * benchtests/bench-rawmemchr.c: New file.
15422         * benchtests/bench-stpcpy-ifunc.c: New file.
15423         * benchtests/bench-stpcpy.c: New file.
15424         * benchtests/bench-stpncpy-ifunc.c: New file.
15425         * benchtests/bench-stpncpy.c: New file.
15426         * benchtests/bench-strcasecmp-ifunc.c: New file.
15427         * benchtests/bench-strcasecmp.c: New file.
15428         * benchtests/bench-strcasestr-ifunc.c: New file.
15429         * benchtests/bench-strcasestr.c: New file.
15430         * benchtests/bench-strcat-ifunc.c: New file.
15431         * benchtests/bench-strcat.c: New file.
15432         * benchtests/bench-strchr-ifunc.c: New file.
15433         * benchtests/bench-strchr.c: New file.
15434         * benchtests/bench-strchrnul-ifunc.c: New file.
15435         * benchtests/bench-strchrnul.c: New file.
15436         * benchtests/bench-strcmp-ifunc.c: New file.
15437         * benchtests/bench-strcmp.c: New file.
15438         * benchtests/bench-strcpy-ifunc.c: New file.
15439         * benchtests/bench-strcpy.c: New file.
15440         * benchtests/bench-strcspn-ifunc.c: New file.
15441         * benchtests/bench-strcspn.c: New file.
15442         * benchtests/bench-strlen-ifunc.c: New file.
15443         * benchtests/bench-strlen.c: New file.
15444         * benchtests/bench-strncasecmp-ifunc.c: New file.
15445         * benchtests/bench-strncasecmp.c: New file.
15446         * benchtests/bench-strncat-ifunc.c: New file.
15447         * benchtests/bench-strncat.c: New file.
15448         * benchtests/bench-strncmp-ifunc.c: New file.
15449         * benchtests/bench-strncmp.c: New file.
15450         * benchtests/bench-strncpy-ifunc.c: New file.
15451         * benchtests/bench-strncpy.c: New file.
15452         * benchtests/bench-strnlen-ifunc.c: New file.
15453         * benchtests/bench-strnlen.c: New file.
15454         * benchtests/bench-strpbrk-ifunc.c: New file.
15455         * benchtests/bench-strpbrk.c: New file.
15456         * benchtests/bench-strrchr-ifunc.c: New file.
15457         * benchtests/bench-strrchr.c: New file.
15458         * benchtests/bench-strspn-ifunc.c: New file.
15459         * benchtests/bench-strspn.c: New file.
15460         * benchtests/bench-strstr-ifunc.c: New file.
15461         * benchtests/bench-strstr.c: New file.
15462
15463         * benchtests/Makefile: Disable parallel execution of targets.
15464         (string-bench): Add memcpy.
15465         (benchset): New variable to store a list of benchmark sets.
15466         (bench-func): Renamed from bench.
15467         (bench-set): New target.
15468         (bench): Depend on bench-func and bench-set.
15469         * benchtests/README: Add section on benchmark sets.
15470         * benchtests/bench-memcpy-ifunc.c: New file.
15471         * benchtests/bench-memcpy.c: New file.
15472         * benchtests/bench-string.h: New file.
15473
15474 2013-06-11  Andreas Schwab  <schwab@suse.de>
15475
15476         [BZ #15577]
15477         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15478         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15479         values in the triple.
15480         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15481         terminator in the group key.
15482
15483 2013-06-11  Andreas Jaeger  <aj@suse.de>
15484
15485         * po/zh_TW.po: Update Chinese (traditional) translation from
15486         translation project.
15487
15488 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15489
15490         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15491         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15492         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15493         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15494         (clock_getcpuclockid): Likewise.
15495         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15496         Add weak_alias and libc_hidden_def.
15497         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15498         * rt/clock_gettime.c (clock_gettime): Rename to
15499         __clock_gettime.  Add weak_alias and libc_hidden_def.
15500         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15501         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15502         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15503         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15504         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15505         Likewise.
15506         * rt/clock_settime.c (clock_settime): Rename to
15507         __clock_settime.  Add weak_alias and libc_hidden_def.
15508         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15509
15510 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15511
15512         * mach/err_boot.sub: Remove trailing whitespace.
15513         * mach/err_ipc.sub: Likewise.
15514         * mach/err_mach.sub: Likewise.
15515
15516         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15517         (ROUNDING_TESTS_double): Likewise.
15518         (ROUNDING_TESTS_long_double): Likewise.
15519         (ROUNDING_TESTS): Likewise.
15520         * math/libm-test.inc: Include <math-tests.h>.
15521         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15522         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15523         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15524         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15525
15526 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15527
15528         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15529         of assigning.
15530
15531 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15532
15533         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15534         otherwise empty TRANS lines.
15535         * sysdeps/gnu/errlist.c: Regenerated.
15536
15537         * catgets/gencat.c (error_print): Use (void) in function
15538         definition.
15539         * crypt/crypt_util.c (__init_des): Likewise.
15540         * crypt/speeds.c (Stop): Likewise.
15541         (main): Likewise.
15542         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15543         * inet/ruserpass.c (token): Likewise.
15544         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15545         * intl/localealias.c (extend_alias_table): Likewise.
15546         * intl/plural-exp.c (init_germanic_plural): Likewise.
15547         * libio/fcloseall.c (__fcloseall): Likewise.
15548         * libio/genops.c (_IO_flush_all): Likewise.
15549         (_IO_flush_all_linebuffered): Likewise.
15550         (_IO_cleanup): Likewise.
15551         (_IO_iter_begin): Likewise.
15552         (_IO_iter_end): Likewise.
15553         (_IO_list_lock): Likewise.
15554         (_IO_list_unlock): Likewise.
15555         (_IO_list_resetlock): Likewise.
15556         * libio/getchar.c (getchar): Likewise.
15557         * libio/getchar_u.c (getchar_unlocked): Likewise.
15558         * libio/getwchar.c (getwchar): Likewise.
15559         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15560         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15561         * login/getpt.c (__getpt): Likewise.
15562         * login/tst-utmp.c (main): Likewise.
15563         * malloc/hooks.c (__malloc_check_init): Likewise.
15564         * malloc/malloc.c (__malloc_stats): Likewise.
15565         * malloc/mtrace.c (tr_break): Likewise.
15566         (mtrace): Likewise.
15567         (muntrace): Likewise.
15568         * misc/fstab.c (endfsent): Likewise.
15569         * misc/getclktck.c (__getclktck): Likewise.
15570         * misc/getdtsz.c (__getdtablesize): Likewise.
15571         * misc/gethostid.c (gethostid): Likewise.
15572         * misc/getpagesize.c (__getpagesize): Likewise.
15573         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15574         (__get_nprocs): Likewise.
15575         (__get_phys_pages): Likewise.
15576         (__get_avphys_pages): Likewise.
15577         * misc/getttyent.c (getttyent): Likewise.
15578         (setttyent): Likewise.
15579         (endttyent): Likewise.
15580         * misc/getusershell.c (getusershell): Likewise.
15581         (endusershell): Likewise.
15582         (setusershell): Likewise.
15583         (initshells): Likewise.
15584         * misc/hsearch.c (__hdestroy): Likewise.
15585         * misc/sync.c (sync): Likewise.
15586         * misc/syslog.c (closelog_internal): Likewise.
15587         (closelog): Likewise.
15588         * misc/ttyslot.c (ttyslot): Likewise.
15589         * misc/vhangup.c (vhangup): Likewise.
15590         * posix/fork.c (__fork): Likewise.
15591         * posix/getegid.c (__getegid): Likewise.
15592         * posix/geteuid.c (__geteuid): Likewise.
15593         * posix/getgid.c (__getgid): Likewise.
15594         * posix/getpid.c (__getpid): Likewise.
15595         * posix/getppid.c (__getppid): Likewise.
15596         * posix/getuid.c (__getuid): Likewise.
15597         * posix/pause.c (pause): Likewise.
15598         * posix/setpgrp.c (setpgrp): Likewise.
15599         * posix/setsid.c (__setsid): Likewise.
15600         * posix/test-vfork.c (noop): Likewise.
15601         * resolv/gethnamaddr.c (_endhtent): Likewise.
15602         (_gethtent): Likewise.
15603         (ht_endhostent): Likewise.
15604         (gethostent): Likewise.
15605         (dns_service): Likewise.
15606         * stdlib/drand48.c (drand48): Likewise.
15607         * stdlib/lrand48.c (lrand48): Likewise.
15608         * stdlib/mrand48.c (mrand48): Likewise.
15609         * stdlib/rand.c (rand): Likewise.
15610         * stdlib/random.c (__random): Likewise.
15611         * stdlib/setenv.c (clearenv): Likewise.
15612         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15613         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15614         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15615         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15616         (__get_nprocs): Likewise.
15617         (__get_phys_pages): Likewise.
15618         (__get_avphys_pages): Likewise.
15619         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15620         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15621         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15622         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15623         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15624         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15625         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15626         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15627         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15628         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15629         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15630         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15631         * sysdeps/posix/clock.c (clock): Likewise.
15632         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15633         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15634         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15635         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15636         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15637         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15638         (__get_nprocs_conf): Likewise.
15639         (__get_phys_pages): Likewise.
15640         (__get_avphys_pages): Likewise.
15641         * time/clock.c (clock): Likewise.
15642         * time/tzset.c (__tzname_max): Likewise.
15643
15644 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15645
15646         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15647         (__bswap_32): Do not use "register".
15648         * crypt/crypt.c (_ufc_doit_r): Likewise.
15649         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15650         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15651         * gmon/gmon.c (__monstartup): Likewise.
15652         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15653         * hurd/hurdmalloc.c (more_memory): Likewise.
15654         (malloc): Likewise.
15655         (free): Likewise.
15656         (realloc): Likewise.
15657         (malloc_fork_prepare): Likewise.
15658         (malloc_fork_parent): Likewise.
15659         (malloc_fork_child): Likewise.
15660         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15661         (_svcauth_des): Likewise.
15662         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15663         * inet/inet_net.c (inet_network): Likewise.
15664         * inet/inet_netof.c (inet_netof): Likewise.
15665         * inet/rcmd.c (__validuser2_sa): Likewise.
15666         * io/fts.c (fts_open): Likewise.
15667         (fts_load): Likewise.
15668         (fts_close): Likewise.
15669         (fts_read): Likewise.
15670         (fts_children): Likewise.
15671         (fts_build): Likewise.
15672         (fts_stat): Likewise.
15673         (fts_sort): Likewise.
15674         (fts_alloc): Likewise.
15675         (fts_lfree): Likewise.
15676         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15677         (_IO_file_xsgetn): Likewise.
15678         (_IO_file_xsgetn_mmap): Likewise.
15679         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15680         (_IO_cookie_write): Likewise.
15681         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15682         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15683         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15684         * malloc/obstack.c (_obstack_begin): Likewise.
15685         (_obstack_begin_1): Likewise.
15686         (_obstack_newchunk): Likewise.
15687         (_obstack_allocated_p): Likewise.
15688         (obstack_free): Likewise.
15689         (_obstack_memory_used): Likewise.
15690         * misc/getttyent.c (getttynam): Likewise.
15691         (getttyent): Likewise.
15692         (skip): Likewise.
15693         (value): Likewise.
15694         * misc/getusershell.c (initshells): Likewise.
15695         * misc/syslog.c (__vsyslog_chk): Likewise.
15696         * misc/ttyslot.c (ttyslot): Likewise.
15697         * nis/nis_hash.c (__nis_hash): Likewise.
15698         * posix/fnmatch_loop.c (FCT): Likewise.
15699         * posix/getconf.c (print_all): Likewise.
15700         (main): Likewise.
15701         * posix/getopt.c (exchange): Likewise.
15702         * posix/glob.c (globfree): Likewise.
15703         (prefix_array): Likewise.
15704         (__glob_pattern_type): Likewise.
15705         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15706         (NS_GET32): Likewise.
15707         (NS_PUT16): Likewise.
15708         (NS_PUT32): Likewise.
15709         * resolv/gethnamaddr.c (getanswer): Likewise.
15710         (gethostbyname2): Likewise.
15711         (gethostbyaddr): Likewise.
15712         (_gethtent): Likewise.
15713         (_gethtbyname2): Likewise.
15714         (_gethtbyaddr): Likewise.
15715         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15716         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15717         * resolv/res_init.c (__res_vinit): Likewise.
15718         (net_mask): Likewise.
15719         * resolv/res_mkquery.c (outchar): Likewise.
15720         (PRINT): Likewise.
15721         * stdio-common/printf_fp.c (outchar): Likewise.
15722         (PRINT): Likewise.
15723         * stdio-common/printf_fphex.c (outchar): Likewise.
15724         (PRINT): Likewise.
15725         * stdio-common/printf_size.c (outchar): Likewise.
15726         (PRINT): Likewise.
15727         * stdio-common/test_rdwr.c (main): Likewise.
15728         * stdio-common/tfformat.c (matches): Likewise.
15729         * stdio-common/vfprintf.c (outchar): Likewise.
15730         (printf_unknown): Likewise.
15731         (buffered_vfprintf): Likewise.
15732         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15733         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15734         (ReadFile): Likewise.
15735         * stdlib/qsort.c (SWAP): Likewise.
15736         (_quicksort): Likewise.
15737         * stdlib/setenv.c (__add_to_environ): Likewise.
15738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15739         * stdlib/strtol_l.c (__strtol_l): Likewise.
15740         * stdlib/tst-strtod.c (main): Likewise.
15741         * stdlib/tst-strtol.c (main): Likewise.
15742         * stdlib/tst-strtoll.c (main): Likewise.
15743         * string/bits/string2.h (__strcmp_cc): Likewise.
15744         (__strcmp_cg): Likewise.
15745         (__strcspn_c1): Likewise.
15746         (__strcspn_c2): Likewise.
15747         (__strcspn_c3): Likewise.
15748         (__strspn_c1): Likewise.
15749         (__strspn_c2): Likewise.
15750         (__strspn_c3): Likewise.
15751         (__strsep_1c): Likewise.
15752         (__strsep_2c): Likewise.
15753         (__strsep_3c): Likewise.
15754         * string/memccpy.c (__memccpy): Likewise.
15755         * string/stpcpy.c (__stpcpy): Likewise.
15756         * string/strcmp.c (strcmp): Likewise.
15757         * string/strrchr.c (strrchr): Likewise.
15758         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15759         Likewise.
15760         * sysdeps/mach/hurd/getcwd.c
15761         (_hurd_canonicalize_directory_name_internal): Likewise.
15762         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15763         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15764         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15765         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15766         Likewise, in both definitions.
15767         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15768         definitions.
15769         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15770         64] (__bswap_64): Likewise.
15771         * time/test_time.c (main): Likewise.
15772         * time/tzfile.c (__tzfile_read): Likewise.
15773         (__tzfile_compute): Likewise.
15774         * time/tzset.c (__tzset_parse_tz): Likewise.
15775         (tzset_internal): Likewise.
15776         (compute_change): Likewise.
15777         * wcsmbs/wcscat.c (__wcscat): Likewise.
15778         * wcsmbs/wcschr.c (wcschr): Likewise.
15779         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15780         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15781         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15782         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15783         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15784         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15785         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15786         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15787         * wcsmbs/wmemset.c (wmemset): Likewise.
15788
15789 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15790
15791         * scripts/config.guess: Update to version 2013-05-16.
15792         * scripts/config.sub: Update to version 2013-04-24.
15793         * scripts/install-sh: Update to version 2011-11-20.07.
15794         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15795         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15796
15797 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15798
15799         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15800         * elf/sln.c: Likewise.
15801         * hurd/hurd/ioctl.h: Likewise.
15802         * hurd/hurdmalloc.c: Likewise.
15803         * hurd/xattr.c: Likewise.
15804         * include/shlib-compat.h: Likewise.
15805         * inet/ruserpass.c: Likewise.
15806         * libio/iofgets_u.c: Likewise.
15807         * libio/iofgetws_u.c: Likewise.
15808         * locale/programs/ld-identification.c: Likewise.
15809         * locale/programs/ld-time.c: Likewise.
15810         * mach/msg-destroy.c: Likewise.
15811         * nss/nss_files/files-netgrp.c: Likewise.
15812         * resolv/res_data.c: Likewise.
15813         * soft-fp/op-1.h: Likewise.
15814         * soft-fp/op-2.h: Likewise.
15815         * soft-fp/op-4.h: Likewise.
15816         * soft-fp/op-common.h: Likewise.
15817         * stdio-common/printf_fphex.c: Likewise.
15818         * stdlib/strtod_l.c: Likewise.
15819         * sunrpc/rpc/clnt.h: Likewise.
15820         * sysdeps/generic/framestate.c: Likewise.
15821         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15822         * sysdeps/i386/bsd-setjmp.S: Likewise.
15823         * sysdeps/i386/__longjmp.S: Likewise.
15824         * sysdeps/i386/setjmp.S: Likewise.
15825         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15826         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15828         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15829         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15830         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15834         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15835         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15836         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15837         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15838         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15839         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15840         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15842         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15843         * sysdeps/ieee754/support.c: Likewise.
15844         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15845         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15846         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15847         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15848         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15849         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15850         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15851         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15852         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15853         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15854         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15855         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15856         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15857         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15858         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15859         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15860         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15862
15863 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15864
15865         * posix/transbug.c: Remove executable mode.
15866
15867 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15868
15869         * crypt/speeds.c: Remove trailing whitespace.
15870         * dlfcn/default.c: Likewise.
15871         * elf/ifuncdep2.c: Likewise.
15872         * elf/ifuncmain1.c: Likewise.
15873         * elf/ifuncmain1vis.c: Likewise.
15874         * elf/testobj.h: Likewise.
15875         * elf/tst-stackguard1.c: Likewise.
15876         * gmon/sys/gmon.h: Likewise.
15877         * hurd/hurdmsg.c: Likewise.
15878         * hurd/new-fd.c: Likewise.
15879         * hurd/ports-get.c: Likewise.
15880         * iconvdata/ibm1008_420.c: Likewise.
15881         * inet/tst-getni1.c: Likewise.
15882         * inet/tst-getni2.c: Likewise.
15883         * libio/ioungetc.c: Likewise.
15884         * libio/wfiledoalloc.c: Likewise.
15885         * manual/libm-err-tab.pl: Likewise.
15886         * math/w_dremf.c: Likewise.
15887         * misc/ftruncate.c: Likewise.
15888         * posix/bug-glob2.c: Likewise.
15889         * posix/tst-pcre.c: Likewise.
15890         * posix/wait4.c: Likewise.
15891         * resolv/README: Likewise.
15892         * resolv/res_debug.h: Likewise.
15893         * resolv/tst-inet_ntop.c: Likewise.
15894         * setjmp/bug269-setjmp.c: Likewise.
15895         * soft-fp/extended.h: Likewise.
15896         * soft-fp/op-1.h: Likewise.
15897         * soft-fp/op-2.h: Likewise.
15898         * soft-fp/op-4.h: Likewise.
15899         * soft-fp/op-8.h: Likewise.
15900         * soft-fp/testit.c: Likewise.
15901         * stdio-common/bug16.c: Likewise.
15902         * stdlib/random.c: Likewise.
15903         * sunrpc/rpcsvc/rquota.x: Likewise.
15904         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15905         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15906         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15907         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15908         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15909         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15910         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15911         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15912         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15913         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15915         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15916         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15917         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15918         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15919         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15920         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15921         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15922         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15923         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15924         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15925         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15926         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15927         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15928         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15929         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15931         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15932         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15933         * sysdeps/ieee754/s_lib_version.c: Likewise.
15934         * sysdeps/mach/hurd/check_fds.c: Likewise.
15935         * sysdeps/mach/hurd/getsockname.c: Likewise.
15936         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15937         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15938         * sysdeps/powerpc/bits/link.h: Likewise.
15939         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15940         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15941         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15942         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15943         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15944         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15945         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15946         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15947         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15948         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15949         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15950         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15951         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15952         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15953         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15954         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15960         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15961         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15962         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15963         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15964         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15965         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15968         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15969         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15971         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15972         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15973         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15974         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15975         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15976         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15977         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15978         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15979         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15980         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15981         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15982         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15983         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15984         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15985         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15986         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15987         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15988         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15990         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15991         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15992         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15993         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15994         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15995         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15996         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15997         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15998         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15999         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16001         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16002         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16003         * sysdeps/powerpc/sysdep.h: Likewise.
16004         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16005         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16006         * sysdeps/sh/dl-trampoline.S: Likewise.
16007         * sysdeps/sh/memset.S: Likewise.
16008         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16009         * sysdeps/sh/strlen.S: Likewise.
16010         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16011         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16012         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16013         * sysdeps/sparc/sparc32/rem.S: Likewise.
16014         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16015         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16016         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16017         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16018         * sysdeps/sparc/sparc32/urem.S: Likewise.
16019         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16020         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16021         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16022         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16023         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16024         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16025         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16026         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16027         * sysdeps/unix/bsd/times.c: Likewise.
16028         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16029         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16033         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16034         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16035         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16037         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16038         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16039         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16040         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16041         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16042         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16043         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16044         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16045         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16046         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16047         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16048         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16049         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16050         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16051         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16052         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16053         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16054         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16055         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16056         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16057         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16058         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16059         * sysdeps/x86_64/strcspn.S: Likewise.
16060
16061 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16062
16063         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16064         generated file.  Regenerate properly from gen-translit.pl.
16065         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16066         locale/C-translit.h.
16067
16068 2013-06-05  Andreas Schwab  <schwab@suse.de>
16069
16070         [BZ #15100]
16071         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16072         week as 6 instead of -1.
16073         * time/tst-strptime.c (day_tests): Add test case.
16074
16075 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16076
16077         * sysdeps/generic/math_private.h
16078         (libc_feholdexcept_setround_53bit): Replace with
16079         libc_feholdsetround_53bit.
16080         (libc_feupdateenv_53bit): Replace with
16081         libc_feresetround_53bit.
16082         (SET_RESTORE_ROUND_53BIT): Adjust.
16083
16084 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16085
16086         * string/test-strchrnul.c: Add copyright header.
16087
16088         * posix/tst-getaddrinfo4.c: Increase test timeout.
16089
16090 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16091
16092         [BZ #15536]
16093         * math/libm-test.inc (MAX_EXP): Remove
16094         (MIN_EXP): Define.
16095         (ulp): Use MIN_EXP - MANT_DIG.
16096         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16097
16098 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16099
16100         * po/be.po: Revert last change.
16101         * po/zh_CN.po: Likewise.
16102         * po/header.pot: Likewise.
16103
16104 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16105
16106         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16107         link-libc-deps to empty as target-specific variable.
16108         * Makerules (link-libc-args): New variable.
16109         (libc-for-link): Likewise.
16110         (link-libc-deps): Likewise.
16111         (lib%.so): Depend on $(link-libc-deps).  Link with
16112         $(link-libc-args).
16113         (build-module): Link with $(link-libc-args).
16114         (build-module-asneeded): Likewise.
16115         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16116         list of objects.
16117         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16118         target-specific variable.
16119         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16120         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16121         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16122         libc.
16123         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16124         libc and ld.so.
16125         ($(objpfx)libpcprofile.so): Likewise.
16126         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16127         libc_nonshared.a.
16128         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16129         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16130         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16131         $(link-libc-deps).
16132         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16133         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16134         * login/Makefile ($(objpfx)libutil.so): Likewise.
16135         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16136         * math/Makefile ($(objpfx)libm.so): Likewise.
16137         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16138         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16139         variable instead of depending directly on libc.
16140         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16141         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16142         $(link-libc-deps).
16143         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16144         libc.
16145         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16146         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16147         ($(objpfx)libanl.so): Likewise.
16148         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16149         ld.so.
16150         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16151         $(link-libc-deps).
16152         * sysdeps/i386/fpu/Makefile: Remove file.
16153         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16154         ($(objpfx)libm.so): Remove dependency on ld.so.
16155
16156 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16157
16158         [BZ # 15553]
16159         * nis/yp_xdr.c (XDRMAXNAME): Define.
16160         (XDRMAXRECORD): Define.
16161         (xdr_domainname): Use XDRMAXNAME.
16162         (xdr_mapname): Likewise.
16163         (xdr_peername): Likewise.
16164         (xdr_keydat): Use XDRMAXRECORD.
16165         (xdr_valdat): Likewise.
16166
16167 2013-05-30  Jeff Law  <law@redhat.com>
16168
16169         [BZ #14256]
16170         * manual/errno.texi (ESTALE): Update to account for more than
16171         just NFS file systems.
16172         * sysdeps/gnu/errlist.c: Regenerated.
16173
16174 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16175
16176         [BZ #15465]
16177         * elf/Makefile (tests): Add tst-null-argv.
16178         (modules-names):  Add tst-null-argv-lib.
16179         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16180         (tst-null-argv-ENV): Set environment for tst-null-argv.
16181         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16182         (RTLD_PROGNAME): New macro.
16183         * elf/tst-null-argv.c: New test case.
16184         * elf/tst-null-argv-lib.c: Library for test case.
16185         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16186         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16187         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16188         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16189         * elf/dl-init.c (call_init): Likewise.
16190         (_dl_init): Likewise.
16191         * elf/dl-load.c (print_search_path): Likewise.
16192         (_dl_map_object): Likewise.
16193         * elf/dl-lookup.c (do_lookup_x): Likewise.
16194         (add_dependency): Likewise.
16195         (_dl_lookup_symbol_x): Likewise.
16196         (_dl_debug_bindings): Likewise.
16197         * elf/dl-open.c (_dl_show_scope): Likewise.
16198         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16199         * elf/dl-version.c (match_symbol): Likewise.
16200         (_dl_check_map_versions): Likewise.
16201         * elf/rtld.c (dl_main): Likewise.
16202         (print_unresolved): Use RTLD_PROGNAME.
16203         (print_missing_version): Likewise.
16204         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16205         (elf_machine_rela): Likewise.
16206         * sysdeps/powerpc/powerpc32/dl-machine.c
16207         (__process_machine_rela): Likewise.
16208         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16209         Likewise.
16210         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16211         Likewise.
16212         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16213         Likewise.
16214         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16215         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16216         Likewise.
16217         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16218         Likewise.
16219         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16220
16221 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16222
16223         * po/be.po: Add descriptive title.
16224         * po/zh_CN.po: Likewise.
16225         * po/header.pot: Likewise.
16226
16227 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16228
16229         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16230         error message.
16231         (enlarge_archive): Likewise.
16232
16233 2013-05-28  Ben North  <ben@redfrontdoor.org>
16234
16235         * manual/arith.texi (frexp): It is the magnitude of the return
16236         value which lies in [0.5, 1), not the return value itself.
16237
16238 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16239
16240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16241
16242 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16243
16244         * stdio-common/bug26.c (main): Correct fscanf template.
16245
16246         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16247         declare _dl_skip_args.
16248
16249         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16250         Don't declare.
16251
16252         * manual/platform.texi: Add missing @end deftypefun.
16253
16254 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16255
16256         [BZ #15529]
16257         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16258         bit of mantissa of 2^16382.
16259         * math/libm-test.inc (hypot_test_data): Add more tests.
16260
16261         * math/libm-test.inc: Add drem and pow10 to list of tested
16262         functions.
16263         (pow10_test): New function.
16264         (drem_test): Likewise.
16265         (drem_test_tonearest): Likewise.
16266         (drem_test_towardzero): Likewise.
16267         (drem_test_downward): Likewise.
16268         (drem_test_upward): Likewise.
16269         (main): Call the new functions.
16270
16271         * math/libm-test.inc (finite_test_data): Remove.
16272         (finite_test): Run tests from isfinite_test_data.
16273         (gamma_test_data): Remove.
16274         (gamma_test): Run tests from lgamma_test_data.
16275         * sysdeps/i386/fpu/libm-test-ulps: Update.
16276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16277
16278 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16279
16280         * manual/platform.texi: Add PowerPC PPR function set documentation.
16281         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16282         implementation.
16283
16284 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16285
16286         * math/libm-test.inc (MAX_EXP): Define.
16287         (ULPDIFF): Define.
16288         (ulp): New function.
16289         (check_float_internal): Use ULPDIFF.
16290         (cpow_test): Disable failing test.
16291         (check_ulp): Test ulp() implemetnation.
16292         (main): Call check_ulp before starting tests.
16293
16294 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16295
16296         * math/gen-libm-test.pl (generate_testfile): Do not handle
16297         START_DATA and END_DATA.
16298         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16299         END_DATA.
16300         (acos_tonearest_test_data): Likewise.
16301         (acos_towardzero_test_data): Likewise.
16302         (acos_downward_test_data): Likewise.
16303         (acos_upward_test_data): Likewise.
16304         (acosh_test_data): Likewise.
16305         (asin_test_data): Likewise.
16306         (asin_tonearest_test_data): Likewise.
16307         (asin_towardzero_test_data): Likewise.
16308         (asin_downward_test_data): Likewise.
16309         (asin_upward_test_data): Likewise.
16310         (asinh_test_data): Likewise.
16311         (atan_test_data): Likewise.
16312         (atanh_test_data): Likewise.
16313         (atan2_test_data): Likewise.
16314         (cabs_test_data): Likewise.
16315         (cacos_test_data): Likewise.
16316         (cacosh_test_data): Likewise.
16317         (carg_test_data): Likewise.
16318         (casin_test_data): Likewise.
16319         (casinh_test_data): Likewise.
16320         (catan_test_data): Likewise.
16321         (catanh_test_data): Likewise.
16322         (cbrt_test_data): Likewise.
16323         (ccos_test_data): Likewise.
16324         (ccosh_test_data): Likewise.
16325         (ceil_test_data): Likewise.
16326         (cexp_test_data): Likewise.
16327         (cimag_test_data): Likewise.
16328         (clog_test_data): Likewise.
16329         (clog10_test_data): Likewise.
16330         (conj_test_data): Likewise.
16331         (copysign_test_data): Likewise.
16332         (cos_test_data): Likewise.
16333         (cos_tonearest_test_data): Likewise.
16334         (cos_towardzero_test_data): Likewise.
16335         (cos_downward_test_data): Likewise.
16336         (cos_upward_test_data): Likewise.
16337         (cosh_test_data): Likewise.
16338         (cosh_tonearest_test_data): Likewise.
16339         (cosh_towardzero_test_data): Likewise.
16340         (cosh_downward_test_data): Likewise.
16341         (cosh_upward_test_data): Likewise.
16342         (cpow_test_data): Likewise.
16343         (cproj_test_data): Likewise.
16344         (creal_test_data): Likewise.
16345         (csin_test_data): Likewise.
16346         (csinh_test_data): Likewise.
16347         (csqrt_test_data): Likewise.
16348         (ctan_test_data): Likewise.
16349         (ctan_tonearest_test_data): Likewise.
16350         (ctan_towardzero_test_data): Likewise.
16351         (ctan_downward_test_data): Likewise.
16352         (ctan_upward_test_data): Likewise.
16353         (ctanh_test_data): Likewise.
16354         (ctanh_tonearest_test_data): Likewise.
16355         (ctanh_towardzero_test_data): Likewise.
16356         (ctanh_downward_test_data): Likewise.
16357         (ctanh_upward_test_data): Likewise.
16358         (erf_test_data): Likewise.
16359         (erfc_test_data): Likewise.
16360         (exp_test_data): Likewise.
16361         (exp_tonearest_test_data): Likewise.
16362         (exp_towardzero_test_data): Likewise.
16363         (exp_downward_test_data): Likewise.
16364         (exp_upward_test_data): Likewise.
16365         (exp10_test_data): Likewise.
16366         (exp2_test_data): Likewise.
16367         (expm1_test_data): Likewise.
16368         (fabs_test_data): Likewise.
16369         (fdim_test_data): Likewise.
16370         (finite_test_data): Likewise.
16371         (floor_test_data): Likewise.
16372         (fma_test_data): Likewise.
16373         (fma_towardzero_test_data): Likewise.
16374         (fma_downward_test_data): Likewise.
16375         (fma_upward_test_data): Likewise.
16376         (fmax_test_data): Likewise.
16377         (fmin_test_data): Likewise.
16378         (fmod_test_data): Likewise.
16379         (fpclassify_test_data): Likewise.
16380         (frexp_test_data): Likewise.
16381         (gamma_test_data): Likewise.
16382         (hypot_test_data): Likewise.
16383         (ilogb_test_data): Likewise.
16384         (isfinite_test_data): Likewise.
16385         (isgreater_test_data): Likewise.
16386         (isgreaterequal_test_data): Likewise.
16387         (isinf_test_data): Likewise.
16388         (isless_test_data): Likewise.
16389         (islessequal_test_data): Likewise.
16390         (islessgreater_test_data): Likewise.
16391         (isnan_test_data): Likewise.
16392         (isnormal_test_data): Likewise.
16393         (issignaling_test_data): Likewise.
16394         (isunordered_test_data): Likewise.
16395         (j0_test_data): Likewise.
16396         (j1_test_data): Likewise.
16397         (jn_test_data): Likewise.
16398         (ldexp_test_data): Likewise.
16399         (lgamma_test_data): Likewise.
16400         (lrint_test_data): Likewise.
16401         (lrint_tonearest_test_data): Likewise.
16402         (lrint_towardzero_test_data): Likewise.
16403         (lrint_downward_test_data): Likewise.
16404         (lrint_upward_test_data): Likewise.
16405         (llrint_test_data): Likewise.
16406         (llrint_tonearest_test_data): Likewise.
16407         (llrint_towardzero_test_data): Likewise.
16408         (llrint_downward_test_data): Likewise.
16409         (llrint_upward_test_data): Likewise.
16410         (log_test_data): Likewise.
16411         (log10_test_data): Likewise.
16412         (log1p_test_data): Likewise.
16413         (log2_test_data): Likewise.
16414         (logb_test_data): Likewise.
16415         (logb_downward_test_data): Likewise.
16416         (lround_test_data): Likewise.
16417         (llround_test_data): Likewise.
16418         (modf_test_data): Likewise.
16419         (nearbyint_test_data): Likewise.
16420         (nextafter_test_data): Likewise.
16421         (nexttoward_test_data): Likewise.
16422         (pow_test_data): Likewise.
16423         (pow_tonearest_test_data): Likewise.
16424         (pow_towardzero_test_data): Likewise.
16425         (pow_downward_test_data): Likewise.
16426         (pow_upward_test_data): Likewise.
16427         (remainder_test_data): Likewise.
16428         (remainder_tonearest_test_data): Likewise.
16429         (remainder_towardzero_test_data): Likewise.
16430         (remainder_downward_test_data): Likewise.
16431         (remainder_upward_test_data): Likewise.
16432         (remquo_test_data): Likewise.
16433         (rint_test_data): Likewise.
16434         (rint_tonearest_test_data): Likewise.
16435         (rint_towardzero_test_data): Likewise.
16436         (rint_downward_test_data): Likewise.
16437         (rint_upward_test_data): Likewise.
16438         (round_test_data): Likewise.
16439         (scalb_test_data): Likewise.
16440         (scalbn_test_data): Likewise.
16441         (scalbln_test_data): Likewise.
16442         (signbit_test_data): Likewise.
16443         (sin_test_data): Likewise.
16444         (sin_tonearest_test_data): Likewise.
16445         (sin_towardzero_test_data): Likewise.
16446         (sin_downward_test_data): Likewise.
16447         (sin_upward_test_data): Likewise.
16448         (sincos_test_data): Likewise.
16449         (sinh_test_data): Likewise.
16450         (sinh_tonearest_test_data): Likewise.
16451         (sinh_towardzero_test_data): Likewise.
16452         (sinh_downward_test_data): Likewise.
16453         (sinh_upward_test_data): Likewise.
16454         (sqrt_test_data): Likewise.
16455         (tan_test_data): Likewise.
16456         (tan_tonearest_test_data): Likewise.
16457         (tan_towardzero_test_data): Likewise.
16458         (tan_downward_test_data): Likewise.
16459         (tan_upward_test_data): Likewise.
16460         (tanh_test_data): Likewise.
16461         (tgamma_test_data): Likewise.
16462         (trunc_test_data): Likewise.
16463         (y0_test_data): Likewise.
16464         (y1_test_data): Likewise.
16465         (yn_test_data): Likewise.
16466         (significand_test_data): Likewise.
16467
16468         * math/gen-libm-test.pl (@functions): Remove variable.
16469         (generate_testfile): Don't handle START and END lines.
16470         * math/libm-test.inc (START): New macro.
16471         (END): Likewise.
16472         (END_COMPLEX): Likewise.
16473         (acos_test): Use END macro without arguments.
16474         (acos_test_tonearest): Likewise.
16475         (acos_test_towardzero): Likewise.
16476         (acos_test_downward): Likewise.
16477         (acos_test_upward): Likewise.
16478         (acosh_test): Likewise.
16479         (asin_test): Likewise.
16480         (asin_test_tonearest): Likewise.
16481         (asin_test_towardzero): Likewise.
16482         (asin_test_downward): Likewise.
16483         (asin_test_upward): Likewise.
16484         (asinh_test): Likewise.
16485         (atan_test): Likewise.
16486         (atanh_test): Likewise.
16487         (atan2_test): Likewise.
16488         (cabs_test): Likewise.
16489         (cacos_test): Use END_COMPLEX macro without arguments.
16490         (cacosh_test): Likewise.
16491         (carg_test): Use END macro without arguments.
16492         (casin_test): Use END_COMPLEX macro without arguments.
16493         (casinh_test): Likewise.
16494         (catan_test): Likewise.
16495         (catanh_test): Likewise.
16496         (cbrt_test): Use END macro without arguments.
16497         (ccos_test): Use END_COMPLEX macro without arguments.
16498         (ccosh_test): Likewise.
16499         (ceil_test): Use END macro without arguments.
16500         (cexp_test): Use END_COMPLEX macro without arguments.
16501         (cimag_test): Use END macro without arguments.
16502         (clog_test): Use END_COMPLEX macro without arguments.
16503         (clog10_test): Likewise.
16504         (conj_test): Likewise.
16505         (copysign_test): Use END macro without arguments.
16506         (cos_test): Likewise.
16507         (cos_test_tonearest): Likewise.
16508         (cos_test_towardzero): Likewise.
16509         (cos_test_downward): Likewise.
16510         (cos_test_upward): Likewise.
16511         (cosh_test): Likewise.
16512         (cosh_test_tonearest): Likewise.
16513         (cosh_test_towardzero): Likewise.
16514         (cosh_test_downward): Likewise.
16515         (cosh_test_upward): Likewise.
16516         (cpow_test): Use END_COMPLEX macro without arguments.
16517         (cproj_test): Likewise.
16518         (creal_test): Use END macro without arguments.
16519         (csin_test): Use END_COMPLEX macro without arguments.
16520         (csinh_test): Likewise.
16521         (csqrt_test): Likewise.
16522         (ctan_test): Likewise.
16523         (ctan_test_tonearest): Likewise.
16524         (ctan_test_towardzero): Likewise.
16525         (ctan_test_downward): Likewise.
16526         (ctan_test_upward): Likewise.
16527         (ctanh_test): Likewise.
16528         (ctanh_test_tonearest): Likewise.
16529         (ctanh_test_towardzero): Likewise.
16530         (ctanh_test_downward): Likewise.
16531         (ctanh_test_upward): Likewise.
16532         (erf_test): Use END macro without arguments.
16533         (erfc_test): Likewise.
16534         (exp_test): Likewise.
16535         (exp_test_tonearest): Likewise.
16536         (exp_test_towardzero): Likewise.
16537         (exp_test_downward): Likewise.
16538         (exp_test_upward): Likewise.
16539         (exp10_test): Likewise.
16540         (exp2_test): Likewise.
16541         (expm1_test): Likewise.
16542         (fabs_test): Likewise.
16543         (fdim_test): Likewise.
16544         (finite_test): Likewise.
16545         (floor_test): Likewise.
16546         (fma_test): Likewise.
16547         (fma_test_towardzero): Likewise.
16548         (fma_test_downward): Likewise.
16549         (fma_test_upward): Likewise.
16550         (fmax_test): Likewise.
16551         (fmin_test): Likewise.
16552         (fmod_test): Likewise.
16553         (fpclassify_test): Likewise.
16554         (frexp_test): Likewise.
16555         (gamma_test): Likewise.
16556         (hypot_test): Likewise.
16557         (ilogb_test): Likewise.
16558         (isfinite_test): Likewise.
16559         (isgreater_test): Likewise.
16560         (isgreaterequal_test): Likewise.
16561         (isinf_test): Likewise.
16562         (isless_test): Likewise.
16563         (islessequal_test): Likewise.
16564         (islessgreater_test): Likewise.
16565         (isnan_test): Likewise.
16566         (isnormal_test): Likewise.
16567         (issignaling_test): Likewise.
16568         (isunordered_test): Likewise.
16569         (j0_test): Likewise.
16570         (j1_test): Likewise.
16571         (jn_test): Likewise.
16572         (ldexp_test): Likewise.
16573         (lgamma_test): Likewise.
16574         (lrint_test): Likewise.
16575         (lrint_test_tonearest): Likewise.
16576         (lrint_test_towardzero): Likewise.
16577         (lrint_test_downward): Likewise.
16578         (lrint_test_upward): Likewise.
16579         (llrint_test): Likewise.
16580         (llrint_test_tonearest): Likewise.
16581         (llrint_test_towardzero): Likewise.
16582         (llrint_test_downward): Likewise.
16583         (llrint_test_upward): Likewise.
16584         (log_test): Likewise.
16585         (log10_test): Likewise.
16586         (log1p_test): Likewise.
16587         (log2_test): Likewise.
16588         (logb_test): Likewise.
16589         (logb_test_downward): Likewise.
16590         (lround_test): Likewise.
16591         (llround_test): Likewise.
16592         (modf_test): Likewise.
16593         (nearbyint_test): Likewise.
16594         (nextafter_test): Likewise.
16595         (nexttoward_test): Likewise.
16596         (pow_test): Likewise.
16597         (pow_test_tonearest): Likewise.
16598         (pow_test_towardzero): Likewise.
16599         (pow_test_downward): Likewise.
16600         (pow_test_upward): Likewise.
16601         (remainder_test): Likewise.
16602         (remainder_test_tonearest): Likewise.
16603         (remainder_test_towardzero): Likewise.
16604         (remainder_test_downward): Likewise.
16605         (remainder_test_upward): Likewise.
16606         (remquo_test): Likewise.
16607         (rint_test): Likewise.
16608         (rint_test_tonearest): Likewise.
16609         (rint_test_towardzero): Likewise.
16610         (rint_test_downward): Likewise.
16611         (rint_test_upward): Likewise.
16612         (round_test): Likewise.
16613         (scalb_test): Likewise.
16614         (scalbn_test): Likewise.
16615         (scalbln_test): Likewise.
16616         (signbit_test): Likewise.
16617         (sin_test): Likewise.
16618         (sin_test_tonearest): Likewise.
16619         (sin_test_towardzero): Likewise.
16620         (sin_test_downward): Likewise.
16621         (sin_test_upward): Likewise.
16622         (sincos_test): Likewise.
16623         (sinh_test): Likewise.
16624         (sinh_test_tonearest): Likewise.
16625         (sinh_test_towardzero): Likewise.
16626         (sinh_test_downward): Likewise.
16627         (sinh_test_upward): Likewise.
16628         (sqrt_test): Likewise.
16629         (tan_test): Likewise.
16630         (tan_test_tonearest): Likewise.
16631         (tan_test_towardzero): Likewise.
16632         (tan_test_downward): Likewise.
16633         (tan_test_upward): Likewise.
16634         (tanh_test): Likewise.
16635         (tgamma_test): Likewise.
16636         (trunc_test): Likewise.
16637         (y0_test): Likewise.
16638         (y1_test): Likewise.
16639         (yn_test): Likewise.
16640         (significand_test): Likewise.
16641
16642 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16643
16644         [BZ #15381]
16645         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16646
16647 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16648
16649         [BZ #14894]
16650         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16651         __ppc_mdoio and __ppc_mdoom.
16652         * manual/platform.texi: Document new functions __ppc_yield,
16653         __ppc_mdoio and __ppc_mdoom.
16654
16655 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16656
16657         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16658         (main): Mention "tls" pseudo-hwcap is legacy.
16659         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16660
16661 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16662
16663         * math/gen-libm-test.pl (parse_args): Output only string of
16664         arguments as text for test name, not full call or descriptions of
16665         tests for extra outputs.
16666         (generate_testfile): Do not pass function name to parse_args.
16667         Generate this_func variable from START.
16668         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16669         field to arg_str.
16670         (struct test_ff_f_data): Likewise.
16671         (test_ff_f_data_nexttoward): Likewise.
16672         (struct test_fi_f_data): Likewise.
16673         (struct test_fl_f_data): Likewise.
16674         (struct test_if_f_data): Likewise.
16675         (struct test_fff_f_data): Likewise.
16676         (struct test_c_f_data): Likewise.
16677         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16678         (struct test_fF_f1_data): Likewise.
16679         (struct test_ffI_f1_data): Likewise.
16680         (struct test_c_c_data): Rename test_name field to arg_str.
16681         (struct test_cc_c_data): Likewise.
16682         (struct test_f_i_data): Likewise.
16683         (struct test_ff_i_data): Likewise.
16684         (struct test_f_l_data): Likewise.
16685         (struct test_f_L_data): Likewise.
16686         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16687         and extra2_name.
16688         (COMMON_TEST_SETUP): New macro.
16689         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16690         (COMMON_TEST_CLEANUP): Likewise.
16691         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16692         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16693         macros.
16694         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16695         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16696         macros.
16697         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16698         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16699         cleanup macros.
16700         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16701         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16702         macros.
16703         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16704         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16705         macros.
16706         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16707         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16708         cleanup macros.
16709         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16710         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16711         cleanup macros.
16712         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16713         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16714         cleanup macros.
16715         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16716         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16717         macros.
16718         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16719         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16720         macros.
16721         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16722         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16723         macros.
16724         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16725         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16726         cleanup macros.
16727         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16728         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16729         cleanup macros.
16730         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16731         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16732         macros.
16733         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16734         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16735         cleanup macros.
16736         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16737         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16738         macros.
16739         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16740         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16741         macros.
16742         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16743         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16744         cleanup macros.
16745         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16746
16747 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16748
16749         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16750         to _sifields.sigfault.
16751         (si_addr_lsb): Define new macro.
16752         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16753         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16754         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16755
16756 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16757
16758         [BZ #15441]
16759         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16760         returns -1.
16761         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16762         null return -1.
16763         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16764         loading the domain.
16765
16766 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16767
16768         * math/gen-libm-test.pl (parse_args): Do not include expected
16769         result in test name.
16770         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16771         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16772         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16773         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16774         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16776
16777 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16778
16779         * benchtests/Makefile: Sort function entries.
16780
16781         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16782         tanh, asinh, acosh, atanh.
16783         * benchtests/acos-inputs: New file.
16784         * benchtests/acosh-inputs: New file.
16785         * benchtests/asin-inputs: New file.
16786         * benchtests/asinh-inputs: New file.
16787         * benchtests/atanh-inputs: New file.
16788         * benchtests/cosh-inputs: New file.
16789         * benchtests/log-inputs: New file.
16790         * benchtests/sinh-inputs: New file.
16791         * benchtests/tanh-inputs: New file.
16792
16793 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16794
16795         [BZ #15339]
16796         * posix/tst-getaddrinfo4.c: New test.
16797         * posix/Makefile (tests): Add it.
16798
16799 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16800
16801         [BZ #15339]
16802         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16803         when no services were used.
16804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16805         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16806
16807 2013-05-21  Andreas Schwab  <schwab@suse.de>
16808
16809         [BZ #15014]
16810         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16811         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16812         successful.
16813         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16814         redundant variable declarations and reallocation of buffer when
16815         parsing as IPv6 address.  Always set NSS status when called from
16816         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16817         buffer too small.  Correct computation of needed size.
16818         * nss/Makefile (tests): Add test-digits-dots.
16819         * nss/test-digits-dots.c: New test.
16820
16821 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16822
16823         * benchtests/Makefile: Remove instructions for adding
16824         benchmark tests.
16825         * benchtests/README: New file to explain how to execute and
16826         enhance the benchmark tests.
16827
16828 2013-05-21  Andreas Schwab  <schwab@suse.de>
16829
16830         [BZ #15493]
16831         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16832         * setjmp/tst-sigsetjmp.c: New test.
16833
16834 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16835
16836         * sysdeps/x86_64/memset.S (memset): New implementation.
16837         (__bzero): Likewise.
16838         (__memset_tail): New function.
16839
16840 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16841
16842         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16843         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16844         __memcpy_sse2_unaligned ifunc selection.
16845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16846         Add memcpy-sse2-unaligned.S.
16847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16848         Add: __memcpy_sse2_unaligned.
16849
16850 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16851
16852         [BZ #15490]
16853         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16854         math_force_eval before restoring floating-point envrionment.
16855         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16856         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16857         Likewise.
16858         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16859         <math_private.h>.
16860         (__nearbyintl): Use math_force_eval before restoring
16861         floating-point environment.
16862         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16863
16864         * math/gen-libm-test.pl (special_functions): Remove.
16865         (parse_args): Don't handle TEST_extra.  Handle functions with no
16866         return value.
16867         * math/libm-test.inc (struct test_sincos_data): Replace with
16868         struct test_fFF_11_data.
16869         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16870         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16871         (sincos_test_data): Change element type to struct
16872         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16873         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16874         RUN_TEST_LOOP_sincos.
16875         * math/README.libm-test: Don't mention special handling of
16876         individual functions.
16877         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16878         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16879         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16880         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16881         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16883
16884         * math/gen-libm-test.pl (get_variable): Remove function.
16885         (parse_args): Don't show pointer parameters to call in test
16886         names.  Use "extra output N" in test names for extra outputs
16887         rather than naming variables.
16888
16889 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16890
16891         [BZ #15488]
16892         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16893         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16894         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16895         double tests.
16896         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16897         disable.
16898         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16899         check_long_double.
16900
16901         * math/gen-libm-test.pl (@tests): Remove variable.
16902         ($count): Likewise.
16903         (new_test): Remove function.
16904         (show_exceptions): New function.
16905         (special_functions): Use show_exceptions instead of new_test.
16906         (parse_args): Likewise.
16907         (generate_testfile): Pass only function name in generated call to
16908         print_max_error or print_complex_max_error.
16909         (get_ulps): Do not handle complex tests specially.
16910         (output_test): Rename to ...
16911         (get_all_ulps_for_test): ... this.  Return a string rather than
16912         printing to a file.  Require ulps to be present.
16913         (output_ulps): Generate arrays rather than #defines.
16914         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16915         (struct ulp_data): New type.
16916         (BUILD_COMPLEX_ULP): Remove macro.
16917         (compare_ulp_data): New function.
16918         (find_ulps): Likewise.
16919         (find_test_ulps): Likewise.
16920         (find_function_ulps): Likewise.
16921         (find_complex_function_ulps): Likewise.
16922         (print_max_error): Determine allowed ulps using
16923         find_function_ulps.
16924         (print_complex_max_error): Determine allowed ulps using
16925         find_complex_function_ulps.
16926         (check_float_internal): Determine max ulps using find_test_ulps.
16927         (check_float): Do not take max_ulp parameter.  Update call to
16928         check_float_internal.
16929         (check_complex): Likewise.
16930         (check_int): Do not take max_ulp parameter.
16931         (check_long): Likewise.
16932         (check_bool): Likewise.
16933         (check_longlong): Likewise.
16934         (struct test_f_f_data): Remove max_ulp field.
16935         (struct test_ff_f_data): Likewise.
16936         (struct test_ff_f_data_nexttoward): Likewise.
16937         (struct test_fi_f_data): Likewise.
16938         (struct test_fl_f_data): Likewise.
16939         (struct test_if_f_data): Likewise.
16940         (struct test_fff_f_data): Likewise.
16941         (struct test_c_f_data): Likewise.
16942         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16943         (struct test_fF_f1_data): Likewise.
16944         (struct test_ffI_f1_data): Likewise.
16945         (struct test_c_c_data): Remove max_ulp field.
16946         (struct test_cc_c_data): Likewise.
16947         (struct test_f_i_data): Likewise.
16948         (struct test_ff_i_data): Likewise.
16949         (struct test_f_l_data): Likewise.
16950         (struct test_f_L_data): Likewise.
16951         (struct test_sincos_data): Likewise.
16952         (RUN_TEST_f_f): Do not handle ulps.
16953         (RUN_TEST_LOOP_f_f): Likewise.
16954         (RUN_TEST_2_f): Likewise.
16955         (RUN_TEST_LOOP_2_f): Likewise.
16956         (RUN_TEST_fff_f): Likewise.
16957         (RUN_TEST_LOOP_fff_f): Likewise.
16958         (RUN_TEST_c_f): Likewise.
16959         (RUN_TEST_LOOP_c_f): Likewise.
16960         (RUN_TEST_f_f1): Likewise.
16961         (RUN_TEST_LOOP_f_f1): Likewise.
16962         (RUN_TEST_fF_f1): Likewise.
16963         (RUN_TEST_LOOP_fF_f1): Likewise.
16964         (RUN_TEST_fI_f1): Likewise.
16965         (RUN_TEST_LOOP_fI_f1): Likewise.
16966         (RUN_TEST_ffI_f1): Likewise.
16967         (RUN_TEST_LOOP_ffI_f1): Likewise.
16968         (RUN_TEST_c_c): Likewise.
16969         (RUN_TEST_LOOP_c_c): Likewise.
16970         (RUN_TEST_cc_c): Likewise.
16971         (RUN_TEST_LOOP_cc_c): Likewise.
16972         (RUN_TEST_f_i): Likewise.
16973         (RUN_TEST_LOOP_f_i): Likewise.
16974         (RUN_TEST_f_i_tg): Likewise.
16975         (RUN_TEST_LOOP_f_i_tg): Likewise.
16976         (RUN_TEST_ff_i_tg): Likewise.
16977         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16978         (RUN_TEST_f_b): Likewise.
16979         (RUN_TEST_LOOP_f_b): Likewise.
16980         (RUN_TEST_f_b_tg): Likewise.
16981         (RUN_TEST_LOOP_f_b_tg): Likewise.
16982         (RUN_TEST_f_l): Likewise.
16983         (RUN_TEST_LOOP_f_l): Likewise.
16984         (RUN_TEST_f_L): Likewise.
16985         (RUN_TEST_LOOP_f_L): Likewise.
16986         (RUN_TEST_sincos): Likewise.
16987         (RUN_TEST_LOOP_sincos): Likewise.
16988
16989 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16990
16991         [BZ #15480]
16992         [BZ #15485]
16993         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16994         main case of finite arguments, set rounding mode to FE_TONEAREST
16995         and discard exceptions.
16996         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16997         exceptions.
16998         (remainder_tonearest_test_data): New variable.
16999         (remainder_test_tonearest): New function.
17000         (remainder_towardzero_test_data): New variable.
17001         (remainder_test_towardzero): New function.
17002         (remainder_downward_test_data): New variable.
17003         (remainder_test_downward): New function.
17004         (remainder_upward_test_data): New variable.
17005         (remainder_test_upward): New function.
17006         (main): Call the new test functions.
17007
17008         * math/libm-test.inc (struct test_f_f1_data): Remove field
17009         extra_init.
17010         (struct test_fF_f1_data): Likewise.
17011         (struct test_ffI_f1_data): Likewise.
17012         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17013         based on value of EXTRA_EXPECTED.
17014         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17015         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17016         EXTRA_VAR based on value of EXTRA_EXPECTED.
17017         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17018         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17019         EXTRA_VAR based on value of EXTRA_EXPECTED.
17020         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17021         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17022         EXTRA_VAR based on value of EXTRA_EXPECTED.
17023         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17024         * math/gen-libm-test.pl (parse_args): Don't output initializers
17025         for extra output values.
17026
17027         * math/libm-test.inc (check_int): Expect result to be exactly
17028         equal to expected value and do not handle ulps.
17029         (check_long): Likewise.
17030         (check_longlong): Likewise.
17031
17032         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17033         exceptions.
17034         (cimag_test_data): Likewise.
17035         (conj_test_data): Likewise.
17036         (copysign_test_data): Likewise.
17037         (cproj_test_data): Likewise.
17038         (creal_test_data): Likewise.
17039         (fabs_test_data): Likewise.
17040         (fdim_test_data): Likewise.
17041         (finite_test_data): Likewise.
17042         (floor_test_data): Likewise.
17043         (fmax_test_data): Likewise.
17044         (fmin_test_data): Likewise.
17045         (fmod_test_data): Likewise.
17046         (fpclassify_test_data): Likewise.
17047         (frexp_test_data): Likewise.
17048         (ilogb_test_data): Likewise.
17049         (isfinite_test_data): Likewise.
17050         (isgreater_test_data): Likewise.
17051         (isgreaterequal_test_data): Likewise.
17052         (isinf_test_data): Likewise.
17053         (isless_test_data): Likewise.
17054         (islessequal_test_data): Likewise.
17055         (islessgreater_test_data): Likewise.
17056         (isnan_test_data): Likewise.
17057         (isnormal_test_data): Likewise.
17058         (issignaling_test_data): Likewise.
17059         (isunordered_test_data): Likewise.
17060         (ldexp_test_data): Likewise.
17061         (lrint_test_data): Likewise.
17062         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17063         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17064         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17065         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17066         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17067         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17068         test input.
17069         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17070         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17071         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17072         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17073         that test input.
17074         (lrint_downward_test_data): Test for "inexact" exceptions.
17075         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17076         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17077         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17078         test input.
17079         (lrint_upward_test_data): Test for "inexact" exceptions.
17080         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17081         test input.
17082         (llrint_test_data): Test for "inexact" exceptions.
17083         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17084         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17085         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17086         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17087         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17088         (llrint_downward_test_data): Test for "inexact" exceptions.
17089         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17090         (llrint_upward_test_data): Test for "inexact" exceptions.
17091         (logb_test_data): Likewise.
17092         (logb_downward_test_data): Likewise.
17093         (nextafter_test_data): Likewise.
17094         (nexttoward_test_data): Likewise.
17095         (remainder_test_data): Likewise.
17096         (remquo_test_data): Likewise.
17097         (scalbn_test_data): Likewise.
17098         (scalbln_test_data): Likewise.
17099         (signbit_test_data): Likewise.
17100         (sqrt_test_data): Likewise.
17101         (significand_test_data): Likewise.
17102
17103 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17104
17105         [BZ #15424]
17106         * benchtests/bench-modf.c (struct args): Mark arg0 as
17107         volatile.
17108         * scripts/bench.pl: Mark members of struct args as volatile.
17109
17110 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17111
17112         [BZ # 15497]
17113         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17114         negative infinity on POWER6 or lower.
17115         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17116
17117 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17118
17119         [BZ #15442]
17120         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17121         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17122         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17123         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17124         (_FP_SETQNAN): New macro.
17125         (_FP_SETQNAN_SEMIRAW): Likewise.
17126         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17127         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17128         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17129         (FP_EXTEND): Use _FP_FRAC_SNANP.
17130         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17131         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17132         into account.
17133         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17134         New macro.
17135         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17136         Likewise.
17137
17138 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17139
17140         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17141         with DIVIDE_BY_ZERO_EXCEPTION.
17142         (gamma_test_data): Likewise.
17143         (lgamma_test_data): Likewise.
17144         (log_test_data): Likewise.
17145         (log10_test_data): Likewise.
17146         (log2_test_data): Likewise.
17147         (tgamma_test_data): Likewise.
17148
17149         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17150         (acos_test_tonearest): Likewise.
17151         (acos_test_towardzero): Likewise.
17152         (acos_test_downward): Likewise.
17153         (acos_test_upward): Likewise.
17154         (acosh_test): Likewise.
17155         (asin_test): Likewise.
17156         (asin_test_tonearest): Likewise.
17157         (asin_test_towardzero): Likewise.
17158         (asin_test_downward): Likewise.
17159         (asin_test_upward): Likewise.
17160         (asinh_test): Likewise.
17161         (atan_test): Likewise.
17162         (atanh_test): Likewise.
17163         (atan2_test): Likewise.
17164         (cabs_test): Likewise.
17165         (cacos_test): Likewise.
17166         (cacosh_test): Likewise.
17167         (casin_test): Likewise.
17168         (casinh_test): Likewise.
17169         (catan_test): Likewise.
17170         (catanh_test): Likewise.
17171         (cbrt_test): Likewise.
17172         (ccos_test): Likewise.
17173         (ccosh_test): Likewise.
17174         (cexp_test): Likewise.
17175         (clog_test): Likewise.
17176         (clog10_test): Likewise.
17177         (cos_test): Likewise.
17178         (cos_test_tonearest): Likewise.
17179         (cos_test_towardzero): Likewise.
17180         (cos_test_downward): Likewise.
17181         (cos_test_upward): Likewise.
17182         (cosh_test): Likewise.
17183         (cosh_test_tonearest): Likewise.
17184         (cosh_test_towardzero): Likewise.
17185         (cosh_test_downward): Likewise.
17186         (cosh_test_upward): Likewise.
17187         (cpow_test): Likewise.
17188         (csin_test): Likewise.
17189         (csinh_test): Likewise.
17190         (csqrt_test): Likewise.
17191         (ctan_test): Likewise.
17192         (ctan_test_tonearest): Likewise.
17193         (ctan_test_towardzero): Likewise.
17194         (ctan_test_downward): Likewise.
17195         (ctan_test_upward): Likewise.
17196         (ctanh_test): Likewise.
17197         (ctanh_test_tonearest): Likewise.
17198         (ctanh_test_towardzero): Likewise.
17199         (ctanh_test_downward): Likewise.
17200         (ctanh_test_upward): Likewise.
17201         (erf_test): Likewise.
17202         (erfc_test): Likewise.
17203         (exp_test): Likewise.
17204         (exp_test_tonearest): Likewise.
17205         (exp_test_towardzero): Likewise.
17206         (exp_test_downward): Likewise.
17207         (exp_test_upward): Likewise.
17208         (exp10_test): Likewise.
17209         (exp2_test): Likewise.
17210         (expm1_test): Likewise.
17211         (fmod_test): Likewise.
17212         (gamma_test): Likewise.
17213         (hypot_test): Likewise.
17214         (j0_test): Likewise.
17215         (j1_test): Likewise.
17216         (jn_test): Likewise.
17217         (lgamma_test): Likewise.
17218         (log_test): Likewise.
17219         (log10_test): Likewise.
17220         (log1p_test): Likewise.
17221         (log2_test): Likewise.
17222         (logb_test_downward): Likewise.
17223         (pow_test): Likewise.
17224         (pow_test_tonearest): Likewise.
17225         (pow_test_towardzero): Likewise.
17226         (pow_test_downward): Likewise.
17227         (pow_test_upward): Likewise.
17228         (remainder_test): Likewise.
17229         (remquo_test): Likewise.
17230         (sin_test): Likewise.
17231         (sin_test_tonearest): Likewise.
17232         (sin_test_towardzero): Likewise.
17233         (sin_test_downward): Likewise.
17234         (sin_test_upward): Likewise.
17235         (sincos_test): Likewise.
17236         (sinh_test): Likewise.
17237         (sinh_test_tonearest): Likewise.
17238         (sinh_test_towardzero): Likewise.
17239         (sinh_test_downward): Likewise.
17240         (sinh_test_upward): Likewise.
17241         (sqrt_test): Likewise.
17242         (tan_test): Likewise.
17243         (tan_test_tonearest): Likewise.
17244         (tan_test_towardzero): Likewise.
17245         (tan_test_downward): Likewise.
17246         (tan_test_upward): Likewise.
17247         (tanh_test): Likewise.
17248         (tgamma_test): Likewise.
17249         (y0_test): Likewise.
17250         (y1_test): Likewise.
17251         (yn_test): Likewise.
17252
17253         * math/gen-libm-test.pl (adjust_arg): Remove function.
17254         (special_function): Remove argument $in_func.  Only handle
17255         generating output for tables of tests, not inside functions.
17256         (parse_args): Likewise.
17257         (generate_testfile): Remove variable $in_func.  Update call to
17258         parse_args.
17259         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17260         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17261         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17262         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17263         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17264         (MAX_VALUE_INIT): Rename macro to max_value.
17265         (MIN_VALUE_INIT): Rename macro to min_value.
17266         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17267         (plus_zero): Remove variable.
17268         (minus_zero): Likewise.
17269         (plus_infty): Likewise.
17270         (minus_infty): Likewise.
17271         (qnan_value): Likewise.
17272         (max_value): Likewise.
17273         (min_value): Likewise.
17274         (min_subnorm_value): Likewise.
17275
17276 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17277
17278         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17279         uint64_t or uint32_t usage.
17280         * crypt/sha256-block.c: Likewise.
17281         * crypt/sha256-crypt.c: Likewise.
17282         * crypt/sha256.c: Likewise.
17283         * crypt/sha512-block.c: Likewise.
17284         * crypt/sha512-crypt.c: Likewise.
17285         * crypt/sha512.c: Likewise.
17286         * debug/backtrace-tst.c: Likewise.
17287         * debug/pcprofiledump.c: Likewise.
17288         * elf/cache.c: Likewise.
17289         * elf/dl-cache.c: Likewise.
17290         * elf/dl-misc.c: Likewise.
17291         * elf/dl-profile.c: Likewise.
17292         * elf/dl-support.c: Likewise.
17293         * elf/ldconfig.c: Likewise.
17294         * elf/sprof.c: Likewise.
17295         * iconv/dummy-repertoire.c: Likewise.
17296         * iconv/iconv_charmap.c: Likewise.
17297         * iconv/skeleton.c: Likewise.
17298         * iconvdata/8bit-generic.c: Likewise.
17299         * iconvdata/cp737.h: Likewise.
17300         * iconvdata/cp775.h: Likewise.
17301         * iconvdata/ibm1008.h: Likewise.
17302         * iconvdata/ibm1025.h: Likewise.
17303         * iconvdata/ibm1046.h: Likewise.
17304         * iconvdata/ibm1097.h: Likewise.
17305         * iconvdata/ibm1112.h: Likewise.
17306         * iconvdata/ibm1122.h: Likewise.
17307         * iconvdata/ibm1123.h: Likewise.
17308         * iconvdata/ibm1124.h: Likewise.
17309         * iconvdata/ibm1129.h: Likewise.
17310         * iconvdata/ibm1130.h: Likewise.
17311         * iconvdata/ibm1132.h: Likewise.
17312         * iconvdata/ibm1133.h: Likewise.
17313         * iconvdata/ibm1137.h: Likewise.
17314         * iconvdata/ibm1140.h: Likewise.
17315         * iconvdata/ibm1141.h: Likewise.
17316         * iconvdata/ibm1142.h: Likewise.
17317         * iconvdata/ibm1143.h: Likewise.
17318         * iconvdata/ibm1144.h: Likewise.
17319         * iconvdata/ibm1145.h: Likewise.
17320         * iconvdata/ibm1146.h: Likewise.
17321         * iconvdata/ibm1147.h: Likewise.
17322         * iconvdata/ibm1148.h: Likewise.
17323         * iconvdata/ibm1149.h: Likewise.
17324         * iconvdata/ibm1153.h: Likewise.
17325         * iconvdata/ibm1154.h: Likewise.
17326         * iconvdata/ibm1155.h: Likewise.
17327         * iconvdata/ibm1156.h: Likewise.
17328         * iconvdata/ibm1157.h: Likewise.
17329         * iconvdata/ibm1158.h: Likewise.
17330         * iconvdata/ibm1160.h: Likewise.
17331         * iconvdata/ibm1161.h: Likewise.
17332         * iconvdata/ibm1162.h: Likewise.
17333         * iconvdata/ibm1163.h: Likewise.
17334         * iconvdata/ibm1164.h: Likewise.
17335         * iconvdata/ibm1166.h: Likewise.
17336         * iconvdata/ibm1167.h: Likewise.
17337         * iconvdata/ibm12712.h: Likewise.
17338         * iconvdata/ibm1390.h: Likewise.
17339         * iconvdata/ibm1399.h: Likewise.
17340         * iconvdata/ibm16804.h: Likewise.
17341         * iconvdata/ibm4517.h: Likewise.
17342         * iconvdata/ibm4899.h: Likewise.
17343         * iconvdata/ibm4909.h: Likewise.
17344         * iconvdata/ibm4971.h: Likewise.
17345         * iconvdata/ibm5347.h: Likewise.
17346         * iconvdata/ibm803.h: Likewise.
17347         * iconvdata/ibm856.h: Likewise.
17348         * iconvdata/ibm901.h: Likewise.
17349         * iconvdata/ibm902.h: Likewise.
17350         * iconvdata/ibm9030.h: Likewise.
17351         * iconvdata/ibm9066.h: Likewise.
17352         * iconvdata/ibm921.h: Likewise.
17353         * iconvdata/ibm922.h: Likewise.
17354         * iconvdata/ibm9448.h: Likewise.
17355         * iconvdata/isiri-3342.h: Likewise.
17356         * iconvdata/jis0201.h: Likewise.
17357         * include/link.h: Likewise.
17358         * include/netdb.h: Likewise.
17359         * inet/check_native.c: Likewise.
17360         * inet/check_pf.c: Likewise.
17361         * inet/getipv4sourcefilter.c: Likewise.
17362         * inet/getnameinfo.c: Likewise.
17363         * inet/getsourcefilter.c: Likewise.
17364         * inet/htonl.c: Likewise.
17365         * inet/setipv4sourcefilter.c: Likewise.
17366         * inet/setsourcefilter.c: Likewise.
17367         * inet/test-inet6_opt.c: Likewise.
17368         * inet/tst-network.c: Likewise.
17369         * locale/C-collate.c: Likewise.
17370         * locale/C-ctype.c: Likewise.
17371         * locale/C-time.c: Likewise.
17372         * locale/C-translit.h: Likewise.
17373         * locale/loadarchive.c: Likewise.
17374         * locale/programs/3level.h: Likewise.
17375         * locale/programs/charmap.c: Likewise.
17376         * locale/programs/charmap.h: Likewise.
17377         * locale/programs/ld-address.c: Likewise.
17378         * locale/programs/ld-collate.c: Likewise.
17379         * locale/programs/ld-ctype.c: Likewise.
17380         * locale/programs/ld-identification.c: Likewise.
17381         * locale/programs/ld-measurement.c: Likewise.
17382         * locale/programs/ld-messages.c: Likewise.
17383         * locale/programs/ld-monetary.c: Likewise.
17384         * locale/programs/ld-name.c: Likewise.
17385         * locale/programs/ld-numeric.c: Likewise.
17386         * locale/programs/ld-paper.c: Likewise.
17387         * locale/programs/ld-telephone.c: Likewise.
17388         * locale/programs/ld-time.c: Likewise.
17389         * locale/programs/linereader.c: Likewise.
17390         * locale/programs/locale.c: Likewise.
17391         * locale/programs/locarchive.c: Likewise.
17392         * locale/programs/locfile.h: Likewise.
17393         * locale/programs/repertoire.c: Likewise.
17394         * locale/programs/simple-hash.c: Likewise.
17395         * locale/programs/simple-hash.h: Likewise.
17396         * malloc/memusage.c: Likewise.
17397         * malloc/memusagestat.c: Likewise.
17398         * nis/nis_defaults.c: Likewise.
17399         * nis/nis_hash.c: Likewise.
17400         * nis/nis_print.c: Likewise.
17401         * nis/nis_xdr.c: Likewise.
17402         * nscd/connections.c: Likewise.
17403         * nscd/hstcache.c: Likewise.
17404         * nscd/nscd_gethst_r.c: Likewise.
17405         * nscd/nscd_getserv_r.c: Likewise.
17406         * nscd/nscd_helper.c: Likewise.
17407         * nscd/servicescache.c: Likewise.
17408         * nss/makedb.c: Likewise.
17409         * nss/nss_db/db-XXX.c: Likewise.
17410         * nss/nss_db/db-initgroups.c: Likewise.
17411         * nss/nss_db/db-netgrp.c: Likewise.
17412         * nss/nss_files/files-network.c: Likewise.
17413         * nss/nss_files/files-parse.c: Likewise.
17414         * posix/bug-regex5.c: Likewise.
17415         * posix/fnmatch_loop.c: Likewise.
17416         * posix/regcomp.c: Likewise.
17417         * posix/regexec.c: Likewise.
17418         * posix/tst-rfc3484-2.c: Likewise.
17419         * posix/tst-rfc3484-3.c: Likewise.
17420         * posix/tst-rfc3484.c: Likewise.
17421         * resolv/nss_dns/dns-canon.c: Likewise.
17422         * resolv/nss_dns/dns-network.c: Likewise.
17423         * resolv/res_init.c: Likewise.
17424         * resolv/res_mkquery.c: Likewise.
17425         * resolv/tst-aton.c: Likewise.
17426         * stdlib/cxa_atexit.c: Likewise.
17427         * stdlib/cxa_finalize.c: Likewise.
17428         * stdlib/gen-fpioconst.c: Likewise.
17429         * stdlib/strtol_l.c: Likewise.
17430         * string/tst-endian.c: Likewise.
17431         * sunrpc/auth_des.c: Likewise.
17432         * sunrpc/clnt_udp.c: Likewise.
17433         * sunrpc/rtime.c: Likewise.
17434         * sunrpc/svcauth_des.c: Likewise.
17435         * sunrpc/xdr.c: Likewise.
17436         * sunrpc/xdr_intXX_t.c: Likewise.
17437         * sunrpc/xdr_rec.c: Likewise.
17438         * sysdeps/generic/ldconfig.h: Likewise.
17439         * sysdeps/generic/ldsodefs.h: Likewise.
17440         * sysdeps/generic/memusage.h: Likewise.
17441         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17442         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17443         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17444         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17445         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17446         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17447         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17449         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17451         * sysdeps/posix/getaddrinfo.c: Likewise.
17452         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17453         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17454         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17455         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17456         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17457         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17458         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17459         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17460         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17461         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17462         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17463         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17464         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17465         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17466         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17467         * sysdeps/x86_64/dl-tls.h: Likewise.
17468         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17469         * time/alt_digit.c: Likewise.
17470         * time/era.c: Likewise.
17471         * wcsmbs/tst-c16c32-1.c: Likewise.
17472
17473 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17474
17475         * math/libm-test.inc (struct test_sincos_data): New type.
17476         (RUN_TEST_LOOP_sincos): New macro.
17477         (sincos_test_data): New variable.
17478         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17479
17480 2013-05-16  Richard Henderson  <rth@redhat.com>
17481
17482         * math/atest-exp2.c (LIMB64): New macro.
17483         (CONSTSZ): New macro.
17484         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17485         (hexdig): Move ...
17486         (print_mpn_fp): ... to function scope.
17487         (read_mpn_hex): Remove.
17488         (get_log2): Remove.
17489         (exp2_mpn): Use mp_log2.
17490         (main): Use mp_exp1.
17491
17492 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17493
17494         * math/libm-test.inc: Remove comment about not testing "inexact"
17495         exceptions.
17496         (INEXACT_EXCEPTION): New macro.
17497         (NO_INEXACT_EXCEPTION): Likewise.
17498         (INVALID_EXCEPTION_OK): Update value.
17499         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17500         (OVERFLOW_EXCEPTION_OK): Likewise.
17501         (UNDERFLOW_EXCEPTION_OK): Likewise.
17502         (IGNORE_ZERO_INF_SIGN): Likewise.
17503         (ERRNO_UNCHANGED): Likewise.
17504         (ERRNO_EDOM): Likewise.
17505         (ERRNO_ERANGE): Likewise.
17506         (test_exceptions): Handle testing "inexact" exceptions.
17507         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17508         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17509         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17510         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17511         INEXACT_EXCEPTION.
17512         (rint_towardzero_test_data): Likewise.
17513         (rint_downward_test_data): Likewise.
17514         (rint_upward_test_data): Likewise.
17515
17516         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17517         with OVERFLOW_EXCEPTION.
17518         (exp10_test_data): Likewise.
17519         (exp2_test_data): Likewise.
17520         (expm1_test_data): Likewise.
17521         (lgamma_test_data): Likewise.
17522         (pow_test_data): Likewise.
17523         (tgamma_test_data): Likewise.
17524         (yn_test_data): Remove duplicate test of overflow.
17525
17526         * math/libm-test.inc (struct test_cc_c_data): New type.
17527         (RUN_TEST_LOOP_cc_c): New macro.
17528         (cpow_test_data): New variable.
17529         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17530
17531         * math/libm-test.inc (struct test_f_L_data): New type.
17532         (RUN_TEST_LOOP_f_L): New macro.
17533         (llrint_test_data): New variable.
17534         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17535         (llrint_tonearest_test_data): New variable.
17536         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17537         (llrint_towardzero_test_data): New variable.
17538         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17539         (llrint_downward_test_data): New variable.
17540         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17541         (llrint_upward_test_data): New variable.
17542         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17543         (llround_test_data): New variable.
17544         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17545
17546 2013-05-13  Peter Collingbourne  <pcc@google.com>
17547
17548         * math/atest-exp2.c (get_log2): Remove const attribute.
17549
17550 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17551
17552         * math/libm-test.inc (struct test_f_l_data): New type.
17553         (RUN_TEST_LOOP_f_l): New macro.
17554         (lrint_test_data): New variable.
17555         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17556         (lrint_tonearest_test_data): New variable.
17557         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17558         (lrint_towardzero_test_data): New variable.
17559         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17560         (lrint_downward_test_data): New variable.
17561         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17562         (lrint_upward_test_data): New variable.
17563         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17564         (lround_test_data): New variable.
17565         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17566
17567 2013-05-15  Peter Collingbourne  <pcc@google.com>
17568
17569         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17570         (EXTRACT_WORDS64) Use where appropriate.
17571         (INSERT_WORDS64) Likewise.
17572
17573         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17574         constraints with x constraints.
17575         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17576
17577         * malloc/obstack.c (_obstack_compat): Add initializer.
17578
17579 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17580
17581         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17582         si_trapno and add si_addr_lsb to _sifields.sigfault.
17583         (si_trapno): Remove macro.
17584         (si_addr_lsb): Define new macro.
17585         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17586
17587 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17588
17589         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17590         instead of TEST_f_l.
17591         (llrint_test_tonearest): Likewise.
17592         (llrint_test_towardzero): Likewise.
17593         (llrint_test_downward): Likewise.
17594         (llrint_test_upward): Likewise.
17595         (llround_test): Likewise.
17596
17597         * math/libm-test.inc (struct test_f_i_data): Add comment.
17598         (RUN_TEST_LOOP_f_b): New macro.
17599         (RUN_TEST_LOOP_f_b_tg): Likewise.
17600         (finite_test_data): New variable.
17601         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17602         (isfinite_test_data): New variable.
17603         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17604         (isinf_test_data): New variable.
17605         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17606         (isnan_test_data): New variable.
17607         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17608         (isnormal_test_data): New variable.
17609         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17610         (issignaling_test_data): New variable.
17611         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17612         (signbit_test_data): New variable.
17613         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17614
17615         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17616         with INVALID_EXCEPTION.
17617         (acosh_test_data): Likewise.
17618         (asin_test_data): Likewise.
17619         (atanh_test_data): Likewise.
17620         (fmod_test_data): Likewise.
17621         (log_test_data): Likewise.
17622         (log10_test_data): Likewise.
17623         (log2_test_data): Likewise.
17624         (pow_test_data): Likewise.
17625         (sqrt_test_data): Likewise.
17626         (y0_test_data): Likewise.
17627         (y1_test_data): Likewise.
17628         (yn_test_data): Likewise.
17629
17630         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17631         function contents.
17632
17633         * math/libm-test.inc (struct test_ff_i_data): New type.
17634         (RUN_TEST_LOOP_ff_i_tg): New macro.
17635         (isgreater_test_data): New variable.
17636         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17637         (isgreaterequal_test_data): New variable.
17638         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17639         (isless_test_data): New variable.
17640         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17641         (islessequal_test_data): New variable.
17642         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17643         (islessgreater_test_data): New variable.
17644         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17645         (isunordered_test_data): New variable.
17646         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17647
17648 2013-05-14  David S. Miller  <davem@davemloft.net>
17649
17650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17651
17652 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17653
17654         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17655
17656         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17657         extra_test to int.
17658         (struct test_f_i_data): Change type of max_ulp to int.
17659
17660         * math/libm-test.inc (test_ffI_f1_data): New type.
17661         (RUN_TEST_LOOP_ffI_f1): New macro.
17662         (remquo_test_data): New variable.
17663         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17664
17665         * setjmp/tst-setjmp-fp.c: New file.
17666         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17667         (link-libm): New variable.
17668         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17669
17670         * math/libm-test.inc (struct test_f_i_data): New type.
17671         (RUN_TEST_LOOP_f_i): New macro.
17672         (RUN_TEST_LOOP_f_i_tg): Likewise.
17673         (fpclassify_test_data): New variable.
17674         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17675         (ilogb_test_data): New variable.
17676         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17677
17678         * math/libm-test.inc (scalbln_test): Correct function name in END
17679         call.
17680
17681         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17682         (RUN_TEST_LOOP_fI_f1): New macro.
17683         (frexp_test_data): New variable.
17684         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17685
17686         * math/libm-test.inc (struct test_fF_f1_data): New type.
17687         (RUN_TEST_LOOP_fF_f1): New macro.
17688         (modf_test_data): New variable.
17689         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17690
17691         * math/libm-test.inc (struct test_f_f1_data): New type.
17692         (RUN_TEST_LOOP_f_f1): New macro.
17693         (gamma_test_data): New variable.
17694         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17695         (lgamma_test_data): New variable.
17696         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17697
17698 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17699
17700         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17701         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17702         (main): Comment "tls" pseudo-hwcap.
17703
17704 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17705
17706         * math/libm-test.inc (struct test_fl_f_data): New type.
17707         (RUN_TEST_LOOP_fl_f): New variable.
17708         (scalbln_test_data): New variable.
17709         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17710
17711         * math/libm-test.inc (struct test_fi_f_data): New type.
17712         (RUN_TEST_LOOP_fi_f): New macro.
17713         (ldexp_test_data): New variable.
17714         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17715         (scalbn_test_data): New variable.
17716         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17717
17718         * math/libm-test.inc (struct test_c_f_data): New type.
17719         (RUN_TEST_LOOP_c_f): New macro.
17720         (cabs_test_data): New variable.
17721         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17722         (carg_test_data): New variable.
17723         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17724         (cimag_test_data): New variable.
17725         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17726         (creal_test_data): New variable.
17727         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17728
17729         * math/libm-test.inc (struct test_if_f_data): New type.
17730         (RUN_TEST_LOOP_if_f): New macro.
17731         (jn_test_data): New variable.
17732         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17733         (yn_test_data): New variable.
17734         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17735
17736         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17737
17738 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17739
17740         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17741         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17742
17743 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17744
17745         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17746         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17747         (bench-deps): Add bench-timing.h.
17748         * benchtests-bench-skeleton.c: Include bench-timing.h.
17749         (main): Use TIMING_* macros instead of clock_gettime.
17750         * benchtests/bench-timing.h: New file.
17751
17752         [BZ #14582]
17753         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17754         Renamed from _LIB_VERSION.
17755         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17756
17757 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17758
17759         * math/libm-test.inc (struct test_fff_f_data): New type.
17760         (RUN_TEST_LOOP_fff_f): New macro.
17761         (fma_test_data): New variable.
17762         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17763         (fma_towardzero_test_data): New variable.
17764         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17765         (fma_downward_test_data): New variable.
17766         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17767         (fma_upward_test_data): New variable.
17768         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17769
17770         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17771         (struct test_c_c_data): New type.
17772         (RUN_TEST_LOOP_c_c): New macro.
17773         (cacos_test_data): New variable.
17774         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17775         (cacosh_test_data): New variable.
17776         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17777         (casin_test_data): New variable.
17778         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17779         (casinh_test_data): New variable.
17780         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17781         (catan_test_data): New variable.
17782         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17783         (catanh_test_data): New variable.
17784         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17785         (ccos_test_data): New variable.
17786         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17787         (ccosh_test_data): New variable.
17788         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17789         (cexp_test_data): New variable.
17790         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17791         (clog_test_data): New variable.
17792         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17793         (clog10_test_data): New variable.
17794         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17795         (conj_test_data): New variable.
17796         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17797         (cproj_test_data): New variable.
17798         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17799         (csin_test_data): New variable.
17800         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17801         (csinh_test_data): New variable.
17802         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17803         (csqrt_test_data): New variable.
17804         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17805         (ctan_test_data): New variable.
17806         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17807         (ctan_tonearest_test_data): New variable.
17808         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17809         (ctan_towardzero_test_data): New variable.
17810         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17811         (ctan_downward_test_data): New variable.
17812         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17813         (ctan_upward_test_data): New variable.
17814         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17815         (ctanh_test_data): New variable.
17816         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17817         (ctanh_tonearest_test_data): New variable.
17818         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17819         (ctanh_towardzero_test_data): New variable.
17820         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17821         (ctanh_downward_test_data): New variable.
17822         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17823         (ctanh_upward_test_data): New variable.
17824         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17825         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17826         of BUILD_COMPLEX.
17827
17828         * math/libm-test.inc (struct test_ff_f_data): New type.
17829         (struct test_ff_f_data_nexttoward): Likewise.
17830         (RUN_TEST_LOOP_2_f): New macro.
17831         (RUN_TEST_LOOP_ff_f): Likewise.
17832         (atan2_test_data): New variable.
17833         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17834         (copysign_test_data): New variable.
17835         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17836         (fdim_test_data): New variable.
17837         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17838         (fmax_test_data): New variable.
17839         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17840         (fmin_test_data): New variable.
17841         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17842         (fmod_test_data): New variable.
17843         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17844         (hypot_test_data): New variable.
17845         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17846         (nextafter_test_data): New variable.
17847         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17848         (nexttoward_test_data): New variable.
17849         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17850         (pow_test_data): New variable.
17851         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17852         (pow_tonearest_test_data): New variable.
17853         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17854         (pow_towardzero_test_data): New variable.
17855         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17856         (pow_downward_test_data): New variable.
17857         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17858         (pow_upward_test_data): New variable.
17859         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17860         (remainder_test_data): New variable.
17861         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17862         (scalb_test_data): New variable.
17863         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17864         * sysdeps/i386/fpu/libm-test-ulps: Update.
17865
17866 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17867
17868         * math/libm-test.inc (fma_test): Use max_value instead of local
17869         variable fltmax.
17870         (nextafter_test): Likewise.
17871
17872         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17873         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17874         (acos_downward_test_data): New variable.
17875         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17876         (acos_upward_test_data): New variable.
17877         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17878         (acosh_test_data): New variable.
17879         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17880         (asin_test_data): New variable.
17881         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17882         (asin_tonearest_test_data): New variable.
17883         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17884         (asin_towardzero_test_data): New variable.
17885         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17886         (asin_downward_test_data): New variable.
17887         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17888         (asin_upward_test_data): New variable.
17889         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17890         (asinh_test_data): New variable.
17891         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17892         (atan_test_data): New variable.
17893         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17894         (atanh_test_data): New variable.
17895         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17896         (cbrt_test_data): New variable.
17897         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17898         (ceil_test_data): New variable.
17899         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17900         (cos_test_data): New variable.
17901         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17902         (cos_tonearest_test_data): New variable.
17903         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17904         (cos_towardzero_test_data): New variable.
17905         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17906         (cos_downward_test_data): New variable.
17907         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17908         (cos_upward_test_data): New variable.
17909         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17910         (cosh_test_data): New variable.
17911         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17912         (cosh_tonearest_test_data): New variable.
17913         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17914         (cosh_towardzero_test_data): New variable.
17915         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17916         (cosh_downward_test_data): New variable.
17917         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17918         (cosh_upward_test_data): New variable.
17919         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17920         (erf_test_data): New variable.
17921         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17922         (erfc_test_data): New variable.
17923         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17924         (exp_test_data): New variable.
17925         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17926         (exp_tonearest_test_data): New variable.
17927         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17928         (exp_towardzero_test_data): New variable.
17929         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17930         (exp_downward_test_data): New variable.
17931         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17932         (exp_upward_test_data): New variable.
17933         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17934         (exp10_test_data): New variable.
17935         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17936         (exp2_test_data): New variable.
17937         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17938         (expm1_test_data): New variable.
17939         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17940         (fabs_test_data): New variable.
17941         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17942         (floor_test_data): New variable.
17943         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17944         (j0_test_data): New variable.
17945         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17946         (j1_test_data): New variable.
17947         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17948         (log_test_data): New variable.
17949         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17950         (log10_test_data): New variable.
17951         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17952         (log1p_test_data): New variable.
17953         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17954         (log2_test_data): New variable.
17955         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17956         (logb_test_data): New variable.
17957         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17958         (logb_downward_test_data): New variable.
17959         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17960         (nearbyint_test_data): New variable.
17961         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17962         (rint_test_data): New variable.
17963         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17964         (rint_tonearest_test_data): New variable.
17965         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17966         (rint_towardzero_test_data): New variable.
17967         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17968         (rint_downward_test_data): New variable.
17969         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17970         (rint_upward_test_data): New variable.
17971         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17972         (round_test_data): New variable.
17973         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17974         (sin_test_data): New variable.
17975         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17976         (sin_tonearest_test_data): New variable.
17977         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17978         (sin_towardzero_test_data): New variable.
17979         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17980         (sin_downward_test_data): New variable.
17981         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17982         (sin_upward_test_data): New variable.
17983         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17984         (sinh_test_data): New variable.
17985         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17986         (sinh_tonearest_test_data): New variable.
17987         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17988         (sinh_towardzero_test_data): New variable.
17989         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17990         (sinh_downward_test_data): New variable.
17991         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17992         (sinh_upward_test_data): New variable.
17993         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17994         (sqrt_test_data): New variable.
17995         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17996         (tan_test_data): New variable.
17997         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17998         (tan_tonearest_test_data): New variable.
17999         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18000         (tan_towardzero_test_data): New variable.
18001         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18002         (tan_downward_test_data): New variable.
18003         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18004         (tan_upward_test_data): New variable.
18005         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18006         (tanh_test_data): New variable.
18007         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18008         (tgamma_test_data): New variable.
18009         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18010         (trunc_test_data): New variable.
18011         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18012         (y0_test_data): New variable.
18013         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18014         (y1_test_data): New variable.
18015         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18016         (significand_test_data): New variable.
18017         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18018
18019 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18020
18021         [BZ #12387]
18022         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18023
18024 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18025
18026         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18027
18028 2013-05-10  Andreas Jaeger  <aj@suse.de>
18029
18030         [BZ #15448]
18031         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18032         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18033
18034 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18035
18036         * math/gen-libm-test.pl (adjust_arg): New function.
18037         (special_functions): Handle generating output in both functions
18038         and arrays.
18039         (parse_args): Likewise.
18040         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18041         $in_func argument to parse_args.
18042         * math/libm-test.inc (struct test_f_f_data): New type.
18043         (IF_ROUND_INIT_): New macro.
18044         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18045         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18046         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18047         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18048         (ROUND_RESTORE_): Likewise.
18049         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18050         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18051         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18052         (ROUND_RESTORE_FE_UPWARD): Likewise.
18053         (RUN_TEST_LOOP_f_f): New macro.
18054         (acos_test_data): New variable.
18055         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18056         (acos_tonearest_test_data): New variable.
18057         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18058
18059 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18060
18061         * benchtests/bench-skeleton.c (startup): Fix coding style.
18062
18063 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18064
18065         [BZ #6809]
18066         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18067         negative infinity argument.
18068         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18069         negative infinity argument.
18070         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18071         negative infinity argument.
18072         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18073         domain errors.
18074
18075 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18076
18077         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18078         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18079         * iconv/iconv_prog.c (main): Likewise.
18080         * locale/programs/charmap-dir.c (charmap_readdir)
18081         (fopen_uncompressed): Likewise.
18082         * locale/programs/locfile.c (siblings_uncached)
18083         (write_locale_data): Use lstat64 instead of lstat.
18084         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18085         stat.
18086
18087 2013-05-10  Andreas Jaeger  <aj@suse.de>
18088
18089         [BZ #15395]
18090         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18091         localization.
18092         Include <locale.h>.
18093
18094 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18095
18096         * elf/dl-close.c (_dl_close_worker): Add comments.
18097
18098 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18099
18100         [BZ #15359]
18101         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18102         high part of pi/2.
18103         (__ieee754_rem_pio2l): Update comments.
18104
18105         [BZ #15429]
18106         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18107         high part of pi/2.
18108         (__ieee754_rem_pio2l): Update comments.
18109
18110         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18111         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18112
18113         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18114         M_PI_4l.
18115
18116         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18117         (M_PI_34_LOG10El): Likewise.
18118         (M_PI2_LOG10El): Likewise.
18119         (M_PI4_LOG10El): Likewise.
18120         (M_PI_LOG10El): Likewise.
18121
18122 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18123
18124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18125
18126 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18127
18128         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18129         (MINUS_ZERO_INIT): Likewise.
18130         (PLUS_INFTY_INIT): Likewise.
18131         (MINUS_INFTY_INIT): Likewise.
18132         (QNAN_VALUE_INIT): Likewise.
18133         (MAX_VALUE_INIT): Likewise.
18134         (MIN_VALUE_INIT): Likewise.
18135         (MIN_SUBNORM_VALUE_INIT): Likewise.
18136         (plus_zero): Initialize with PLUS_ZERO_INIT.
18137         (minus_zero): Initialize with MINUS_ZERO_INIT.
18138         (plus_infty): Initialize with PLUS_INFTY_INIT.
18139         (minus_infty): Initialize with MINUS_INFTY_INIT.
18140         (qnan_value): Initialize with QNAN_VALUE_INIT.
18141         (max_value): Initialize with MAX_VALUE_INIT.
18142         (min_value): Initialize with MIN_VALUE_INIT.
18143         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18144
18145         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18146         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18147         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18148         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18149
18150         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18151         (RUN_TEST_2_f): Likewise.
18152         (RUN_TEST_ff_f): Likewise.
18153         (RUN_TEST_fi_f): Likewise.
18154         (RUN_TEST_fl_f): Likewise.
18155         (RUN_TEST_fff_f): Likewise.
18156         (RUN_TEST_c_f): Likewise.
18157         (RUN_TEST_f_f1): Likewise.
18158         (RUN_TEST_fF_f1): Likewise.
18159         (RUN_TEST_fI_f1): Likewise.
18160         (RUN_TEST_ffI_f1): Likewise.
18161         (RUN_TEST_c_c): Likewise.
18162         (RUN_TEST_cc_c): Likewise.
18163         (RUN_TEST_f_i): Likewise.
18164         (RUN_TEST_f_i_tg): Likewise.
18165         (RUN_TEST_ff_i_tg): Likewise.
18166         (RUN_TEST_f_b): Likewise.
18167         (RUN_TEST_f_b_tg): Likewise.
18168         (RUN_TEST_f_l): Likewise.
18169         (RUN_TEST_f_L): Likewise.
18170         (RUN_TEST_sincos): Likewise.
18171         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18172         whether to show exceptions.  Do not include ");\n" in return
18173         value.
18174         (special_functions): Output call to RUN_TEST_sincos instead of
18175         check_float calls.  Update calls to new_test.
18176         (parse_args): Output call to single RUN_TEST_* macro instead of
18177         check_* calls and other assignments.  Update calls to new_test.
18178
18179         [BZ #2546]
18180         [BZ #2560]
18181         [BZ #5159]
18182         [BZ #15426]
18183         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18184         input to result for tgamma overflow.
18185         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18186         (gamma_coeff): New variable.
18187         (NCOEFF): New macro.
18188         (gamma_positive): New function.
18189         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18190         underflow here.  Use gamma_positive instead of exp (lgamma) for
18191         other arguments.
18192         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18193         (gamma_coeff): New variable.
18194         (NCOEFF): New macro.
18195         (gammaf_positive): New function.
18196         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18197         underflow here.  Use gamma_positive instead of exp (lgamma) for
18198         other arguments.
18199         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18200         (gamma_coeff): New variable.
18201         (NCOEFF): New macro.
18202         (gammal_positive): New function.
18203         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18204         underflow here.  Use gamma_positive instead of exp (lgamma) for
18205         other arguments.
18206         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18207         (gamma_coeff): New variable.
18208         (NCOEFF): New macro.
18209         (gammal_positive): New function.
18210         (__ieee754_gammal_r): Handle positive infinity, overflow and
18211         underflow here.  Handle NaN the same as positive infinity.  Remove
18212         check x < 0xffffffff for negative integers.  Use gamma_positive
18213         instead of exp (lgamma) for other arguments.
18214         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18215         (gamma_coeff): New variable.
18216         (NCOEFF): New macro.
18217         (gammal_positive): New function.
18218         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18219         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18220         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18221         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18222         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18223         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18224         * sysdeps/generic/math_private.h (__gamma_productf): New
18225         prototype.
18226         (__gamma_product): Likewise.
18227         (__gamma_productl): Likewise.
18228         * math/Makefile (libm-calls): Add gamma_product.
18229         * math/libm-test.inc (tgamma_test): Add more tests.
18230         * sysdeps/i386/fpu/libm-test-ulps: Update.
18231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18232
18233 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18234
18235         * benchtests/bench-skeleton.c (main): Preheat CPU.
18236
18237 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18238
18239         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18240
18241 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18242
18243         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18244         and _dl_skip_args_internal.
18245
18246 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18247
18248         * manual/message.texi (Message Translation): Talk about users.
18249         Message to key mapping impacts design.
18250
18251 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18252
18253         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18254
18255         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18256
18257         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18258         * sysdeps/wordsize-64/glob64.c: ... here.
18259
18260         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18261         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18262         New macros.
18263
18264         * debug/getlogin_r_chk.c: Moved to ...
18265         * login/getlogin_r_chk.c: ... here.
18266         * debug/Makefile (routines): Move getlogin_r_chk to ...
18267         * login/Makefile (routines): ... here.
18268         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18269         * login/Versions (libc: GLIBC_2.4): ... here.
18270
18271         * io/poll.c (__poll): Renamed from poll.
18272         Add libc_hidden_def.
18273         (poll): Define as weak alias.
18274
18275         * debug/ptsname_r_chk.c: Moved to ...
18276         * login/ptsname_r_chk.c: ... here.
18277         * debug/Makefile (routines): Move ptsname_r_chk to ...
18278         * login/Makefile (routines): ... here.
18279         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18280         * login/Versions (libc: GLIBC_2.4): ... here.
18281
18282         * posix/getlogin.c: Moved to ...
18283         * login/getlogin.c: ... here.
18284         * posix/getlogin_r.c: Moved to ...
18285         * login/getlogin_r.c: ... here.
18286         * posix/getlogin_r.c: Moved to ...
18287         * login/getlogin_r.c: ... here.
18288         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18289         * login/Makefile (routines): ... here.
18290         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18291         * login/Versions (libc: GLIBC_2.0): ... here.
18292
18293         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18294         (setrlimit): Define as weak alias.
18295
18296         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18297         Call __ names for open, ftruncate, and close.
18298         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18299         (truncate): Define as weak alias.
18300
18301 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18302
18303         * math/gen-libm-test.pl (parse_args): Initialize x before each
18304         test of frexp, modf and remquo.
18305
18306         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18307         test signgam value.
18308
18309 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18310
18311         [BZ #15418]
18312         [BZ #15419]
18313         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18314         internal tests.
18315         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18316
18317 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18318
18319         * elf/dl-writev.h: New file.
18320         * elf/dl-misc.c: Include it.
18321         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18322         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18323
18324 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18325
18326         * math/libm-test.inc (noXFails): Remove variable.
18327         (noXPasses): Likewise.
18328         (BUILD_COMPLEX_INT): Remove macro.
18329         (print_screen): Remove xfail argument.
18330         (print_screen_max_error): Likewise.
18331         (update_stats): Likewise.
18332         (print_max_error): Likewise.  Update calls to other affected
18333         functions.
18334         (print_complex_max_error): Likewise.
18335         (test_single_exception): Update calls to print_screen.
18336         (test_single_errno): Likewise.
18337         (check_float_internal): Remove xfail argument.  Update calls to
18338         other affected functions.
18339         (check_float): Likewise.
18340         (check_complex): Likewise.
18341         (check_int): Likewise.
18342         (check_long): Likewise.
18343         (check_bool): Likewise.
18344         (check_longlong): Likewise.
18345         (main): Don't print noXFails and noXPasses.
18346         * math/gen-libm-test.pl (top level): Don't mention expected
18347         failure handling in comment.
18348         (new_test): Don't handle expected failures.
18349         (parse_args): Don't mention expected failure handling in comment.
18350         (generate_testfile): Don't handle expected failures.
18351         (parse_ulps): Likewise.
18352         (print_ulps_file): Likewise.
18353         (get_failure): Remove function.
18354         (output_test): Don't handle expected failures.
18355         * make/README.libm-test: Don't mention expected failure handling.
18356
18357         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18358         (minus_zero): Likewise.
18359         (plus_infty): Likewise.
18360         (minus_infty): Likewise.
18361         (qnan_value): Likewise.
18362         (max_value): Likewise.
18363         (min_value): Likewise.
18364         (min_subnorm_value): Likewise.
18365         (initialize): Do not initialize those variables dynamically.
18366
18367 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18368
18369         * io/open.c (__open_2): Moved to ...
18370         * io/open_2.c: ... this new file.
18371         * io/open64.c (__open64_2): Moved to ...
18372         * io/open64_2.c: ... this new file.
18373         * io/openat.c (__openat_2): Moved to ...
18374         * io/openat_2.c: ... this new file.
18375         * io/openat64.c (__openat64_2): Moved to ...
18376         * io/openat64_2.c: ... this new file.
18377         * io/Makefile (routines): Add them.
18378         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18379         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18380         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18381         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18382         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18383         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18384         (__openat64): Add hidden_ver.
18385         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18386         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18387
18388         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18389         Separately conditionalize setting of GLRO(dl_sysinfo) so
18390         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18391         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18392
18393 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18394
18395         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18396         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18397         definition.
18398         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18399         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18400         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18401         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18402         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18403
18404 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18405
18406         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18407         test signgam value.
18408
18409         * math/libm-test.inc (hypot_test): Do not use
18410         IGNORE_ZERO_INF_SIGN.
18411
18412 2013-05-03  Andreas Jaeger  <aj@suse.de>
18413
18414         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18415         Linux 3.9.
18416         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18417         (PF_MAX): Adjust for VSOCK change.
18418
18419 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18420
18421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18422
18423 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18424
18425         [BZ #15264]
18426         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18427         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18428         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18429
18430 2013-05-02  David S. Miller  <davem@davemloft.net>
18431
18432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18433
18434 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18435
18436         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18437
18438 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18439
18440         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18441
18442 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18443
18444         [BZ #14952]
18445         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18446         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18447         Use __attribute__ ((__gnu_inline__)).
18448         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18449         Don't use __attribute__ ((__gnu_inline__)).
18450
18451 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18452
18453         [BZ #15423]
18454         * math/s_catan.c (__catan): Handle small real or imaginary part of
18455         input specially to avoid spurious underflow.
18456         * math/s_catanf.c (__catanf): Likewise.
18457         * math/s_catanh.c (__catanh): Likewise.
18458         * math/s_catanhf.c (__catanhf): Likewise.
18459         * math/s_catanhl.c (__catanhl): Likewise.
18460         * math/s_catanl.c (__catanl): Likewise.
18461         * math/libm-test.inc (catan_test): Add more tests.
18462         (catanh_test): Likewise.
18463         * sysdeps/i386/fpu/libm-test-ulps: Update.
18464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18465
18466 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18467
18468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18469
18470 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18471
18472         [BZ #15416]
18473         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18474         accurately for denominator in atan2.
18475         * math/s_catanf.c (__catanf): Likewise.
18476         * math/s_catanh.c (__catanh): Likewise.
18477         * math/s_catanhf.c (__catanhf): Likewise.
18478         * math/s_catanhl.c (__catanhl): Likewise.
18479         * math/s_catanl.c (__catanl): Likewise.
18480         * math/libm-test.inc (catan_test): Add more tests.
18481         (catanh_test): Likewise.
18482         * sysdeps/i386/fpu/libm-test-ulps: Update.
18483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18484
18485 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18486
18487         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18488
18489         * benchtests/Makefile (bench): Remove slow benchmarks.
18490         * benchtests/atan-inputs: Add slow benchmark inputs.
18491         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18492         (BENCH_FUNC): Accept variant offset.
18493         (VARIANT): Define.
18494         * benchtests/bench-skeleton.c (main): Run benchmark for each
18495         variant.
18496         * benchtests/cos-inputs: Add slow benchmark inputs.
18497         * benchtests/exp-inputs: Likewise.
18498         * benchtests/pow-inputs: Likewise.
18499         * benchtests/sin-inputs: Likewise.
18500         * benchtests/slowatan-inputs: Remove.
18501         * benchtests/slowatan.c: Remove.
18502         * benchtests/slowcos-inputs: Remove.
18503         * benchtests/slowcos.c: Remove.
18504         * benchtests/slowexp-inputs: Remove.
18505         * benchtests/slowexp.c: Remove.
18506         * benchtests/slowpow-inputs: Remove.
18507         * benchtests/slowpow.c: Remove.
18508         * benchtests/slowsin-inputs: Remove.
18509         * benchtests/slowsin.c: Remove.
18510         * benchtests/slowtan-inputs: Remove.
18511         * benchtests/slowtan.c: Remove.
18512         * benchtests/tan-inputs: Add slow benchmark inputs.
18513         * scripts/bench.pl: Parse comments and directives.
18514
18515         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18516         in CPPFLAGS.
18517         ($(objpfx)bench-%.c): Remove *-ITER.
18518         * benchtests/bench-modf.c: Remove definition of ITER.
18519         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18520         (main): Loop for DURATION seconds instead of fixed number of
18521         iterations.
18522         * scripts/bench.pl: Don't expect iterations in parameters.
18523
18524 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18525
18526         * io/fchdir.c (__fchdir): Renamed from fchdir.
18527         (fchdir): Define as weak alias.
18528
18529 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18530
18531         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18532         (ERRNO_EDOM): Likewise.
18533         (ERRNO_ERANGE): Likewise.
18534         (noErrnoTests): New variable.
18535         (init_max_error): Set errno to 0.
18536         (test_single_errno): New function.
18537         (test_errno): Likewise.
18538         (check_float_internal): Call test_errno.  Set errno to 0.
18539         (check_complex): Refer to errno tests in comment.
18540         (check_int): Call test_errno.  Set errno to 0.
18541         (check_long): Likewise.
18542         (check_bool): Likewise.
18543         (check_longlong): Likewise.
18544         (cos_test): Use ERRNO_* flags for errno tests instead of
18545         check_int.
18546         (expm1_test): Likewise.
18547         (fmod_test): Likewise.
18548         (ilogb_test): Likewise.
18549         (lgamma_test): Likewise.
18550         (pow_test): Likewise.
18551         (remainder_test): Likewise.
18552         (sin_test): Likewise.
18553         (tan_test): Likewise.
18554         (yn_test): Likewise.
18555         (initialize): Set errno to 0.
18556         (main): Print number of errno tests.
18557         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18558
18559 2013-04-29  Andreas Jaeger  <aj@suse.de>
18560
18561         [BZ #15084]
18562         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18563         and RES_USEVC.
18564
18565         [BZ #15085]
18566         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18567         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18568         unimplemented.
18569
18570         [BZ #15380]
18571         * stdlib/random.c (__initstate): Return NULL if
18572         __initstate fails.
18573
18574         [BZ #15086]
18575         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18576         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18577         RES_SNGLKUPREOP.
18578
18579 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18580
18581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18582
18583 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18584
18585         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18586         of individual tests.
18587         (casin_test): Likewise.
18588         (casinh_test): Likewise.
18589
18590 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18591
18592         [BZ #15409]
18593         * math/s_catan.c (__catan): Handle arguments with large real or
18594         imaginary part separately without squaring.
18595         * math/s_catanf.c (__catanf): Likewise.
18596         * math/s_catanh.c (__catanh): Likewise.
18597         * math/s_catanhf.c (__catanhf): Likewise.
18598         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18599         and redefine.
18600         (__catanhl): Handle arguments with large real or imaginary part
18601         separately without squaring.
18602         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18603         and redefine.
18604         (__catanl): Handle arguments with large real or imaginary part
18605         separately without squaring.
18606         * math/libm-test.inc (catan_test): Add more tests.
18607         (catanh_test): Likewise.
18608         * sysdeps/i386/fpu/libm-test-ulps: Update.
18609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18610
18611 2013-04-27  Andreas Jaeger  <aj@suse.de>
18612
18613         [BZ #15007]
18614         * stdlib/stdlib.h: Update guards for qecvt.
18615         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18616         <stdlib.h>.
18617
18618 2013-04-27  Allan McRae  <allan@archlinux.org>
18619
18620         * sysdeps/i386/fpu/libm-test-ulps: Update.
18621
18622 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18623
18624         [BZ #15406]
18625         * math/s_catan.c: Include <float.h>.
18626         (__catan): Ensure underflow exception occurs for underflowed
18627         result.
18628         * math/s_catanf.c: Include <float.h>.
18629         (__catanf): Ensure underflow exception occurs for underflowed
18630         result.
18631         * math/s_catanh.c: Include <float.h>.
18632         (__catanh): Ensure underflow exception occurs for underflowed
18633         result.
18634         * math/s_catanhf.c: Include <float.h>.
18635         (__catanhf): Ensure underflow exception occurs for underflowed
18636         result.
18637         * math/s_catanhl.c: Include <float.h>.
18638         (__catanhl): Ensure underflow exception occurs for underflowed
18639         result.
18640         * math/s_catanl.c: Include <float.h>.
18641         (__catanl): Ensure underflow exception occurs for underflowed
18642         result.
18643         * math/libm-test.inc (catan_test): Add more tests.
18644         (catanh_test): Likewise.
18645
18646         [BZ #15405]
18647         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18648         underflowed result.
18649         * math/s_ccoshf.c (__ccoshf): Likewise.
18650         * math/s_ccoshl.c (__ccoshl): Likewise.
18651         * math/s_csin.c (__csin): Likewise.
18652         * math/s_csinf.c (__csinf): Likewise.
18653         * math/s_csinh.c (__csinh): Likewise.
18654         * math/s_csinhf.c (__csinhf): Likewise.
18655         * math/s_csinhl.c (__csinhl): Likewise.
18656         * math/s_csinl.c (__csinl): Likewise.
18657         * math/libm-test.inc (ccos_test): Add more tests.
18658         (ccosh_test): Likewise.
18659         (csin_test): Likewise.
18660         (csinh_test): Likewise.
18661
18662 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18663
18664         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18665         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18666         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18667         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18668         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18669         powerpc/power5+/fpu folders.
18670         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18671
18672
18673 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18674
18675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18676
18677 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18678
18679         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18680         additions to variable.
18681         [$(config-machine) = x86_64] (modules-names): Likewise.
18682         ($(objpfx)tst-audit3): Remove dependency.
18683         ($(objpfx)tst-audit3.out): Likewise.
18684         ($(objpfx)tst-audit4): Likewise.
18685         ($(objpfx)tst-audit4.out): Likewise.
18686         ($(objpfx)tst-audit5): Likewise.
18687         ($(objpfx)tst-audit5.out): Likewise.
18688         ($(objpfx)tst-audit6): Likewise.
18689         ($(objpfx)tst-audit6.out): Likewise.
18690         ($(objpfx)tst-audit7): Likewise.
18691         ($(objpfx)tst-audit7.out): Likewise.
18692         (tst-audit3-ENV): Remove variable.
18693         (tst-audit4-ENV): Likewise.
18694         (tst-audit5-ENV): Likewise.
18695         (tst-audit6-ENV): Likewise.
18696         (tst-audit7-ENV): Likewise.
18697         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18698         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18699         addition to variable.
18700         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18701         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18705         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18706         tst-audit3, tst-audit4 and tst-audit5.
18707         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18708         tst-audit6 and tst-audit7.
18709         [$(subdir) = elf] (modules-names): Add audit modules for those
18710         tests.
18711         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18712         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18713         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18714         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18715         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18716         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18717         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18718         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18719         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18720         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18721         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18722         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18723         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18724         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18725         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18726         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18727         Likewise.
18728         [$(subdir) = elf && $(config-cflags-avx) = yes]
18729         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18730         [$(subdir) = elf && $(config-cflags-avx) = yes]
18731         (CFLAGS-tst-auditmod4a.c): Likewise.
18732         [$(subdir) = elf && $(config-cflags-avx) = yes]
18733         (CFLAGS-tst-auditmod4b.c): Likewise.
18734         [$(subdir) = elf && $(config-cflags-avx) = yes]
18735         (CFLAGS-tst-auditmod6b.c): Likewise.
18736         [$(subdir) = elf && $(config-cflags-avx) = yes]
18737         (CFLAGS-tst-auditmod6c.c): Likewise.
18738         [$(subdir) = elf && $(config-cflags-avx) = yes]
18739         (CFLAGS-tst-auditmod7b.c): Likewise.
18740         * elf/tst-audit3.c: Move to ...
18741         * sysdeps/x86_64/tst-audit3.c: ... here.
18742         * elf/tst-audit4.c: Move to ...
18743         * sysdeps/x86_64/tst-audit4.c: ... here.
18744         * elf/tst-audit5.c: Move to ...
18745         * sysdeps/x86_64/tst-audit5.c: ... here.
18746         * elf/tst-audit6.c: Move to ...
18747         * sysdeps/x86_64/tst-audit6.c: ... here.
18748         * elf/tst-audit7.c: Move to ...
18749         * sysdeps/x86_64/tst-audit7.c: ... here.
18750         * elf/tst-auditmod3a.c: Move to ...
18751         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18752         * elf/tst-auditmod3b.c: Move to ...
18753         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18754         * elf/tst-auditmod4a.c: Move to ...
18755         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18756         * elf/tst-auditmod4b.c: Move to ...
18757         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18758         * elf/tst-auditmod5a.c: Move to ...
18759         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18760         * elf/tst-auditmod5b.c: Move to ...
18761         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18762         * elf/tst-auditmod6a.c: Move to ...
18763         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18764         * elf/tst-auditmod6b.c: Move to ...
18765         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18766         * elf/tst-auditmod6c.c: Move to ...
18767         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18768         * elf/tst-auditmod7a.c: Move to ...
18769         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18770         * elf/tst-auditmod7b.c: Move to ...
18771         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18772
18773 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18774
18775         [BZ #15366]
18776         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18777         define unconditionally.
18778         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18779         define unconditionally.
18780         (INT8_C, INT16_C, etc.): Likewise.
18781
18782 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18783
18784         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18785         __ehdr_start with hidden visibility.
18786
18787         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18788
18789 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18790
18791         * math/libm-test.inc (cos_test): Use accurate hex constants.
18792         (sincost_test): Likewise.
18793
18794 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18795
18796         * math/libm-test.inc (catan_test): Add more tests.
18797         (catanh_test): Likewise.
18798
18799         * math/s_catanf.c (__catanf): Use suffixed floating-point
18800         constants.
18801         * math/s_catanhf.c (__catanhf): Likewise.
18802         * math/s_catanhl.c (__catanhl): Likewise.
18803         * math/s_catanl.c (__catanl): Likewise.
18804
18805         [BZ #15394]
18806         * math/s_catan.c (__catan): Calculate imaginary part of result
18807         with log1p not log unless computing log of number close to 0.
18808         * math/s_catanf.c (__catanf): Likewise.
18809         * math/s_catanl.c (__catanl): Likewise.
18810         * math/s_catanh.c (__catanh): Calculate real part of result with
18811         log1p not log unless computing log of number close to 0.
18812         * math/s_catanhf.c (__catanhf): Likewise.
18813         * math/s_catanhl.c (__catanhl): Likewise.
18814         * math/libm-test.inc (catan_test): Add more tests.
18815         (catanh_test): Likewise.
18816         * sysdeps/i386/fpu/libm-test-ulps: Update.
18817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18818
18819 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18820
18821         * benchtests/Makefile: Mention files in which fast and slow
18822         paths of math functions are implemented.
18823
18824 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18825
18826         * sysdeps/posix/timespec_get.c: New file.
18827
18828 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18829
18830         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18831         POWER.
18832         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18833         for POWER.
18834         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18835         powerpc/power5/fpu folders.
18836         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18837         * benchtests/Makefile: Add modf testcase.
18838         * benchtests/bench-modf.c: New file: Benchmark test for mo
18839
18840 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841
18842         [BZ #14888]
18843         * time/Makefile (tests): Add tst-strptime-whitespace.
18844         * time/strptime_l.c (get_number): Use ISSPACE.
18845         (__strptime_internal): Likewise.
18846         * time/tst-strptime-whitespace.c: New test case.
18847
18848 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18849
18850         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18851         member.
18852         (_nss_files_init): Set it here.
18853
18854 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18855
18856         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18857         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18858         unsigned.
18859
18860 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18861
18862         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18863
18864 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18865
18866         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18867         size just once.
18868
18869 2013-04-21  David S. Miller  <davem@davemloft.net>
18870
18871         * po/ru.po: Update Russion translation from translation project.
18872
18873 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18874
18875         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18876         and setfsgid.
18877
18878 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18879
18880         * configure.in: Remove i386 configure warning. Remove i386 case.
18881         * configure: Regenerate.
18882         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18883         Add example to error message.
18884         * sysdeps/i386/configure: Regenerate.
18885
18886 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18887
18888         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18889         slowtan.
18890         * benchtests/cos-inputs: New file.
18891         * benchtests/slowcos-inputs: New file.
18892         * benchtests/slowcos.c: New file.
18893         * benchtests/slowtan-inputs: New file.
18894         * benchtests/slowtan.c: New file.
18895         * benchtests/tan-inputs: New file.
18896
18897 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18898
18899         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18900         considered kosher.
18901
18902 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18903
18904         * benchtests/Makefile: Include cppflags-iterator.mk to add
18905         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18906
18907         * Makefile.in (bench-clean): New target.
18908         * benchtests/Makefile (bench-clean): Likewise.
18909
18910 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18911
18912         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18913
18914 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18915
18916         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18917
18918 2013-04-15  Andreas Schwab  <schwab@suse.de>
18919
18920         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18921         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18922         * nscd/pwdcache.c (cache_addpw): Likewise.
18923         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18924         more than recsize.
18925
18926 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18927
18928         * benchtests/Makefile (bench): Write all output to
18929         bench-out.tmp together.
18930
18931 2013-04-15  Andreas Schwab  <schwab@suse.de>
18932
18933         * nscd/nscd.c (main): Don't fork again after closing files.
18934
18935 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18936
18937         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18938
18939         * benchtests/Rules (bench-deps): Collect dependencies into a
18940         single variable.  Add Makefile to dependencies.
18941         ($(objpfx)bench-%.c): Depend on bench-deps.
18942
18943 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18944             Xavier Roche  <roche+kml2@exalead.com>
18945
18946         [BZ #15361]
18947         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18948         just that it's a file descriptor.
18949         * manual/llio.texi (Synchronizing AIO Operations): Update description
18950         for EBADF error from aio_fsync.
18951
18952 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18953
18954         * Rules (bench): Move target definition...
18955         * benchtests/Makefile: ... here.
18956
18957 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18958
18959         * math/libm-test.inc (cos_test): Fix PI/2 test.
18960         (sincos_test): Likewise.
18961         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18962         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18963
18964 2013-04-11  Andreas Schwab  <schwab@suse.de>
18965
18966         [BZ #13988]
18967         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18968         accept exponent character only when digits were seen.
18969         * stdio-common/Makefile (tests): Add bug26.
18970         * stdio-common/bug26.c: New file.
18971
18972         [BZ #14293]
18973         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18974         non-freeable.
18975
18976 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18977
18978         * Makeconfig (rtld-prefix): Define built linker prefix.
18979         * Rules (run-bench): Use it.
18980         * math/Makefile (run-regen-ulps): Likewise.
18981
18982         * Rules (bench): Remove eval.
18983
18984 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18985             Roland McGrath  <roland@hack.frob.com>
18986             Ondrej Bilka  <neleai@seznam.cz>
18987
18988         [BZ #15346]
18989         * time/getdate.c: Include ctype.h and alloca.h.
18990         (__getdate_r): Trim leading and trailing spaces of input.
18991         * time/tst-getdate.c (tests): Add tests with leading and
18992         trailing spaces.
18993
18994 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18995
18996         [BZ #14280]
18997         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18998         when computing value.
18999
19000 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19001
19002         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19003         Use testrun.sh to run libm tests.
19004
19005         [BZ #15309]
19006         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19007
19008 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19009
19010         [BZ #15264]
19011         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19012
19013 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19014
19015         * Makefile.in (regen-ulps): New target.
19016         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19017         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19018         [ifneq (no,$(PERL)] (regen-ulps): New target.
19019         [ifeq (no,$(PERL)] (regen-ulps): New target.
19020         * math/libm-test.inc (ulps_file_name): Define.
19021         (output_dir): New variable.
19022         (options): Add "output-dir" option.
19023         (parse_opt): Handle 'o' case.
19024         (main): If output_dir is non-NULL use it as a prefix
19025         otherwise use "".
19026         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19027
19028 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19029
19030         [BZ #10060, #10062]
19031         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19032         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19033         fail configure if __sync_val_compare_and_swap is not inlined.
19034         * sysdeps/i386/configure: Regenerate.
19035         * configure.in: Build for i686 when configured for i386.
19036         * configure: Regenerate.
19037         * README: Remove i386 reference.
19038
19039 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19040
19041         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19042         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19043
19044 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19045
19046         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19047         (lmsnanval): New variables.
19048         (F): Add conversion tests.
19049         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19050         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19051
19052         * stdio-common/tstdiomisc.c (F): Properly collect individual
19053         tests' results.
19054
19055         [BZ #14686, #15336]
19056         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19057         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19058         Instead, use input NaN values or generate a qNaN by arithmetic
19059         operation.  Also fix bugs to comply with the standard.
19060         * math/libm-test.inc (remainder_test): Add more tests.
19061
19062         [BZ #15335, #15342]
19063         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19065         input NaN values or generate a qNaN by arithmetic operation.
19066
19067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19068         unreachable code.
19069
19070         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19071         definitions.
19072
19073 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19074
19075         [BZ #14478]
19076         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19077         underflowed result.
19078         * math/s_cexpf.c (__cexpf): Likewise.
19079         * math/s_cexpl.c (__cexpl): Likewise.
19080         * math/libm-test.inc (cexp_test): Add more tests.
19081
19082 2013-04-03  Andreas Schwab  <schwab@suse.de>
19083
19084         [BZ #15330]
19085         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19086         order arrays from heap if bigger than alloca cutoff.
19087
19088 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19089
19090         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19091         (SNAN_TESTS_double): Refer to GCC PR56831.
19092         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19093         GCC PR56828.
19094
19095 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19096
19097         * Rules (bench): Move bench.out after the run is complete.
19098
19099         * Rules (bench): Echo currently running benchmark.
19100
19101         * benchtests/Makefile (bench): Add atan and slowatan.
19102         * benchtests/atan-inputs: New file.
19103         * benchtests/slowatan-inputs: New file.
19104         * benchtests/slowatan.c: New file.
19105
19106         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19107         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19108         its value.
19109
19110         [BZ #15305]
19111         * sysdeps/unix/sysv/linux/kernel-features.h
19112         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19113         __ASSUME_XFS_RESTRICTED_CHOWN.
19114         * sysdeps/unix/sysv/linux/pathconf.c
19115         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19116         Save and restore errno.
19117
19118 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19119
19120         [BZ #15327]
19121         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19122         arguments using __kernel_casinh.
19123         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19124         arguments using __kernel_casinhf.
19125         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19126         arguments using __kernel_casinhl.
19127         * math/libm-test.inc (cacosh_test): Add more tests.
19128         * sysdeps/i386/fpu/libm-test-ulps: Update.
19129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130
19131 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19132
19133         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19134         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19135
19136         * bench/Makefile (bench): Add sin and slowsin.
19137         * benchtests/sin-inputs: New file.
19138         * benchtests/slowsin-inputs: New file.
19139         * benchtests/slowsin.c: New file.
19140
19141         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19142         (bench): Add slowexp and slowpow.
19143         (exp-ITER): Increase iterations.
19144         (pow-ITER): Likewise.
19145         * benchtests/exp-inputs: Change input.
19146         * benchtests/pow-inputs: Likewise.
19147         * benchtests/slowexp-inputs: New file.
19148         * benchtests/slowexp.c: New file.
19149         * benchtests/slowpow-inputs: New file.
19150         * benchtests/slowpow.c: New file.
19151
19152 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19153
19154         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19155         instructions.
19156         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19157         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19158         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19159         * benchtests/Makefile: Add rint benchtest.
19160         * benchtests/rint-inputs: Input for rint benchtest.
19161
19162 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19163
19164         * Versions.def (libm): Add GLIBC_2.18.
19165         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19166         hidden libm prototypes.
19167         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19168         * math/Makefile (libm-calls): Add s_issignaling.
19169         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19170         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19171         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19172         declaration.
19173         * math/math.h [__USE_GNU] (issignaling): New macro.
19174         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19175         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19176         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19177         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19178         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19179         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19180         * manual/arith.texi (issignaling): New section.
19181         * manual/libm-err-tab.pl (@all_functions): Update comment.
19182         * math/gen-libm-test.pl (parse_args): Apply special handling for
19183         issignaling.
19184         * math/libm-test.inc (print_float, issignaling_test): New
19185         functions.
19186         (check_float_internal): Add issignaling checks.
19187         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19188         default definition.
19189         * sysdeps/powerpc/math-tests.h: New file.
19190         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19191         tests.
19192         * math/test-snan.c (TEST_FUNC): Likewise.
19193
19194 2013-03-30  David S. Miller  <davem@davemloft.net>
19195
19196         * po/de.po: Update from translation team.
19197
19198 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19199
19200         [BZ #10357]
19201         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19202         imaginary part less than 1.0 and real part less than 0.5
19203         specially.
19204         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19205         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19206         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19207         (cacos_test): Add more tests.
19208         (casin_test): Likewise.
19209         (casinh_test): Likewise.
19210         * sysdeps/i386/fpu/libm-test-ulps: Update.
19211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19212
19213 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19214
19215         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19216         ONE with its value.
19217
19218         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19219         (__pow_mp): Replace ONE and MONE with their values.
19220         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19222         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19223         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19224         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19225         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19226
19227         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19228
19229         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19230         (__pow_mp): Replace ZERO and MZERO with their values.
19231         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19232         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19233         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19235         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19236         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19237         (__sqr): Likewise.
19238
19239         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19240
19241         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19242
19243 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19244
19245         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19246         Declare with __attribute__ ((weak)).
19247         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19248         Call __call_tls_dtors only if it's not NULL.
19249
19250 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19251
19252         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19253         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19254         magic __ehdr_start linker symbol if it's defined.
19255         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19256         them up here if it was already done.
19257
19258         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19259         (_dl_aux_init): Use const in cast when setting it.
19260         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19261         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19262         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19263
19264         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19265         Declare them here.
19266         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19267         * csu/libc-tls.c: Nor here.
19268         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19269
19270         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19271         (__libc_message): Never call vsyslog.
19272
19273 2013-03-28  Alan Modra  <amodra@gmail.com>
19274
19275         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19276         Define as empty.
19277         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19278         Likewise.
19279
19280 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19281
19282         [BZ #15214]
19283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19284         underflow.
19285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19286
19287 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288
19289         [BZ #15304]
19290         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19291         Don't add gid passed as argument.
19292
19293         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19294
19295 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19296
19297         [BZ #15307]
19298         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19299         imaginary part between 1.0 and 1.5 and real part less than 0.5
19300         specially.
19301         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19302         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19303         * math/libm-test.inc (cacos_test): Add more tests.
19304         (casin_test): Likewise.
19305         (casinh_test): Likewise.
19306         * sysdeps/i386/fpu/libm-test-ulps: Update.
19307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19308
19309 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310
19311         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19312         constants.
19313         (norm): Likewise.
19314         (denorm): Likewise.
19315         (__dbl_mp): Likewise.
19316         (add_magnitudes): Likewise.
19317         (sub_magnitudes): Likewise.
19318         (__add): Likewise.
19319         (__sub): Likewise.
19320         (__mul): Likewise.
19321         (__sqr): Likewise.
19322         (__inv): Likewise.
19323         (__dvd): Likewise.
19324
19325         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19326         commented code.
19327         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19328         (__dubcos): Likewise.
19329         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19330         (__ieee754_acos): Likewise.
19331         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19332         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19333         (__exp1): Likewise.
19334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19335         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19336         (log1): Likewise.
19337         (my_log2): Likewise.
19338         (checkint): Likewise.
19339         * sysdeps/ieee754/dbl-64/e_remainder.c
19340         (__ieee754_remainder): Likewise.
19341         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19342         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19343         (bsloww): Likewise.
19344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19345
19346         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19347         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19348         MANTISSA_STORE_T to store computations on mantissa.  Use
19349         macros for rounding and division.
19350         (denorm): Likewise.
19351         (__dbl_mp): Likewise.
19352         (add_magnitudes): Likewise.
19353         (sub_magnitudes): Likewise.
19354         (__mul): Likewise.
19355         (__sqr): Likewise.
19356         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19357         powers of two in terms of TWOPOW macro.
19358         (mp_no): Make type of mantissa as MANTISSA_T.
19359         [!RADIXI]: Define RADIXI.
19360         [!TWO52]: Define TWO52.
19361         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19362
19363 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19364
19365         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19366         llroundl symbol when building for PPC32.
19367
19368 2013-03-24  Mark H Weaver  <mhw@netris.org>
19369
19370         * manual/arith.texi (Normalization Functions): Fix prototypes for
19371         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19372
19373 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19374
19375         [BZ #13889]
19376         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19377         high value to check if expl overflow.
19378         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19379         to check for underflow and overflow.
19380         * math/libm-test.inc: Add exp test.
19381
19382 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19383
19384         [BZ #11120]
19385         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19386         with NOT_IN_libc.
19387
19388 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19389
19390         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19391         symbol.
19392
19393 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19394
19395         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19396         wrap blocks consisting of several statements.
19397
19398         * sysdeps/generic/math-tests.h: New file.
19399         * sysdeps/i386/fpu/math-tests.h: Likewise.
19400         * math/test-snan.c: Include it.
19401         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19402
19403 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19404
19405         [BZ #15285]
19406         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19407         (__ieee754_j0l): Do not improve calculations using cos of twice
19408         input for inputs above LDBL_MAX / 2.0L.
19409         (__ieee754_y0l): Likewise.
19410         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19411         (__ieee754_j1l): Do not improve calculations using cos of twice
19412         input for inputs above LDBL_MAX / 2.0L.
19413         (__ieee754_y1l): Likewise.
19414         * math/libm-test.inc (j0_test): Add another test.
19415         (j1_test): Likewise.
19416         (y0_test): Likewise.
19417         (y1_test): Likewise.
19418         * sysdeps/i386/fpu/libm-test-ulps: Update.
19419
19420 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19421
19422         * Rules ($(objpfx)bench-%.c): Include code from a C source
19423         file.
19424
19425 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19426
19427         [BZ #15287]
19428         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19429         imaginary part 1.0 and real part less than 0.5 specially.
19430         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19431         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19432         * math/libm-test.inc (cacos_test): Add more tests.
19433         (casin_test): Likewise.
19434         (casinh_test): Likewise.
19435         * sysdeps/i386/fpu/libm-test-ulps: Update.
19436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19437
19438 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19439
19440         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19441         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19442
19443 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19444
19445         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19446         * config.make.in (config-cflags-sse4): Remove variable.
19447         (config-cflags-avx): Likewise.
19448         (config-cflags-sse2avx): Likewise.
19449         (config-cflags-novzeroupper): Likewise.
19450         (config-asflags-i686): Likewise.
19451         (have-mfma4): Likewise.
19452         (have-as-vis3): Likewise.
19453         (MIG): Likewise.
19454         * configure.in (MIG): Do not AC_SUBST.
19455         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19456         (libc_cv_cc_sse4): Do not AC_SUBST.
19457         (libc_cv_cc_avx): Likewise.
19458         (libc_cv_cc_sse2avx): Likewise.
19459         (libc_cv_cc_novzeroupper): Likewise.
19460         (libc_cv_cc_fma4): Likewise.
19461         (libc_cv_as_i686): Likewise.
19462         (libc_cv_sparc_as_vis3): Likewise.
19463         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19464         LIBC_CONFIG_VAR.
19465         (config-asflags-i686): Likewise.
19466         (config-cflags-avx): Likewise.
19467         (config-cflags-sse2avx): Likewise.
19468         (have-mfma4): Likewise.
19469         (config-cflags-novzeroupper): Likewise.
19470         * sysdeps/mach/configure.in (MIG): Likewise.
19471         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19472         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19473         LIBC_CONFIG_VAR.
19474         (config-cflags-avx): Likewise.
19475         (config-cflags-sse2avx): Likewise.
19476         (have-mfma4): Likewise.
19477         (config-cflags-novzeroupper): Likewise.
19478         * configure: Regenerated.
19479         * sysdeps/i386/configure: Likewise.
19480         * sysdeps/mach/configure: Likewise.
19481         * sysdeps/sparc/configure: Likewise.
19482         * sysdeps/x86_64/configure: Likewise.
19483
19484 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19485
19486         [BZ #14812]
19487         * locale/programs/localedef.c (options): Put N_ translation marker
19488         on argument names, not just descriptions.
19489
19490 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19491
19492         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19493
19494 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19495
19496         [BZ #14176]
19497         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19498
19499 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19500
19501         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19502         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19503         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19504         [!BEFORE_ABORT] (before_abort): New function.
19505         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19506         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19507         (writev_for_fatal): New function.
19508         (WRITEV_FOR_FATAL): New macro; call that.
19509         (backtrace_and_maps): New function.
19510         (BEFORE_ABORT): New macro; call that.
19511         (struct str_list): Type removed.
19512         (__libc_message, __libc_fatal): Functions removed.
19513         Include <sysdeps/posix/libc_fatal.c> instead.
19514
19515 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19516
19517         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19518         constants.
19519         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19520         double constants.
19521
19522 2013-03-19  Andreas Schwab  <schwab@suse.de>
19523
19524         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19525         * sysdeps/gnu/configure: Regenerate.
19526
19527         * configure.in: Substitute libc_cv_rtlddir.
19528         * configure: Regenerate.
19529         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19530         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19531         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19532         * elf/Makefile (install-others, CFLAGS-interp.c)
19533         (ldso_install, common-ldd-rewrite): Likewise.
19534         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19535         $(inst_slibdir)/$(rtld-installed-name).
19536         * scripts/rellns-sh: Add -p option.
19537         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19538         for source.
19539
19540 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19541
19542         * manual/nptl.texi: Renamed to ...
19543         * manual/threads.texi: ... this.
19544         * manual/Makefile (chapters): Update.
19545
19546 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19547
19548         [BZ #14812]
19549         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19550         on argument names, not just descriptions.
19551         * malloc/memusagestat.c (options): Likewise.
19552         * nss/getent.c (options): Likewise.
19553
19554 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19555
19556         [BZ #14812]
19557         * iconv/iconv_prog.c (options): Put N_ translation marker
19558         on argument names, not just descriptions.
19559         * iconv/iconvconfig.c (options): Likewise.
19560
19561 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19562
19563         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19564         implementation which is faster on all x86_64 architectures.
19565         Tested on AMD, Intel Nehalem, SNB, IVB.
19566         * sysdeps/x86_64/strnlen.S: Likewise.
19567
19568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19569         Remove all multiarch strlen and strnlen versions.
19570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19571         Remove strlen and strnlen related parts.
19572
19573         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19574         Inline strlen part.
19575         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19576
19577         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19578         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19579         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19580         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19581         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19582         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19583
19584 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19585
19586         * manual/memory.texi (Malloc Tunable Parameters):
19587         Sort parameters alphabetically. Add comments for missing entries.
19588
19589 2013-03-17  David S. Miller  <davem@davemloft.net>
19590
19591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19592
19593 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19594
19595         [BZ #15283]
19596         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19597         for arguments at most half maximum finite value.
19598         * math/libm-test.inc (j0_test): Add more tests.
19599         (j1_test): Likewise.
19600         (y0_test): Likewise.
19601         (y1_test): Likewise.
19602         * sysdeps/i386/fpu/libm-test-ulps: Update.
19603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19604
19605         [BZ #14155]
19606         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19607         1 / x and functions P and Q for arguments above 0x1p256L.
19608         (__ieee754_y0l): Likewise.
19609         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19610         (__ieee754_y1l): Likewise.
19611         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19612         (j1_test): Likewise.
19613         (y0_test): Likewise.
19614         (y1_test): Likewise.
19615
19616 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19617
19618         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19619         variable.
19620
19621 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19622
19623         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19624         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19625         zero since it's initialized to EXEC_PAGESIZE.
19626
19627         * sysdeps/unix/sysv/linux/ldsodefs.h
19628         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19629         * sysdeps/generic/ldsodefs.h: ... here.
19630
19631 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19632
19633         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19634
19635         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19636         math/test-snan.c.
19637         * math/test-snan.c: Renamed from
19638         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19639         * math/Makefile (tests): Add test-snan.
19640         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19641         test-powerpc-snan.
19642
19643         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19644         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19645         functions.
19646         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19647         __builtin_nan family of functions.
19648         * math/libm-test.inc (initialize): Initialize qnan_value with
19649         __builtin_nan family of functions.
19650         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19651         Remove variables.
19652         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19653         Remove functions.
19654         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19655         storage class.  Initialize qNaN_var and sNaN_var with
19656         __builtin_nan and __builtin_nans families of functions,
19657         respectively.
19658
19659         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19660         (sqrt_test): Remove duplicate test with qNaN input.
19661         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19662         (round_test, signbit_test, significand_test): Note missing +/-Inf
19663         as well as qNaN tests.
19664
19665         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19666         qNaN_var.  Fix a few strings, too.
19667         * math/libm-test.inc (nan_value): Rename to qnan_value.
19668         * math/gen-libm-test.pl (%beautify): Adjust to that.
19669         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19670         * math/test-misc.c (main): Likewise.
19671         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19672         to __qnan_bytes, and __qnan_union, respectively.
19673         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19674         Likewise.
19675         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19676         and lqnanval, respectively.
19677         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19678         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19679         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19680         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19681
19682         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19683         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19684         doubles.
19685
19686         * math/test-misc.c (main): Fix copy'n'pastos.
19687         * misc/tst-efgcvt.c (special): Likewise.
19688
19689         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19690         Remove declarations.
19691
19692 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19693
19694         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19695         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19696         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19697         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19698
19699 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19700
19701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19702         macro to return vdso values correctly in IFUNC implementations.
19703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19704         Optimization by using IFUNC.
19705
19706 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19707             Richard Henderson  <rth@redhat.com>
19708             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19709
19710         * Makefile.in (bench): New target.
19711         * NEWS: Mention the benchmark framework.
19712         * Rules (bench): Likewise.
19713         (binaries-bench): Generate binaries for functions to
19714         benchmark.
19715         * benchtests/Makefile: New makefile for benchmark tests.
19716         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19717         programs.
19718         * benchtests/exp-inputs: New input file for EXP function.
19719         * benchtests/pow-inputs: New input file for POW function.
19720         * scripts/bench.pl: New script to generate source files for
19721         benchmark programs.
19722
19723 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19724
19725         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19727         computations on mantissa.  Use macros for rounding and
19728         division.
19729         (denorm): Likewise.
19730         (__dbl_mp): Likewise.
19731         (add_magnitudes): Likewise.
19732         (sub_magnitudes): Likewise.
19733         (__mul): Likewise.
19734         (__sqr): Likewise.
19735         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19736         powers of two in terms of TWOPOW macro.
19737         (mp_no): Make type of mantissa as MANTISSA_T.
19738         [!RADIXI]: Define RADIXI.
19739         [!TWO52]: Define TWO52.
19740         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19741
19742         * manual/nptl.texi (cindex): Modify threads to pthreads.
19743
19744 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19745
19746         * sysdeps/x86_64/preconfigure: Regenerated.
19747
19748 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19749
19750         [BZ #14155]
19751         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19752         0x1p28 and above.
19753         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19754         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19755         0x1p28 and above.
19756         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19757         * math/libm-test.inc (j0_test): Do not allow one spurious
19758         underflow exception.
19759         (y1_test): Likewise.
19760
19761 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19762
19763         * manual/Makefile (chapters): Add nptl.
19764         * manual/debug.texi (Debugging Support): Add link to Threads
19765         chapter.
19766         * manual/nptl.texi: New file.
19767
19768         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19769
19770 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19771
19772         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19773         for non-NULL pointer before the memory validity test. Pointed
19774         out by Holger Brunck <holger.brunck@keymile.com>.
19775
19776 2013-03-13  Andreas Schwab  <schwab@suse.de>
19777
19778         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19779         instead of .os.
19780
19781 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19782
19783         * timezone/zic.c: Update from tzcode 2013b.
19784
19785 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19786
19787         * manual/install.texi (Configuring and compiling):
19788         Mention i686 and i586.
19789         * INSTALL: Regenerate.
19790
19791 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19792
19793         * sysdeps/init_array/elf-init.c: New file.
19794         * csu/elf-init.c
19795         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19796         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19797
19798         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19799         __gmon_start__ as global, but as static with a .preinit_array pointer.
19800         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19801         * sysdeps/init_array/crti.S: New file, empty except for comments.
19802         * sysdeps/init_array/crtn.S: Likewise.
19803
19804 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19805
19806         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19807         definining bcopy.
19808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19809         Remove Prefer_SSE_for_memop.
19810         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19811         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19812         HAS_PREFER_SSE_FOR_MEMOP.
19813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19814         memset-x86-64.
19815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19816         Remove bzero, memset ifunc support.
19817         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19818         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19819         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19820         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19821
19822 2013-03-11  Andreas Schwab  <schwab@suse.de>
19823
19824         [BZ #15234]
19825         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19826         by SHLIB_COMPAT.
19827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19828         (GLIBC_2.16): Remove pthread_atfork.
19829
19830 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19831
19832         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19833         (ptestcases.h): Likewise.
19834
19835 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19836
19837         * Makeconfig ($(common-objpfx)config.status): Depend on
19838         sysdeps/*/preconfigure{,.in} too.
19839
19840 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19841
19842         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19843         (__free_hook): Use void * instead of __malloc_ptr_t.
19844         (__malloc_hook): Likewise.
19845         (__realloc_hook): Likewise.
19846         (__memalign_hook): Likewise.
19847         (__after_morecore_hook): Likewise.
19848         * malloc/arena.c (save_malloc_hook): Likewise.
19849         (save_free_hook): Likewise.
19850         * malloc/hooks.c (malloc_hook_ini): Likewise.
19851         (realloc_hook_ini): Likewise.
19852         (memalign_hook_ini): Likewise.
19853         * malloc/malloc.c (malloc_hook_ini): Likewise.
19854         (realloc_hook_ini): Likewise.
19855         (memalign_hook_ini): Likewise.
19856         (__free_hook): Likewise.
19857         (__malloc_hook): Likewise.
19858         (__realloc_hook): Likewise.
19859         (__memalign_hook): Likewise.
19860         (__libc_malloc): Likewise.
19861         (__libc_free): Likewise.
19862         (__libc_realloc): Likewise.
19863         (__libc_memalign): Likewise.
19864         (__libc_valloc): Likewise.
19865         (__libc_pvalloc): Likewise.
19866         (__libc_calloc): Likewise.
19867         (__posix_memalign): Likewise.
19868         * malloc/morecore.c (__sbrk): Likewise.
19869         (__default_morecore): Likewise.
19870
19871         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19872
19873         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19874         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19875         __malloc_ptrdiff_t.
19876
19877         * malloc/malloc.h (__malloc_size_t): Remove macro.
19878         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19879         __malloc_size_t.
19880         (old_memalign_hook): Likewise.
19881         (old_realloc_hook): Likewise.
19882         (struct hdr): Likewise.
19883         (flood): Likewise.
19884         (mallochook): Likewise.
19885         (memalignhook): Likewise.
19886         (reallochook): Likewise.
19887         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19888         (tr_old_realloc_hook): Likewise.
19889         (tr_old_memalign_hook): Likewise.
19890         (tr_mallochook): Likewise.
19891         (tr_reallochook): Likewise.
19892         (tr_memalignhook): Likewise.
19893
19894 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19895
19896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19897         default_ldbl_pack and using as default implementation.
19898         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19899         implementation.
19900         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19901         redundant definition.
19902         (ldbl_insert_mantissa): Likewise.
19903         (ldbl_canonicalize): Likewise.
19904         (ldbl_nearbyint): Likewise.
19905         (ldbl_pack): Rename to ldbl_pack_ppc.
19906         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19907         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19908         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19909
19910 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19911
19912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19913         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19914         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19915         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19917         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19918         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19919         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19920
19921 2013-03-07  Andreas Jaeger  <aj@suse.de>
19922
19923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19924         bits/mman-linux.h.
19925
19926 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19927
19928         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19929         Include mpa.h and declare __MPEXP.
19930         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19931         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19932         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19933         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19934         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19935         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19936         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19937
19938         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19939         (__slowpow): Use long double EXPL and LOGL functions to
19940         compute POW.
19941         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19942         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19943         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19944         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19945         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19946         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19947
19948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19949         intermediate variable to calculate exponent.
19950         (__sqr): Likewise.
19951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19952         Likewise.
19953         (__sqr): Likewise.
19954
19955         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19956         [!NO__SQR]: Define __sqr.
19957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19958         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19959         sysdeps/ieee754/dbl-64/mpa.c.
19960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19961
19962         [BZ #12723]
19963         * posix/Makefile (tests): Add tst-pathconf.
19964         * posix/tst-pathconf.c: New test case.
19965         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19966         _PC_PIPE_BUF.
19967         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19968
19969 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19970
19971         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19972
19973 2013-03-06  Andreas Jaeger  <aj@suse.de>
19974
19975         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19976         definition via __MAP_ANONYMOUS.
19977
19978         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19979         it's not part of Linux headers.
19980
19981         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19982         (MAP_HUGE_MASK): Define.
19983
19984         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19985         Define.
19986         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19987         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19988         Define.
19989         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19990         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19991         Define.
19992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19993         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19994         Define.
19995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19996
19997         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19998         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19999         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20000         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20001         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20002         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20003
20004         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20005         Handle f2fs.
20006
20007         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20008         Handle f2fs and efivarfs.
20009
20010         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20011         f2fs.
20012
20013         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20014         (EFIVARFS_MAGIC): Add.
20015         (F2FS_LINK_MAX): Add.
20016
20017 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20018
20019         * stdio-common/vfprintf.c: Replace __builtin_expect with
20020         __glibc_unlikely.
20021
20022 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20023
20024         [BZ #13550]
20025         * sysdeps/generic/bp-sym.h: Remove file.
20026         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20027         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20028         <bp-sym.h> and <bp-asm.h>.
20029         (__longjmp): Don't use BP_SYM.
20030         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20031         and <bp-asm.h>.
20032         (memcpy): Don't use BP_SYM.
20033         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20034         <bp-sym.h> and <bp-asm.h>.
20035         (memcpy): Don't use BP_SYM.
20036         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20037         <bp-asm.h>.
20038         (memcpy): Don't use BP_SYM.
20039         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20040         <bp-asm.h>.
20041         (memset): Don't use BP_SYM.
20042         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20043         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20044         (__bzero): Don't use BP_SYM.
20045         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20046         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20047         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20048         <bp-sym.h> and <bp-asm.h>.
20049         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20050         pointers.
20051         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20052         <bp-sym.h> and <bp-asm.h>.
20053         (memcpy): Don't use BP_SYM.
20054         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20055         <bp-sym.h> and <bp-asm.h>.
20056         (memset): Don't use BP_SYM.
20057         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20058         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20059         (__bzero): Don't use BP_SYM.
20060         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20061         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20062         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20063         <bp-sym.h> and <bp-asm.h>.
20064         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20065         pointers.
20066         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20067         <bp-sym.h> and <bp-asm.h>.
20068         (memcpy): Don't use BP_SYM.
20069         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20070         <bp-sym.h> and <bp-asm.h>.
20071         (memset): Don't use BP_SYM.
20072         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20073         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20074         (__bzero): Don't use BP_SYM.
20075         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20076         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20077         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20078         <bp-sym.h> and <bp-asm.h>.
20079         (__memchr): Don't use BP_SYM.
20080         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20081         <bp-sym.h> and <bp-asm.h>.
20082         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20083         pointers.
20084         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20085         <bp-sym.h> and <bp-asm.h>.
20086         (memcpy): Don't use BP_SYM.
20087         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20088         <bp-sym.h> and <bp-asm.h>.
20089         (__mempcpy): Don't use BP_SYM.
20090         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20091         <bp-sym.h> and <bp-asm.h>.
20092         (__memrchr): Don't use BP_SYM.
20093         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20094         <bp-sym.h> and <bp-asm.h>.
20095         (memset): Don't use BP_SYM.
20096         (__bzero): Likewise.
20097         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20098         <bp-sym.h> and <bp-asm.h>.
20099         (__rawmemchr): Don't use BP_SYM.
20100         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20101         <bp-sym.h> and <bp-asm.h>.
20102         (__STRCMP): Don't use BP_SYM.
20103         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20104         <bp-sym.h> and <bp-asm.h>.
20105         (strchr): Don't use BP_SYM.
20106         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20107         <bp-sym.h> and <bp-asm.h>.
20108         (__strchrnul): Don't use BP_SYM.
20109         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20110         <bp-sym.h> and <bp-asm.h>.
20111         (strlen): Don't use BP_SYM.
20112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20113         <bp-sym.h> and <bp-asm.h>.
20114         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20115         pointers.
20116         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20117         <bp-sym.h> and <bp-asm.h>.
20118         (__strnlen): Don't use BP_SYM.
20119         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20120         <bp-sym.h> and <bp-asm.h>.
20121         (__GI__setjmp): Don't use BP_SYM.
20122         (_setjmp): Likewise.
20123         (__sigsetjmp): Likewise.
20124         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20125         (L(start_addresses)): Don't use BP_SYM.
20126         (_start): Likewise.
20127         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20128         <bp-asm.h>.
20129         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20130         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20131         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20132         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20133         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20134         <bp-asm.h>.
20135         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20136         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20137         about bounded pointers.
20138         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20139         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20140         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20141         <bp-asm.h>.
20142         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20143         about bounded pointers.  Remove GKM FIXME comments.
20144         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20145         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20146         <bp-asm.h>.
20147         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20148         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20149         Remove GKM FIXME comments.
20150         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20151         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20152         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20153         <bp-asm.h>.
20154         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20155         about bounded pointers.  Remove GKM FIXME comment.
20156         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20157         and <bp-asm.h>.
20158         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20159         pointers.
20160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20161         <bp-sym.h> and <bp-asm.h>.
20162         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20164         <bp-sym.h> and <bp-asm.h>.
20165         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20166         comment.
20167
20168 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20169
20170         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20171         call free(NULL).
20172
20173 2013-03-05  David S. Miller  <davem@davemloft.net>
20174
20175         * po/es.po: Update from translation team.
20176
20177 2013-03-05  Andreas Jaeger  <aj@suse.de>
20178
20179         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20180         <bits/mman-linux.h>.
20181         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20182         is fine.
20183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20184         <bits/mman-linux.h> to end of file.
20185         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20186         is fine.
20187         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20188         <bits/mman-linux.h> to end of file.
20189         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20190         is fine.
20191         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20192         <bits/mman-linux.h> to end of file.
20193
20194         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20195         (MCL_CURRENT, MCL_FUTURE): Define here.
20196
20197 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20198
20199         [BZ #15232]
20200         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20201         attribute_hidden.
20202         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20203
20204 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20205
20206         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20207         fourth parameter needed for rt_sigprocmask syscall.
20208         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20209         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20210         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20211         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20212         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20213         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20214
20215 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20216
20217         [BZ #13550]
20218         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20219         comment about bounded pointers.
20220         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20221         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20222
20223 2013-03-04  Andreas Jaeger  <aj@suse.de>
20224
20225         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20226         common definitions.
20227
20228         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20229         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20230         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20231         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20232         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20233         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20234
20235 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20236
20237         [BZ #15055]
20238         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20239         __ieee754_sqrl instead of __sqrl.
20240
20241 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20242
20243         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20244         * sysdeps/powerpc/fpu_control.h: ... here.
20245         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20246         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20247         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20248         * sysdeps/powerpc/bits/mathinline.h: ... here.
20249
20250 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20251
20252         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20253         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20254         to just [NEED_DL_SYSINFO_DSO].
20255         * elf/dl-support.c: Likewise.
20256         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20257         * elf/rtld.c (dl_main): Likewise.
20258         * elf/setup-vdso.h (setup_vdso): Likewise.
20259         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20260         * sysdeps/unix/sysv/linux/dl-sysdep.c
20261         (_dl_discover_osversion): Likewise.
20262
20263 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20264
20265         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20266         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20267
20268 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20269
20270         * NEWS: Mention libm performance improvements and non-x86 PI
20271         futex support.
20272
20273         * csu/libc-start.c (__pthread_initialize_minimal): Change
20274         function arguments.
20275         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20276
20277 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20278
20279         [BZ #13550]
20280         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20281         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20282         <bp-sym.h> and <bp-asm.h>.
20283         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20284         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20285         and <bp-asm.h>.
20286         (memcpy): Don't use BP_SYM.
20287         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20288         <bp-asm.h>.
20289         (__mpn_add_n): Don't use BP_SYM.
20290         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20291         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20292         and <bp-asm.h>.
20293         (__mpn_addmul_1): Don't use BP_SYM.
20294         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20295         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20296         <bp-sym.h>.
20297         (_setjmp): Don't use BP_SYM.
20298         (__novmx_setjmp): Likewise.
20299         (__GI__setjmp): Likewise.
20300         (__vmx_setjmp): Likewise.
20301         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20302         <bp-sym.h>.
20303         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20304         (__bzero): Don't use BP_SYM.
20305         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20306         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20307         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20308         <bp-sym.h> and <bp-asm.h>.
20309         (memcpy): Don't use BP_SYM.
20310         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20311         <bp-sym.h> and <bp-asm.h>.
20312         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20313         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20314         <bp-sym.h> and <bp-asm.h>.
20315         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20316         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20317         <bp-asm.h>.
20318         (__mpn_lshift): Don't use BP_SYM.
20319         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20320         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20321         <bp-asm.h>.
20322         (memset): Don't use BP_SYM.
20323         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20324         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20325         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20326         <bp-asm.h>.
20327         (__mpn_mul_1): Don't use BP_SYM.
20328         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20329         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20330         <bp-sym.h> and <bp-asm.h>.
20331         (memcmp): Don't use BP_SYM.
20332         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20333         <bp-sym.h> and <bp-asm.h>.
20334         (memcpy): Don't use BP_SYM.
20335         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20336         <bp-sym.h> and <bp-asm.h>.
20337         (memset): Don't use BP_SYM.
20338         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20339         <bp-sym.h> and <bp-asm.h>.
20340         (strncmp): Don't use BP_SYM.
20341         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20342         <bp-sym.h> and <bp-asm.h>.
20343         (memcpy): Don't use BP_SYM.
20344         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20345         <bp-sym.h> and <bp-asm.h>.
20346         (memset): Don't use BP_SYM.
20347         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20348         <bp-sym.h> and <bp-asm.h>.
20349         (__memchr): Don't use BP_SYM.
20350         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20351         <bp-sym.h> and <bp-asm.h>.
20352         (memcmp): Don't use BP_SYM.
20353         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20354         <bp-sym.h> and <bp-asm.h>.
20355         (memcpy): Don't use BP_SYM.
20356         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20357         <bp-sym.h> and <bp-asm.h>.
20358         (__mempcpy): Don't use BP_SYM.
20359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20360         <bp-sym.h> and <bp-asm.h>.
20361         (__memrchr): Don't use BP_SYM.
20362         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20363         <bp-sym.h> and <bp-asm.h>.
20364         (memset): Don't use BP_SYM.
20365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20366         <bp-sym.h> and <bp-asm.h>.
20367         (__rawmemchr): Don't use BP_SYM.
20368         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20369         <bp-sym.h> and <bp-asm.h>.
20370         (__STRCMP): Don't use BP_SYM.
20371         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20372         <bp-sym.h> and <bp-asm.h>.
20373         (strchr): Don't use BP_SYM.
20374         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20375         <bp-sym.h> and <bp-asm.h>.
20376         (__strchrnul): Don't use BP_SYM.
20377         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20378         <bp-sym.h> and <bp-asm.h>.
20379         (strlen): Don't use BP_SYM.
20380         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20381         <bp-sym.h> and <bp-asm.h>.
20382         (strncmp): Don't use BP_SYM.
20383         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20384         <bp-sym.h> and <bp-asm.h>.
20385         (__strnlen): Don't use BP_SYM.
20386         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20387         <bp-asm.h>.
20388         (__mpn_rshift): Don't use BP_SYM.
20389         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20390         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20391         <bp-sym.h> and <bp-asm.h>.
20392         (__sigsetjmp): Don't use BP_SYM.
20393         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20394         (L(start_addresses)): Don't use BP_SYM.
20395         (_start): Likewise.
20396         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20397         <bp-asm.h>.
20398         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20399         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20400         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20401         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20402         <bp-asm.h>.
20403         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20404         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20405         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20406         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20407         <bp-asm.h>.
20408         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20409         comments.
20410         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20411         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20412         <bp-asm.h>.
20413         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20414         FIXME comments.
20415         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20416         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20417         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20418         <bp-asm.h>.
20419         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20420         comment.
20421         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20422         and <bp-asm.h>.
20423         (strncmp): Don't use BP_SYM,
20424         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20425         <bp-asm.h>.
20426         (__mpn_sub_n): Don't use BP_SYM.
20427         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20428         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20429         and <bp-asm.h>.
20430         (__mpn_submul_1): Don't use BP_SYM.
20431         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20433         <bp-sym.h> and <bp-asm.h>.
20434         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20436         <bp-sym.h> and <bp-asm.h>.
20437         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20438         comment.
20439
20440 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20441
20442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20443         Use ZK to minimize writes to Z.
20444         (sub_magnitudes): Simplify code a bit.
20445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20446         Use ZK to minimize writes to Z.
20447         (sub_magnitudes): Simplify code a bit.
20448
20449 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20450
20451         * csu/gmon-start.c: Add special exception to license text.
20452
20453 2013-02-27  Richard Henderson  <rth@redhat.com>
20454
20455         * scripts/config.guess: Update from config.git.
20456         * scripts/config.sub: Likewise.
20457
20458 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20459
20460         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20461
20462         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20463
20464         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20465
20466         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20467
20468         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20469
20470 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20471
20472         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20473         [$(build-shared = yes].
20474
20475 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20476
20477         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20478         (__mul): Reduce iterations for calculating mantissa.
20479
20480         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20481         MPTWO.
20482         (__mpranred): Likewise.
20483
20484         [BZ #15160]
20485         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20486         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20487
20488 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20489
20490         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20491         Define __attribute__.
20492
20493 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20494
20495         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20496         unused.
20497         * posix/regex_internal.h (__attribute): Remove.
20498         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20499         (re_string_context_at): Likewise.
20500         (bitset_not): Use __attribute__ and mark function as possibly
20501         unused.
20502         (bitset_merge): Likewise.
20503         (bitset_mask): Likewise.
20504         (re_string_char_size_at): Likewise.
20505         (re_string_wchar_at): Likewise.
20506         (re_string_elem_size_at): Likewise.
20507
20508 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20509
20510         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20511         code.
20512         (cc32): Likewise.
20513
20514         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20515         (__acr): Likewise.
20516         (__cpy): Likewise.
20517         (norm): Likewise.
20518         (denorm): Likewise.
20519         (__dbl_mp): Likewise.
20520         (add_magnitudes): Likewise.
20521         (sub_magnitudes): Likewise.
20522         (__mul): Likewise.
20523         (__inv): Likewise.
20524
20525         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20526         style.
20527
20528         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20529         style.
20530
20531         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20532         code.
20533
20534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20535         up changes with default code.
20536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20537         Likewise.
20538
20539 2013-02-24  Allan McRae  <allan@archlinux.org>
20540
20541         * manual/socket.texi (The Internet Namespace): Order menu items
20542         to match that in the file.
20543
20544         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20545         node listing of the info page menu.
20546
20547 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20548
20549         [BZ #13550]
20550         * sysdeps/i386/bp-asm.h: Remove file.
20551         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20552         (PARMS): Do not use macros from bp-asm.h.
20553         (S1): Likewise.
20554         (S2): Likewise.
20555         (SIZE): Likewise.
20556         (__mpn_add_n): Do not use BP_SYM
20557         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20558         "bp-asm.h".
20559         (PARMS): Do not use macros from bp-asm.h.
20560         (S1): Likewise.
20561         (SIZE): Likewise.
20562         (__mpn_addmul_1): Do not use BP_SYM
20563         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20564         "bp-asm.h".
20565         (PARMS): Do not use macros from bp-asm.h.
20566         (SIGMSK): Likewise.
20567         (_setjmp): Likewise.  Do not use BP_SYM.
20568         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20569         "bp-asm.h".
20570         (PARMS): Do not use macros from bp-asm.h.
20571         (SIGMSK): Likewise.
20572         (setjmp): Likewise.  Do not use BP_SYM.
20573         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20574         "bp-asm.h".
20575         (PARMS): Do not use macros from bp-asm.h.
20576         (__frexp): Do not use BP_SYM.
20577         (frexp): Likewise.
20578         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20579         "bp-asm.h".
20580         (PARMS): Do not use macros from bp-asm.h.
20581         (__frexpf): Do not use BP_SYM.
20582         (frexpf): Likewise.
20583         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20584         "bp-asm.h".
20585         (PARMS): Do not use macros from bp-asm.h.
20586         (__frexpl): Do not use BP_SYM.
20587         (frexpl): Likewise.
20588         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20589         "bp-asm.h".
20590         (PARMS): Do not use macros from bp-asm.h.
20591         (__remquo): Do not use BP_SYM.
20592         (remquo): Likewise.
20593         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20594         "bp-asm.h".
20595         (PARMS): Do not use macros from bp-asm.h.
20596         (__remquof): Do not use BP_SYM.
20597         (remquof): Likewise.
20598         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20599         "bp-asm.h".
20600         (PARMS): Do not use macros from bp-asm.h.
20601         (__remquol): Do not use BP_SYM.
20602         (remquol): Likewise.
20603         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20604         "bp-asm.h".
20605         (PARMS): Do not use macros from bp-asm.h.
20606         (DEST): Likewise.
20607         (SRC): Likewise.
20608         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20609         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20610         "bp-asm.h".
20611         (PARMS): Do not use macros from bp-asm.h.
20612         (strlen): Do not use BP_SYM.
20613         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20614         "bp-asm.h".
20615         (PARMS): Do not use macros from bp-asm.h.
20616         (S1): Likewise.
20617         (S2): Likewise.
20618         (SIZE): Likewise.
20619         (__mpn_add_n): Do not use BP_SYM.
20620         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20621         "bp-asm.h".
20622         (PARMS): Do not use macros from bp-asm.h.
20623         (S1): Likewise.
20624         (SIZE): Likewise.
20625         (__mpn_addmul_1): Do not use BP_SYM.
20626         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20627         weak_alias.
20628         (bzero): Likewise.
20629         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20630         "bp-asm.h".
20631         (PARMS): Do not use macros from bp-asm.h.
20632         (S): Likewise.
20633         (SIZE): Likewise.
20634         (__mpn_lshift): Do not use BP_SYM.
20635         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20636         "bp-asm.h".
20637         (PARMS): Do not use macros from bp-asm.h.
20638         (DEST): Likewise.
20639         (SRC): Likewise.
20640         (LEN): Likewise.
20641         (memcpy): Likewise.  Do not use BP_SYM.
20642         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20643         libc_hidden_def and weak_alias.
20644         (mempcpy): Do not use BP_SYM in weak_alias.
20645         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20646         "bp-asm.h".
20647         (PARMS): Do not use macros from bp-asm.h.
20648         (DEST): Likewise.
20649         (LEN): Likewise.
20650         [!BZERO_P] (CHR): Likewise.
20651         (memset): Likewise.  Do not use BP_SYM.
20652         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20653         "bp-asm.h".
20654         (PARMS): Do not use macros from bp-asm.h.
20655         (S1): Likewise.
20656         (SIZE): Likewise.
20657         (__mpn_mul_1): Do not use BP_SYM.
20658         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20659         "bp-asm.h".
20660         (PARMS): Do not use macros from bp-asm.h.
20661         (S): Likewise.
20662         (SIZE): Likewise.
20663         (__mpn_rshift): Do not use BP_SYM.
20664         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20665         "bp-asm.h".
20666         (PARMS): Do not use macros from bp-asm.h.
20667         (STR): Likewise.
20668         (CHR): Likewise.
20669         (strchr): Likewise.  Do not use BP_SYM.
20670         (index): Do not use BP_SYM in weak_alias.
20671         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20672         "bp-asm.h".
20673         (PARMS): Do not use macros from bp-asm.h.
20674         (DEST): Likewise.
20675         (SRC): Likewise.
20676         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20677         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20678         "bp-asm.h".
20679         (PARMS): Do not use macros from bp-asm.h.
20680         (strlen): Do not use BP_SYM.
20681         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20682         "bp-asm.h".
20683         (PARMS): Do not use macros from bp-asm.h.
20684         (S1): Likewise.
20685         (S2): Likewise.
20686         (SIZE): Likewise.
20687         (__mpn_sub_n): Do not use BP_SYM.
20688         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20689         "bp-asm.h".
20690         (PARMS): Do not use macros from bp-asm.h.
20691         (S1): Likewise.
20692         (SIZE): Likewise.
20693         (__mpn_submul_1): Do not use BP_SYM.
20694         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20695         "bp-asm.h".
20696         (PARMS): Do not use macros from bp-asm.h.
20697         (S1): Likewise.
20698         (S2): Likewise.
20699         (SIZE): Likewise.
20700         (__mpn_add_n): Do not use BP_SYM.
20701         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20702         weak_alias.
20703         (bzero): Likewise.
20704         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20705         "bp-asm.h".
20706         (PARMS): Do not use macros from bp-asm.h.
20707         (BLK2): Likewise.
20708         (LEN): Likewise.
20709         (memcmp): Do not use BP_SYM.
20710         (bcmp): Do not use BP_SYM in weak_alias.
20711         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20712         "bp-asm.h".
20713         (PARMS): Do not use macros from bp-asm.h.
20714         (DEST): Likewise.
20715         (SRC): Likewise.
20716         (LEN): Likewise.
20717         (memcpy): Likewise.  Do not use BP_SYM.
20718         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20719         "bp-asm.h".
20720         (PARMS): Do not use macros from bp-asm.h.
20721         (DEST): Likewise.
20722         (SRC): Likewise.
20723         (LEN): Likewise.
20724         (memmove): Likewise.  Do not use BP_SYM.
20725         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20726         "bp-asm.h".
20727         (PARMS): Do not use macros from bp-asm.h.
20728         (DEST): Likewise.
20729         (SRC): Likewise.
20730         (LEN): Likewise.
20731         (__mempcpy): Likewise.  Do not use BP_SYM.
20732         (mempcpy): Do not use BP_SYM in weak_alias.
20733         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20734         "bp-asm.h".
20735         (PARMS): Do not use macros from bp-asm.h.
20736         (DEST): Likewise.
20737         (LEN): Likewise.
20738         [!BZERO_P] (CHR): Likewise.
20739         (memset): Likewise.  Do not use BP_SYM.
20740         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20741         "bp-asm.h".
20742         (PARMS): Do not use macros from bp-asm.h.
20743         (STR2): Likewise.
20744         (strcmp): Do not use BP_SYM.
20745         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20746         "bp-asm.h".
20747         (PARMS): Do not use macros from bp-asm.h.
20748         (STR): Likewise.
20749         (DELIM): Likewise.
20750         [USE_AS_STRTOK_R] (SAVE): Likewise.
20751         (FUNCTION): Likewise.  Do not use BP_SYM.
20752         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20753         aliases.
20754         (strtok_r): Likewise.
20755         (__GI___strtok_r): Likewise.
20756         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20757         (PARMS): Do not use macros from bp-asm.h.
20758         (S): Likewise.
20759         (SIZE): Likewise.
20760         (__mpn_lshift): Do not use BP_SYM.
20761         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20762         (PARMS): Do not use macros from bp-asm.h.
20763         (STR): Likewise.
20764         (CHR): Likewise.
20765         (__memchr): Do not use BP_SYM.
20766         (memchr): Do not use BP_SYM in weak_alias.
20767         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20768         (PARMS): Do not use macros from bp-asm.h.
20769         (BLK2): Likewise.
20770         (LEN): Likewise.
20771         (memcmp): Do not use BP_SYM.
20772         (bcmp): Do not use BP_SYM in weak_alias.
20773         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20774         (PARMS): Do not use macros from bp-asm.h.
20775         (S1): Likewise.
20776         (SIZE): Likewise.
20777         (__mpn_mul_1): Do not use BP_SYM.
20778         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20779         "bp-asm.h".
20780         (PARMS): Do not use macros from bp-asm.h.
20781         (STR): Likewise.
20782         (CHR): Likewise.
20783         (__rawmemchr): Do not use BP_SYM.
20784         (rawmemchr): Do not use BP_SYM in weak_alias.
20785         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20786         (PARMS): Do not use macros from bp-asm.h.
20787         (S): Likewise.
20788         (SIZE): Likewise.
20789         (__mpn_rshift): Do not use BP_SYM.
20790         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20791         (PARMS): Do not use macros from bp-asm.h.
20792         (SIGMSK): Likewise.
20793         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20794         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20795         (_start): Do not use BP_SYM.
20796         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20797         (PARMS): Do not use macros from bp-asm.h.
20798         (DEST): Likewise.
20799         (SRC): Likewise.
20800         (__stpcpy): Likewise.  Do not use BP_SYM.
20801         (stpcpy): Do not use BP_SYM in weak_alias.
20802         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20803         "bp-asm.h".
20804         (PARMS): Do not use macros from bp-asm.h.
20805         (DEST): Likewise.
20806         (SRC): Likewise.
20807         (LEN): Likewise.
20808         (__stpncpy): Likewise.  Do not use BP_SYM.
20809         (stpncpy): Do not use BP_SYM in weak_alias.
20810         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20811         (PARMS): Do not use macros from bp-asm.h.
20812         (STR): Likewise.
20813         (CHR): Likewise.
20814         (strchr): Likewise.  Do not use BP_SYM.
20815         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20816         "bp-asm.h".
20817         (PARMS): Do not use macros from bp-asm.h.
20818         (STR): Likewise.
20819         (CHR): Likewise.
20820         (__strchrnul): Likewise.  Do not use BP_SYM.
20821         (strchrnul): Do not use BP_SYM in weak_alias.
20822         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20823         "bp-asm.h".
20824         (PARMS): Do not use macros from bp-asm.h.
20825         (STOP): Likewise.
20826         (strcspn): Do not use BP_SYM.
20827         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20828         "bp-asm.h".
20829         (PARMS): Do not use macros from bp-asm.h.
20830         (STR): Likewise.
20831         (STOP): Likewise.
20832         (strpbrk): Likewise.  Do not use BP_SYM.
20833         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20834         "bp-asm.h".
20835         (PARMS): Do not use macros from bp-asm.h.
20836         (STR): Likewise.
20837         (CHR): Likewise.
20838         (strrchr): Likewise.  Do not use BP_SYM.
20839         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20840         (PARMS): Do not use macros from bp-asm.h.
20841         (SKIP): Likewise.
20842         (strspn): Do not use BP_SYM.
20843         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20844         (PARMS): Do not use macros from bp-asm.h.
20845         (STR): Likewise.
20846         (DELIM): Likewise.
20847         (SAVE): Likewise.
20848         (FUNCTION): Likewise.  Do not use BP_SYM.
20849         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20850         aliases.
20851         (strtok_r): Likewise.
20852         (__GI___strtok_r): Likewise.
20853         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20854         (PARMS): Do not use macros from bp-asm.h.
20855         (S1): Likewise.
20856         (S2): Likewise.
20857         (SIZE): Likewise.
20858         (__mpn_sub_n): Do not use BP_SYM.
20859         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20860         "bp-asm.h".
20861         (PARMS): Do not use macros from bp-asm.h.
20862         (S1): Likewise.
20863         (SIZE): Likewise.
20864         (__mpn_submul_1): Do not use BP_SYM.
20865         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20866         <bp-sym.h>.
20867         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20868         and <bp-asm.h>.
20869         (PARMS): Do not use macros from bp-asm.h.
20870         (FLAGS): Likewise.
20871         (PTID): Likewise.
20872         (TLS): Likewise.
20873         (CTID): Likewise.
20874         (__clone): Do not use BP_SYM.
20875         (clone): Do not use BP_SYM in weak_alias.
20876         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20877         and <bp-asm.h>.
20878         (PARMS): Do not use macros from bp-asm.h.
20879         (LEN): Likewise.
20880         (__mmap64): Do not use BP_SYM.
20881         (mmap64): Do not use BP_SYM in weak_alias.
20882         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20883         <bp-sym.h> and <bp-asm.h>.
20884         (PARMS): Do not use macros from bp-asm.h.
20885         (__posix_fadvise64_l64): Do not use BP_SYM.
20886         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20887         (PARMS): Do not use macros from bp-asm.h.
20888         (NSOPS): Likewise.
20889         (semtimedop): Do not use BP_SYM.
20890         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20891         and <bp-asm.h>.
20892
20893 2013-02-21  Allan McRae  <allan@archlinux.org>
20894
20895         * manual/message.texi (Charset conversion in gettext):
20896         Move @end statement to beginning of line.
20897
20898 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20899
20900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20901         static.
20902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20903         Likewise.
20904
20905         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20906         (denorm): Likewise.
20907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20909
20910 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20911
20912         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20913         tail-call to the resolved function if pltexit isn't needed.
20914
20915 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20916
20917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20918         or Y being zero as being unlikely.
20919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20920         Likewise.
20921
20922 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20923
20924         * manual/nss.texi (System Databases and Name Service Switch):
20925         Remove frobnicate @pxref.
20926
20927 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20928
20929         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20930         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20931
20932 2013-02-20  Petr Machata  <pmachata@redhat.com>
20933
20934         * elf/elf.h (R_ARM_TARGET1): New macro.
20935         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20936         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20937         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20938         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20939         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20940         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20941         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20942         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20943         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20944         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20945         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20946         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20947         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20948         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20949         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20950         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20951         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20952         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20953         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20954         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20955         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20956         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20957         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20958         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20959         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20960         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20961         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20962         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20963         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20964         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20965         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20966         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20967         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20968         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20969         (R_ARM_THM_GOT_BREL12): Likewise.
20970         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20971         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20972         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20973         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20974         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20975         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20976         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20977         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20978         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20979
20980 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20981
20982         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20983         __attribute_used__ to __attribute__ ((unused)).
20984
20985 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20986
20987         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20988         powerpc mpa.c.
20989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20990         comment formatting.
20991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20992
20993 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20994
20995         [BZ #13550]
20996         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20997         Remove macro.
20998         (ENTER): Remove both macro definitions.
20999         (LEAVE): Likewise.
21000         (CHECK_BOUNDS_LOW): Likewise.
21001         (CHECK_BOUNDS_HIGH): Likewise.
21002         (CHECK_BOUNDS_BOTH): Likewise.
21003         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21004         (RETURN_BOUNDED_POINTER): Likewise.
21005         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21006         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21007         (POP_ERRNO_LOCATION_RETURN): Likewise.
21008         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21009         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21010         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21011         macros.
21012         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21013         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21014         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21015         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21016         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21017         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21018         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21019         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21020         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21021         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21022         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21023         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21024         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21025         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21026         removed macros.
21027         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21028         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21029         macros.
21030         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21031         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21032         * sysdeps/i386/i586/memset.S (memset): Likewise.
21033         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21034         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21035         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21036         macros.
21037         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21038         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21039         Change uses of L(2) to L(out).
21040         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21041         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21042         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21043         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21044         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21045         removed macros.
21046         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21047         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21048         macros.
21049         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21050         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21051         (RETURN): Do not use macro LEAVE.
21052         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21053         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21054         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21055         * sysdeps/i386/i686/memset.S (memset): Likewise.
21056         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21057         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21058         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21059         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21060         Likewise.
21061         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21062         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21063         L(1_2) and L(1_3) into L(1).
21064         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21065         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21066         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21067         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21068         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21069         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21070         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21071         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21072         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21073         macros.
21074         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21075         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21076         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21077         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21078         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21079         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21080         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21081         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21082         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21083         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21084         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21085         * sysdeps/i386/strspn.S (strspn): Likewise.
21086         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21087         conditional code.
21088         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21089         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21090         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21091         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21092         L(1_3) into L(1_1).
21093         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21094         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21095         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21096         macros.
21097         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21098
21099 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21100
21101         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21102         macro.
21103
21104 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21105
21106         * math/atest-exp.c (exp_mpn): Remove ROUND.
21107         * math/atest-exp2.c (exp_mpn): Likewise.
21108         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21109
21110         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21111         * stdlib/tst-tls-atexit-lib.c: Likewise.
21112         * stdlib/tst-tls-atexit.c: Likewise.
21113
21114 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21115
21116         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21117         and __attribute_alloc_size__.
21118
21119 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21120
21121         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21122         __attribute_alloc_size__.
21123         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21124         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21125
21126 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21127
21128         * include/programs/xmalloc.h: New file.
21129         * catgets/gencat.c: Include it.
21130         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21131         * elf/pldd.c: Likewise.
21132         * iconv/iconv_charmap.c: Likewise.
21133         * iconv/iconvconfig.c: Likewise.
21134         * iconv/strtab.c: Likewise.
21135         * locale/programs/locale.c: Likewise.
21136         * locale/programs/localedef.h: Likewise.
21137         * locale/programs/simple-hash.c: Likewise.
21138         * nscd/nscd.h: Likewise.
21139         * nss/makedb.c: Likewise.
21140         * sysdeps/generic/ldconfig.h: Likewise.
21141
21142 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21143
21144         * Versions.def: Add GLIBC_2.18.
21145         * include/link.h (struct link_map): New member l_tls_dtor_count.
21146         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21147         (__call_tls_dtors): Likewise.
21148         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21149         __cxa_thread_atexit_impl.
21150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21151         Likewise.
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21153         Likewise.
21154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21155         Likewise.
21156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21157         Likewise.
21158         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21160         Likewise.
21161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21162         Likewise.
21163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21165         Likewise.
21166         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21167         (tests): Add test case tst-tls-atexit.
21168         (modules-names): Add shared library for tst-tls-atexit.
21169         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21170         (GLIBC_PRIVATE): Add __call_tls_dtors.
21171         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21172         for libstdc++.
21173         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21174         * stdlib/tst-tls-atexit.c: New test case.
21175         * stdlib/tst-tls-atexit-lib.c: New test case.
21176
21177         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21178
21179         * elf/Versions (ld): Add _dl_find_dso_for_object.
21180         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21181         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21182         (dl_open_worker): Use _dl_find_dso_for_object.
21183         * elf/dl-sym.c (do_sym): Likewise.
21184         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21185
21186 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21187
21188         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21189         Syntactic changes only.
21190         (_dl_runtime_profile): Do a tail-call to the resolved function.
21191
21192 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21193
21194         [BZ #13550]
21195         * sysdeps/x86_64/bp-asm.h: Remove file.
21196         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21197         <bp-sym.h> and <bp-asm.h>.
21198         (__clone): Do not use BP_SYM.
21199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21200         <bp-sym.h> and <bp-asm.h>.
21201         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21202         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21203         "bp-asm.h".
21204         (_setjmp): Do not use BP_SYM.
21205         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21206         "bp-asm.h".
21207         (setjmp): Do not use BP_SYM.
21208         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21209         libc_hidden_def.
21210         (mempcpy): Do not use BP_SYM in weak_alias.
21211         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21212         "bp-asm.h".
21213         (strchr): Do not use BP_SYM.
21214         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21215         "bp-asm.h".
21216         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21217         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21218         (_start): Do not use BP_SYM.
21219         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21220         "bp-asm.h".
21221         (strcat): Do not use BP_SYM.
21222         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21223         "bp-asm.h".
21224         (STRCMP): Do not use BP_SYM.
21225         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21226         "bp-asm.h".
21227         (STRCPY): Do not use BP_SYM.
21228         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21229         "bp-asm.h".
21230         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21231         "bp-asm.h".
21232         (FUNCTION): Do not use BP_SYM.
21233         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21234         weak_alias.
21235         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21236
21237 2013-02-17  Andreas Jaeger  <aj@suse.de>
21238
21239         * time/Versions: Sort entries.
21240         * string/Versions: Likewise.
21241         * resolv/Versions: Likewise.
21242         * posix/Versions: Likewise.
21243         * iconv/Versions: Likewise.
21244         * elf/Versions: Likewise.
21245         * wcsmbs/Versions: Likewise.
21246
21247 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21248
21249         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21250         loop termination condition.
21251
21252         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21253         variable to calculate EZ.
21254         (__sqr): Likewise.
21255
21256         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21257         the lower precision input.
21258
21259 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21260
21261         [BZ #13550]
21262         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21263         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21264         (run-via-rtld-prefix): Do not handle %-bp tests.
21265         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21266         (all-object-suffixes): Remove .ob.
21267         (bppfx): Remove variable.
21268         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21269         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21270         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21271         [$(build-bounded) = yes] (libtype.ob): Likewise.
21272         * Makerules (elide-routines.ob): Remove variable.
21273         (do-tests-clean): Do not handle *-bp.out.
21274         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21275         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21276         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21277         (tests): Do not include $(tests-bp.out).
21278         (xtests): Do not include $(xtests-bp.out).
21279         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21280         [$(build-bounded) = yes] ($(addprefix
21281         $(objpfx),$(binaries-bounded))): Remove rule.
21282         ($(objpfx)%-bp.out): Remove rule.
21283         * config.make.in (build-bounded): Remove variable.
21284         * crypt/Makefile [$(build-bounded) = yes]
21285         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21286         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21287         append to variable.
21288         [$(build-bounded) = yes] (install-lib): Likewise.
21289         [$(build-bounded) = yes] (generated): Likewise.
21290         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21291         Remove rule.
21292         * intl/Makefile [$(build-bounded) = yes]
21293         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21294         * math/Makefile [$(build-bounded) = yes]
21295         ($(tests:%=$(objpfx)%-bp): Likewise.
21296         * misc/Makefile [$(build-bounded) = yes]
21297         ($(objpfx)tst-tsearch-bp): Likewise.
21298         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21299         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21300         Remove dependency.
21301         * string/Makefile (o-objects.ob): Remove variable.
21302         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21303         (CFLAGS-.ob): Remove variable.
21304         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21305         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21306         both definitions of variable.
21307         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21308         (ASFLAGS-.ob): Remove variable.
21309
21310 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21311
21312         [BZ #13550]
21313         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21314         Remove __BOUNDED_POINTERS__ from condition.
21315         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21316         * string/bits/string2.h [!__NO_STRING_INLINES &&
21317         !__BOUNDED_POINTERS__]: Likewise.
21318         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21319         Likewise.
21320         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21321         Remove conditional code.
21322         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21323         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21324         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21325         condition.
21326
21327         [BZ #13550]
21328         * csu/libc-start.c: Do not include <bp-sym.h>.
21329         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21330         * elf/dl-open.c: Do not include <bp-sym.h>.
21331         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21332         * math/fegetenv.c: Do not include <bp-sym.h>.
21333         (fegetenv): Do not use BP_SYM in versioned symbols.
21334         * nptl/sysdeps/pthread/bits/libc-lockP.h
21335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21336         <bp-sym.h>.
21337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21338         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21340         (__pthread_mutex_destroy): Likewise.
21341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21342         (__pthread_mutex_lock): Likewise.
21343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21344         (__pthread_mutex_trylock): Likewise.
21345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21346         (__pthread_mutex_unlock): Likewise.
21347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21348         (__pthread_mutexattr_init): Likewise.
21349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21350         (__pthread_mutexattr_destroy): Likewise.
21351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21352         (__pthread_mutexattr_settype): Likewise.
21353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21354         (__pthread_rwlock_init): Likewise.
21355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21356         (__pthread_rwlock_destroy): Likewise.
21357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21358         (__pthread_rwlock_rdlock): Likewise.
21359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21360         (__pthread_rwlock_tryrdlock): Likewise.
21361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21362         (__pthread_rwlock_wrlock): Likewise.
21363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21364         (__pthread_rwlock_trywrlock): Likewise.
21365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21366         (__pthread_rwlock_unlock): Likewise.
21367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21368         (__pthread_key_create): Likewise.
21369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21370         (__pthread_setspecific): Likewise.
21371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21372         (__pthread_getspecific): Likewise.
21373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21374         Likewise.
21375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21376         (_pthread_cleanup_push_defer): Likewise.
21377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21378         (_pthread_cleanup_pop_restore): Likewise.
21379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21380         (pthread_setcancelstate): Likewise.
21381         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21382         <bp-sym.h>.
21383         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21384         (memchr): Do not use BP_SYM in weak_alias.
21385         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21386         (fegetenv): Do not use BP_SYM in versioned symbols.
21387         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21388         (fesetenv): Do not use BP_SYM in versioned symbols.
21389         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21390         (feupdateenv): Do not use BP_SYM in versioned symbols.
21391         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21392         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21393         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21394         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21395         (open64): Do not use BP_SYM in weak_alias.
21396         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21397         (fegetenv): Do not use BP_SYM in versioned symbols.
21398         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21399         (fesetenv): Do not use BP_SYM in versioned symbols.
21400         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21401         (feupdateenv): Do not use BP_SYM in versioned symbols.
21402         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21403         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21404         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21405         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21406         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21407         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21408         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21409         <bp-sym.h>.
21410         (__libc_start_main): Do not use BP_SYM.
21411
21412 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21413
21414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21415         redundant return line.
21416         (norm): Likewise.
21417         (denorm): Likewise.
21418         (dbl_mp): Likewise.
21419         (sub_magnitudes): Likewise.
21420         (__add): Likewise.
21421         (__sub): Likewise.
21422         (__mul): Likewise.
21423         (__inv): Likewise.
21424         (__dvd): Likewise.
21425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21426         (norm): Likewise.
21427         (denorm): Likewise.
21428         (dbl_mp): Likewise.
21429         (sub_magnitudes): Likewise.
21430         (__add): Likewise.
21431         (__sub): Likewise.
21432         (__mul): Likewise.
21433         (__inv): Likewise.
21434         (__dvd): Likewise.
21435
21436         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21437         instead of __mul.
21438         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21439         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21440         (cc32): Likewise.
21441
21442         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21443         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21445         of __mul for squares.
21446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21447         function
21448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21449         Likewise.
21450         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21451         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21452
21453 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21454
21455         [BZ #13550]
21456         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21457         code.
21458         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21459         prototype or function definition.  Rename ubp_* variables and
21460         parameters.  Remove argv definitions conditional on
21461         [__BOUNDED_POINTERS__].
21462         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21463         * elf/dl-runtime.c (_dl_fixup): Likewise.
21464         * include/set-hooks.h (RUN_HOOK): Likewise.
21465         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21466         definition.
21467         * string/strcpy.c (strcpy): Do not use __unbounded.
21468         * sysdeps/generic/frame.h (struct layout): Likewise.
21469         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21470         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21471         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21472         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21473         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21474         (__backtrace): Likewise.
21475         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21476         use __ptrvalue.
21477         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21478         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21479         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21480         Likewise.
21481         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21482         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21484         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21485         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21486         Do not use __unbounded.
21487         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21488         Rename __unboundedrlimits parameter to rlimits in prototype.
21489         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21490         Do not use __unbounded.
21491         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21492         not use __ptrvalue.
21493         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21494         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21495         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21496         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21497         __ptrvalue or __unbounded.
21498         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21499         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21500         use __unbounded.
21501         (__new_msgctl): Do not use __ptrvalue.
21502         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21503         __unbounded.
21504         (__libc_msgrcv): Do not use __ptrvalue.
21505         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21506         startup_info): Do not use __unbounded.
21507         (__libc_start_main): Likewise.  Rename ubp_* variables and
21508         parameters.  Remove argv definitions conditional on
21509         [__BOUNDED_POINTERS__].
21510         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21511         __ptrvalue.
21512         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21513         use __unbounded.
21514         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21515         or __ptrvalue.
21516         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21517         use __unbounded.
21518         (__new_shmctl): Do not use __ptrvalue.
21519         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21520         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21521         Likewise.
21522         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21523         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21524         (__libc_sigaction): Likewise.
21525         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21526         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21527         Likewise.
21528         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21529
21530 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21531
21532         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21533
21534         * string/mempcpy.c: Implement by calling memcpy.
21535
21536 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21537
21538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21539
21540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21541         evaluation.
21542
21543         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21544         values in the mantissa.
21545
21546         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21547         minimize writes to Z.
21548         (sub_magnitudes): Simplify code a bit.
21549
21550 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21551
21552         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21553         from the message.  The linker prefixes all warnings with that already.
21554
21555 2013-02-12  Andreas Schwab  <schwab@suse.de>
21556
21557         [BZ #15078]
21558         * posix/regexec.c (extend_buffers): Add parameter min_len.
21559         (check_matching): Pass minimum needed length.
21560         (clean_state_log_if_needed): Likewise.
21561         (get_subexp): Likewise.
21562         * posix/Makefile (tests): Add bug-regex34.
21563         (bug-regex34-ENV): Define.
21564         * posix/bug-regex34.c: New file.
21565
21566         [BZ #11561]
21567         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21568         elements compare against the byte sequence of it, not its name.
21569         * posix/Makefile (tests): Add bug-regex35.
21570         (bug-regex35-ENV): Define.
21571         * posix/bug-regex35.c: New file.
21572
21573 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21574
21575         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21576         comment.
21577         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21578         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21579         (CHECK_EOL): Add undef.
21580
21581 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21582
21583         * bits/stdlib-bsearch.h: New file.
21584         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21585         * stdlib/stdlib.h: Likewise.
21586
21587 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21588
21589         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21590         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21591         declaration.
21592         * manual/search.texi (Array Search Function): Add missing const in
21593         lfind prototype.
21594         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21595         declaration to use rlim_t.
21596         (Basic Scheduling Functions): Remove erroneous const from
21597         sched_getparam prototype.  Remove erroneous * from
21598         sched_get_priority_max and sched_get_priority_min prototypes.
21599         (Resource Usage): Fix summary @comment on vtimes to refer to
21600         sys/vtimes.h rather than vtimes.h.
21601         Add missing *s in vtimes prototype.
21602         (Limits on Resources): Fix ulimit prototype to return long int.
21603         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21604         prototypes to use long int rather than double.
21605         (BSD Random): Fix initstate and setstate to use char *, not void *.
21606         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21607         prototype to make second argument 'struct aiocb64 *const[]'.
21608         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21609         (Status of AIO Operations): Remove erroneous const in aio_return and
21610         aio_return64 prototypes.
21611         (Synchronizing I/O): Fix sync prototype to return void.
21612         * manual/startup.texi (Suboptions): Remove an erroneous const in
21613         getsubopt prototype.
21614         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21615         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21616         use size_t rather than int.
21617         (Scanning All Users): Likewise for getpwent_r.
21618         (Setting Groups): Add missing const to setgroups prototype.
21619         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21620         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21621         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21622         'const void *' rather than 'const char *'.
21623         (Host Address Functions): Likewise for inet_ntop.
21624         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21625         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21626         ssize_t for return value.
21627         (Sending Data): Likewise for send, sendto, sendmsg.
21628         (Socket Option Functions): Add a missing const in setsockopt prototype.
21629         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21630         use wchar_t for the argument.
21631         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21632         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21633         take no arguments.
21634         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21635         double/float/long double for second argument.
21636         Fix return types of significand, significandf, significandl.
21637         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21638         argument in fchmod prototype.
21639         (File Owner): Use uid_t and gid_t in fchown prototype.
21640         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21641         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21642         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21643         use 'const struct dirent **' as argument types to CMP function pointer
21644         argument.
21645         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21646         (File Times): Fix summary magic @comment for struct utimbuf and utime
21647         to refer to utime.h, not time.h.
21648         * manual/string.texi (Argz Functions): Add missing const in
21649         argz_extract and argz_next prototypes.
21650         (Finding Tokens in a String): Likewise for basename.
21651         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21652         (Copying and Concatenation): Fix typo in wmemmove prototype.
21653         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21654         (Signal Stack): Remove erroneous const in sigstack prototype.
21655         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21656         prototype.
21657         (Simple Calendar Time): Likewise for stime.
21658         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21659         prototype.
21660         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21661         say sys/sysctl.h instead.
21662         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21663         and vsyslog prototypes.
21664
21665 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21666
21667         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21668         Remove.
21669
21670 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21671
21672         * misc/sys/mman.h: Fix typo in mremap comment.
21673
21674 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21675
21676         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21677         the '\0' terminator.
21678
21679 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21680
21681         [BZ #13550]
21682         * debug/segfault.c: Don't include <bp-checks.h>.
21683         * sysdeps/generic/bp-checks.h: Remove file.
21684         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21685         (__GETDENTS): Don't use CHECK_N.
21686         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21687         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21688         (__getgroups): Don't use CHECK_N.
21689         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21690         (setgroups): Don't use CHECK_N.
21691         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21692         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21693         (__libc_msgrcv): Don't use CHECK_N.
21694         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21695         (__libc_msgsnd): Don't use CHECK_N.
21696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21697         <bp-checks.h>.
21698         (__libc_pread): Don't use CHECK_N.
21699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21700         include <bp-checks.h>.
21701         (__libc_pread64): Don't use CHECK_N.
21702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21703         include <bp-checks.h>.
21704         (__libc_pwrite): Don't use CHECK_N.
21705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21706         include <bp-checks.h>.
21707         (__libc_pwrite64): Don't use CHECK_N.
21708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21709         <bp-checks.h>.
21710         (__libc_pread): Don't use CHECK_N.
21711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21712         include <bp-checks.h>.
21713         (__libc_pread64): Don't use CHECK_N.
21714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21715         include <bp-checks.h>.
21716         (__libc_pwrite): Don't use CHECK_N.
21717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21718         include <bp-checks.h>.
21719         (__libc_pwrite64): Don't use CHECK_N.
21720         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21721         (do_pread): Don't use CHECK_N.
21722         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21723         (do_pread64): Don't use CHECK_N.
21724         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21725         (do_pwrite): Don't use CHECK_N.
21726         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21727         (do_pwrite64): Don't use CHECK_N.
21728         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21729         (__libc_readv): Don't use CHECK_N.
21730         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21731         (semop): Don't use CHECK_N.
21732         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21733         <bp-checks.h>.
21734         (semtimedop): Don't use CHECK_N.
21735         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21736         (__libc_pread): Don't use CHECK_N.
21737         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21738         <bp-checks.h>.
21739         (__libc_pread64): Don't use CHECK_N.
21740         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21741         <bp-checks.h>.
21742         (__libc_pwrite): Don't use CHECK_N.
21743         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21744         <bp-checks.h>.
21745         (__libc_pwrite64): Don't use CHECK_N.
21746         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21747         <bp-checks.h>.
21748         (__libc_msgrcv): Don't use CHECK_N.
21749         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21750         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21751         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21752         (__libc_writev): Don't use CHECK_N.
21753
21754 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21755
21756         * string/strcpy.c: Removed unused variable.
21757
21758         * Makeconfig (+sysdep-includes): Define with := rather than =.
21759         Use an existing include/ subdir of each sysdeps dir before it.
21760
21761 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21762
21763         * nscd/connection.c (register_traced_file): Comment function.
21764         [HAVE_INOTIFY] (union __inev): Define.
21765         [HAVE_INOTIFY] (inotify_check_files): New function.
21766         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21767         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21768         clear_db_cache.
21769         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21770
21771 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21772
21773         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21774         loaded if not already and that a failure is permanent.
21775
21776 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21777
21778         [BZ #15006]
21779         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21780         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21781
21782 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21783
21784         [BZ #13550]
21785         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21786         (CHECK_1_NULL_OK): Likewise.
21787         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21788         (__fxstat): Do not use CHECK_1.
21789         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21790         <bp-checks.h>.
21791         (___fxstat64): Do not use CHECK_1.
21792         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21793         <bp-checks.h>.
21794         (__fxstatat): Do not use CHECK_1.
21795         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21796         <bp-checks.h>.
21797         (__fxstatat64): Do not use CHECK_1.
21798         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21799         <bp-checks.h>.
21800         (__fxstat): Do not use CHECK_1.
21801         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21802         <bp-checks.h>.
21803         (__fxstatat): Do not use CHECK_1.
21804         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21805         <bp-checks.h>.
21806         (__getresgid): Do not use CHECK_1.
21807         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21808         <bp-checks.h>.
21809         (__getresuid): Do not use CHECK_1.
21810         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21811         <bp-checks.h>.
21812         (__lxstat): Do not use CHECK_1.
21813         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21814         <bp-checks.h>.
21815         (__old_msgctl): Do not use CHECK_1.
21816         (__new_msgctl): Likewise.
21817         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21818         <bp-checks.h>.
21819         (__new_setrlimit): Do not use CHECK_1.
21820         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21821         <bp-checks.h>.
21822         (__old_shmctl): Do not use CHECK_1.
21823         (__new_shmctl): Likewise.
21824         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21825         <bp-checks.h>.
21826         (__xstat): Do not use CHECK_1.
21827         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21828         (__lxstat): Do not use CHECK_1.
21829         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21830         <bp-checks.h>.
21831         (___lxstat64): Do not use CHECK_1.
21832         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21833         (__old_msgctl): Do not use CHECK_1.
21834         (__new_msgctl): Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21836         <bp-checks.h>.
21837         (__gettimeofday): Do not use CHECK_1.
21838         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21839         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21840         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21841         <bp-checks.h>.
21842         (__gettimeofday): Do not use CHECK_1.
21843         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21844         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21845         (__new_shmctl): Do not use CHECK_1.
21846         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21847         <bp-checks.h>.
21848         (do_sigtimedwait): Do not use CHECK_1.
21849         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21850         <bp-checks.h>.
21851         (do_sigwaitinfo): Do not use CHECK_1.
21852         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21853         <bp-checks.h>.
21854         (msgctl): Do not use CHECK_1.
21855         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21856         <bp-checks.h>.
21857         (shmctl): Do not use CHECK_1.
21858         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21859         (ustat): Do not use CHECK_1.
21860         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21861         <bp-checks.h>.
21862         (__fxstat): Do not use CHECK_1.
21863         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21864         <bp-checks.h>.
21865         (__fxstatat): Do not use CHECK_1.
21866         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21867         <bp-checks.h>.
21868         (__lxstat): Do not use CHECK_1.
21869         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21870         <bp-checks.h>.
21871         (__xstat): Do not use CHECK_1.
21872         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21873         (__xstat): Do not use CHECK_1.
21874         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21875         (___xstat64): Do not use CHECK_1.
21876
21877         [BZ #13550]
21878         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21879         definitions.
21880         (CHECK_BOUNDS_HIGH): Likewise.
21881         * string/strcpy.c: Do not include <bp-checks.h>.
21882         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21883
21884 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21885
21886         * nscd/nscd-client.h (__nscd_drop_map_ref):
21887         Add __attribute__ ((unused)).
21888         * nis/nss-nisplus.h (niserr2nss): Likewise.
21889
21890         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21891         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21892
21893         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21894         Remove inline keyword.
21895         * include/rounding-mode.h (round_away): Likewise.
21896         * libio/wfileops.c (adjust_wide_data): Likewise.
21897         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21898         (__m128i_strloadu_tolower): Likewise.
21899         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21900         (__m128i_strloadu_tolower): Likewise.
21901         * time/mktime.c (ydhms_diff): Likewise.
21902         * locale/elem-hash.h (elem_hash): Likewise.
21903         * locale/setlocale.c (setdata): Likewise.
21904         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21905         (re_string_wchar_at): Likewise.
21906         (bitset_not, bitset_merge, bitset_mask): Likewise.
21907         [!(__GNUC__ > 3)] (inline): Remove macro.
21908         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21909         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21910         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21911         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21912         * string/memcmp.c (memcmp_bytes): Likewise.
21913         * locale/programs/locarchive.c (compute_hashval): Likewise.
21914         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21915         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21916         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21917         * nss/getent.c (print_rpc, print_protocols): Likewise.
21918         (print_passwd, print_group, print_aliases): Likewise.
21919         * nis/nss-nisplus.h (niserr2nss): Likewise.
21920         * nscd/connections.c (restart_p): Likewise.
21921         Change return type to bool.
21922
21923 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21924
21925         * Makeconfig (all-Depend-files): Add existing
21926         $(sorted-subdirs:=/Depend) files.
21927         (all-subdirs): Remove nss.
21928         * sysdeps/unix/inet/Subdirs: Add it here instead.
21929         * hesiod/Depend: New file.
21930
21931         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21932         instead of calling alloca.
21933
21934         * io/lseek.c (__lseek): Rename to __libc_lseek.
21935         Define __lseek as an alias.
21936
21937         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21938
21939 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21940
21941         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21942         else clause and remove check for non-standard endianness.
21943
21944 2013-02-04  David S. Miller  <davem@davemloft.net>
21945
21946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21947
21948 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21949
21950         [BZ #13550]
21951         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21952         (__ubp_memchr): Remove prototype.
21953         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21954         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21955         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21956         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21957         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21958         Remove alias.
21959         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21960         (__ubp_memchr): Likewise.
21961         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21962         (__ubp_memchr): Likewise.
21963         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21964         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21965         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21966         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21967         CHECK_STRING.
21968         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21969         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21970         (__getcwd): Do not use CHECK_STRING.
21971         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21972         <bp-checks.h>.
21973         (__real_chown): Do not use CHECK_STRING.
21974         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21975         <bp-checks.h>.
21976         (fchownat): Do not use CHECK_STRING.
21977         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21978         CHECK_STRING.
21979         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21980         <bp-checks.h>.
21981         (__lchown): Do not use CHECK_STRING.
21982         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21983         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21984         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21985         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21987         include <bp-checks.h>.
21988         (truncate64): Do not use CHECK_STRING.
21989         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21990         <bp-checks.h>.
21991         (__real_chown): Do not use CHECK_STRING.
21992         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21993         <bp-checks.h>.
21994         (__lchown): Do not use CHECK_STRING.
21995         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21996         <bp-checks.h>.
21997         (__chown): Do not use CHECK_STRING.
21998         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21999         <bp-checks.h>.
22000         (truncate64): Do not use CHECK_STRING.
22001         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22002         Likewise.
22003         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22004         (__xmknod): Do not use CHECK_STRING.
22005         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22006         <bp-checks.h>.
22007         (__xmknodat): Do not use CHECK_STRING.
22008         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22009         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22010
22011 2013-02-04  Andreas Schwab  <schwab@suse.de>
22012
22013         [BZ #14142]
22014         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22015         * include/netdb.h: Likewise for h_errno.
22016         * elf/tst-stackguard1.c: Include <tls.h>.
22017
22018 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22019
22020         * elf/link.h (struct link_map): Extend the l_addr comment.
22021         * include/link.h (struct link_map): Likewise.
22022
22023 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22024
22025         [BZ #13550]
22026         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22027         (BOUNDED_1): Remove macro.
22028         * debug/backtrace.c: Don't include <bp-checks.h>.
22029         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22030         (__backtrace): Likewise.
22031         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22032         <bp-checks.h>.
22033         (__backtrace): Don't use BOUNDED_1.
22034         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22035         <bp-checks.h>.
22036         (__backtrace): Don't use BOUNDED_1.
22037         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22038         (__backtrace): Don't use BOUNDED_1.
22039         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22040         (shmat): Don't use BOUNDED_N.
22041
22042 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22043
22044         [BZ #13550]
22045         * sysdeps/generic/bp-start.h: Remove file.
22046         * csu/libc-start.c: Don't include <bp-start.h>.
22047         (LIBC_START_MAIN): Set up __environ directly instead of using
22048         INIT_ARGV_and_ENVIRON.
22049         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22050         <bp-start.h>.
22051
22052         [BZ #13550]
22053         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22054         definitions.
22055         (CHECK_FCNTL): Likewise.
22056         (CHECK_N_PAGES): Likewise.
22057
22058         [BZ #13550]
22059         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22060         definitions.
22061         (CHECK_SIGSET_NULL_OK): Likewise.
22062         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22063         <bp-checks.h>.
22064         (sigpending): Don't use CHECK_SIGSET.
22065         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22066         <bp-checks.h>.
22067         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22068         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22069         <bp-checks.h>.
22070         (do_sigsuspend): Don't use CHECK_SIGSET.
22071         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22072         use CHECK_SIGSET.
22073         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22074         (do_sigwait): Don't use CHECK_SIGSET.
22075         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22076         use CHECK_SIGSET.
22077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22078         include <bp-checks.h>.
22079         (sigpending): Don't use CHECK_SIGSET.
22080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22081         include <bp-checks.h>.
22082         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22083         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22084         <bp-checks.h>.
22085         (sigpending): Don't use CHECK_SIGSET.
22086         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22087         <bp-checks.h>.
22088         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22089
22090         [BZ #13550]
22091         * sysdeps/generic/bp-semctl.h: Remove file.
22092         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22093         <bp-checks.h> and <bp-semctl.h>.
22094         (__old_semctl): Don't use CHECK_SEMCTL.
22095         (__new_semctl): Likewise.
22096         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22097         and <bp-semctl.h>.
22098         (__old_semctl): Don't use CHECK_SEMCTL.
22099         (__new_semctl): Likewise.
22100         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22101         <bp-checks.h> and <bp-semctl.h>.
22102         (__old_semctl): Don't use CHECK_SEMCTL.
22103         (__new_semctl): Likewise.
22104         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22105         <bp-checks.h> and <bp-semctl.h>.
22106         (semctl): Don't use CHECK_SEMCTL.
22107
22108         [BZ #13550]
22109         * Makerules (elide-bp-thunks): Remove variable.
22110         (elide-routines.oS): Don't use $(elide-bp-thunks).
22111         (elide-routines.os): Likewise.
22112         (elide-routines.o): Likewise.
22113         (elide-routines.op): Likewise.
22114         (elide-routines.og): Likewise.
22115         (objects): Don't use $(bp-thunks).
22116         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22117         include.
22118         (common-generated): Do not add s-proto-bp.d.
22119         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22120         (int): Likewise.
22121         (typ): Likewise.
22122         Do not generate makefile rules for bounded-pointer thunks.
22123         * sysdeps/generic/bp-thunks.h: Remove file.
22124         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22125         * sysdeps/unix/s-proto-bp.S: Likewise.
22126
22127         [BZ #15062]
22128         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22129         parts of result separately when argument is not close to line from
22130         -i to i and one part of argument is small.
22131         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22132         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22133         * math/libm-test.inc (cacos_test): Add more tests.
22134         (casin_test): Likewise.
22135         (casinh_test): Likewise.
22136         * sysdeps/i386/fpu/libm-test-ulps: Update.
22137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22138
22139 2013-01-31  David S. Miller  <davem@davemloft.net>
22140
22141         * po/de.po: Update from translation team.
22142
22143 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22144
22145         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22146
22147 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22148
22149         * configure.in (_AC_PROG_CC_C89): New definition.
22150         * configure: Regenerate.
22151
22152         * configure.in (AC_PROG_CPP): New definition.
22153         * configure: Regenerate.
22154
22155 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22156
22157         * debug/tst-backtrace.h: New file.
22158         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22159         (ret): Remove variable.
22160         (x): Likewise.
22161         (FAIL): Remove macro.
22162         (NO_INLINE): Likewise.
22163         (fn1): Use match function instead of strstr.
22164         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22165         (ret): Remove variable.
22166         (x): Likewise.
22167         (FAIL): Remove macro.
22168         (NO_INLINE): Likewise.
22169         (fn): Use match function instead of strstr.
22170         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22171         (ret): Remove variable.
22172         (x): Likewise.
22173         (FAIL): Remove macro.
22174         (NO_INLINE): Likewise.
22175         (handle_signal): Use match function instead of strstr.
22176         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22177         (ret): Remove variable.
22178         (x): Likewise.
22179         (FAIL): Remove macro.
22180         (NO_INLINE): Likewise.
22181         (handle_signal): Use match function instead of strstr.
22182
22183 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22184
22185         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22186
22187 2013-01-23  David S. Miller  <davem@davemloft.net>
22188
22189         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22190         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22191         argument of CAS if possible.
22192         * sysdeps/sparc/sparc64/bits/atomic.h
22193         (__arch_compare_and_exchange_val_32_acq): Likewise.
22194         (__arch_compare_and_exchange_val_64_acq): Likewise.
22195
22196 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22197
22198         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22199         * sysdeps/posix/ulimit.c: ... this.
22200         Include <limits.h>.
22201         * sysdeps/unix/bsd/ulimit.c: Remove file.
22202
22203 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22204
22205         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22206         (LDFLAGS-tst-array5): Likewise.
22207
22208 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22209
22210         [BZ #15036]
22211         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22212         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22213         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22214         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22215
22216 2013-01-21  David S. Miller  <davem@davemloft.net>
22217
22218         * sysdeps/sparc/backtrace.c: New file.
22219         * sysdeps/sparc/sparc32/backtrace.h: New file.
22220         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22221         * sysdeps/sparc/sparc64/backtrace.h: New file.
22222         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22223         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22224         -funwind-tables.
22225
22226 2013-01-21  Andreas Schwab  <schwab@suse.de>
22227
22228         [BZ #15020]
22229         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22230         closed its stdout.
22231
22232 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22233
22234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22235         "mpa2.h".
22236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22237
22238 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22239             Mark Mitchell  <mark@codesourcery.com>
22240             Tom de Vries  <tom@codesourcery.com>
22241             Paul Pluzhnikov  <ppluzhnikov@google.com>
22242
22243         * debug/tst-backtrace2.c: New file.
22244         * debug/tst-backtrace3.c: Likewise.
22245         * debug/tst-backtrace4.c: Likewise.
22246         * debug/tst-backtrace5.c: Likewise.
22247         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22248         (CFLAGS-tst-backtrace3.c): Likewise.
22249         (CFLAGS-tst-backtrace4.c): Likewise.
22250         (CFLAGS-tst-backtrace5.c): Likewise.
22251         (LDFLAGS-tst-backtrace2): Likewise.
22252         (LDFLAGS-tst-backtrace3): Likewise.
22253         (LDFLAGS-tst-backtrace4): Likewise.
22254         (LDFLAGS-tst-backtrace5): Likewise.
22255         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22256         tst-backtrace4 and tst-backtrace5.
22257
22258 2013-01-18  Anton Blanchard  <anton@samba.org>
22259             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22260
22261         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22262         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22263         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22264         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22266         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22267         "+r" and remove output regs list as redundant.  Add explicit inline
22268         asm to specify register of return val to work around compiler codegen
22269         bug.  Remove (int) cast on return value.  Add return type parameter to
22270         use in macro so that this macro does not truncate return value for
22271         64-bit values.
22272         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22273         pass to INTERNAL_VSYSCALL_NCS.
22274         (INLINE_VSYSCALL): Add 'long int' as return type to
22275         INTERNAL_VSYSCALL_NCS macro invocation.
22276         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22277         INTERNAL_VSYSCALL_NCS macro invocation.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22279
22280 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22281
22282         [BZ #14496]
22283         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22284         Fix application of SIMD FP exception mask.
22285
22286         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22287         mp_no from a power of two.
22288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22289         __mpexp_twomm1.  Use __pow_mp.
22290
22291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22292         multiplication.
22293
22294 2013-01-17  David S. Miller  <davem@davemloft.net>
22295
22296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22297
22298 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22299
22300         [BZ #15023]
22301         * include/complex.h: Condition contents on [!_COMPLEX_H].
22302         (__kernel_casinhf): New prototype.
22303         (__kernel_casinh): Likewise.
22304         (__kernel_casinhl): Likewise.
22305         * math/Makefile (libm_calls): Add k_casinh.
22306         * math/k_casinh.c: New file.
22307         * math/k_casinhf.c: Likewise.
22308         * math/k_casinhl.c: Likewise.
22309         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22310         finite nonzero arguments.
22311         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22312         finite nonzero arguments.
22313         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22314         finite nonzero arguments.
22315         * math/s_casinh.c: Do not include <float.h>.
22316         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22317         * math/s_casinhf.c: Do not include <float.h>.
22318         (__casinhf): Move code for finite nonzero arguments to
22319         k_casinhf.c.
22320         * math/s_casinhl.c: Do not include <float.h>.
22321         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22322         redefine.
22323         (__casinhl): Move code for finite nonzero arguments to
22324         k_casinhl.c.
22325         * math/libm-test.inc (cacos_test): Add more tests.
22326         * sysdeps/i386/fpu/libm-test-ulps: Update.
22327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22328
22329 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22330
22331         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22332         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22333         [!HAVE_MREMAP]: Remove [defined linux] case.
22334         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22335
22336 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22337
22338         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22339
22340 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22341
22342         * elf/elf.h (R_386_SIZE32): New relocation.
22343         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22344         R_386_SIZE32.
22345         (elf_machine_rela): Likewise.
22346         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22347         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22348
22349 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22350
22351         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22352         (FP_FAST_FMA): Do not define.
22353         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22354         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22355         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22356         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22357         !_SOFT_FLOAT]: Likewise.
22358         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22359         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22360         value.
22361         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22362         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22363         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22365         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22366         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22367         file.
22368
22369 2013-01-16  Andreas Schwab  <schwab@suse.de>
22370
22371         [BZ #14327]
22372         * include/stdlib.h (__mktemp): Add declaration.
22373         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22374         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22375
22376 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22377
22378         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22379         definitions.
22380         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22381         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22382         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22383         definitions here.
22384         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22385         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22386         definitions.
22387         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22388         and ONE.
22389         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22390         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22391         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22392         definitions.
22393         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22394         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22395         definitions.
22396         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22397
22398         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22399
22400 2013-01-15  David S. Miller  <davem@davemloft.net>
22401
22402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22403         trunc{,f} to libm-sysdep_routes.
22404         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22406         file.
22407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22409         file.
22410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22411         file.
22412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22414         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22415         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22416         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22417         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22418         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22419         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22420
22421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22422         nearbyint{,f} to libm-sysdep_routes.
22423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22425         New file.
22426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22427         file.
22428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22429         New file.
22430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22431         file.
22432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22434         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22435         file.
22436         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22438         file.
22439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22440         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22441         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22442
22443         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22444         libc_feholdexcept and libc_fesetenv.
22445
22446 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22447
22448         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22449
22450 2013-01-14  David S. Miller  <davem@davemloft.net>
22451
22452         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22453         (SPARC_ASM_VIS2_IFUNC): Likewise.
22454         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22456         use of 'siam' instruction.
22457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22458         Likewise.
22459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22460         Likewise.
22461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22462         Likewise.
22463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22468         file.
22469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22470         file.
22471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22472         file.
22473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22474         file.
22475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22476         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22477         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22478         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22480         new VIS2 routines.
22481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22484         Likewise.
22485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22490         routines to libm-sysdep_routines.
22491         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22492
22493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22494         fdim/fdimf to libm-sysdep_routines.
22495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22496         file.
22497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22499         file.
22500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22503         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22504         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22505         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22506         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22507
22508 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22509
22510         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22511         to optimize copies.
22512
22513         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22516
22517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22518         local variable MPTWO.
22519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22520         Likewise.
22521
22522 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22523
22524         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22525         GLOB_NOESCAPE.
22526
22527 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22528
22529         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22530
22531 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22532
22533         * manual/pattern.texi (glob_t): Document gl_flags.
22534         (glob64_t): Likewise.
22535
22536 2013-01-11  David S. Miller  <davem@davemloft.net>
22537
22538         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22539         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22540         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22541         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22542         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22543         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22544         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22545         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22546         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22547         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22548         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22549         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22550         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22551
22552         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22553         sparc V9 rather than using V8 code.
22554         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22555         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22556
22557         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22558         Move to...
22559         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22560         Here.
22561
22562 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22563
22564         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22565         not in the main loop.
22566         * configure: Regenerated.
22567
22568 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22569
22570         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22571         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22572         to just #else.
22573         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22574         [!__GLIBC_HAVE_LONG_LONG] case.
22575         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22576         condition to just #else.
22577         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22578         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22579         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22580         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22581         unconditional.
22582         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22583         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22584         #elif condition to just #else.
22585         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22586         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22587         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22588         #elif condition to just #else.
22589
22590 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22591
22592         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22593         (EF_MIPS_ARCH_64): Fix value.
22594         (EF_MIPS_ARCH_32R2): New.
22595         (EF_MIPS_ARCH_64R2): New.
22596
22597 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22598
22599         * Makeconfig (+link-pie-before-libc): New.
22600         (+link-pie-after-libc): Likewise.
22601         (+link-pie-tests): Likewise.
22602         (+link-pie): Rewritten.
22603         (link-before-libc): Remove $(config-LDFLAGS).
22604         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22605         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22606         (config-LDFLAGS): Renamed to ...
22607         (rtld-LDFLAGS): This.
22608         (rtld-tests-LDFLAGS): New macro.
22609         (link-libc-rpath-link): Likewise.
22610         (link-libc-tests-rpath-link): Likewise.
22611         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22612         (link-libc): Prepand $(link-libc-rpath-link).
22613         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22614         (test-program-prefix): New macro.
22615         (test-via-rtld-prefix): Likewise.
22616         (test-program-cmd): Likewise.
22617         (host-test-program-cmd): Likewise.
22618         * Makefile ($(common-objpfx)testrun.sh): Replace
22619         $(run-program-prefix) with $(test-program-prefix).
22620         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22621         $(rtld-LDFLAGS).
22622         ($(common-objpfx)shlib.lds): Likewise.
22623         (build-module-helper): Likewise.
22624         ($(common-objpfx)format.lds): Likewise.
22625         * Rules (binaries-pie-tests): New.
22626         (binaries-pie-notests): Likewise.
22627         (binaries-pie): Rewritten.
22628         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22629         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22630         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22631         (make-test-out): Replace $(host-built-program-cmd) with
22632         $(host-test-program-cmd).
22633         * config.make.in (build-hardcoded-path-in-tests): New variable.
22634         * configure.in (--enable-hardcoded-path-in-tests): New configure
22635         option.
22636         (hardcoded_path_in_tests): New AC_SUBST.
22637         * configure: Regenerated.
22638         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22639         $(built-program-cmd) with $(test-program-cmd).
22640         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22641         (test_program_cmd): This.
22642         * elf/Makefile ($(objpfx)order.out): Run test with
22643         $(test-program-prefix).
22644         ($(objpfx)order2.out): Likewise.
22645         ($(objpfx)tst-initorder.out): Likewise.
22646         ($(objpfx)tst-initorder2.out): Likewise.
22647         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22648         $(test-program-cmd).
22649         ($(objpfx)tst-array1-static.out): Likewise.
22650         ($(objpfx)tst-array2.out): Likewise.
22651         ($(objpfx)tst-array3.out): Likewise.
22652         ($(objpfx)tst-array4.out): Likewise.
22653         ($(objpfx)tst-array5.out): Likewise.
22654         ($(objpfx)tst-array5-static.out): Likewise.
22655         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22656         $(test-program-cmd).
22657         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22658         $(run-program-prefix) with $(test-program-prefix).
22659         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22660         (test_program_prefix): This.
22661         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22662         $(run-program-prefix) with $(test-program-prefix).
22663         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22664         (test_program_prefix): This.
22665         * iconvdata/tst-tables.sh: Likewise.
22666         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22667         $(run-program-prefix) with $(test-program-prefix).
22668         ($(objpfx)tst-translit.out): Likewise.
22669         ($(objpfx)tst-gettext2.out): Likewise.
22670         ($(objpfx)tst-gettext4.out): Likewise.
22671         ($(objpfx)tst-gettext6.out): Likewise.
22672         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22673         (test_program_prefix): This.
22674         * intl/tst-gettext2.sh: Likewise.
22675         * intl/tst-gettext4.sh  Likewise.
22676         * intl/tst-gettext6.sh: Likewise.
22677         * intl/tst-translit.sh: Likewise.
22678         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22679         with $(test-program-cmd).
22680         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22681         $(run-program-prefix) with $(test-program-prefix).
22682         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22683         (test_program_prefix): This.
22684         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22685         $(run-program-prefix) with $(test-program-prefix).
22686         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22687         (test_program_prefix): This.
22688         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22689         * posix/Makefile ($(objpfx)globtest.out): Replace
22690         $(run-via-rtld-prefix) and $(test-wrapper) with
22691         $(test-program-prefix) and $(test-via-rtld-prefix).
22692         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22693         $(test-program-prefix).
22694         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22695         $(host-test-program-cmd).
22696         (tst-spawn-ARGS): Likewise.
22697         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22698         $(test-program-prefix).
22699         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22700         (test_via_rtld_prefix): This.
22701         (test_wrapper): Renamed to ...
22702         (test_program_prefix): This.
22703         (run_program_prefix): Replaced by test_program_prefix.
22704         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22705         (test_program_prefix): This.
22706         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22707         with $(host-test-program-cmd).
22708         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22709         $(run-program-prefix) with $(test-program-prefix).
22710         ($(objpfx)tst-printf.out): Likewise.
22711         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22712         $(test-program-cmd).
22713         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22714         (test_program_prefix): This.
22715         * stdio-common/tst-unbputc.sh: Likewise.
22716         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22717         $(run-program-prefix) with $(test-program-prefix).
22718         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22719         (test_program_prefix): This.
22720         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22721         $(built-program-cmd) with $(test-program-cmd).
22722
22723 2013-01-11  Andreas Jaeger  <aj@suse.de>
22724
22725         [BZ #15003]
22726         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22727         value. Sync with Linux 3.7.
22728
22729 2013-01-10  David S. Miller  <davem@davemloft.net>
22730
22731         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22732         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22733         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22734
22735 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22736
22737         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22738         never set.
22739         * configure: Regenerated.
22740
22741 2013-01-10  David S. Miller  <davem@davemloft.net>
22742
22743         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22744         sparc V9 rather than using V8 code.
22745         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22746         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22747
22748 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22749
22750         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22751         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22752         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22753         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22754         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22755         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22756         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22757         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22758         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22759         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22760         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22761         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22762         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22763         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22764         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22765         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22766         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22767         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22768         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22769         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22770         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22771         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22772         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22773         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22774         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22775         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22776         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22777
22778 2013-01-10  David S. Miller  <davem@davemloft.net>
22779
22780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22781
22782 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22783
22784         * posix/Makefile (tests-static): New variable.
22785         (tests): Add $(tests-static).
22786         (tst-exec-static-ARGS): New variable.
22787         (tst-spawn-static-ARGS): Likewise.
22788         * posix/tst-exec-static.c: New file.
22789         * posix/tst-spawn-static.c: Likewise.
22790         * posix/tst-exec.c: Support run directly.
22791         * posix/tst-spawn.c: Likewise.
22792
22793 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22794
22795         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22796         long.
22797         * math/bits/mathcalls.h (llrint): Likewise.
22798         (llround): Likewise.
22799         * stdlib/stdlib.h (struct drand48_data): Likewise.
22800         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22801         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22802         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22803         Likewise.
22804         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22805         Likewise.
22806         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22807         (elf_greg_t): Likewise.
22808         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22809         (__jmp_buf): Likewise.
22810         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22811         definitions.
22812         (llrint): Likewise, for all definitions.
22813         (llrintl): Likewise.
22814
22815         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22816         Remove [__GNUC__] condition.
22817         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22818         condition to just [__USE_ISOC99].
22819         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22820
22821 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22822
22823         [BZ #14200]
22824         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22825         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22826         defined.
22827         (_POSIX_V6_ILP32_OFF32): Likewise.
22828         (_XBS5_ILP32_OFF32): Likewise.
22829         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22830         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22831
22832 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22833
22834         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22835
22836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22837         doubles __mpexp_twomm1.  Adjust usage.
22838         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22839         Remove.
22840
22841 2013-01-10  Andreas Schwab  <schwab@suse.de>
22842
22843         [BZ #14964]
22844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22845         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22846
22847 2013-01-09  David S. Miller  <davem@davemloft.net>
22848
22849         [BZ #15003]
22850         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22851         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22852         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22853         (TCP_FASTOPEN): Define.
22854         (tcp_repair_opt): New structure.
22855         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22856         enum values.
22857         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22858         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22859         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22860         (tcp_cookie_transactions): New structure.
22861
22862 2013-01-09  Anton Blanchard  <anton@samba.org>
22863
22864         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22865         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22866         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22867         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22868
22869 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22870
22871         * include/features.h (__USE_ANSI): Remove.
22872
22873 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22874
22875         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22876
22877         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22878
22879 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22880
22881         * sysdeps/s390/fpu/libm-test-ulps: Update.
22882
22883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22884
22885         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22886         (__acr): Likewise.
22887         (__cpy): Likewise.
22888         (norm): Likewise.
22889         (denorm): Likewise.
22890         (__mp_dbl): Likewise.
22891         (__dbl_mp): Likewise.
22892         (add_magnitudes): Likewise.
22893         (sub_magnitudes): Likewise.
22894         (__add): Likewise.
22895         (__sub): Likewise.
22896         (__mul): Likewise.
22897         (__inv): Likewise.
22898         (__dvd): Likewise.
22899         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22900         (__acr): Likewise.
22901         (__cpy): Likewise.
22902         (norm): Likewise.
22903         (denorm): Likewise.
22904         (__mp_dbl): Likewise.
22905         (__dbl_mp): Likewise.
22906         (add_magnitudes): Likewise.
22907         (sub_magnitudes): Likewise.
22908         (__add): Likewise.
22909         (__sub): Likewise.
22910         (__mul): Likewise.
22911         (__inv): Likewise.
22912         (__dvd): Likewise.
22913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22914         (__acr): Likewise.
22915         (__cpy): Likewise.
22916         (norm): Likewise.
22917         (denorm): Likewise.
22918         (__mp_dbl): Likewise.
22919         (__dbl_mp): Likewise.
22920         (add_magnitudes): Likewise.
22921         (sub_magnitudes): Likewise.
22922         (__add): Likewise.
22923         (__sub): Likewise.
22924         (__mul): Likewise.
22925         (__inv): Likewise.
22926         (__dvd): Likewise.
22927
22928 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22929
22930         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22931         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22932         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22933         2 && __USE_EXTERN_INLINES]: Likewise.
22934
22935 2013-01-08  Andreas Jaeger  <aj@suse.de>
22936
22937         [BZ# 14985]
22938         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22939         Remove.
22940         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22941         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22942
22943 2013-01-07  Anton Blanchard  <anton@samba.org>
22944
22945         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22946         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22947         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22948         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22949         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22950         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22951         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22952         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22954         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22955         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22956         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22957         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22958         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22959         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22960         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22961         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22963         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22964         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22965         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22966         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22968         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22969         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22970         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22971         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22972         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22974         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22975         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22977         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22978         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22979         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22980         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22981         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22982         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22983         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22984         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22985         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22986         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22987         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22988
22989 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22990
22991         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22992         (__MALLOC_PMT): Likewise.
22993         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22994         [__GNUC__], only on [_LIBC].
22995         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22996         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22997         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22998         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22999         forward declaration.
23000         (realloc_hook_ini): Likewise.
23001         (memalign_hook_ini): Likewise.
23002         (__libc_memalign): Do not use __MALLOC_PMT in variable
23003         declaration.
23004         (__libc_valloc): Likewise.
23005         (__libc_pvalloc): Likewise.
23006         (__libc_calloc): Likewise.
23007         (__posix_memalign): Likewise.
23008
23009         [BZ #14996]
23010         * math/s_casinh.c: Include <float.h>.
23011         (__casinh): Do not do computation with squaring and square root
23012         for large arguments.
23013         * math/s_casinhf.c: Include <float.h>.
23014         (__casinhf): Do not do computation with squaring and square root
23015         for large arguments.
23016         * math/s_casinhl.c: Include <float.h>.
23017         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23018         (__casinhl): Do not do computation with squaring and square root
23019         for large arguments.
23020         * math/libm-test.inc (casin_test): Add more tests.
23021         (casinh_test): Likewise.
23022         * sysdeps/i386/fpu/libm-test-ulps: Update.
23023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23024
23025 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23026
23027         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23028         (__x86_64_raw_data_cache_size): Likewise.
23029         (__x86_64_data_cache_size_half): Likewise.
23030         (__x86_64_raw_data_cache_size_half): Likewise.
23031         (__x86_64_shared_cache_size): Likewise.
23032         (__x86_64_raw_shared_cache_size): Likewise.
23033         (__x86_64_shared_cache_size_half): Likewise.
23034         (__x86_64_raw_shared_cache_size_half): Likewise.
23035         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23036         to ...
23037         (__x86_data_cache_size): This.
23038         (__x86_64_raw_data_cache_size): Renamed to ...
23039         (__x86_raw_data_cache_size): This.
23040         (__x86_64_data_cache_size_half): Renamed to ...
23041         (__x86_data_cache_size_half): This.
23042         (__x86_64_raw_data_cache_size_half): Renamed to ...
23043         (__x86_raw_data_cache_size_half): This.
23044         (__x86_64_shared_cache_size): Renamed to ...
23045         (__x86_shared_cache_size): This.
23046         (__x86_64_raw_shared_cache_size): Renamed to ...
23047         (__x86_raw_shared_cache_size): This.
23048         (__x86_64_shared_cache_size_half): Renamed to ...
23049         (__x86_shared_cache_size_half): This.
23050         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23051         (__x86_raw_shared_cache_size_half): This.
23052         * sysdeps/x86_64/memcpy.S: Updated.
23053         * sysdeps/x86_64/memset.S: Likewise.
23054         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23055         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23056         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23057
23058 2013-01-04  David S. Miller  <davem@davemloft.net>
23059
23060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23061
23062 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23063
23064         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23065         1 to avoid redefinition warning.
23066         (__USE_GNU): Don't define.
23067         (init_signaling_nan): Protoize.
23068
23069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23070
23071 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23072
23073         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23074         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23075         (__cpymn): Likewise.
23076         (norm): Remove commented code.
23077         (denorm): Likewise.
23078         (__mp_dbl): Likewise.
23079         (__inv): Likewise.
23080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23081         (__cpymn): Likewise.
23082         (norm): Remove commented code.
23083         (denorm): Likewise.
23084         (__mp_dbl): Likewise.
23085         (__inv): Likewise.
23086
23087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23088         mp_no value for 1.0 and 2.0.
23089         (norm): Use RADIXI instead of radixi.d.
23090         (denorm): Likewise.
23091         (__mul): Use 0.0 instead of zero.d.
23092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23093         mp_no value for 1.0 and 2.0.
23094         (norm): Use RADIXI instead of radixi.d.
23095         (denorm): Likewise.
23096         (__mul): Use 0.0 instead of zero.d.
23097
23098 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23099
23100         [BZ #14994]
23101         * math/s_casinh.c (__casinh): Reduce finite argument to first
23102         quadrant then set signs of results at the end.
23103         * math/s_casinhf.c (__casinhf): Likewise.
23104         * math/s_casinhl.c (__casinhl): Likewise.
23105         * math/libm-test.inc (casin_test): Add more tests.
23106         (casinh_test): Likewise.
23107         * sysdeps/i386/fpu/libm-test-ulps: Update.
23108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23109
23110 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23111
23112         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23113
23114         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23115
23116         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23117         declarations.
23118         (denorm): Likewise.
23119         (__mp_dbl): Likewise.
23120         (__inv): Likewise.
23121
23122         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23123         and adjust the header comment.
23124
23125         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23126         variable name from declaration.
23127
23128 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23129
23130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23131         Initialize COMMON_CPUID_INDEX_7 element.
23132         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23133         (CPUID_RTM): Likewise.
23134         (HAS_RTM): Likewise.
23135         (COMMON_CPUID_INDEX_7): New enum.
23136
23137 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23138
23139         [BZ #14981]
23140         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23141         size is zero, record memory as freed.
23142
23143 2013-01-03  Andreas Jaeger  <aj@suse.de>
23144
23145         * po/ia.po: Add new Interlingua translation.
23146
23147 2012-01-03  Allan McRae  <allan@archlinux.org>
23148
23149         * locale/programs/localedef.c: Fix description of '--posix' flag.
23150
23151 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23152
23153         * NEWS: Update dates in second copyright notice.
23154         * README: Update copyright dates in example.
23155         * manual/libc.texinfo: Update copyright dates.
23156         * scripts/test-installation.pl: Update copyright date in --version
23157         output.
23158
23159         * hurd/ctty-input.c: Fix copyright notice formatting.
23160         * hurd/ctty-output.c: Likewise.
23161         * hurd/dtable.c: Likewise.
23162         * hurd/hurd-raise.c: Likewise.
23163         * hurd/hurdprio.c: Likewise.
23164         * hurd/msgportdemux.c: Likewise.
23165         * misc/sys/file.h: Likewise.
23166         * misc/sys/ioctl.h: Likewise.
23167         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23168         * sysdeps/mach/hurd/chdir.c: Likewise.
23169         * sysdeps/mach/hurd/fchdir.c: Likewise.
23170         * sysdeps/mach/hurd/rename.c: Likewise.
23171         * sysdeps/mach/hurd/rmdir.c: Likewise.
23172         * sysdeps/mach/hurd/seekdir.c: Likewise.
23173         * sysdeps/mach/hurd/setsid.c: Likewise.
23174         * sysdeps/posix/wait3.c: Likewise.
23175
23176         * All files with FSF copyright notices: Update copyright dates
23177         using scripts/update-copyrights.
23178         * intl/plural.c: Regenerated.
23179         * locale/programs/charmap-kw.h: Likewise.
23180         * locale/programs/locfile-kw.h: Likewise.
23181
23182 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23183
23184         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23185         four values.
23186
23187         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23188         calculation loop and add branch prediction.
23189
23190         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23191         check access beyond bounds of m1np.
23192
23193         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23194         MPTWO.
23195         (__inv): Remove local variable MPTWO to use the global
23196         constant.
23197         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23199         variable MPTWO.
23200         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23201         MP3HALFS static const.
23202
23203 2013-01-01  David S. Miller  <davem@davemloft.net>
23204
23205         * po/ca.po: Update from translation team.
23206
23207 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23208
23209         * scripts/update-copyrights: New file.
23210         * Makeconfig: Reformat copyright notice.
23211         * ctype/ctype.h: Likewise.
23212         * debug/swprintf_chk.c: Likewise.
23213         * elf/dl-cache.c: Likewise.
23214         * elf/dl-debug.c: Likewise.
23215         * elf/dl-object.c: Likewise.
23216         * grp/initgroups.c: Likewise.
23217         * hurd/Makefile: Likewise.
23218         * hurd/hurd/signal.h: Likewise.
23219         * hurd/hurdfault.c: Likewise.
23220         * hurd/hurdioctl.c: Likewise.
23221         * hurd/hurdlookup.c: Likewise.
23222         * hurd/intr-msg.c: Likewise.
23223         * iconv/gconv_open.c: Likewise.
23224         * libio/swprintf.c: Likewise.
23225         * locale/lc-ctype.c: Likewise.
23226         * locale/nl_langinfo.c: Likewise.
23227         * mach/Machrules: Likewise.
23228         * mach/Makefile: Likewise.
23229         * malloc/obstack.h: Likewise.
23230         * manual/Makefile: Likewise.
23231         * manual/tsort.awk: Likewise.
23232         * misc/bits/stab.def: Likewise.
23233         * nis/nis_print_group_entry.c: Likewise.
23234         * nis/nis_table.c: Likewise.
23235         * nis/nss_compat/compat-pwd.c: Likewise.
23236         * nis/nss_compat/compat-spwd.c: Likewise.
23237         * po/Makefile: Likewise.
23238         * posix/fnmatch.c: Likewise.
23239         * posix/regex.h: Likewise.
23240         * resolv/Makefile: Likewise.
23241         * resolv/nss_dns/dns-network.c: Likewise.
23242         * resolv/res_hconf.c: Likewise.
23243         * scripts/gen-sorted.awk: Likewise.
23244         * soft-fp/soft-fp.h: Likewise.
23245         * stdio-common/printf.h: Likewise.
23246         * stdlib/monetary.h: Likewise.
23247         * stdlib/random.c: Likewise.
23248         * stdlib/random_r.c: Likewise.
23249         * sysdeps/generic/Makefile: Likewise.
23250         * sysdeps/gnu/Makefile: Likewise.
23251         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23253         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23255         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23258         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23259         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23260         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23261         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23262         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23263         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23264         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23265         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23266         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23267         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23268         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23269         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23271         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23272         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23273         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23274         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23275         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23276         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23277         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23278         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23279         * sysdeps/mach/hurd/errnos.awk: Likewise.
23280         * sysdeps/mach/hurd/fork.c: Likewise.
23281         * sysdeps/mach/hurd/getcwd.c: Likewise.
23282         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23283         * sysdeps/mach/hurd/mmap.c: Likewise.
23284         * sysdeps/mach/hurd/utimes.c: Likewise.
23285         * sysdeps/mach/hurd/xmknod.c: Likewise.
23286         * sysdeps/posix/profil.c: Likewise.
23287         * sysdeps/posix/readdir_r.c: Likewise.
23288         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23289         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23290         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23291         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23293         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23294         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23295         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23297         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23298         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23299         * sysdeps/pthread/lio_listio.c: Likewise.
23300         * sysdeps/sparc/dl-procinfo.h: Likewise.
23301         * sysdeps/unix/i386/sysdep.S: Likewise.
23302         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23303         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23304         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23305         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23307         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23308         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23309         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23310         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23311         * sysdeps/wordsize-32/divdi3.c: Likewise.
23312         * time/sys/time.h: Likewise.
23313         * wcsmbs/Makefile: Likewise.
23314
23315 2013-01-01  David S. Miller  <davem@davemloft.net>
23316
23317         * po/fr.po: Update from translation team.
23318
23319         * catgets/gencat.c: Update copyright year.
23320         * csu/version.c: Likewise.
23321         * debug/catchsegv.sh: Likewise.
23322         * debug/pcprofiledump.c: Likewise.
23323         * debug/xtrace.sh: Likewise.
23324         * elf/ldconfig.c: Likewise.
23325         * elf/ldd.bash.in: Likewise.
23326         * elf/pldd.c: Likewise.
23327         * elf/sotruss.ksh: Likewise.
23328         * elf/sprof.c: Likewise.
23329         * iconv/iconv_prog.c: Likewise.
23330         * iconv/iconvconfig.c: Likewise.
23331         * locale/programs/locale.c: Likewise.
23332         * locale/programs/localedef.c: Likewise.
23333         * login/programs/pt_chown.c: Likewise.
23334         * malloc/memusage.sh: Likewise.
23335         * malloc/memusagestat.c: Likewise.
23336         * malloc/mtrace.pl: Likewise.
23337         * nscd/nscd.c: Likewise.
23338         * nss/getent.c: Likewise.
23339         * nss/makedb.c: Likewise.
23340         * posix/getconf.c: Likewise.
23341
23342 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23343
23344         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23345         numbers.
23346
23347 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23348
23349         * math/bits/mathcalls.h (modf): Use __nonnull.
23350
23351 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23352
23353         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23354         (split): Use macro CN instead of the bare value.
23355         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23356         could be used.
23357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23358         instead of the bare value.
23359         (power1): Likewise.
23360
23361 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23362
23363         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23364         __ATAN_TWOM.
23365         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23366
23367         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23368         their values.
23369         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23370         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23371         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23372         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23373
23374 2012-12-28  Andreas Jaeger  <aj@suse.de>
23375
23376         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23377         values are from Linux 3.7.
23378
23379         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23380         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23381
23382 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23383
23384         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23385         TRUE case.
23386
23387         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23388         (norm): Likewise.
23389         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23390         variables with preprocessor constants.
23391         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23392         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23393         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23394
23395 2012-12-27  Bruno Haible  <bruno@clisp.org>
23396
23397         [BZ #14317]
23398         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23399         only if needed.
23400
23401 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23402
23403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23404         and use variable directly.
23405         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23406
23407         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23408         MPONE.
23409         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23411         variable MPONE.
23412         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23414         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23415         include directive.  Remove local variable MPONE.
23416         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23417         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23418         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23419
23420 2012-12-25  David S. Miller  <davem@davemloft.net>
23421
23422         * version.h (RELEASE): Set to "development".
23423         (VERSION): Set to "2.17.90".
23424         * NEWS: Add 2.18 section.
23425
23426 2012-12-21  David S. Miller  <davem@davemloft.net>
23427
23428         * po/hr.po: Update from translation team.
23429
23430 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23431
23432         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23433
23434 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23435
23436         * NEWS:  Mention new memcpy for MIPS.
23437
23438 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23439
23440         * manual/contrib.texi (Contributors): Spelling correction.
23441
23442 2012-12-15  David S. Miller  <davem@davemloft.net>
23443
23444         * po/ru.po: Update from translation team.
23445
23446 2012-12-13  David S. Miller  <davem@davemloft.net>
23447
23448         * NEWS: Mention IFUNC testsuite enhancements.
23449
23450         * po/pl.po: Update from translation team.
23451         * po/bg.po: Likewise.
23452
23453         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23454         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23455
23456 2012-12-11  David S. Miller  <davem@davemloft.net>
23457
23458         * po/sv.po: Update from translation team.
23459
23460         * po/vi.po: Update from translation team.
23461
23462         * po/cs.po: Update from translation team.
23463
23464         * po/de.po: Update from translation team.
23465         * po/eo.po: Likewise.
23466         * po/nl.po: Likewise.
23467
23468 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23469
23470         [BZ #14246]
23471         * manual/argp.texi (Argp Helper Functions): Move node to follow
23472         Argp Parsing State.
23473
23474         [BZ #14872]
23475         * manual/conf.texi (Limits on File System Capacity): Mention if
23476         terminating null is included in the max size.
23477
23478 2012-12-10  Andreas Jaeger  <aj@suse.de>
23479
23480         * po/cs.po: Update from translation team.
23481
23482 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23483
23484         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23485         void pointer and cast to uintptr_t.
23486         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23487         path.
23488         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23489         * sysdeps/s390/s390-64/memset.S: Likewise.
23490
23491 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23492
23493         [BZ #14833]
23494         * menual/message.texi (Message Translation): Fix typos.
23495         (Helper programs for gettext): Likewise.
23496
23497 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23498
23499         [BZ #14898]
23500         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23501         Change to -1.
23502
23503 2012-12-07  David S. Miller  <davem@davemloft.net>
23504
23505         * po/libc.pot: Update.
23506
23507 2012-12-07  Richard Henderson  <rth@redhat.com>
23508
23509         [BZ #10114]
23510         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23511         normal/normal case to before the switch.
23512         (_FP_DIV): Likewise.
23513
23514 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23515             Mike Frysinger  <vapier@gentoo.org>
23516
23517         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23518         check for __NR_fadvise64_64.
23519
23520 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23521
23522         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23523         0, not just to plain "0" as a statement.
23524         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23525         with cw.
23526
23527 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23528
23529         * NEWS: Use sourceware.org in Bugzilla URL.
23530
23531 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23532
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23534         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23535
23536         * stdio-common/tst-put-error.c (do_test): Add newline to the
23537         padded test to ensure flush.
23538
23539 2012-12-05  Jeff Law  <law@redhat.com>
23540
23541         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23542
23543 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23544
23545         * README: Don't refer to ports add-on as distributed separately.
23546         Mention AArch64 in list of systems supported in the ports add-on.
23547
23548         * LICENSES: Add more non-FSF copyright and license notices.
23549
23550         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23551         ((unused)).
23552
23553         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23554
23555         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23556         10000 as width of padded output.
23557
23558 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23559
23560         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23561
23562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23563         variable LX with __attribute__ ((unused)).
23564         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23565         Likewise.
23566         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23567         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23569         with __attribute__ ((unused)).
23570
23571 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23572
23573         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23574
23575 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23576
23577         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23578         (CFLAGS-nldbl-acos.c): New variable.
23579         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23580         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23581         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23582         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23583         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23584         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23585         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23586         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23587         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23588         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23589         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23590         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23591         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23592         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23593         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23594         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23595         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23596         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23597         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23598         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23599         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23600         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23601         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23602         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23603         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23604         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23605         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23606         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23607         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23608         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23609         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23610         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23611         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23612         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23613         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23614         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23615         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23616         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23617         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23618         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23619         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23620         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23621         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23622         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23623         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23624         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23625         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23626         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23627         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23628         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23629         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23630         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23631         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23632         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23633         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23634         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23635         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23636         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23637         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23638         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23639         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23640         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23641         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23642         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23643         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23644         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23645         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23646         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23647         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23648         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23649         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23650         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23651         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23652         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23653         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23654         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23655         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23656         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23657         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23658         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23659         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23660         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23661         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23662         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23663         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23664         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23665         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23666         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23667         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23668         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23669         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23670         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23671         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23672         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23673         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23674         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23675         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23676
23677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23678         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23679
23680         [BZ #14914]
23681         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23682         whole low double instead of just low 47 bits when splitting values
23683         into two parts.
23684
23685 2012-12-03  Allan McRae  <allan@archlinux.org>
23686
23687         * manual/stdio.texi (Predefined Printf Handlers): Remove
23688         @hsep and @vsep usage.
23689
23690 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23691
23692         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23693         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23694
23695 2012-12-03  Jeff Law  <law@redhat.com>
23696
23697         * time/sys/time.h (settimeofday): Do not mark TV argument
23698         as __nonnull.
23699
23700 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23701
23702         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23703         when currently writing and seek to current position when not.
23704         * libio/Makefile (tests): Remove bug-fclose1.
23705         * libio/bug-fclose1.c: Delete.
23706
23707 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23708
23709         * manual/arith.texi (feenableexcept): Fix typo.
23710         (fedisableexcept): Likewise.
23711
23712 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23713
23714         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23715         second, differently-typed declaration, rather than a cast.
23716
23717 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23718
23719         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23720         * include/rpc/svc.h: ... here.
23721
23722 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23723
23724         [BZ #13013]
23725         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23726         depending n and resplen2 to catch cases where answer
23727         equals answerp2.
23728
23729 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23730
23731         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23732         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23733
23734 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23735
23736         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23737
23738 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23739
23740         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23741
23742 2012-11-28  Jeff Law  <law@redhat.com>
23743
23744         [BZ #13761]
23745         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23746         dataset_temporary.  Track alloca usage into alloca_used.
23747         If dataset is large allocate and release it via malloc/free.
23748
23749 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23750
23751         [BZ #14197]
23752         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23753
23754 2012-11-28  David S. Miller  <davem@davemloft.net>
23755
23756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23757
23758 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23759
23760         [BZ #14803]
23761         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23762         of pi/2 rounded to nearest to 64 bits.
23763         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23764         nearest to 64 bits.
23765         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23766         bits.
23767
23768 2012-11-28  Jeff Law <law@redhat.com>
23769             Martin Osvald <mosvald@redhat.com>
23770
23771         [BZ #14889]
23772         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23773         * sunrpc/svc.c: Include time.h.
23774         (__svc_accept_failed): New function.
23775         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23776         any reason other than EINTR, call __svc_accept_failed.
23777         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23778         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23779
23780 2012-11-28  Andreas Schwab  <schwab@suse.de>
23781
23782         * scripts/abilist.awk: Also handle indirect functions in .opd
23783         section.
23784
23785 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23786
23787         [BZ #13881]
23788         * sysdeps/x86/fpu/powl_helper.c: New file.
23789         * sysdeps/x86/fpu/Makefile: Likewise.
23790         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23791         (p3): New object.
23792         (__ieee754_powl): Use __powl_helper for finite arguments except
23793         integer exponents below 8.
23794         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23795         (p3): New object.
23796         (__ieee754_powl): Use __powl_helper for finite arguments except
23797         integer exponents below 8.
23798         * math/libm-test.inc (pow_test): Add more tests and enable some
23799         previously disabled tests.
23800         * sysdeps/i386/fpu/libm-test-ulps: Update.
23801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802
23803 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23804             Carlos O'Donell  <carlos_odonell@mentor.com>
23805
23806         * nss/makedb.c (is_prime): Assert that input is odd and greater
23807         than 4.  Note that fact in a comment too.
23808         (next_prime): Add 4 to input.
23809
23810 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23811
23812         [BZ #11741]
23813         * libio/Makefile (tests): Add test case tst-fwrite-error.
23814         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23815         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23816         * libio/tst-fwrite-error.c: New test case.
23817
23818 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23819
23820         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23821         before casting to void *.
23822         * include/libc-internal.h (__pointer_type): New macro.
23823         (__integer_if_pointer_type_sub): Likewise.
23824         (__integer_if_pointer_type): Likewise.
23825         (cast_to_integer): Likewise.
23826         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23827         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23828         before casting to atomic64_t.
23829         (atomic_exchange_acq): Likewise.
23830         (__arch_exchange_and_add_body): Likewise.
23831         (__arch_add_body): Likewise.
23832         (atomic_add_negative): Likewise.
23833         (atomic_add_zero): Likewise.
23834
23835 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23836
23837         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23838         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23839         (add_fdes): Likewise.
23840         (linear_search_fdes): Likewise.
23841         (binary_search_unencoded_fdes): Likewise.
23842
23843 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23844
23845         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23846
23847 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23848
23849         * configure.in: Autodetect C++ header directories.
23850         * configure: Regenerated.
23851
23852 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23853
23854         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23855
23856 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23857
23858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23859
23860 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23861
23862         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23863         LDBL_MANT_DIG == 106]: Disable some tests.
23864         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23865         Likewise.
23866         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23867         Likewise.
23868
23869         [BZ #14871]
23870         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23871         input for small inputs.  Return +/- pi/2 for large inputs.
23872         * math/libm-test.inc (atan_test): Add more tests.
23873
23874         * sysdeps/generic/unwind-dw2-fde-glibc.c
23875         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23876         __attribute__ ((unused)).
23877
23878         [BZ #14645]
23879         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23880         x * y if x and y are nonzero and z is zero.
23881
23882         [BZ #14811]
23883         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23884         nonzero exponents with absolute value below 0x1p-117 to +/-
23885         0x1p-117.
23886
23887         [BZ #14869]
23888         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23889         up arguments below 2**-450, not just those below 2**-500.
23890         * math/libm-test.inc (hypot_test): Add another test.
23891
23892         [BZ #14868]
23893         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23894         Return a+b for ratio over 2**120, not 2**60.
23895         * math/libm-test.inc (hypot_test): Add another test.
23896
23897         * math/libm-test.inc (clog_test): Use
23898         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23899         (clog10_test): Likewise.
23900
23901         [BZ #6778]
23902         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23903
23904 2012-11-22  Andreas Schwab  <schwab@suse.de>
23905
23906         * sysdeps/i386/fpu/libm-test-ulps: Update.
23907
23908 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23909
23910         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23911         printf output with newline.
23912
23913 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23914
23915         [BZ #14865]
23916         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23917         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23918         -z nodlopen, -z initfirst and -z execstack support.
23919         * configure: Regenerated.
23920
23921         * elf/elf.h (DF_1_NODIRECT): New macro.
23922         (DF_1_IGNMULDEF): Likewise.
23923         (DF_1_NOKSYMS): Likewise.
23924         (DF_1_NOHDR): Likewise.
23925         (DF_1_EDITED): Likewise.
23926         (DF_1_NORELOC): Likewise.
23927         (DF_1_SYMINTPOSE): Likewise.
23928         (DF_1_GLOBAUDIT): Likewise.
23929         (DF_1_SINGLETON): Likewise.
23930         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23931         DT_1_SUPPORTED_MASK bits.
23932         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23933
23934 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23935
23936         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23937
23938 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23939
23940         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23941         macro.
23942
23943         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23944         (sendmmsg): Move declarations...
23945         * socket/sys/socket.h: ... here.
23946         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23947         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23948         include it from...
23949         * socket/recvmmsg.c: ... this new file.
23950         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23951         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23952         definition of __sendmmsg hidden.
23953         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23954         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23955         Move ENOSYS stub into and include it from...
23956         * socket/sendmmsg.c: ... this new file.
23957         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23958         (sysdep_routines): Move recvmmsg and sendmmsg...
23959         * socket/Makefile (routines): ... here.
23960         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23961         (GLIBC_PRIVATE): Add __sendmmsg.
23962         * include/sys/socket.h (__sendmmsg): Add declarations.
23963         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23964         sendmmsg.
23965
23966 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23967
23968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23969         variable I1 with __attribute__ ((unused)).
23970         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23971
23972 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23973
23974         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23975         DUMMY variables with __attribute__ ((unused)).
23976
23977         * bits/byteswap.h: Include <bits/types.h>.
23978         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23979
23980 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23981
23982         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23983         string_t.  Do not manually set errno.
23984         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23985         length with __strnlen.  Make sure to both set errno and return it on
23986         failure.
23987
23988 2012-11-19  David S. Miller  <davem@davemloft.net>
23989
23990         With help from Joseph Myers.
23991         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23992         very large arguments properly.
23993         * math/libm-test.inc (atan_test): New tests.
23994         (atan2_test): New tests.
23995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23997
23998 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23999
24000         [BZ #14856]
24001         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24002         Define to 3.
24003
24004         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24005         [POSIX] (EADDRNOTAVAIL): Likewise.
24006         [POSIX] (EAFNOSUPPORT): Likewise.
24007         [POSIX] (EALREADY): Likewise.
24008         [POSIX] (ECONNABORTED): Likewise.
24009         [POSIX] (ECONNREFUSED): Likewise.
24010         [POSIX] (ECONNRESET): Likewise.
24011         [POSIX] (EDESTADDRREQ): Likewise.
24012         [POSIX] (EDQUOT): Likewise.
24013         [POSIX] (EHOSTUNREACH): Likewise.
24014         [POSIX] (EIDRM): Likewise.
24015         [POSIX] (EISCONN): Likewise.
24016         [POSIX] (ELOOP): Likewise.
24017         [POSIX] (EMULTIHOP): Likewise.
24018         [POSIX] (ENETDOWN): Likewise.
24019         [POSIX] (ENETUNREACH): Likewise.
24020         [POSIX] (ENOBUFS): Likewise.
24021         [POSIX] (ENODATA): Likewise.
24022         [POSIX] (ENOLINK): Likewise.
24023         [POSIX] (ENOMSG): Likewise.
24024         [POSIX] (ENOPROTOOPT): Likewise.
24025         [POSIX] (ENOSR): Likewise.
24026         [POSIX] (ENOSTR): Likewise.
24027         [POSIX] (ENOTCONN): Likewise.
24028         [POSIX] (ENOTSOCK): Likewise.
24029         [POSIX] (EOPNOTSUPP): Likewise.
24030         [POSIX] (EOVERFLOW): Likewise.
24031         [POSIX] (EPROTO): Likewise.
24032         [POSIX] (EPROTONOSUPPORT): Likewise.
24033         [POSIX] (EPROTOTYPE): Likewise.
24034         [POSIX] (ESTALE): Likewise.
24035         [POSIX] (ETIME): Likewise.
24036         [POSIX] (ETXTBSY): Likewise.
24037         [POSIX] (EWOULDBLOCK): Likewise.
24038         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24039         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24040         [POSIX] (SEEK_CUR): Likewise.
24041         [POSIX] (SEEK_END): Likewise.
24042         [POSIX || UNIX98] (mode_t): Do not require.
24043         [POSIX] (off_t): Likewise.
24044         [POSIX] (pid_t): Likewise.
24045         [POSIX] (sys/stat.h): Do not allow header.
24046         [POSIX] (unistd.h): Likewise.
24047         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24048         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24049         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24050         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24051         require.
24052         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24053         sigevent): Specify elements.
24054         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24055         entry.
24056         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24057         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24058
24059         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24060         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24061         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24062         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24063         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24064         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24065         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24066         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24067         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24068         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24069         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24070         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24071         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24072         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24073         Likewise.
24074         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24075         Likewise.
24076         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24077         Likewise.
24078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24079         Likewise.
24080         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24081         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24082         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24083         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24084         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24085         Specify lower bound on value.
24086         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24087         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24088         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24089         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24090         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24091         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24092         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24093         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24094         value.
24095         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24096         as optional.
24097         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24098         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24099         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24100         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24101         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24102         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24103         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24104         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24105         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24106         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24107         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24108         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24109         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24110         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24111         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24112         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24113         entry.
24114         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24115         optional.
24116         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24117         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24118         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24119         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24120         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24121         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24122         Likewise.
24123         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24124         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24125         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24126         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24127         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24128         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24129         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24130         as optional.
24131         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24133         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24134         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24135         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24136         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24137         specify as optional.
24138         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24139         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24140         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24141         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24142         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24143         [XPG3] (NL_LANGMAX): Likewise.
24144         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24145         [POSIX || XPG3] (NL_NMAX): Likewise.
24146         [POSIX || XPG3] (NL_SETMAX): Likewise.
24147         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24148         [XPG3] (NZERO): Likewise.
24149         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24150         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24151         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24152         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24153         (REG_ERANGE): Expect.
24154         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24155         optional-constant.
24156         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24157         Use (void) in prototype.
24158         [POSIX] (*_t): Allow.
24159         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24160         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24161         (WRDE_BADVAL): Expect.
24162
24163         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24164         expect.
24165         [XPG3 || XPG4] (O_RSYNC): Likewise.
24166         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24167         Likewise.
24168         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24169         [XPG3 || XPG4] (sigqueue): Likewise.
24170         [XPG3 || XPG4] (sigtimedwait): Likewise.
24171         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24172         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24173         [XPG3 || XPG4] (vsnprintf): Likewise.
24174         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24175         Likewise.
24176         [XPG3 || XPG4] (blksize_t): Likewise.
24177         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24178         Likewise.
24179         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24180         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24181         [XPG3 || XPG4] (struct itimerspec): Likewise.
24182         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24183         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24184         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24185         [XPG3 || XPG4] (clockid_t): Likewise.
24186         [XPG3 || XPG4] (timer_t): Likewise.
24187         [XPG3 || XPG4] (clock_getres): Likewise.
24188         [XPG3 || XPG4] (clock_gettime): Likewise.
24189         [XPG3 || XPG4] (clock_settime): Likewise.
24190         [XPG3 || XPG4] (nanosleep): Likewise.
24191         [XPG3 || XPG4] (timer_create): Likewise.
24192         [XPG3 || XPG4] (timer_delete): Likewise.
24193         [XPG3 || XPG4] (timer_gettime): Likewise.
24194         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24195         [XPG3 || XPG4] (timer_settime): Likewise.
24196         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24197         [XPG3 || XPG4] (getlogin_r): Likewise.
24198         [XPG3 || XPG4] (pread): Likewise.
24199         [XPG3 || XPG4] (pthread_atfork): Likewise.
24200         [XPG3 || XPG4] (pwrite): Likewise.
24201
24202         [BZ #14835]
24203         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24204         <bits/siginfo.h>.
24205
24206 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24207
24208         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24209         finalizing MALLSTREAM.
24210
24211         * sysdeps/mach/hurd/syncfs.c: New file.
24212
24213 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24214
24215         [BZ #14719]
24216         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24217         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24218         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24219         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24220         (_nss_dns_gethostbyname4_r): Likewise.
24221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24222         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24223
24224 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24225
24226         [BZ #13763]
24227         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24228
24229 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24230
24231         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24232         * elf/cache.c (print_entry): Print ",AArch64" for
24233         FLAG_AARCH64_LIB64
24234
24235         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24236         * elf/cache.c (print_entry): Print ",hard-float" for
24237         FLAG_ARM_LIBHF.
24238
24239 2012-11-18  David S. Miller  <davem@davemloft.net>
24240
24241         With help from Joseph Myers.
24242         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24243         cutoff to 2**-13.
24244         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24245         cutoff to 2**-25.
24246         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24247         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24248         small.
24249         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24250         * math/libm-test.inc (y0_test): New tests.
24251         (y1_test): New tests.
24252         * sysdeps/i386/fpu/libm-test-ulps: Update.
24253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24255
24256 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24257
24258         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24259         64-bit targets.
24260         * configure: Regenerated.
24261
24262 2012-11-17  David S. Miller  <davem@davemloft.net>
24263
24264         [BZ #14811]
24265         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24266         nonzero exponents with absolute value below 0x1p-128 to +/-
24267         0x1p-128.
24268
24269 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24270
24271         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24272
24273         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24274
24275         * posix/getconf-speclist.c: New file.
24276         * posix/posix-envs.def: Likewise.
24277         * posix/confstr.c (START_ENV_GROUP): New macro.
24278         (END_ENV_GROUP): Likewise.
24279         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24280         (KNOWN_PRESENT_ENV_STRING): Likewise.
24281         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24282         (UNKNOWN_ENVIRONMENT): Likewise.
24283         (confstr): Include posix-envs.def instead of handling
24284         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24285         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24286         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24287         (END_ENV_GROUP): Likewise.
24288         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24289         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24290         (UNKNOWN_ENVIRONMENT): Likewise.
24291         (__sysconf): Include posix-envs.def instead of handling associated
24292         cases directly here.
24293         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24294         preprocessing getconf-speclist.c rather than running getconf or
24295         generating empty file.
24296
24297 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24298
24299         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24300
24301 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24302
24303         [BZ #14672]
24304         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24305
24306 2012-11-16  David S. Miller  <davem@davemloft.net>
24307
24308         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24309         smaller than LDBL_EPSILON/2.0L, just return xm1.
24310
24311 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24312
24313         * elf/tst-array1.c (init): Set constructor priority to 1000.
24314         (fini): Set destructor priority to 1000.
24315         * elf/tst-array2dep.c: Likewise.
24316
24317 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24318
24319         [BZ #11741]
24320         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24321         (_IO_new_file_xsputn): Also return EOF if none of the input
24322         data was written when overflow failed.
24323         * libio/iopadn.c (_IO_padn): Likewise.
24324         * libio/iowpadn.c (_IO_wpadn): Likewise.
24325         * stdio-common/tst-put-error.c: Add copyright notice.
24326         (do_test): Add case for printing padded string.
24327         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24328         _IO_padn returned error.
24329         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24330         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24331         return EOF.
24332
24333 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24334
24335         * libio/libioP.h: Add comment note that the references to C++
24336         bits are now obsolete.
24337
24338 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24339
24340         * math/libm-test.inc (check_complex): Use asprintf.
24341
24342 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24343
24344         * debug/pcprofiledump.c (print_version): Update copyright year.
24345         * malloc/memusagestat.c (print_version): Likewise.
24346
24347 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24348
24349         [BZ #14831]
24350         * elf/Makefile (tests): Add tst-audit8.
24351         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24352         ($(objpfx)tst-audit8.out): New target.
24353         (tst-audit8-ENV): New variable.
24354         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24355         audit if l_reloc_result is NULL.
24356         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24357         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24358         * elf/tst-audit8.c: New file.
24359
24360 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24361
24362         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24363         * misc/Makefile (CFLAGS-select.c): Define.
24364         * posix/Makefile (CFLAGS-pause.c): Define.
24365
24366 2012-11-13  David S. Miller  <davem@davemloft.net>
24367
24368         * crypt/Makefile: Move test targets after toplevel Rules
24369         inclusion.  Grab any necessary sysdep routines when linking.
24370         * crypt/md5.c (md5_process_block): Remove define, we will always
24371         name it __md5_process_block.
24372         (md5_finish_ctx): Update md5_process_block call.
24373         (md5_stream): Likewise.
24374         (md5_process_bytes): Likewise.
24375         (md5_process_block): Rename to __md5_process_block and move to ...
24376         * crypt/md5-block.c: ... here.
24377         * crypt/sha256.c (sha256_process_block): Move to ...
24378         * crypt/sha256-block.c: ... here.
24379         * crypt/sha512.c (sha512_process_block): Move to ...
24380         * crypt/sha512-block.c: ... here.
24381         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24382         path.
24383         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24384         * sysdeps/sparc/sparc64/multiarch/Makefile
24385         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24386         crypt subdir.
24387         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24388         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24389         multiarch changes.
24390         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24391         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24392         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24393         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24394         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24395         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24396         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24397         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24398         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24399         file.
24400         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24402         file.
24403         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24404
24405 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24406
24407         * timezone/tzselect.ksh: Update from tzcode git revision
24408         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24409         * timezone/zdump.c: Likewise.
24410         * timezone/zic.c: Likewise.
24411         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24412         in TZVERSION setting, not $(PKGVERSION).
24413         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24414         REPORT_BUGS_TO settings.
24415
24416         [BZ #14838]
24417         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24418         macro.
24419
24420 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24421
24422         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24423         detection to immediately after _FP_ROUND().
24424         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24425         bits are 0.
24426
24427 2012-11-11  David S. Miller  <davem@davemloft.net>
24428
24429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24430         inttypes.h
24431         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24432         __close rather than their public counterparts.
24433
24434 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24435
24436         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24437         file.
24438         [UNIX98] (sem_timedwait): Do not expect.
24439         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24440         [XPG4 || UNIX98] (sockatmark): Do not expect.
24441         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24442         (clock_getcpuclockid): Do not expect.
24443         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24444         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24445         Do not expect.
24446         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24447         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24448         [UNIX98] (vwscanf): Likewise.
24449         [UNIX98] (vswscanf): Likewise.
24450
24451 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24452
24453         * timezone/version.h: Remove file.
24454         * timezone/README: Do not refer to version.h.
24455         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24456         $(objpfx)version.h.
24457         ($(objpfx)zdump.o): Likewise.
24458         ($(objpfx)version.h): New target.
24459
24460         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24461         2012i.
24462         * timezone/README: Don't mention modification to tzselect.ksh.
24463         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24464         work on unmodified tzselect.ksh.  Substitute version numbers in
24465         tzselect.ksh.
24466
24467         * Makefile (format-me): Remove.
24468         (INSTALL): Adjust indentation.  Use commands directly instead of
24469         using $(format-me).
24470
24471         * aclocal.m4 (ACX_PKGVERSION): New macro.
24472         (ACX_BUGURL): Likewise.
24473         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24474         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24475         (REPORT_BUGS_TO): Likewise.
24476         * configure: Regenerated.
24477         * config.h.in (PKGVERSION): New macro.
24478         (REPORT_BUGS_TO): Likewise.
24479         * config.make.in (PKGVERSION): New variable.
24480         (PKGVERSION_TEXI): Likewise.
24481         (REPORT_BUGS_TO): Likewise.
24482         (REPORT_BUGS_TEXI): Likewise.
24483         * Makefile (format-me): Use -I$(common-objpfx)manual.
24484         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24485         ($(common-objpfx)manual/%): New target.
24486         (manual/%): Remove target.
24487         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24488         (print_version): Use PKGVERSION.
24489         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24490         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24491         and REPORT_BUGS_TO.
24492         ($(objpfx)xtrace): Likewise.
24493         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24494         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24495         (print_version): Use PKGVERSION.
24496         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24497         (do_version): Use PKGVERSION.
24498         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24499         REPORT_BUGS_TO.
24500         (common-ldd-rewrite): Likewise.
24501         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24502         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24503         (print_version): Use PKGVERSION.
24504         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24505         * elf/pldd.c (argp_program_bug_address): Remove variable.
24506         (more_help): New function.
24507         (argp): Use more_help.
24508         (print_version): Use PKGVERSION.
24509         * elf/sln.c (main): Use PKGVERSION.
24510         (usage): Use REPORT_BUGS_TO.
24511         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24512         (top level): Use PKGVERSION.
24513         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24514         (print_version): Use PKGVERSION.
24515         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24516         (print_version): Use PKGVERSION.
24517         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24518         (print_version): Use PKGVERSION.
24519         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24520         (print_version): Use PKGVERSION.
24521         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24522         (print_version): Use PKGVERSION.
24523         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24524         (print_version): Use PKGVERSION.
24525         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24526         and BUGURL.
24527         ($(objpfx)memusage): Likewise.
24528         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24529         (do_version): Use PKGVERSION.
24530         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24531         (print_version): Use PKGVERSION.
24532         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24533         ($PKGVERSION): New variable.
24534         ($REPORT_BUGS_TO): Likewise.
24535         (usage): Use $REPORT_BUGS_TO.
24536         (top level): Use $PKGVERSION.
24537         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24538         ($(objpfx)pkgvers.texi): New rule.
24539         ($(objpfx)stamp-pkgvers): Likewise.
24540         * manual/install.texi: Include pkgvers.texi.
24541         (--with-pkgversion): Document new configure option.
24542         (--with-bugurl): Likewise.
24543         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24544         than necessarily for this particular distribution.  Use
24545         REPORT_BUGS_TO for where to report bugs.
24546         * INSTALL: Regenerated.
24547         * manual/libc.texinfo: Include pkgvers.texi.
24548         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24549         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24550         (print_version): Use PKGVERSION.
24551         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24552         (print_version): Use PKGVERSION.
24553         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24554         (print_version): Use PKGVERSION.
24555         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24556         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24557         macro.
24558         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24559         (print_version): Use PKGVERSION.
24560         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24561         (print_version): Use PKGVERSION.
24562         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24563         and PKGVERSION.
24564
24565         * timezone/checktab.awk: Update from tzcode 2012i.
24566         * timezone/ialloc.c: Likewise.
24567         * timezone/private.h: Likewise.
24568         * timezone/scheck.c: Likewise.
24569         * timezone/tzfile.h: Likewise.
24570         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24571         (TZVERSION): Hardcode tzcode version number.
24572         * timezone/zdump.c: Update from tzcode 2012i.
24573         * timezone/zic.c: Likewise.
24574         * timezone/version.h: New file.
24575         * timezone/README: Describe version.h.  Update upstream location.
24576
24577         [BZ #14824]
24578         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24579         (mktemp): Enable declaration.
24580         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24581         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24582         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24584         Likewise.
24585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24586         Likewise.
24587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24588         Likewise.
24589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24590         Likewise.
24591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24592         Likewise.
24593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24594         Likewise.
24595
24596         [BZ #14821]
24597         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24598         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24599         for copies of such integer values.
24600         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24601         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24602
24603 2012-11-09  Andreas Jaeger  <aj@suse.de>
24604
24605         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24606         definitions and declarations that are provided by
24607         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24608
24609 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24610
24611         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24612         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24613         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24614         definition.
24615
24616 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24617
24618         * elf/elf.h: Update comment before AArch64 relocations.
24619
24620 2012-11-07  David S. Miller  <davem@davemloft.net>
24621
24622         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24623         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24624         (__start_context): Declare.
24625         (__makecontext_ret): Delete.
24626         (__makecontext): Hook up __start_context instead of
24627         __makecontext_ret.
24628         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24629         (sysdep_routines): Add __start_context when in stdlib.
24630
24631 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24632
24633         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24634         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24635         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24636         hardcoded "nm".
24637         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24638         (READELF): New variable.  Use it instead of hardcoded "readelf".
24639
24640 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24641
24642         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24643         * sysdeps/x86/Makefile: Here.
24644         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24645         * sysdeps/x86/tst-xmmymm.sh: This.
24646
24647 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24648
24649         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24650         expectations.
24651         [UNIX98] (pthread_barrier_t): Do not expect.
24652         [UNIX98] (pthread_barrierattr_t): Likewise.
24653         [UNIX98] (pthread_spinlock_t): Likewise.
24654         [UNIX98] (pthread_barrier_destroy): Likewise.
24655         [UNIX98] (pthread_barrier_init): Likewise.
24656         [UNIX98] (pthread_barrier_wait): Likewise.
24657         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24658         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24659         [UNIX98] (pthread_barrierattr_init): Likewise.
24660         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24661         [UNIX98] (pthread_getcpuclockid): Likewise.
24662         [UNIX98] (pthread_mutex_timedlock): Likewise.
24663         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24664         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24665         [UNIX98] (pthread_sigmask): Likewise.
24666         [UNIX98] (pthread_spin_destroy): Likewise.
24667         [UNIX98] (pthread_spin_init): Likewise.
24668         [UNIX98] (pthread_spin_lock): Likewise.
24669         [UNIX98] (pthread_spin_trylock): Likewise.
24670         [UNIX98] (pthread_spin_unlock): Likewise.
24671         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24672         Do not expect.
24673         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24674         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24675         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24676         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24677         [XPG3 || XPG4] (pthread_key_t): Likewise.
24678         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24679         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24680         [XPG3 || XPG4] (pthread_once_t): Likewise.
24681         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24682         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24683         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24684         [XPG3 || XPG4] (pthread_t): Likewise.
24685
24686         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24687         not expect.
24688         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24689
24690         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24691         Change function return type to int.
24692
24693         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24694         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24695         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24696         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24697         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24698         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24699         [!POSIX] (posix_madvise): Likewise.
24700         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24701         && !UNIX98].
24702         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24703         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24704         (mode_t): Likewise.
24705         (posix_mem_offset): Likewise.
24706         (posix_typed_mem_get_info): Likewise.
24707         (posix_typed_mem_open): Likewise.
24708
24709         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24710         Change condition to [XOPEN2K8].
24711
24712         * conform/conformtest.pl: Preprocess allow-header data with -x c
24713         instead of from stdin.
24714         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24715         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24716         [C99-based standards] (cerfc): Likewise.
24717         [C99-based standards] (cexp2): Likewise.
24718         [C99-based standards] (cexpm1): Likewise.
24719         [C99-based standards] (clog10): Likewise.
24720         [C99-based standards] (clog1p): Likewise.
24721         [C99-based standards] (clog2): Likewise.
24722         [C99-based standards] (clgamma): Likewise.
24723         [C99-based standards] (ctgamma): Likewise.
24724         [C99-based standards] (cerff): Likewise.
24725         [C99-based standards] (cerfcf): Likewise.
24726         [C99-based standards] (cexp2f): Likewise.
24727         [C99-based standards] (cexpm1f): Likewise.
24728         [C99-based standards] (clog10f): Likewise.
24729         [C99-based standards] (clog1pf): Likewise.
24730         [C99-based standards] (clog2f): Likewise.
24731         [C99-based standards] (clgammaf): Likewise.
24732         [C99-based standards] (ctgammaf): Likewise.
24733         [C99-based standards] (cerfl): Likewise.
24734         [C99-based standards] (cerfcl): Likewise.
24735         [C99-based standards] (cexp2l): Likewise.
24736         [C99-based standards] (cexpm1l): Likewise.
24737         [C99-based standards] (clog10l): Likewise.
24738         [C99-based standards] (clog1pl): Likewise.
24739         [C99-based standards] (clog2l): Likewise.
24740         [C99-based standards] (clgammal): Likewise.
24741         [C99-based standards] (ctgammal): Likewise.
24742         * conform/data/inttypes.h-data [C99-based standards]: Include
24743         stdint.h-data.  Remove all expectations for stdint.h contents.
24744         [C99-based standards] (PRI*): Do not allow.
24745         [C99-based standards] (SCN*): Likewise.
24746         [C99-based standards] (*_t): Likewise.
24747         [C99-based-standards] (PRId8): Expect macro.
24748         [C99-based-standards] (PRIi8): Likewise.
24749         [C99-based-standards] (PRIo8): Likewise.
24750         [C99-based-standards] (PRIu8): Likewise.
24751         [C99-based-standards] (PRIx8): Likewise.
24752         [C99-based-standards] (PRIX8): Likewise.
24753         [C99-based-standards] (SCNd8): Likewise.
24754         [C99-based-standards] (SCNi8): Likewise.
24755         [C99-based-standards] (SCNo8): Likewise.
24756         [C99-based-standards] (SCNu8): Likewise.
24757         [C99-based-standards] (SCNx8): Likewise.
24758         [C99-based-standards] (PRIdLEAST8): Likewise.
24759         [C99-based-standards] (PRIiLEAST8): Likewise.
24760         [C99-based-standards] (PRIoLEAST8): Likewise.
24761         [C99-based-standards] (PRIuLEAST8): Likewise.
24762         [C99-based-standards] (PRIxLEAST8): Likewise.
24763         [C99-based-standards] (PRIXLEAST8): Likewise.
24764         [C99-based-standards] (SCNdLEAST8): Likewise.
24765         [C99-based-standards] (SCNiLEAST8): Likewise.
24766         [C99-based-standards] (SCNoLEAST8): Likewise.
24767         [C99-based-standards] (SCNuLEAST8): Likewise.
24768         [C99-based-standards] (SCNxLEAST8): Likewise.
24769         [C99-based-standards] (PRIdFAST8): Likewise.
24770         [C99-based-standards] (PRIiFAST8): Likewise.
24771         [C99-based-standards] (PRIoFAST8): Likewise.
24772         [C99-based-standards] (PRIuFAST8): Likewise.
24773         [C99-based-standards] (PRIxFAST8): Likewise.
24774         [C99-based-standards] (PRIXFAST8): Likewise.
24775         [C99-based-standards] (SCNdFAST8): Likewise.
24776         [C99-based-standards] (SCNiFAST8): Likewise.
24777         [C99-based-standards] (SCNoFAST8): Likewise.
24778         [C99-based-standards] (SCNuFAST8): Likewise.
24779         [C99-based-standards] (SCNxFAST8): Likewise.
24780         [C99-based-standards] (PRId16): Likewise.
24781         [C99-based-standards] (PRIi16): Likewise.
24782         [C99-based-standards] (PRIo16): Likewise.
24783         [C99-based-standards] (PRIu16): Likewise.
24784         [C99-based-standards] (PRIx16): Likewise.
24785         [C99-based-standards] (PRIX16): Likewise.
24786         [C99-based-standards] (SCNd16): Likewise.
24787         [C99-based-standards] (SCNi16): Likewise.
24788         [C99-based-standards] (SCNo16): Likewise.
24789         [C99-based-standards] (SCNu16): Likewise.
24790         [C99-based-standards] (SCNx16): Likewise.
24791         [C99-based-standards] (PRIdLEAST16): Likewise.
24792         [C99-based-standards] (PRIiLEAST16): Likewise.
24793         [C99-based-standards] (PRIoLEAST16): Likewise.
24794         [C99-based-standards] (PRIuLEAST16): Likewise.
24795         [C99-based-standards] (PRIxLEAST16): Likewise.
24796         [C99-based-standards] (PRIXLEAST16): Likewise.
24797         [C99-based-standards] (SCNdLEAST16): Likewise.
24798         [C99-based-standards] (SCNiLEAST16): Likewise.
24799         [C99-based-standards] (SCNoLEAST16): Likewise.
24800         [C99-based-standards] (SCNuLEAST16): Likewise.
24801         [C99-based-standards] (SCNxLEAST16): Likewise.
24802         [C99-based-standards] (PRIdFAST16): Likewise.
24803         [C99-based-standards] (PRIiFAST16): Likewise.
24804         [C99-based-standards] (PRIoFAST16): Likewise.
24805         [C99-based-standards] (PRIuFAST16): Likewise.
24806         [C99-based-standards] (PRIxFAST16): Likewise.
24807         [C99-based-standards] (PRIXFAST16): Likewise.
24808         [C99-based-standards] (SCNdFAST16): Likewise.
24809         [C99-based-standards] (SCNiFAST16): Likewise.
24810         [C99-based-standards] (SCNoFAST16): Likewise.
24811         [C99-based-standards] (SCNuFAST16): Likewise.
24812         [C99-based-standards] (SCNxFAST16): Likewise.
24813         [C99-based-standards] (PRId32): Likewise.
24814         [C99-based-standards] (PRIi32): Likewise.
24815         [C99-based-standards] (PRIo32): Likewise.
24816         [C99-based-standards] (PRIu32): Likewise.
24817         [C99-based-standards] (PRIx32): Likewise.
24818         [C99-based-standards] (PRIX32): Likewise.
24819         [C99-based-standards] (SCNd32): Likewise.
24820         [C99-based-standards] (SCNi32): Likewise.
24821         [C99-based-standards] (SCNo32): Likewise.
24822         [C99-based-standards] (SCNu32): Likewise.
24823         [C99-based-standards] (SCNx32): Likewise.
24824         [C99-based-standards] (PRIdLEAST32): Likewise.
24825         [C99-based-standards] (PRIiLEAST32): Likewise.
24826         [C99-based-standards] (PRIoLEAST32): Likewise.
24827         [C99-based-standards] (PRIuLEAST32): Likewise.
24828         [C99-based-standards] (PRIxLEAST32): Likewise.
24829         [C99-based-standards] (PRIXLEAST32): Likewise.
24830         [C99-based-standards] (SCNdLEAST32): Likewise.
24831         [C99-based-standards] (SCNiLEAST32): Likewise.
24832         [C99-based-standards] (SCNoLEAST32): Likewise.
24833         [C99-based-standards] (SCNuLEAST32): Likewise.
24834         [C99-based-standards] (SCNxLEAST32): Likewise.
24835         [C99-based-standards] (PRIdFAST32): Likewise.
24836         [C99-based-standards] (PRIiFAST32): Likewise.
24837         [C99-based-standards] (PRIoFAST32): Likewise.
24838         [C99-based-standards] (PRIuFAST32): Likewise.
24839         [C99-based-standards] (PRIxFAST32): Likewise.
24840         [C99-based-standards] (PRIXFAST32): Likewise.
24841         [C99-based-standards] (SCNdFAST32): Likewise.
24842         [C99-based-standards] (SCNiFAST32): Likewise.
24843         [C99-based-standards] (SCNoFAST32): Likewise.
24844         [C99-based-standards] (SCNuFAST32): Likewise.
24845         [C99-based-standards] (SCNxFAST32): Likewise.
24846         [C99-based-standards] (PRId64): Likewise.
24847         [C99-based-standards] (PRIi64): Likewise.
24848         [C99-based-standards] (PRIo64): Likewise.
24849         [C99-based-standards] (PRIu64): Likewise.
24850         [C99-based-standards] (PRIx64): Likewise.
24851         [C99-based-standards] (PRIX64): Likewise.
24852         [C99-based-standards] (SCNd64): Likewise.
24853         [C99-based-standards] (SCNi64): Likewise.
24854         [C99-based-standards] (SCNo64): Likewise.
24855         [C99-based-standards] (SCNu64): Likewise.
24856         [C99-based-standards] (SCNx64): Likewise.
24857         [C99-based-standards] (PRIdLEAST64): Likewise.
24858         [C99-based-standards] (PRIiLEAST64): Likewise.
24859         [C99-based-standards] (PRIoLEAST64): Likewise.
24860         [C99-based-standards] (PRIuLEAST64): Likewise.
24861         [C99-based-standards] (PRIxLEAST64): Likewise.
24862         [C99-based-standards] (PRIXLEAST64): Likewise.
24863         [C99-based-standards] (SCNdLEAST64): Likewise.
24864         [C99-based-standards] (SCNiLEAST64): Likewise.
24865         [C99-based-standards] (SCNoLEAST64): Likewise.
24866         [C99-based-standards] (SCNuLEAST64): Likewise.
24867         [C99-based-standards] (SCNxLEAST64): Likewise.
24868         [C99-based-standards] (PRIdFAST64): Likewise.
24869         [C99-based-standards] (PRIiFAST64): Likewise.
24870         [C99-based-standards] (PRIoFAST64): Likewise.
24871         [C99-based-standards] (PRIuFAST64): Likewise.
24872         [C99-based-standards] (PRIxFAST64): Likewise.
24873         [C99-based-standards] (PRIXFAST64): Likewise.
24874         [C99-based-standards] (SCNdFAST64): Likewise.
24875         [C99-based-standards] (SCNiFAST64): Likewise.
24876         [C99-based-standards] (SCNoFAST64): Likewise.
24877         [C99-based-standards] (SCNuFAST64): Likewise.
24878         [C99-based-standards] (SCNxFAST64): Likewise.
24879         [C99-based-standards] (PRIdMAX): Likewise.
24880         [C99-based-standards] (PRIiMAX): Likewise.
24881         [C99-based-standards] (PRIoMAX): Likewise.
24882         [C99-based-standards] (PRIuMAX): Likewise.
24883         [C99-based-standards] (PRIxMAX): Likewise.
24884         [C99-based-standards] (PRIXMAX): Likewise.
24885         [C99-based-standards] (SCNdMAX): Likewise.
24886         [C99-based-standards] (SCNiMAX): Likewise.
24887         [C99-based-standards] (SCNoMAX): Likewise.
24888         [C99-based-standards] (SCNuMAX): Likewise.
24889         [C99-based-standards] (SCNxMAX): Likewise.
24890         [C99-based-standards] (PRIdPTR): Likewise.
24891         [C99-based-standards] (PRIiPTR): Likewise.
24892         [C99-based-standards] (PRIoPTR): Likewise.
24893         [C99-based-standards] (PRIuPTR): Likewise.
24894         [C99-based-standards] (PRIxPTR): Likewise.
24895         [C99-based-standards] (PRIXPTR): Likewise.
24896         [C99-based-standards] (SCNdPTR): Likewise.
24897         [C99-based-standards] (SCNiPTR): Likewise.
24898         [C99-based-standards] (SCNoPTR): Likewise.
24899         [C99-based-standards] (SCNuPTR): Likewise.
24900         [C99-based-standards] (SCNxPTR): Likewise.
24901         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24902         allow.
24903         * conform/data/stdint.h-data: Update comments to clarify
24904         requirements.
24905         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24906         type.
24907         [C99-based standards] (INT8_MAX): Likewise.
24908         [C99-based standards] (INT16_MIN): Likewise.
24909         [C99-based standards] (INT16_MAX): Likewise.
24910         [C99-based standards] (INT32_MIN): Likewise.
24911         [C99-based standards] (INT32_MAX): Likewise.
24912         [C99-based standards] (INT64_MIN): Likewise.
24913         [C99-based standards] (INT64_MAX): Likewise.
24914         [C99-based standards] (UINT8_MAX): Likewise.
24915         [C99-based standards] (UINT16_MAX): Likewise.
24916         [C99-based standards] (UINT32_MAX): Likewise.
24917         [C99-based standards] (UINT64_MAX): Likewise.
24918         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24919         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24920         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24921         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24922         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24923         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24924         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24925         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24926         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24927         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24928         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24929         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24930         [C99-based standards] (INT_FAST8_MIN): Likewise.
24931         [C99-based standards] (INT_FAST8_MAX): Likewise.
24932         [C99-based standards] (INT_FAST16_MIN): Likewise.
24933         [C99-based standards] (INT_FAST16_MAX): Likewise.
24934         [C99-based standards] (INT_FAST32_MIN): Likewise.
24935         [C99-based standards] (INT_FAST32_MAX): Likewise.
24936         [C99-based standards] (INT_FAST64_MIN): Likewise.
24937         [C99-based standards] (INT_FAST64_MAX): Likewise.
24938         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24939         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24940         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24941         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24942         [C99-based standards] (INTPTR_MIN): Likewise.
24943         [C99-based standards] (INTPTR_MAX): Likewise.
24944         [C99-based standards] (UINTPTR_MAX): Likewise.
24945         [C99-based standards] (INTMAX_MIN): Likewise.
24946         [C99-based standards] (INTMAX_MAX): Likewise.
24947         [C99-based standards] (UINTMAX_MAX): Likewise.
24948         [C99-based standards] (PTRDIFF_MIN): Likewise.
24949         [C99-based standards] (PTRDIFF_MAX): Likewise.
24950         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24951         [C99-based standards] (SIZE_MAX): Likewise.
24952         [C99-based standards] (WCHAR_MAX): Likewise.
24953         [C99-based standards] (WINT_MAX): Likewise.
24954         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24955         constraint on value.
24956         [C99-based standards] (WCHAR_MIN): Likewise.
24957         [C99-based standards] (WINT_MIN): Likewise.
24958         [C99-based standards] (*_t): Allow.
24959         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24960         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24961         Include math.h-data and complex.h-data.  Remove all expectations
24962         of math.h and complex.h contents.
24963         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24964         at end of line.
24965         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24966         (struct tm): Expect tag.
24967         [C99-based-standards] (wcstof): Expect function.
24968         [C99-based-standards] (wcstold): Likewise.
24969         [C99-based-standards] (wcstoll): Likewise.
24970         [C99-based-standards] (wcstoull): Likewise.
24971         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24972         macro-int-constant.  Specify type.
24973         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24974         constraint on value.
24975         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24976         Specify type.
24977         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24978         Specify value.
24979         [ISO C standards]: Do not allow headers.
24980         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24981         wcs[abcdefghijklmnopqrstuvwxyz]*.
24982         [ISO C standards] (*_t): Do not allow.
24983         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24984         Expect function.
24985         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24986         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24987         Specify type.
24988         [ISO C standards]: Do not allow headers.
24989         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24990         is[abcdefghijklmnopqrstuvwxyz]*.
24991         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24992         to[abcdefghijklmnopqrstuvwxyz]*.
24993         [ISO C standards] (*_t): Do not allow.
24994         * conform/data/stdalign.h-data: New file.
24995         * conform/data/stdbool.h-data: Likewise.
24996         * conform/data/stdnoreturn.h-data: Likewise.
24997
24998 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24999
25000         [BZ #14815]
25001         * manual/filesys.texi (Directory Entries): Typo fix.
25002         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25003
25004 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25005
25006         * elf/elf.h (EM_AARCH64): New macro.
25007         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25008         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25009         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25010         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25011         (R_AARCH64_TLSDESC): Likewise.
25012         (NT_ARM_TLS): Likewise.
25013         (NT_ARM_HW_BREAK): Likewise.
25014         (NT_ARM_HW_WATCH): Likewise.
25015
25016 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25017
25018         [BZ #14811]
25019         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25020         (__ieee754_powl): Saturate nonzero exponents with absolute value
25021         below 0x1p-79 to +/- 0x1p-79.
25022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25023         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25024         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25025         nonzero exponents with absolute value below 0x1p-32 to +/-
25026         0x1p-32.
25027         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25028         (__ieee754_powl): Saturate nonzero exponents with absolute value
25029         below 0x1p-79 to +/- 0x1p-79.
25030         * math/libm-test.inc (pow_test): Add more tests.
25031
25032 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25033
25034         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25035         _dl_s390_cap_flags with kernel. Increase string length.
25036         (_dl_s390_platforms): Add z196 and zEC12.
25037
25038 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25039
25040         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25041         Change XOPEN21K to XOPEN2K.
25042
25043 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25044
25045         * string/memmove.c: Use memcpy when possible.
25046
25047 2012-11-06  Andreas Jaeger  <aj@suse.de>
25048
25049         * po/eo.po: Update from translation team.
25050
25051 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25052
25053         [BZ #14793]
25054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25055         exponent and small x and y exponents, scale x or y up.  Increase
25056         by 2 the exponent used in scaling up.
25057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25059         * math/libm-test.inc (fma_test): Add more tests.
25060         (fma_test_towardzero): Likewise.
25061         (fma_test_downward): Likewise.
25062         (fma_test_upward): Likewise.
25063
25064 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25065
25066         [BZ #14805]
25067         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25068         fenv_t *.
25069
25070         [BZ #14801]
25071         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25072         namespace for names of struct fields.
25073         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25074         fenv_t fields.
25075         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25076         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25077
25078 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25079
25080         [BZ #3665]
25081         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25082
25083 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25084
25085         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25086         PTR_DEMANGLE.
25087
25088         [BZ #5246]
25089         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25090         PTR_DEMANGLE.
25091
25092 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25093
25094         [BZ #14797]
25095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25096         definitely overflow as x * y not x * y + z.
25097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25099         * math/libm-test.inc (fma_test): Add more tests.
25100         (fma_test_towardzero): Likewise.
25101         (fma_test_downward): Likewise.
25102         (fma_test_upward): Likewise.
25103
25104 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25105
25106         [BZ #157]
25107
25108         * include/stub-tag.h: Remove file.
25109         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25110         '#include' of it.
25111         * manual/maint.texi (Porting): Don't reference it.
25112         * Makerules ($(objpfx)stubs): Likewise.
25113         * dirent/closedir.c: Don't include <stub-tag.h>.
25114         * dirent/dirfd.c: Likewise.
25115         * dirent/fdopendir.c: Likewise.
25116         * dirent/getdents.c: Likewise.
25117         * dirent/getdents64.c: Likewise.
25118         * dirent/opendir.c: Likewise.
25119         * dirent/readdir.c: Likewise.
25120         * dirent/readdir64.c: Likewise.
25121         * dirent/readdir64_r.c: Likewise.
25122         * dirent/readdir_r.c: Likewise.
25123         * dirent/rewinddir.c: Likewise.
25124         * dirent/seekdir.c: Likewise.
25125         * dirent/telldir.c: Likewise.
25126         * gmon/profil.c: Likewise.
25127         * grp/setgroups.c: Likewise.
25128         * inet/if_index.c: Likewise.
25129         * io/access.c: Likewise.
25130         * io/chdir.c: Likewise.
25131         * io/chmod.c: Likewise.
25132         * io/chown.c: Likewise.
25133         * io/close.c: Likewise.
25134         * io/dup.c: Likewise.
25135         * io/dup2.c: Likewise.
25136         * io/dup3.c: Likewise.
25137         * io/euidaccess.c: Likewise.
25138         * io/faccessat.c: Likewise.
25139         * io/fchdir.c: Likewise.
25140         * io/fchmod.c: Likewise.
25141         * io/fchmodat.c: Likewise.
25142         * io/fchown.c: Likewise.
25143         * io/fchownat.c: Likewise.
25144         * io/fcntl.c: Likewise.
25145         * io/flock.c: Likewise.
25146         * io/fstatfs.c: Likewise.
25147         * io/fstatfs64.c: Likewise.
25148         * io/fstatvfs.c: Likewise.
25149         * io/fstatvfs64.c: Likewise.
25150         * io/futimens.c: Likewise.
25151         * io/fxstat.c: Likewise.
25152         * io/fxstat64.c: Likewise.
25153         * io/fxstatat.c: Likewise.
25154         * io/fxstatat64.c: Likewise.
25155         * io/getcwd.c: Likewise.
25156         * io/isatty.c: Likewise.
25157         * io/lchmod.c: Likewise.
25158         * io/lchown.c: Likewise.
25159         * io/link.c: Likewise.
25160         * io/linkat.c: Likewise.
25161         * io/lseek.c: Likewise.
25162         * io/lseek64.c: Likewise.
25163         * io/lxstat64.c: Likewise.
25164         * io/mkdir.c: Likewise.
25165         * io/mkdirat.c: Likewise.
25166         * io/mkfifo.c: Likewise.
25167         * io/mkfifoat.c: Likewise.
25168         * io/open.c: Likewise.
25169         * io/open64.c: Likewise.
25170         * io/openat.c: Likewise.
25171         * io/openat64.c: Likewise.
25172         * io/pipe.c: Likewise.
25173         * io/pipe2.c: Likewise.
25174         * io/poll.c: Likewise.
25175         * io/posix_fadvise.c: Likewise.
25176         * io/posix_fadvise64.c: Likewise.
25177         * io/posix_fallocate.c: Likewise.
25178         * io/posix_fallocate64.c: Likewise.
25179         * io/read.c: Likewise.
25180         * io/readlink.c: Likewise.
25181         * io/readlinkat.c: Likewise.
25182         * io/rmdir.c: Likewise.
25183         * io/sendfile.c: Likewise.
25184         * io/sendfile64.c: Likewise.
25185         * io/statfs.c: Likewise.
25186         * io/statfs64.c: Likewise.
25187         * io/statvfs.c: Likewise.
25188         * io/statvfs64.c: Likewise.
25189         * io/symlink.c: Likewise.
25190         * io/symlinkat.c: Likewise.
25191         * io/ttyname.c: Likewise.
25192         * io/ttyname_r.c: Likewise.
25193         * io/umask.c: Likewise.
25194         * io/unlink.c: Likewise.
25195         * io/unlinkat.c: Likewise.
25196         * io/utime.c: Likewise.
25197         * io/utimensat.c: Likewise.
25198         * io/write.c: Likewise.
25199         * io/xmknod.c: Likewise.
25200         * io/xmknodat.c: Likewise.
25201         * io/xstat.c: Likewise.
25202         * io/xstat64.c: Likewise.
25203         * login/getpt.c: Likewise.
25204         * login/grantpt.c: Likewise.
25205         * login/unlockpt.c: Likewise.
25206         * math/e_acoshl.c: Likewise.
25207         * math/e_acosl.c: Likewise.
25208         * math/e_asinl.c: Likewise.
25209         * math/e_atan2l.c: Likewise.
25210         * math/e_atanhl.c: Likewise.
25211         * math/e_coshl.c: Likewise.
25212         * math/e_expl.c: Likewise.
25213         * math/e_fmodl.c: Likewise.
25214         * math/e_gammal_r.c: Likewise.
25215         * math/e_hypotl.c: Likewise.
25216         * math/e_j0l.c: Likewise.
25217         * math/e_j1l.c: Likewise.
25218         * math/e_jnl.c: Likewise.
25219         * math/e_lgammal_r.c: Likewise.
25220         * math/e_log10l.c: Likewise.
25221         * math/e_log2l.c: Likewise.
25222         * math/e_logl.c: Likewise.
25223         * math/e_powl.c: Likewise.
25224         * math/e_rem_pio2l.c: Likewise.
25225         * math/e_sinhl.c: Likewise.
25226         * math/e_sqrtl.c: Likewise.
25227         * math/fclrexcpt.c: Likewise.
25228         * math/fedisblxcpt.c: Likewise.
25229         * math/feenablxcpt.c: Likewise.
25230         * math/fegetenv.c: Likewise.
25231         * math/fegetexcept.c: Likewise.
25232         * math/fegetround.c: Likewise.
25233         * math/feholdexcpt.c: Likewise.
25234         * math/fesetenv.c: Likewise.
25235         * math/fesetround.c: Likewise.
25236         * math/feupdateenv.c: Likewise.
25237         * math/fgetexcptflg.c: Likewise.
25238         * math/fraiseexcpt.c: Likewise.
25239         * math/fsetexcptflg.c: Likewise.
25240         * math/ftestexcept.c: Likewise.
25241         * math/k_cosl.c: Likewise.
25242         * math/k_rem_pio2l.c: Likewise.
25243         * math/k_sinl.c: Likewise.
25244         * math/k_tanl.c: Likewise.
25245         * math/s_asinhl.c: Likewise.
25246         * math/s_atanl.c: Likewise.
25247         * math/s_cbrtl.c: Likewise.
25248         * math/s_erfl.c: Likewise.
25249         * math/s_expm1l.c: Likewise.
25250         * math/s_log1pl.c: Likewise.
25251         * math/s_tanhl.c: Likewise.
25252         * misc/acct.c: Likewise.
25253         * misc/brk.c: Likewise.
25254         * misc/chflags.c: Likewise.
25255         * misc/chroot.c: Likewise.
25256         * misc/fchflags.c: Likewise.
25257         * misc/fgetxattr.c: Likewise.
25258         * misc/flistxattr.c: Likewise.
25259         * misc/fremovexattr.c: Likewise.
25260         * misc/fsetxattr.c: Likewise.
25261         * misc/fsync.c: Likewise.
25262         * misc/ftruncate.c: Likewise.
25263         * misc/futimes.c: Likewise.
25264         * misc/futimesat.c: Likewise.
25265         * misc/getdomain.c: Likewise.
25266         * misc/getdtsz.c: Likewise.
25267         * misc/gethostid.c: Likewise.
25268         * misc/gethostname.c: Likewise.
25269         * misc/getloadavg.c: Likewise.
25270         * misc/getpagesize.c: Likewise.
25271         * misc/getsysstats.c: Likewise.
25272         * misc/getxattr.c: Likewise.
25273         * misc/gtty.c: Likewise.
25274         * misc/ioctl.c: Likewise.
25275         * misc/lgetxattr.c: Likewise.
25276         * misc/listxattr.c: Likewise.
25277         * misc/llistxattr.c: Likewise.
25278         * misc/lremovexattr.c: Likewise.
25279         * misc/lsetxattr.c: Likewise.
25280         * misc/lutimes.c: Likewise.
25281         * misc/madvise.c: Likewise.
25282         * misc/mincore.c: Likewise.
25283         * misc/mlock.c: Likewise.
25284         * misc/mlockall.c: Likewise.
25285         * misc/mmap.c: Likewise.
25286         * misc/mprotect.c: Likewise.
25287         * misc/msync.c: Likewise.
25288         * misc/munlock.c: Likewise.
25289         * misc/munlockall.c: Likewise.
25290         * misc/munmap.c: Likewise.
25291         * misc/preadv.c: Likewise.
25292         * misc/preadv64.c: Likewise.
25293         * misc/ptrace.c: Likewise.
25294         * misc/pwritev.c: Likewise.
25295         * misc/pwritev64.c: Likewise.
25296         * misc/readv.c: Likewise.
25297         * misc/reboot.c: Likewise.
25298         * misc/remap_file_pages.c: Likewise.
25299         * misc/removexattr.c: Likewise.
25300         * misc/revoke.c: Likewise.
25301         * misc/select.c: Likewise.
25302         * misc/setdomain.c: Likewise.
25303         * misc/setegid.c: Likewise.
25304         * misc/seteuid.c: Likewise.
25305         * misc/sethostid.c: Likewise.
25306         * misc/sethostname.c: Likewise.
25307         * misc/setregid.c: Likewise.
25308         * misc/setreuid.c: Likewise.
25309         * misc/setxattr.c: Likewise.
25310         * misc/sstk.c: Likewise.
25311         * misc/stty.c: Likewise.
25312         * misc/swapoff.c: Likewise.
25313         * misc/swapon.c: Likewise.
25314         * misc/sync.c: Likewise.
25315         * misc/syncfs.c: Likewise.
25316         * misc/syscall.c: Likewise.
25317         * misc/truncate.c: Likewise.
25318         * misc/ualarm.c: Likewise.
25319         * misc/usleep.c: Likewise.
25320         * misc/ustat.c: Likewise.
25321         * misc/utimes.c: Likewise.
25322         * misc/vhangup.c: Likewise.
25323         * misc/writev.c: Likewise.
25324         * posix/_exit.c: Likewise.
25325         * posix/alarm.c: Likewise.
25326         * posix/execve.c: Likewise.
25327         * posix/fexecve.c: Likewise.
25328         * posix/fork.c: Likewise.
25329         * posix/fpathconf.c: Likewise.
25330         * posix/getaddrinfo.c: Likewise.
25331         * posix/getegid.c: Likewise.
25332         * posix/geteuid.c: Likewise.
25333         * posix/getgid.c: Likewise.
25334         * posix/getgroups.c: Likewise.
25335         * posix/getlogin.c: Likewise.
25336         * posix/getlogin_r.c: Likewise.
25337         * posix/getpgid.c: Likewise.
25338         * posix/getpid.c: Likewise.
25339         * posix/getppid.c: Likewise.
25340         * posix/getresgid.c: Likewise.
25341         * posix/getresuid.c: Likewise.
25342         * posix/getsid.c: Likewise.
25343         * posix/getuid.c: Likewise.
25344         * posix/glob64.c: Likewise.
25345         * posix/nanosleep.c: Likewise.
25346         * posix/pathconf.c: Likewise.
25347         * posix/pause.c: Likewise.
25348         * posix/posix_madvise.c: Likewise.
25349         * posix/pread.c: Likewise.
25350         * posix/pread64.c: Likewise.
25351         * posix/pwrite.c: Likewise.
25352         * posix/pwrite64.c: Likewise.
25353         * posix/sched_getaffinity.c: Likewise.
25354         * posix/sched_getp.c: Likewise.
25355         * posix/sched_gets.c: Likewise.
25356         * posix/sched_primax.c: Likewise.
25357         * posix/sched_primin.c: Likewise.
25358         * posix/sched_rr_gi.c: Likewise.
25359         * posix/sched_setaffinity.c: Likewise.
25360         * posix/sched_setp.c: Likewise.
25361         * posix/sched_sets.c: Likewise.
25362         * posix/sched_yield.c: Likewise.
25363         * posix/setgid.c: Likewise.
25364         * posix/setlogin.c: Likewise.
25365         * posix/setpgid.c: Likewise.
25366         * posix/setresgid.c: Likewise.
25367         * posix/setresuid.c: Likewise.
25368         * posix/setsid.c: Likewise.
25369         * posix/setuid.c: Likewise.
25370         * posix/sleep.c: Likewise.
25371         * posix/spawni.c: Likewise.
25372         * posix/sysconf.c: Likewise.
25373         * posix/times.c: Likewise.
25374         * posix/wait.c: Likewise.
25375         * posix/wait3.c: Likewise.
25376         * posix/wait4.c: Likewise.
25377         * posix/waitpid.c: Likewise.
25378         * resolv/gai_sigqueue.c: Likewise.
25379         * resource/getpriority.c: Likewise.
25380         * resource/getrlimit.c: Likewise.
25381         * resource/getrusage.c: Likewise.
25382         * resource/nice.c: Likewise.
25383         * resource/setpriority.c: Likewise.
25384         * resource/setrlimit.c: Likewise.
25385         * resource/ulimit.c: Likewise.
25386         * rt/aio_cancel.c: Likewise.
25387         * rt/aio_fsync.c: Likewise.
25388         * rt/aio_read.c: Likewise.
25389         * rt/aio_sigqueue.c: Likewise.
25390         * rt/aio_suspend.c: Likewise.
25391         * rt/aio_write.c: Likewise.
25392         * rt/clock_getres.c: Likewise.
25393         * rt/clock_gettime.c: Likewise.
25394         * rt/clock_nanosleep.c: Likewise.
25395         * rt/clock_settime.c: Likewise.
25396         * rt/lio_listio.c: Likewise.
25397         * rt/mq_close.c: Likewise.
25398         * rt/mq_getattr.c: Likewise.
25399         * rt/mq_notify.c: Likewise.
25400         * rt/mq_open.c: Likewise.
25401         * rt/mq_receive.c: Likewise.
25402         * rt/mq_send.c: Likewise.
25403         * rt/mq_setattr.c: Likewise.
25404         * rt/mq_timedreceive.c: Likewise.
25405         * rt/mq_timedsend.c: Likewise.
25406         * rt/mq_unlink.c: Likewise.
25407         * rt/shm_open.c: Likewise.
25408         * rt/shm_unlink.c: Likewise.
25409         * rt/timer_create.c: Likewise.
25410         * rt/timer_delete.c: Likewise.
25411         * rt/timer_getoverr.c: Likewise.
25412         * rt/timer_gettime.c: Likewise.
25413         * rt/timer_settime.c: Likewise.
25414         * setjmp/__longjmp.c: Likewise.
25415         * setjmp/setjmp.c: Likewise.
25416         * signal/kill.c: Likewise.
25417         * signal/killpg.c: Likewise.
25418         * signal/raise.c: Likewise.
25419         * signal/sigaction.c: Likewise.
25420         * signal/sigaltstack.c: Likewise.
25421         * signal/sigblock.c: Likewise.
25422         * signal/sigignore.c: Likewise.
25423         * signal/sigintr.c: Likewise.
25424         * signal/signal.c: Likewise.
25425         * signal/sigpause.c: Likewise.
25426         * signal/sigpending.c: Likewise.
25427         * signal/sigqueue.c: Likewise.
25428         * signal/sigreturn.c: Likewise.
25429         * signal/sigset.c: Likewise.
25430         * signal/sigsetmask.c: Likewise.
25431         * signal/sigstack.c: Likewise.
25432         * signal/sigsuspend.c: Likewise.
25433         * signal/sigtimedwait.c: Likewise.
25434         * signal/sigvec.c: Likewise.
25435         * signal/sigwait.c: Likewise.
25436         * signal/sigwaitinfo.c: Likewise.
25437         * signal/sysv_signal.c: Likewise.
25438         * socket/accept.c: Likewise.
25439         * socket/accept4.c: Likewise.
25440         * socket/bind.c: Likewise.
25441         * socket/connect.c: Likewise.
25442         * socket/getpeername.c: Likewise.
25443         * socket/getsockname.c: Likewise.
25444         * socket/getsockopt.c: Likewise.
25445         * socket/isfdtype.c: Likewise.
25446         * socket/listen.c: Likewise.
25447         * socket/recv.c: Likewise.
25448         * socket/recvfrom.c: Likewise.
25449         * socket/recvmsg.c: Likewise.
25450         * socket/send.c: Likewise.
25451         * socket/sendmsg.c: Likewise.
25452         * socket/sendto.c: Likewise.
25453         * socket/setsockopt.c: Likewise.
25454         * socket/shutdown.c: Likewise.
25455         * socket/sockatmark.c: Likewise.
25456         * socket/socket.c: Likewise.
25457         * socket/socketpair.c: Likewise.
25458         * stdio-common/ctermid.c: Likewise.
25459         * stdio-common/cuserid.c: Likewise.
25460         * stdio-common/remove.c: Likewise.
25461         * stdio-common/rename.c: Likewise.
25462         * stdio-common/renameat.c: Likewise.
25463         * stdio-common/tempname.c: Likewise.
25464         * stdlib/getcontext.c: Likewise.
25465         * stdlib/makecontext.c: Likewise.
25466         * stdlib/setcontext.c: Likewise.
25467         * stdlib/swapcontext.c: Likewise.
25468         * stdlib/system.c: Likewise.
25469         * streams/fattach.c: Likewise.
25470         * streams/fdetach.c: Likewise.
25471         * streams/getmsg.c: Likewise.
25472         * streams/getpmsg.c: Likewise.
25473         * streams/putmsg.c: Likewise.
25474         * streams/putpmsg.c: Likewise.
25475         * sysdeps/unix/bsd/getpt.c: Likewise.
25476         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25477         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25478         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25480         Likewise.
25481         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25482         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25483         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25484         * sysvipc/msgctl.c: Likewise.
25485         * sysvipc/msgget.c: Likewise.
25486         * sysvipc/msgrcv.c: Likewise.
25487         * sysvipc/msgsnd.c: Likewise.
25488         * sysvipc/semctl.c: Likewise.
25489         * sysvipc/semget.c: Likewise.
25490         * sysvipc/semop.c: Likewise.
25491         * sysvipc/semtimedop.c: Likewise.
25492         * sysvipc/shmat.c: Likewise.
25493         * sysvipc/shmctl.c: Likewise.
25494         * sysvipc/shmdt.c: Likewise.
25495         * sysvipc/shmget.c: Likewise.
25496         * termios/tcdrain.c: Likewise.
25497         * termios/tcflow.c: Likewise.
25498         * termios/tcflush.c: Likewise.
25499         * termios/tcgetattr.c: Likewise.
25500         * termios/tcgetpgrp.c: Likewise.
25501         * termios/tcsendbrk.c: Likewise.
25502         * termios/tcsetattr.c: Likewise.
25503         * termios/tcsetpgrp.c: Likewise.
25504         * time/adjtime.c: Likewise.
25505         * time/clock.c: Likewise.
25506         * time/getitimer.c: Likewise.
25507         * time/gettimeofday.c: Likewise.
25508         * time/setitimer.c: Likewise.
25509         * time/settimeofday.c: Likewise.
25510         * time/stime.c: Likewise.
25511         * time/time.c: Likewise.
25512
25513 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25514
25515         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25516         /usr/old/bin.
25517
25518         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25519         instead of spaces.
25520         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25521
25522 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25523
25524         [BZ #14796]
25525         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25526         FE_TONEAREST before applying Dekker multiplication and Knuth
25527         addition.  Clear inexact exceptions and check for exact zero
25528         results afterwards.
25529         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25530         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25532         * math/libm-test.inc (fma_test): Add more tests.
25533         (fma_test_towardzero): Likewise.
25534         (fma_test_downward): Likewise.
25535         (fma_test_upward): Likewise.
25536         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25537         function.
25538         (libc_fesetround): New macro.
25539         (libc_fesetroundf): Likewise.
25540         (libc_fesetroundl): Likewise.
25541         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25542         function.
25543         (libc_fesetround_387): Likewise.
25544         (libc_fesetroundf): New macro.
25545         (libc_fesetround): Likewise.
25546         (libc_fesetroundl): Likewise.
25547         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25548         function.
25549         (libc_fesetroundf): New macro.
25550         (libc_fesetround): Likewise.
25551         (libc_fesetroundl): Likewise.
25552         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25553         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25554         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25555         libm_hidden_ver.
25556         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25557         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25558         libm_hidden_def.
25559         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25560         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25561         libm_hidden_ver.
25562         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25563         libm_hidden_def.
25564
25565         [BZ #3439]
25566         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25567         integer constant usable in #if and use that to give value to enum
25568         constant.
25569         (FE_DIVBYZERO): Likewise.
25570         (FE_UNDERFLOW): Likewise.
25571         (FE_OVERFLOW): Likewise.
25572         (FE_INVALID): Likewise.
25573         (FE_INVALID_SNAN): Likewise.
25574         (FE_INVALID_ISI): Likewise.
25575         (FE_INVALID_IDI): Likewise.
25576         (FE_INVALID_ZDZ): Likewise.
25577         (FE_INVALID_IMZ): Likewise.
25578         (FE_INVALID_COMPARE): Likewise.
25579         (FE_INVALID_SOFTWARE): Likewise.
25580         (FE_INVALID_SQRT): Likewise.
25581         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25582         (FE_TONEAREST): Likewise.
25583         (FE_TOWARDZERO): Likewise.
25584         (FE_UPWARD): Likewise.
25585         (FE_DOWNWARD): Likewise.
25586         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25587         (FE_DIVBYZERO): Likewise.
25588         (FE_OVERFLOW): Likewise.
25589         (FE_UNDERFLOW): Likewise.
25590         (FE_INEXACT): Likewise.
25591         (FE_TONEAREST): Likewise.
25592         (FE_DOWNWARD): Likewise.
25593         (FE_UPWARD): Likewise.
25594         (FE_TOWARDZERO): Likewise.
25595         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25596         (FE_UNDERFLOW): Likewise.
25597         (FE_OVERFLOW): Likewise.
25598         (FE_DIVBYZERO): Likewise.
25599         (FE_INVALID): Likewise.
25600         (FE_TONEAREST): Likewise.
25601         (FE_TOWARDZERO): Likewise.
25602         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25603         (FE_OVERFLOW): Likewise.
25604         (FE_UNDERFLOW): Likewise.
25605         (FE_DIVBYZERO): Likewise.
25606         (FE_INEXACT): Likewise.
25607         (FE_TONEAREST): Likewise.
25608         (FE_TOWARDZERO): Likewise.
25609         (FE_UPWARD): Likewise.
25610         (FE_DOWNWARD): Likewise.
25611         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25612         (FE_DIVBYZERO): Likewise.
25613         (FE_OVERFLOW): Likewise.
25614         (FE_UNDERFLOW): Likewise.
25615         (FE_INEXACT): Likewise.
25616         (FE_TONEAREST): Likewise.
25617         (FE_DOWNWARD): Likewise.
25618         (FE_UPWARD): Likewise.
25619         (FE_TOWARDZERO): Likewise.
25620
25621 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25622
25623         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25624
25625 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25626
25627         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25628         commands.  Quote $PWD.
25629         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25630         -x" by "export".
25631         (remove_newlines): Remove.
25632
25633 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25634
25635         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25636         * stdlib/stdlib.h (atof): Moved to ...
25637         * include/bits/stdlib-float.h: Here.  New file.
25638         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25639         * stdlib/bits/stdlib-float.h: New file.
25640         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25641         -mno-sse -mno-mmx.
25642         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25643         <xmmintrin.h>.
25644
25645 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25646
25647         * conform/conformtest.pl (@headers): Add fenv.h.
25648         * conform/data/fenv.h-data: New file.
25649         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25650         include of <math/fenv.h>.
25651
25652         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25653         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25654         && !UNIX98].  Enables tests for XOPEN2K8.
25655         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25656         POSIX2008]: Likewise.
25657
25658         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25659         (struct rusage): Do not expect type or its members.
25660
25661         [BZ #3439]
25662         * math/math.h (FP_NAN): Define macro to integer constant usable in
25663         #if and use that to give value to enum constant.
25664         (FP_INFINITE): Likewise.
25665         (FP_ZERO): Likewise.
25666         (FP_SUBNORMAL): Likewise.
25667         (FP_NORMAL): Likewise.
25668
25669 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25670
25671         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25672         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25673         arguments.
25674
25675 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25676
25677         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25678         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25679         autoconf-time if not.
25680         * configure.in: Remove AC_PREREQ.
25681
25682 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25683
25684         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25685         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25686         of the internal implementation.
25687
25688 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25689
25690         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25691         except include of <misc/sys/syslog.h>.
25692
25693 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25694
25695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25696         function returns with a NULL context exit with zero.
25697
25698 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25699
25700         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25701
25702 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25703
25704         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25705         (run_program_cmd): This.
25706         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25707         (tst_langinfo): New variable.  Use it.
25708
25709 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25710
25711         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25712         floating point opcodes.
25713
25714 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25715
25716         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25717         variable.
25718
25719         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25720
25721         * sysdeps/mach/hurd/powerpc: Remove directory.
25722         * sysdeps/mach/powerpc: Likewise.
25723
25724 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25725
25726         * scripts/check-local-headers.sh: Ignore c++ headers.
25727
25728 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25729
25730         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25731         __libc_cleanup_region_start argument.
25732
25733 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25734
25735         [BZ #14784]
25736         [BZ #14785]
25737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25738         x * y using scaling, not as x * y + z.
25739         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25740         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25741         * math/libm-test.inc (fma_test): Add more tests.
25742         (fma_test_towardzero): Likewise.
25743         (fma_test_downward): Likewise.
25744         (fma_test_upward): Likewise.
25745
25746 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25747
25748         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25749
25750 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25751
25752         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25753         New variable.
25754
25755 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25756
25757         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25758
25759 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25760
25761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25762         Fix sort order.
25763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25764         Likewise.
25765
25766 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25767
25768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25769         Fix the order of the list for glibc 2.17.
25770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25771         Likewise.
25772
25773 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25774
25775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25776
25777 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25778
25779         [BZ #14610]
25780         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25781         for low part of x being zero before using __atanl (y).
25782         * math/libm-test.inc (atan2_test): Add another test.
25783
25784         * manual/install.texi (Configuring and compiling): Document
25785         general use of test-wrapper and test-wrapper-env.
25786         * INSTALL: Regenerated.
25787
25788         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25789         (__fma): Do not extract and scale down low bits on after-rounding
25790         systems when result rounded to normal precision would have normal
25791         exponent.
25792         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25793         (__fmal): Do not extract and scale down low bits on after-rounding
25794         systems when result rounded to normal precision would have normal
25795         exponent.
25796         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25797         (__fmal): Do not extract and scale down low bits on after-rounding
25798         systems when result rounded to normal precision would have normal
25799         exponent.
25800         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25801         macro.
25802         (fma_test): Add more tests.
25803         (fma_test_towardzero): Likewise.
25804         (fma_test_downward): Likewise.
25805         (fma_test_upward): Likewise.
25806
25807 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25808
25809         * sysdeps/i386/tininess.h: Renamed to ...
25810         * sysdeps/x86/tininess.h: This.
25811         * sysdeps/x86_64/tininess.h: Removed.
25812
25813 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25814
25815         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25816         input.  Use $(build-program-cmd).
25817         ($(objpfx)tst-array1-static.out): Likewise.
25818         ($(objpfx)tst-array2.out): Likewise.
25819         ($(objpfx)tst-array3.out): Likewise.
25820         ($(objpfx)tst-array4.out): Likewise.
25821         ($(objpfx)tst-array5.out): Likewise.
25822         ($(objpfx)tst-array5-static.out): Likewise.
25823
25824 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25825
25826         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25827         if defined.
25828
25829         * nss/nsswitch.h (nss_interface_function): Provide new
25830         macro for use with NSS functions.
25831         * grp/initgroups.c: Use new macro.
25832         * nss/getXXbyYY.c: Likewise.
25833         * nss/getXXbyYY_r.c: Likewise.
25834         * nss/getXXent.c: Likewise.
25835         * nss/getXXent_r.c: Likewise.
25836         * sysdeps/posix/getaddrinfo.c: Likewise.
25837
25838 2012-10-30  Andreas Jaeger  <aj@suse.de>
25839
25840         * po/ru.po: Update Russion translation from translation project.
25841
25842 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25843
25844         [BZ #14152]
25845         [BZ #14783]
25846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25847         result and shift together with sticky bit instead of replicating
25848         round-to-nearest rounding.
25849         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25850         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25851         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25852         missing underflow exceptions.
25853         (fma_test_towardzero): Add more tests.
25854         (fma_test_downward): Likewise.
25855         (fma_test_upward): Likewise.
25856
25857         [BZ #14047]
25858         * sysdeps/generic/tininess.h: New file.
25859         * sysdeps/i386/tininess.h: Likewise.
25860         * sysdeps/sh/tininess.h: Likewise.
25861         * sysdeps/x86_64/tininess.h: Likewise.
25862         * stdlib/tst-strtod-underflow.c: Likewise.
25863         * stdlib/tst-tininess.c: Likewise.
25864         * stdlib/strtod_l.c: Include <tininess.h>.
25865         (round_and_return): Do not set errno for exact underflow cases.
25866         Force an underflow exception when setting errno for underflow.
25867         Determine underflow based on rounding to normal precision if
25868         TININESS_AFTER_ROUNDING.
25869         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25870         ERANGE for exact underflow cases.
25871         * stdlib/Makefile (tests): Add tst-tininess and
25872         tst-strtod-underflow.
25873         ($(objpfx)tst-tininess): Use $(link-libm).
25874         ($(objpfx)tst-strtod-underflow): Likewise.
25875
25876 2012-10-30  Andreas Jaeger  <aj@suse.de>
25877
25878         [BZ#14767]
25879         * elf/Makefile (tests): Remove conditional for have-initfini-array
25880         since this is now always required and the variable does not exist
25881         anymore.
25882         (tests-static): Likewise.
25883         (modules-names): Likewise.
25884
25885         * po/eo.po: Add Esperanto translation from translation project.
25886
25887         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25888         merged with constructor/destructor.
25889         (init_array): Likewise.
25890         * elf/tst-array2dep.c (fini_array): Likewise.
25891         (init_array): Likewise.
25892
25893 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25894
25895         * manual/message.texi: Delete @cartouche tags.
25896
25897 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25898
25899         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25900         EOPNOTSUPP.
25901         * sysdeps/mach/hurd/fsync.c: Likewise.
25902
25903         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25904         [_POSIX_REALTIME_SIGNALS]: Change condition to
25905         [_POSIX_REALTIME_SIGNALS > 0].
25906
25907 2012-10-27  Andreas Jaeger  <aj@suse.de>
25908
25909         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25910         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25911         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25912         [__WORDSIZE != 64]: Likewise.
25913
25914 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25915
25916         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25917         *  iconvdata/tst-tables.sh: Likewise.
25918
25919 2012-10-25  David S. Miller  <davem@davemloft.net>
25920
25921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25922         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25923         of strtoull.
25924
25925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25926         ifunc-impl-list.c
25927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25928         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25929         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25930         file.
25931
25932 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25933
25934         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25935         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25936         __getdirentries.
25937
25938 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25939             Jim Blandy  <jimb@codesourcery.com>
25940
25941         * scripts/cross-test-ssh.sh: New file.
25942         * manual/install.texi (Configuring and compiling): Document use of
25943         cross-test-ssh.sh.
25944         * INSTALL: Regenerated.
25945
25946 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25947
25948         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25949         EOPNOTSUPP.
25950
25951 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25952
25953         * Makeconfig (run-program-prefix): Fix comment.
25954
25955 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25956             Jim Blandy  <jimb@codesourcery.com>
25957
25958         * Makeconfig (test-wrapper): New variable,
25959         (test-wrapper-env): Likewise.
25960         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25961         (run-built-tests): Define to yes.
25962         (run-program-prefix): Use $(test-wrapper).
25963         (built-program-cmd): Likewise.
25964         * Rules (make-test-out): Use $(test-wrapper-env) and
25965         $(host-built-program-cmd).
25966         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25967         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25968         tst-pathopt.sh.
25969         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25970         $(test-wrapper-env) to tst-rtld-load-self.sh.
25971         ($(objpfx)order2.out): Use $(test-wrapper).
25972         ($(objpfx)tst-initorder.out): Likewise.
25973         ($(objpfx)tst-initorder2.out): Likewise.
25974         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25975         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25976         (test_wrapper_env): New variable.  Use it to run ld.so.
25977         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25978         Use it to run ld.so.
25979         (test_wrapper_env): Likewise.
25980         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25981         $(test-wrapper) to run-iconv-test.sh.
25982         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25983         (ICONV): Use $test_wrapper.
25984         * posix/Makefile ($(objpfx)globtest.out): Pass
25985         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25986         globtest.sh, not $(run-program-prefix).
25987         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25988         (test_wrapper): Likewise.
25989         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25990         set together with run_via_rtld_prefix.
25991         (run_program_prefix): Define in terms of test_wrapper and
25992         run_via_rtld_prefix.
25993
25994 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25995
25996         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25997         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25998         Targets removed.
25999
26000         [BZ #14743]
26001         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26002         Declare __clock_getres, __clock_gettime, __clock_settime,
26003         __clock_nanosleep, and __clock_getcpuclockid.
26004         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26005         Remove librt_hidden_def (clock_gettime).
26006         * sysdeps/unix/clock_gettime.c: Likewise.
26007         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26008         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26009         * rt/clock_getres.c: Define __clock_getres as an alias.
26010         * sysdeps/posix/clock_getres.c: Likewise.
26011         * rt/clock_settime.c: Define __clock_settime as an alias.
26012         * sysdeps/unix/clock_settime.c: Likewise.
26013         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26014         * sysdeps/unix/clock_nanosleep.c: Likewise.
26015         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26016         * rt/clock-compat.c: New file.
26017         * rt/Makefile (librt-routines): Add clock-compat and move
26018         $(clock-routines) to ...
26019         (routines): ... here, new variable.
26020         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26021         Don't add get_clockfreq here.
26022         * rt/Versions (libc: GLIBC_2.17): New version set.
26023         Add clock_* symbols here.
26024         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26025         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26026         (GLIBC_2.17): Add clock_* symbols.
26027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26029         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26031         Likewise.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26033         Likewise.
26034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26038         * NEWS: Mention the move.
26039
26040         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26041         Use __open, __read, __close rather than their public counterparts.
26042         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26043         (__get_clockfreq_via_cpuinfo): Likewise.
26044         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26045         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26046
26047         * config.h.in (HAVE_IFUNC): New #undef.
26048         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26049         was successful.
26050         * configure: Regenerated.
26051
26052 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26053
26054         * configure.in: Move READELF check to start of file.
26055         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26056         libc_cv_asm_gnu_indirect_function in the process.
26057         * configure: Regenerated.
26058
26059 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26060
26061         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26062         send the output to /dev/null.
26063         (libc_cv_cc_with_libunwind): Likewise.
26064         (libc_cv_as_noexecstack): Likewise.
26065         * configure: Regenerate.
26066
26067 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26068
26069         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26070
26071         * posix/globtest.sh (TMPDIR): Do not set.
26072         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26073         (testout): Likewise.
26074
26075 2012-10-24  Andreas Jaeger  <aj@suse.de>
26076
26077         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26078         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26079         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26080         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26081         posix_fadvise64, posix_fallocate64.
26082
26083         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26084         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26085         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26086         Likewise.
26087         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26088         Likewise.
26089         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26090
26091         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26092         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26093         <bits/fcntl-linux.h>.
26094         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26095
26096         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26097         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26098         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26099         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26100         [__WORDSIZE != 64]: Likewise.
26101
26102 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26103
26104         * Makeconfig (run-built-tests): New variable.
26105         * Rules [$(cross-compiling) = yes]: Change condition to
26106         [$(run-built-tests) = no].
26107         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26108         to [$(run-built-tests) = yes].
26109         * elf/Makefile [$(cross-compiling) = no]: Likewise
26110         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26111         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26112         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26113         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26114         * io/Makefile [$(cross-compiling) = no]: Likewise.
26115         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26116         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26117         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26118         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26119         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26120         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26121         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26122         * string/Makefile [$(cross-compiling) = no]: Likewise.
26123
26124         * posix/Makefile ($(objpfx)globtest.out): Pass
26125         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26126         $(rtld-installed-name).
26127         * posix/globtest.sh (elf_objpfx): Remove variable.
26128         (rtld_installed_name): Likewise.
26129         (library_path): Likewise.
26130         (run_program_prefix): New variable.  Use for running globtest
26131         binary.
26132
26133 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26134             Joseph Myers  <joseph@codesourcery.com>
26135
26136         * Makeconfig (host-built-program-cmd): New variable.
26137         * elf/Makefile (tst-stackguard1-ARGS): Use
26138         $(host-built-program-cmd).
26139         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26140         (tst-spawn-ARGS): Likewise.
26141         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26142
26143 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26144             Jim Blandy  <jimb@codesourcery.com>
26145
26146         * Makeconfig (run-via-rtld-prefix): New variable.
26147         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26148         (built-program-cmd): Likewise.
26149
26150 2012-10-22  Andreas Jaeger  <aj@suse.de>
26151
26152         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26153         __O_RSYNC if it exists, otherwise to O_SYNC.
26154
26155 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26156             Joseph Myers  <joseph@codesourcery.com>
26157
26158         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26159         /dev/null.
26160         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26161         from /dev/null
26162         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26163         /dev/null.
26164
26165 2012-10-22  Andreas Jaeger  <aj@suse.de>
26166
26167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26168         Define always.
26169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26170
26171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26172         bits/fcntl-linux.h.
26173
26174         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26175         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26176
26177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26178         to __O_LARGEFILE.
26179         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26180         to __O_LARGEFILE.
26181
26182 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26183             Joseph Myers  <joseph@codesourcery.com>
26184
26185         * config.make.in (NM): New variable.
26186
26187 2012-10-21  Andreas Jaeger  <aj@suse.de>
26188
26189         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26190         definitions and declarations that are provided by
26191         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26192
26193 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26194
26195         [BZ #14683]
26196         * elf/Makefile (tests-static): Add tst-leaks1-static.
26197         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26198         ($(objpfx)tst-leaks1-static): New rule.
26199         ($(objpfx)tst-leaks1-static-mem): Likewise.
26200         (tst-leaks1-static-ENV): New macro.
26201         * elf/dl-open.c (dl_open_worker): Check the main application
26202         only if SHARED is defined.
26203         * elf/tst-leaks1-static.c: New file.
26204
26205 2012-10-20  Andreas Jaeger  <aj@suse.de>
26206
26207         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26208         generic values for Linux.
26209         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26210         and declarations that are provided by <bits/fcntl-linux.h> and
26211         include <bits/fcntl-linux.h>.
26212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26214
26215 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26216
26217         * io/fcntl.h: Move include of <bits/types.h> to the top and
26218         include it unconditionally.
26219
26220 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26221
26222         * wcsmbs/Makefile (tests-ifunc): New variable.
26223         (tests): Add $(tests-ifunc).
26224         * wcsmbs/test-wcschr-ifunc.c: New file.
26225         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26226         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26227         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26228         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26229         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26230
26231         * string/Makefile (tests-ifunc): New variable.
26232         (tests): Add $(tests-ifunc).
26233         * string/test-memccpy.c (TEST_NAME): New macro.
26234         * string/test-memchr.c (TEST_NAME): Likewise.
26235         * string/test-memcmp.c (TEST_NAME): Likewise.
26236         * string/test-memcpy.c (TEST_NAME): Likewise.
26237         * string/test-memmem.c (TEST_NAME): Likewise.
26238         * string/test-memmove.c (TEST_NAME): Likewise.
26239         * string/test-memset.c (TEST_NAME): Likewise.
26240         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26241         * string/test-stpcpy.c (TEST_NAME): Likewise.
26242         * string/test-stpncpy.c (TEST_NAME): Likewise.
26243         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26244         * string/test-strcasestr.c (TEST_NAME): Likewise.
26245         * string/test-strcat.c (TEST_NAME): Likewise.
26246         * string/test-strchr.c (TEST_NAME): Likewise.
26247         * string/test-strcmp.c(TEST_NAME): Likewise.
26248         * string/test-strcpy.c (TEST_NAME): Likewise.
26249         * string/test-strcspn.c (TEST_NAME): Likewise.
26250         * string/test-strlen.c (TEST_NAME): Likewise.
26251         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26252         * string/test-strncmp.c (TEST_NAME): Likewise.
26253         * string/test-strncpy.c (TEST_NAME): Likewise.
26254         * string/test-strnlen.c (TEST_NAME): Likewise.
26255         * string/test-strpbrk.c (TEST_NAME): Likewise.
26256         * string/test-strrchr.c (TEST_NAME): Likewise.
26257         * string/test-strspn.c (TEST_NAME): Likewise.
26258         * string/test-strstr.c (TEST_NAME): Likewise.
26259         * string/test-bcopy-ifunc.c: New file.
26260         * string/test-bzero-ifunc.c: Likewise.
26261         * string/test-memccpy-ifunc.c: Likewise.
26262         * string/test-memchr-ifunc.c: Likewise.
26263         * string/test-memcmp-ifunc.c: Likewise.
26264         * string/test-memcpy-ifunc.c: Likewise.
26265         * string/test-memmem-ifunc.c: Likewise.
26266         * string/test-memmove-ifunc.c: Likewise.
26267         * string/test-mempcpy-ifunc.c: Likewise.
26268         * string/test-memset-ifunc.c: Likewise.
26269         * string/test-rawmemchr-ifunc.c: Likewise.
26270         * string/test-stpcpy-ifunc.c: Likewise.
26271         * string/test-stpncpy-ifunc.c: Likewise.
26272         * string/test-strcasecmp-ifunc.c: Likewise.
26273         * string/test-strcasestr-ifunc.c: Likewise.
26274         * string/test-strcat-ifunc.c: Likewise.
26275         * string/test-strchr-ifunc.c: Likewise.
26276         * string/test-strchrnul-ifunc.c: Likewise.
26277         * string/test-strcmp-ifunc.c: Likewise.
26278         * string/test-strcpy-ifunc.c: Likewise.
26279         * string/test-strcspn-ifunc.c: Likewise.
26280         * string/test-strlen-ifunc.c: Likewise.
26281         * string/test-strncasecmp-ifunc.c: Likewise.
26282         * string/test-strncat-ifunc.c: Likewise.
26283         * string/test-strncmp-ifunc.c: Likewise.
26284         * string/test-strncpy-ifunc.c: Likewise.
26285         * string/test-strnlen-ifunc.c: Likewise.
26286         * string/test-strpbrk-ifunc.c: Likewise.
26287         * string/test-strrchr-ifunc.c: Likewise.
26288         * string/test-strspn-ifunc.c: Likewise.
26289         * string/test-strstr-ifunc.c: Likewise.
26290
26291         * debug/Makefile (tests-ifunc): New variable.
26292         (tests): Add $(tests-ifunc).
26293         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26294         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26295         * debug/test-stpcpy_chk-ifunc.c: New file.
26296         * debug/test-strcpy_chk-ifunc.c: Likewise.
26297
26298 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26299
26300         [BZ #13601]
26301         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26302         header is not read in.
26303
26304 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26305
26306         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26307         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26308         directly.  Pass built executable to script as
26309         $(built-program-cmd).
26310         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26311         $testprogram without using LD_LIBRARY_PATH and $ldso.
26312
26313         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26314         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26315         $(rtld-installed-name).
26316         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26317         (rtld_installed_name): Likewise.
26318         (library_path): Likewise.
26319         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26320         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26321         $(run-program-prefix) to tst-tables.sh.
26322         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26323         it to run tst-table-from and tst-table-to.
26324         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26325         Pass it to tst-table.sh.
26326         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26327         $(run-program-prefix) to tst-gettext.sh.
26328         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26329         tst-translit.sh.
26330         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26331         tst-gettext2.sh.
26332         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26333         to run tst-gettext.
26334         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26335         to run tst-gettext2.
26336         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26337         to run tst-translit.
26338         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26339         $(run-program-prefix) to tst-mtrace.sh.
26340         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26341         to run tst-mtrace.
26342         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26343         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26344         $(rtld-installed-name).
26345         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26346         (rtld_installed_name): Likewise.
26347         (run_program_prefix): New variable.  Use it to run wordexp-test.
26348
26349         * Makeconfig (ARCH): Remove all definitions.
26350         (machine): Likewise.
26351         [ARCH]: Remove conditional code.
26352         [!objdir]: Give error.
26353         [!objdir] (objpfx): Remove.
26354         [!objdir] (common-objpfx): Likewise.
26355         [!objdir] (common-objdir): Likewise.
26356         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26357         AC_CONFIG_FILES call.
26358         * configure: Regenerated.
26359
26360         [BZ #13888]
26361         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26362         or TMPDIR.
26363         (testout): Likewise.
26364
26365         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26366         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26367         $(rtld-installed-name).
26368         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26369         (rtld_installed_name): Likwise.
26370         (runit): Remove function.
26371         (run_getconf): New variable,  Use it for running getconf binary.
26372
26373 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26374
26375         [BZ #14716]
26376         * string/test-memmem.c (check_result): New function.
26377         (do_one_test): Use it.
26378         (check1): New function.
26379         (test_main): Use it.
26380
26381 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26382
26383         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26384
26385 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26386
26387         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26388         (_G_LSEEK64): Likewise.
26389         (_G_MMAP64): Likewise.
26390         (_G_FSTAT64): Likewise.
26391         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26392         (_G_LSEEK64): Likewise.
26393         (_G_MMAP64): Likewise.
26394         (_G_FSTAT64): Likewise.
26395         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26396         unconditional.  Call __mmap64 directly.
26397         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26398         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26399         __lseek64 directly.
26400         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26401         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26402         __mmap64 directly.
26403         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26404         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26405         __lseek64 directly.
26406         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26407         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26408         __lseek64 directly.
26409         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26410         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26411         __lseek64 directly.
26412         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26413         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26414         __fxstat64 directly.
26415         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26416         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26417         unconditional.
26418         (freopen64) [!_G_OPEN64]: Remove conditional code.
26419         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26420         unconditional.
26421         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26422         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26423         unconditional.
26424         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26425         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26426         unconditional.
26427         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26428         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26429         unconditional.
26430         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26431         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26432         unconditional.
26433         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26434         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26435         unconditional.
26436         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26437         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26438         unconditional.
26439         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26440
26441 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26442
26443         [BZ #12140]
26444         * manual/memory.texi (Malloc Tunable Parameters): Add note
26445         about free list pointers overwriting some perturb bytes.
26446         Wording suggested by Roland McGrath.
26447
26448 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26449
26450         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26451         (lgamma_test): Likewise.
26452         (tgamma_test): Likewise.
26453
26454 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26455
26456         [BZ #14700]
26457         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26458         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26459
26460 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26461
26462         * NEWS: Mention BZ #14716.
26463         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26464         when removing AVAILABLE1_USES_J macro.
26465
26466 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26467
26468         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26469         (__bswap_64): __uint64_t for unsigned 64-bit int.
26470
26471 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26472
26473         * include/string.h (memmem): Declare libc hidden alias.
26474         * string/memmem.c (memmem): Define libc hidden alias.
26475         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26476         __read, __close instead of open, read, close.
26477
26478 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26479
26480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26481         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26482         global and hidden.
26483         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26484         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26485         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26486         Likewise.
26487         (__rawmemchr_sse2): Likewise.
26488         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26489         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26490         (__strchr_sse2): Likewise.
26491         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26492         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26493         (__strcasecmp_sse2): Likewise.
26494         (__strncasecmp_sse2): Likewise.
26495         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26496         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26497         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26498         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26499         (__strrchr_sse2): Likewise.
26500         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26501         ifunc-impl-list.c.
26502         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26503         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26504         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26505         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26506         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26507         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26508         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26509         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26510         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26511         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26512         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26513         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26514         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26515         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26516         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26517         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26518         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26519         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26520         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26521         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26522         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26523         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26524         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26525         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26526         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26527         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26528         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26529         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26530         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26531         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26532
26533         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26534         global and hidden.
26535         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26536         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26537         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26538         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26539         Likewise.
26540         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26541         Likewise.
26542         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26543         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26544         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26545         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26546         ifunc-impl-list.c.
26547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26549         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26550         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26551         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26552         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26553         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26554         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26555         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26556         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26557         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26558         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26559         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26560         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26561         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26562         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26563         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26564         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26565         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26566         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26567         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26568         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26569         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26570         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26571         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26572         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26573         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26574         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26575         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26576         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26577         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26578         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26579         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26580         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26581         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26582         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26583         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26584         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26585         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26586         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26587         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26588
26589         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26590         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26591         * include/ifunc-impl-list.h: New file.
26592         * misc/ifunc-impl-list.c: Likewise.
26593         * misc/Makefile (routines): Add ifunc-impl-list.
26594         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26595         * string/test-string.h: Include <ifunc-impl-list.h>.
26596         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26597         TEST_NAME]: New variables.
26598         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26599         are defined.
26600         (test_init): Call __libc_ifunc_impl_list to initialize
26601         func_list if TEST_IFUNC and TEST_NAME are defined.
26602
26603         * string/Makefile (strop-tests): Add bcopy and bzero.
26604         * string/test-bcopy.c: New file.
26605         * string/test-bzero.c: Likewise.
26606         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26607         defined.
26608         * string/test-memset.c: Support bzero test if TEST_BZERO is
26609         defined.
26610         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26611         __libc_memmove.
26612         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26613         __libc_memset.
26614         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26615         of memset.
26616
26617 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26618
26619         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26620         * configure: Regenerated.
26621
26622         * Makeconfig (+link-static-before-libc): Don't include
26623         $(link-static-libc).
26624
26625         * libio/libio.h (_IO_pos_t): Remove.
26626
26627 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26628
26629         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26630         McGrath.
26631
26632 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26633
26634         * crypt/crypt-entry.c: Include fips-private.h.
26635         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26636         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26637         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26638         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26639
26640 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26641
26642         * crypt/crypt-private.h: Include stdbool.h.
26643         (_ufc_setup_salt_r): Return bool.
26644         * crypt/crypt-entry.c: Include errno.h.
26645         (__crypt_r): Return NULL with EINVAL for bad salt.
26646         * crypt/crypt_util.c (bad_for_salt): New.
26647         (_ufc_setup_salt_r): Check that salt is long enough and within
26648         the specified alphabet.
26649         * crypt/badsalttest.c: New file.
26650         * crypt/Makefile (tests): Add it.
26651         ($(objpfx)badsalttest): New.
26652
26653 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26654
26655         * NEWS: Add entry for BZ #14602.
26656
26657 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26658
26659         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26660         type-generic.
26661         * math/libm-test.inc: Update comment listing what functions and
26662         macros are tested.
26663         (isgreater_test): New function.
26664         (isgreaterequal_test): Likewise.
26665         (isless_test): Likewise.
26666         (islessequal_test): Likewise.
26667         (islessgreater_test): Likewise.
26668         (isunordered_test): Likewise.
26669         (main): Call the new functions.
26670
26671 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26672
26673         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26674         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26675         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26676         * sysdeps/i386/configure: Regenerated.
26677         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26678         * sysdeps/mach/configure: Regenerated.
26679         * sysdeps/mach/hurd/configure: Regenerated.
26680         * sysdeps/powerpc/configure: Regenerated.
26681         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26682         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26683         * sysdeps/s390/s390-32/configure: Regenerated.
26684         * sysdeps/s390/s390-64/configure: Regenerated.
26685         * sysdeps/sh/configure: Regenerated.
26686         * sysdeps/sparc/configure: Regenerated.
26687         * sysdeps/unix/sysv/linux/configure: Regenerated.
26688         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26689         * sysdeps/x86_64/configure: Regenerated.
26690
26691         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26692         defined.  Don't check if MAP is NULL.
26693
26694 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26695
26696         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26697         (_G_stat64): Likewise.
26698         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26699         (_G_stat64): Likewise.
26700         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26701         instead of struct _G_stat64.
26702         * libio/fileops.c (mmap_remap_check): Likewise.
26703         (decide_maybe_mmap): Likewise.
26704         (_IO_new_file_seekoff): Likewise.
26705         (_IO_file_stat): Likewise.
26706         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26707         _G_off64_t.
26708         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26709         instead of struct _G_stat64.
26710         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26711
26712 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26713
26714         [BZ #14602]
26715         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26716         Replace with ...
26717         (CHECK_EOL): New macro.
26718         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26719         CHECK_EOL.
26720         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26721         Replace with CHECK_EOL.
26722         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26723         Replace with CHECK_EOL.
26724
26725 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26726
26727         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26728         type-generic.
26729         * math/libm-test.inc: Update comment listing what functions and
26730         macros are tested.
26731         (finite_test): New function.
26732         (isinf_test): Likewise.
26733         (isnan_test): Likewise.
26734         (fpclassify_test): Test subnormal input.
26735         (isfinite_test): Likewise.
26736         (isnormal_test): Likewise.
26737         (main): Call the new functions.
26738
26739 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26740
26741         [BZ #14660]
26742         * Makerules (%.dynsym): Force C locale when running
26743         $(OBJDUMP) --dynamic-syms.
26744
26745 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26746
26747         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26748         <stdint.h>.
26749
26750 2012-10-06  David S. Miller  <davem@davemloft.net>
26751
26752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26753         upper 32-bits of the length value in %o2 since we use branch-on-register
26754         tests which consider the entire 64-bit register.
26755
26756 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26757
26758         * string/test-strstr.c (check2): Add a test for page boundary.
26759
26760 2012-10-05  David S. Miller  <davem@davemloft.net>
26761
26762         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26763         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26764         file.
26765         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26766         sysdep_routines.
26767         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26768         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26769         and bzero when HWCAP_SPARC_CRYPTO is present.
26770
26771 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26772
26773         [BZ #14602]
26774         * string/test-strstr.c (check2): New function.
26775         (test_main): Call check2.
26776
26777         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26778         and bug-strchr1.
26779         * string/bug-strcasestr1.c (do_test): Moved to ...
26780         * string/test-strcasestr.c (check1): Here.  New function.
26781         (do_one_test): Break out result checking code into ...
26782         (check_result): This.  New function.
26783         (do_one_test): Call check_result.
26784         (test_main): Call check1.
26785         * string/bug-strchr1.c (do_test): Moved to ...
26786         * string/test-strchr.c (check1): Here.  New function.
26787         (do_one_test): Break out result checking code into ...
26788         (check_result): This.  New function.
26789         (do_one_test): Call check_result.
26790         (test_main): Call check1.
26791         * string/bug-strstr1.c (main): Moved to ...
26792         * string/test-strstr.c (check1): Here.  New function.
26793         (do_one_test): Break out result checking code into ...
26794         (check_result): This.  New function.
26795         (do_one_test): Call check_result.
26796         (test_main): Call check1.
26797         * string/bug-strcasestr1.c: Removed.
26798         * string/bug-strchr1.c: Likewise.
26799         * string/bug-strstr1.c: Likewise.
26800
26801         * elf/Makefile (dl-routines): Add hwcaps.
26802         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26803         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26804         (_dl_important_hwcaps): Moved to ...
26805         * elf/dl-hwcaps.c: Here.  New file.
26806         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26807
26808         [BZ #14557]
26809         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26810         if IS_IN_rtld isn't defined.
26811
26812         * elf/dl-support.c (_dl_sysinfo_map): New.
26813         Include "get-dynamic-info.h" and "setup-vdso.h".
26814         (_dl_non_dynamic_init): Call setup_vdso.
26815         * elf/dynamic-link.h: Don't include <assert.h>.
26816         (elf_get_dynamic_info): Moved to ...
26817         * elf/get-dynamic-info.h: Here.  New file.
26818         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26819         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26820         * elf/setup-vdso.h: Here.  New file.
26821         * elf/rtld.c: Include "setup-vdso.h".
26822         (dl_main): Call setup_vdso.
26823
26824 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26825
26826         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26827         creal in comment listing functions tested.  List finite, isinf,
26828         isnan, isless, islessequal, isgreater, isgreaterequal,
26829         islessgreater, isunordered, lgamma_r and pow10 as functions and
26830         macros not tested.  Mention which functions not tested are aliases
26831         for other functions.  Fix typo.  Note that signs of NaNs are not
26832         tested.
26833
26834         * scripts/config.guess: Update from config.git.
26835         * scripts/config.sub: Likewise.
26836
26837 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26838
26839         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26840         * misc/madvise.c (madvise): Renamed to __madvise.
26841         Make madvise a weak alias.
26842         * include/sys/mman.h: Declare __madvise.
26843         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26844         * sysdeps/unix/syscalls.list
26845         (madvise): Make __madvise the strong name, and madvise a weak alias.
26846         * sysdeps/unix/sysv/linux/syscalls.list
26847         (madvise, mmap): Remove redundant entries.
26848         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26849         * malloc/malloc.c (mtrim): Likewise.
26850         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26851
26852 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26853
26854         * sysdeps/mach/hurd/dl-cache.c: File removed.
26855         * config.h.in (USE_LDCONFIG): New #undef.
26856         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26857         * configure: Regenerated.
26858         * elf/Makefile (dl-routines): Add dl-cache only under
26859         [$(use-ldconfig) = yes].
26860         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26861         cache on [USE_LDCONFIG].
26862         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26863         [USE_LDCONFIG].
26864         * elf/rtld.c (dl_main): Likewise.
26865
26866 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26867
26868         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26869         _SC_LEVEL4_CACHE_LINESIZE.
26870
26871 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26872
26873         * sysdeps/unix/bsd/confstr.h: File removed.
26874
26875 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26876
26877         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26878         sys/sdt-config.h.
26879
26880 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26881
26882         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26883         Make 'mapoff' field ElfW(Off) rather than off_t.
26884
26885 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26886
26887         * nscd/Makefile: Remove nscd-cflags and all its users.
26888         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26889         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26890
26891         [BZ #10631]
26892         * malloc.c (malloc_printerr): Clarify error message.
26893
26894 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26895
26896         [BZ #14648]
26897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26898         Set bit_FMA_Usable if FMA is supported.
26899         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26900         macro.
26901         (bit_FMA4_Usable): Updated.
26902         (index_FMA_Usable): New macro.
26903         (CPUID_FMA): Likewise
26904         (HAS_FMA): Defined with bit_FMA_Usable.
26905
26906 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26907
26908         * bits/types.h (__swblk_t): Type removed.
26909         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26910         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26912         (__SWBLK_T_TYPE): Likewise.
26913         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26914         (__SWBLK_T_TYPE): Likewise.
26915         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26916         (__SWBLK_T_TYPE): Likewise.
26917         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26918         (__SWBLK_T_TYPE): Likewise.
26919
26920 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26921             Honza Horak <hhorak@redhat.com>
26922
26923         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26924         (xdr_mapname): Use YPMAXMAP as maxsize.
26925         (xdr_peername): Use YPMAXPEER as maxsize.
26926         (xdr_keydat): Use YPAXRECORD as maxsize.
26927         (xdr_valdat): Use YPMAXRECORD as maxsize.
26928
26929 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26930
26931         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26932
26933         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26934         * csu/init-first.c: ... here.
26935         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26936         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26937         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26938         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26939         * sysdeps/i386/init-first.c: File removed.
26940         * sysdeps/sh/init-first.c: File removed.
26941
26942 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26943
26944         [BZ #14645]
26945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26946         if x * y might underflow to zero and z is zero.
26947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26949         * math/libm-test.inc (min_subnorm_value): New variable.
26950         (fma_test): Add more tests.
26951         (fma_test_towardzero): Likewise.
26952         (fma_test_downward): Likewise
26953         (fma_test_upward): Likewise.
26954         (initialize): Set min_subnorm_value.
26955
26956 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26957
26958         [BZ #14638]
26959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26960         0 + 0.
26961         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26962         mode for addition resulting in exact zero.
26963         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26965         exact 0 + 0.
26966         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26967         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26968         * math/libm-test.inc (fma_test): Add more tests.
26969         (fma_test_towardzero): New function.
26970         (fma_test_downward): Likewise.
26971         (fma_test_upward): Likewise.
26972         (main): Call the new functions.
26973
26974 2012-09-28  David S. Miller  <davem@davemloft.net>
26975
26976         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26977
26978 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26979
26980         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26981         instead of SIGALRM.
26982
26983         * sysdeps/gnu/_G_config.h: Moved to ...
26984         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26985         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26986         * sysdeps/generic/_G_config.h: ... here.
26987
26988         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26989
26990         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26991
26992         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26993         Conditionalize target on [libnss_test1.so-version].
26994
26995         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26996
26997         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26998         (elfobjdir): Move out of conditionals.
26999
27000         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27001         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27002         (__nss_lookup_function): Conditionalize label remove_from_tree on
27003         [!DO_STATIC_NSS || SHARED], matching its only use.
27004
27005 2012-09-28  David S. Miller  <davem@davemloft.net>
27006
27007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27008         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27009         file.
27010         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27011         sysdep_routines.
27012         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27014         when HWCAP_SPARC_CRYPTO is present.
27015
27016 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27017
27018         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27019
27020 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27021
27022         [BZ #6530]
27023         * stdio-common/vfprintf.c (process_string_arg): Revert
27024         2000-07-22 change.
27025
27026 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27027
27028         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27029         for testcase.
27030         * stdio-common/tst-sprintf.c: Include <locale.h>
27031         (main): Test sprintf's handling of incomplete multibyte
27032         characters.
27033
27034 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27035
27036         * elf/dl-runtime.c (VERSYMIDX): Removed.
27037         * elf/dl-version.c (VERSYMIDX): Likewise.
27038         * elf/do-rel.h (VERSYMIDX): Likewise.
27039         (VALIDX): Likewise.
27040         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27041         * elf/rtld.c (VALIDX): Likewise.
27042         (ADDRIDX): Likewise.
27043         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27044         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27045         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27046         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27047         (VALIDX): Likewise.
27048         (ADDRIDX): Likewise.
27049
27050 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27051
27052         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27053
27054 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27055
27056         [BZ #11438]
27057         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27058         to global scope.
27059         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27060         addresses are in the same scope as 192.0.2/24.
27061         * posix/gai.conf: Document new scope table defaults.
27062
27063 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27064
27065         [BZ #5298]
27066         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27067         for ftell.  Compute offsets from write pointers instead.
27068         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27069
27070 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27071
27072         [BZ #14543]
27073         * libio/Makefile (tests): New test case tst-fseek.
27074         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27075         combination works in wide mode.
27076         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27077         state when the external buffer state changes.
27078
27079 2012-09-27  David S. Miller  <davem@davemloft.net>
27080
27081         [BZ #14376]
27082         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27083         pass reloc->r_addend in as the 'high' argument to
27084         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27085
27086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27087
27088 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27089
27090         * rt/tst-aio2.c: Include <pthread.h>.
27091         * rt/tst-aio3.c: Likewise.
27092
27093 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27094
27095         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27096
27097 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27098
27099         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27100         contents on [SHARED].
27101
27102 2012-09-26  Marek Polacek  <polacek@redhat.com>
27103
27104         [BZ #14530]
27105         [BZ #13741]
27106         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27107         for C++ and GCC <4.3 as well as for non GCC compilers.
27108
27109 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27110
27111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27112
27113 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27114
27115         * Makefile.in (all, install): Declare with .PHONY.
27116         Reported by Michael Hope <michael.hope@linaro.org>.
27117
27118 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27119
27120         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27121         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27122         system header.
27123         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27124         Likewise.
27125         (sydep_routines): Add the new and the internal functions.
27126         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27127         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27129         (GLIBC_2.17): Add the new function.
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27131         (GLIBC_2.17): Likewise.
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27133         (GLIBC_2.17): Likewise.
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27135         (GLIBC_2.17): Likewise.
27136         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27137
27138 2012-09-25  Alan Modra  <amodra@gmail.com>
27139
27140         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27141         Add release barrier before setting once_control to say
27142         initialisation is done.  Add hints on lwarx.  Use macro in
27143         place of isync.
27144         (clear_once_control): Add release barrier.
27145
27146 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27147
27148         [BZ #13629]
27149         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27150         specially.
27151         * math/s_clog10.c (__clog10): Likewise.
27152         * math/s_clog10f.c (__clog10f): Likewise.
27153         * math/s_clog10l.c (__clog10l): Likewise.
27154         * math/s_clogf.c (__clogf): Likewise.
27155         * math/s_clogl.c (__clogl): Likewise.
27156         * math/Makefile (libm-calls): Add x2y2m1.
27157         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27158         (__x2y2m1): Likewise.
27159         (__x2y2m1l): Likewise.
27160         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27161         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27162         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27163         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27164         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27165         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27166         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27167         * sysdeps/i386/fpu/libm-test-ulps: Update.
27168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27169
27170         [BZ #14621]
27171         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27172         int as type of variable DEPTH.
27173         (glob): Use size_t instead of int as type of variables NEWCOUNT
27174         and OLD_PATHC.
27175
27176 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27177
27178         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27179         Add s_sincosf-sse2.
27180         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27181         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27182         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27183         macros for using routine as __sincosf_ia32.
27184         Use macro for function declaration and weak_alias.
27185         * sysdeps/i386/fpu/libm-test-ulps: Update.
27186
27187         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27189
27190         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27191         subnormal argument.
27192         * math/s_cexpf.c (__cexpf): Likewise.
27193         * math/s_csinf.c (__csinf): Likewise.
27194         * math/s_csinhf.c (__csinhf): Likewise.
27195         * math/s_ctanf.c (__ctanf): Likewise.
27196         * math/s_ctanhf.c (__ctanhf): Likewise.
27197         * math/s_ccosh.c (__ccoshf): Likewise.
27198         * math/s_cexp.c (__cexpl): Likewise.
27199         * math/s_csin.c (__csin): Likewise.
27200         * math/s_csinh.c (__csinh): Likewise.
27201         * math/s_ctan.c (__ctan): Likewise.
27202         * math/s_ctanh.c (ctanh): Likewise.
27203         * math/s_ccoshl.c (__ccoshl): Likewise.
27204         * math/s_cexpl.c (__cexpl): Likewise.
27205         * math/s_csinl.c (__csinl): Likewise.
27206         * math/s_csinhl.c (__csinhl): Likewise.
27207         * math/s_ctanl.c (__ctanl): Likewise.
27208         * math/s_ctanhl.c (__ctanhl): Likewise.
27209
27210 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27211
27212         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27213         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27214         (_IO_off_t): Define to __off_t, not _G_off_t.
27215         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27216         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27217         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27218         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27219         type of __dummy and __dummy2 fields.
27220         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27221         (_G_ssize_t): Likewise.
27222         (_G_off_t): Likewise.
27223         (_G_pid_t): Likewise.
27224         (_G_uid_t): Likewise.
27225         (_G_wchar_t): Likewise.
27226         (_G_wint_t): Likewise.
27227         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27228         (_G_ssize_t): Likewise.
27229         (_G_off_t): Likewise.
27230         (_G_pid_t): Likewise.
27231         (_G_uid_t): Likewise.
27232         (_G_wchar_t): Likewise.
27233         (_G_wint_t): Likewise.
27234         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27235         (_G_ssize_t): Likewise.
27236         (_G_off_t): Likewise.
27237         (_G_pid_t): Likewise.
27238         (_G_uid_t): Likewise.
27239         (_G_wchar_t): Likewise.
27240         (_G_wint_t): Likewise.
27241
27242 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27243
27244         * malloc/arena.c: Include malloc-sysdep.h.
27245         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27246         is sufficient to shrink the heap or an unmap is needed.
27247         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27248         new function check_may_shrink_heap.
27249         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27250         new function check_may_shrink_heap.
27251
27252 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27253
27254         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27255         comments.
27256
27257 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27258
27259         * catgets/test-gencat.sh: Add "set -e".
27260         * elf/tst-pathopt.sh: Likewise.
27261         * grp/tst_fgetgrent.sh: Likewise.
27262         * iconvdata/run-iconv-test.sh: Likewise.
27263         * intl/tst-gettext.sh: Likewise.
27264         * intl/tst-gettext2.sh: Likewise.
27265         * intl/tst-gettext4.sh: Likewise.
27266         * intl/tst-gettext6.sh: Likewise.
27267         * intl/tst-translit.sh: Likewise.
27268         * io/ftwtest-sh: Likewise.
27269         * libio/test-freopen.sh: Likewise.
27270         * malloc/tst-mtrace.sh: Likewise.
27271         * posix/globtest.sh: Likewise.
27272         * posix/tst-getconf.sh: Likewise.
27273         * posix/wordexp-tst.sh: Likewise.
27274         * stdio-common/tst-printf.sh: Likewise.
27275         * stdio-common/tst-unbputc.sh: Likewise.
27276         * stdlib/tst-fmtmsg.sh: Likewise.
27277         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27278         * catgets/Makefile: Do not specify -e option when running
27279         testsuite shell scripts.
27280         * elf/Makefile: Likewise.
27281         * grp/Makefile: Likewise.
27282         * iconvdata/Makefile: Likewise.
27283         * intl/Makefile: Likewise.
27284         * io/Makefile: Likewise.
27285         * libio/Makefile: Likewise.
27286         * malloc/Makefile: Likewise.
27287         * posix/Makefile: Likewise.
27288         * stdio-common/Makefile: Likewise.
27289         * stdlib/Makefile: Likewise.
27290         * sysdeps/x86_64/Makefile: Likewise.
27291
27292         * io/ftwtest-sh: Add copyright header.
27293         * posix/globtest.sh: Likewise.
27294         * posix/tst-getconf.sh: Likewise.
27295         * posix/wordexp-tst.sh: Likewise.
27296         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27297
27298 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27299
27300         [BZ #13679]
27301         * Makeconfig (+link): Defined as $(+link-static) if
27302         $(build-shared) isn't yes.
27303         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27304         isn't yes.
27305         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27306
27307         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27308
27309         [BZ #14562]
27310         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27311         new chunk size with MALLOC_ALIGN_MASK.
27312
27313 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27314
27315         [BZ #5044]
27316         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27317         <rounding-mode.h>.
27318         (__printf_fphex): Determine rounding using get_rounding_mode and
27319         round_away.
27320         * stdio-common/tst-printf-round.c (struct hex_test): New
27321         structure.
27322         (hex_tests): New variable.
27323         (test_hex_in_one_mode): New function.
27324         (do_test): Also run tests for hex float output.
27325
27326 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27327
27328         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27329         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27330         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27331         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27332         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27333         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27334         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27335         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27336
27337 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27338
27339         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27340         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27341         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27342         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27343
27344 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27345
27346         [BZ #14579]
27347         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27348         mode only.
27349         * elf/tst-rtld-load-self.sh: New test.
27350         * elf/Makefile: Run it.
27351
27352 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27353
27354         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27355         (tst-writev-ENV): Remove.
27356         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27357
27358 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27359
27360         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27361
27362 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27363
27364         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27365         unconditional.
27366         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27367         Likewise.
27368         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27369         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27370         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27371         Likewise.
27372
27373 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27374
27375         [BZ #14587]
27376         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27377         * config.make.in (have-cpp-asm-debuginfo): Removed.
27378         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27379         * configure: Regenerated.
27380
27381 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27382
27383         [BZ #5044]
27384         * stdio-common/printf_fp.c: Include <stdbool.h> and
27385         <rounding-mode.h>.
27386         (___printf_fp): Determine rounding using get_rounding_mode and
27387         round_away.
27388         * stdio-common/tst-printf-round.c: New file.
27389         * stdio-common/Makefile (tests): Add tst-printf-round.
27390         (link-libm): New variable.
27391         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27392
27393 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27394
27395         [BZ #14576]
27396         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27397         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27398         Likewise.
27399         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27400         Likewise.
27401
27402 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27403
27404         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27405         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27406         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27407         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27408
27409 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27410
27411         [BZ #14518]
27412         * include/rounding-mode.h: New file.
27413         * sysdeps/generic/get-rounding-mode.h: Likewise.
27414         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27415         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27416         (MAX_VALUE): New macro.
27417         (MIN_VALUE): Likewise.
27418         (overflow_value): New function.
27419         (underflow_value): Likewise.
27420         (round_and_return): Use overflow_value and underflow_value to
27421         determine return values in overflow and underflow cases.  Use
27422         round_away to determine rounding depending on rounding mode.
27423         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27424         determine return values in overflow and underflow cases.
27425         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27426         (struct test_results): New structure.
27427         (struct test): Use struct test_results to store expected results
27428         for all rounding modes.
27429         (TEST): Include expected results for all rounding modes.
27430         (test_in_one_mode): New function.
27431         (do_test): Use test_in_one_mode to compute and check results.
27432         Check results for all rounding modes.
27433         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27434         $(link-libm).
27435
27436 2012-12-09  Allan McRae  <allan@archlinux.org>
27437
27438         * sysdeps/i386/fpu/libm-test-ulps: Update
27439
27440 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27441
27442         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27443         (_G_int32_t): Likewise.
27444         (_G_uint16_t): Likewise.
27445         (_G_uint32_t): Likewise.
27446         (_G_HAVE_BOOL): Likewise.
27447         (_G_HAVE_ATEXIT): Likewise.
27448         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27449         (_G_HAVE_IO_FILE_OPEN): Likewise.
27450         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27451         (_G_int32_t): Likewise.
27452         (_G_uint16_t): Likewise.
27453         (_G_uint32_t): Likewise.
27454         (_G_HAVE_BOOL): Likewise.
27455         (_G_HAVE_ATEXIT): Likewise.
27456         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27457         (_G_HAVE_IO_FILE_OPEN): Likewise.
27458         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27459         (_G_int32_t): Likewise.
27460         (_G_uint16_t): Likewise.
27461         (_G_uint32_t): Likewise.
27462         (_G_HAVE_BOOL): Likewise.
27463         (_G_HAVE_ATEXIT): Likewise.
27464         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27465         (_G_HAVE_IO_FILE_OPEN): Likewise.
27466
27467 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27468
27469         * csu/libc-tls.c: Update copyright years.
27470
27471 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27472
27473         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27474         [!_G_USING_THUNKS]: Remove conditional code.
27475         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27476         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27477
27478         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27479         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27480         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27481         (_G_VTABLE_LABEL_PREFIX): Likewise.
27482         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27483         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27484         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27485         (_G_VTABLE_LABEL_PREFIX): Likewise.
27486         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27487         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27489         (_G_VTABLE_LABEL_PREFIX): Likewise.
27490         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27491
27492 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27493
27494         * libio/Makefile: Include ../Makeconfig before tests.
27495         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27496         only if $(build-shared) is yes.
27497
27498         * iconv/gconv_db.c: Update copyright years.
27499
27500 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27501
27502         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27503         unwind info if defined PIC. Fix special cases description.
27504         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27505
27506         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27507         DP_HI_MASK entry.
27508         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27509
27510 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27511
27512         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27513
27514         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27515         is NULL.
27516
27517         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27518         (LDLIBS-tst-chk4): This.
27519         (LDFLAGS-tst-chk5): Renamed to ...
27520         (LDLIBS-tst-chk5): This.
27521         (LDFLAGS-tst-chk6): Renamed to ...
27522         (LDLIBS-tst-chk6): This.
27523         (LDFLAGS-tst-lfschk4): Renamed to ...
27524         (LDLIBS-tst-lfschk4): This.
27525         (LDFLAGS-tst-lfschk5): Renamed to ...
27526         (LDLIBS-tst-lfschk5): This.
27527         (LDFLAGS-tst-lfschk6): Renamed to ...
27528         (LDLIBS-tst-lfschk6): This.
27529
27530         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27531         on $(common-objpfx)soversions.mk.
27532
27533 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27534
27535         [BZ #10014]
27536         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27537         example host name.
27538
27539 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27540
27541         * malloc/arena.c (arena_get_retry): New function that gets
27542         another arena for the caller to try its request on.
27543         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27544         current arena cannot fulfill the request.
27545         (__libc_memalign): Likewise.
27546         (__libc_memalign): Likewise.
27547         (__libc_pvalloc): Likewise.
27548         (__libc_calloc): Likewise.
27549
27550 2012-09-05  John Tobey  <john.tobey@gmail.com>
27551
27552         [BZ #13542]
27553         * manual/arith.texi (Operations on Complex): Fix description
27554         of carg branch cut.
27555
27556 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27557
27558         [BZ #10014]
27559         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27560         host name.
27561
27562         [BZ #10038]
27563         * manual/memory.texi (Memory): Make order of menu items match
27564         order of sections.
27565
27566 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27567
27568         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27569         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27570         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27571
27572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27573
27574         * csu/libc-tls.c (static_dtv): Renamed to ...
27575         (_dl_static_dtv): This.  Make it global.
27576         (_dl_initial_dtv): Removed.
27577         (__libc_setup_tls): Updated.
27578         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27579         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27580         DL_INITIAL_DTV.
27581
27582 2012-09-06  Petr Machata  <pmachata@redhat.com>
27583
27584         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27585         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27586         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27587         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27588
27589 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27590
27591         [BZ #14545]
27592         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27593         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27594         freeing dtv[-1].
27595
27596 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27597
27598         [BZ #14544]
27599         * Makeconfig (link-static-before-libc): Replace $(+prector)
27600         with $(+prectorT).
27601         (link-static-after-libc): Replace $(+postctor) with
27602         $(+postctorT).
27603         (link-bounded): Replace $(+prector)/$(+postctor) with
27604         $(+prectorT)/$(+postctorT).
27605         (+prectorT): New macro.
27606         (+postctorT): Likewise.
27607
27608 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27609
27610         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27611         (round_str): Handle values above the maximum for IBM long double
27612         as inexact.
27613         * stdlib/tst-strtod-round.c (tests): Regenerated.
27614
27615 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27616
27617         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27618         assembler flag.
27619         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27620         zarch_nohighgprs around the zarch optimized routines.
27621         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27622         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27623         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27624         for zarch.
27625
27626 2012-09-05  David S. Miller  <davem@davemloft.net>
27627
27628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27629
27630         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27631         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27632         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27633         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27634         entries.
27635
27636 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27637
27638         * malloc/arena.c: Fold copyright years.
27639         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27640
27641 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27642
27643         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27644
27645 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27646
27647         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27648
27649 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27650
27651         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27652         change internal state upon failure.
27653
27654 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27655
27656         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27657         * malloc/memusage.c (mmap): Likewise.
27658         (mmap64, mremap): Likewise.  Adjust name in comment.
27659
27660 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27661
27662         * libio/fileops.c: Fix typos in comments.
27663         * libio/oldfileops.c: Likewise.
27664         * libio/wfileops.c: Likewise.
27665
27666 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27667
27668         [BZ #1349]
27669         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27670         (tst-malloc-usable-ENV): Set environment for test case.
27671         * malloc/hooks.c (malloc_check_get_size): New function to get
27672         requested size.
27673         * malloc/malloc.c (musable): Use malloc_check_get_size.
27674         * malloc/tst-malloc-usable.c: New test case.
27675
27676 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27677
27678         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27679
27680 2012-09-05  Allan McRae  <allan@archlinux.org>
27681
27682         [BZ #13966]
27683         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27684         determine header location.
27685         * configure: Regenerated.
27686
27687 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27688
27689         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27690         float format.
27691         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27692         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27693         format.
27694         (test): Regenerate.
27695
27696 2012-09-04  David S. Miller  <davem@davemloft.net>
27697
27698         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27699         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27700         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27701
27702 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27703
27704         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27705         failures.
27706
27707         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27708
27709 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27710
27711         [BZ #9914]
27712         * libio/iogetdelim.c: Include <limits.h>.
27713         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27714         + len + 1 would overflow.
27715
27716 2012-09-03  Andreas Jaeger  <aj@suse.de>
27717
27718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27719         * sysdeps/i386/fpu/libm-test-ulps: Update.
27720
27721 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27722
27723         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27724         Add s_sinf-sse2, s_conf-sse2.
27725
27726         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27727         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27728         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27729         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27730
27731         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27732         for using routine as __sinf_ia32.
27733         Use macro for function declaration and weak_alias.
27734         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27735         for using routine as __cosf_ia32.
27736         Use macro for function declaration and weak_alias.
27737
27738         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27739         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27740
27741         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27742         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27744
27745         * math/libm-test.inc (cos_test): Add more test cases.
27746         (sin_test): Likewise.
27747         (sincos_test): Likewise.
27748
27749 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27750
27751         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27752         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27753         hidden.
27754         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27755
27756 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27757
27758         [BZ #14538]
27759         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27760         first element of the GOT.
27761         (elf_machine_load_address): Return the difference between
27762         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27763
27764 2012-09-01  Allan McRae  <allan@archlinux.org>
27765
27766         [BZ #13412]
27767         * configure.in (AWK): Require gawk version 3.0 or later.
27768         * configure: Regenerated.
27769
27770 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27771
27772         * sysdeps/unix/sysv/linux/kernel-features.h
27773         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27774         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27775         [__NR_clock_getres]: Make code unconditional.
27776         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27777         (clock_getcpuclockid): Remove code left unreachable by removal of
27778         conditionals.
27779         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27780         code unconditional.
27781         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27782         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27783         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27784         Make code unconditional.
27785         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27786         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27787         * sysdeps/unix/sysv/linux/clock_settime.c
27788         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27789         conditional code.
27790         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27791         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27792
27793 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27794
27795         [BZ #14476]
27796         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27797         scripts/test-installation.pl.
27798
27799         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27800         and $ld_so_version if it is set.
27801
27802 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27803
27804         [BZ #14516]
27805         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27806         failure if reading from procfs failed.
27807         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27808
27809 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27810
27811         * sysdeps/unix/sysv/linux/kernel-features.h
27812         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27813         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27814         Remove conditional code.
27815         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27816         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27817         Remove conditional code.
27818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27819         * sysdeps/unix/sysv/linux/i386/fxstat.c
27820         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27822         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27823         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27825         * sysdeps/unix/sysv/linux/i386/lxstat.c
27826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27828         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27829         Remove conditional code.
27830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27831         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27832         Remove conditional code.
27833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27834         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27835         <kernel-features.h>.
27836         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27837         Remove.
27838         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27839         Remove conditional code.
27840         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27841         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27842         Remove conditional.
27843
27844 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27845
27846         [BZ #5400]
27847         * NEWS: Add fixed bug number.
27848
27849 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27850
27851         [BZ #14519]
27852         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27853         underflowing exponent in case of negative sign.
27854         * stdlib/tst-strtod-round-data: Add more tests.
27855         * stdlib/tst-strtod-round.c (tests): Regenerated.
27856
27857         [BZ #3479]
27858         * stdlib/strtod_l.c (NDIG): Remove.
27859         (HEXNDIG): Likewise.
27860         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27861         smallest representable value.
27862         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27863         lie within an exact representation of 1/2 ulp of the result.
27864         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27865         unconditionally.
27866         (TENS_P9_IDX): Define unconditionally.
27867         (TENS_P9_SIZE): Likewise.
27868         (TENS_P10_IDX): Likewise.
27869         (TENS_P10_SIZE): Likewise.
27870         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27871         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27872         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27873         entries for 10^2^13 and 10^2^14.
27874         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27875         (TENS_P13_IDX): Define.
27876         (TENS_P13_SIZE): Likewise.
27877         (TENS_P14_IDX): Likewise.
27878         (TENS_P14_SIZE): Likewise.
27879         (_fpioconst_pow10): Change array size to
27880         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27881         unconditional.
27882         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27883         1024]: Add entries for 10^2^13 and 10^2^14.
27884         [LAST_POW10 > _LAST_POW10]: Remove #error.
27885         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27886         (_fpioconst_pow10): Change array size to
27887         FPIOCONST_POW10_ARRAY_SIZE.
27888         * stdlib/gen-fpioconst.c: New file.
27889         * stdlib/gen-tst-strtod-round.c: Likewise.
27890         * stdlib/tst-strtod-round-data: Likewise.
27891         * stdlib/tst-strtod-round.c: Likewise.
27892         * stdlib/Makefile (tests): Add tst-strtod-round.
27893
27894         [BZ #14459]
27895         * stdlib/strtod_l.c: Include <stdint.h>.
27896         (NDEBUG): Do not define.
27897         (round_and_return): Change EXPONENT parameter to type intmax_t.
27898         Rearrange calculations to avoid internal overflow possibilities.
27899         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27900         Rearrange calculations to avoid internal overflow possibilities.
27901         Assert that number fits inside MPNSIZE limbs.
27902         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27903         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27904         calculations and add assertions to avoid internal overflow
27905         possibilities.  Add casts to avoid signed/unsigned operations.
27906         * stdlib/tst-strtod-overflow.c: New file.
27907         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27908
27909 2012-08-25  Marek Polacek  <polacek@redhat.com>
27910
27911         * time/time.h: Fix some typos in comments.
27912
27913 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27914
27915         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27916         * posix/tst-rfc3484-2.c: Likewise.
27917         * posix/tst-rfc3484-3.c: Likewise.
27918
27919 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27920
27921         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27922         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27923
27924 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27925
27926         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27927         #include of fxstatat64.c.
27928
27929 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27930
27931         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27932         * shadow/getspent_r.c: Likewise.
27933         * shadow/getspnam.c: Likewise.
27934         * shadow/getspnam_r.c: Likewise.
27935         * gshadow/getsgent.c: Likewise.
27936         * gshadow/getsgent_r.c: Likewise.
27937         * gshadow/getsgnam.c: Likewise.
27938         * gshadow/getsgnam_r.c: Likewise.
27939         * inet/getnetbyad.c: Likewise.
27940         * inet/getnetbyad_r.c: Likewise.
27941         * inet/getnetbynm.c: Likewise.
27942         * inet/getnetbynm_r.c: Likewise.
27943         * inet/getnetent.c: Likewise.
27944         * inet/getnetent_r.c: Likewise.
27945         * inet/getproto.c: Likewise.
27946         * inet/getproto_r.c: Likewise.
27947         * inet/getprtent.c: Likewise.
27948         * inet/getprtent_r.c: Likewise.
27949         * inet/getprtname.c: Likewise.
27950         * inet/getprtname_r.c: Likewise.
27951         * inet/getrpcbyname.c: Likewise.
27952         * inet/getrpcbyname_r.c: Likewise.
27953         * inet/getrpcbynumber.c: Likewise.
27954         * inet/getrpcbynumber_r.c: Likewise.
27955         * inet/getrpcent.c: Likewise.
27956         * inet/getrpcent_r.c: Likewise.
27957         * inet/getaliasent.c: Likewise.
27958         * inet/getaliasent_r.c: Likewise.
27959         * inet/getaliasname.c: Likewise.
27960         * inet/getaliasname_r.c: Likewise.
27961         * nscd/getgrgid_r.c: Likewise.
27962         * nscd/getgrnam_r.c: Likewise.
27963         * nscd/gethstbyad_r.c: Likewise.
27964         * nscd/gethstbynm3_r.c: Likewise.
27965         * nscd/getpwnam_r.c: Likewise.
27966         * nscd/getpwuid_r.c: Likewise.
27967         * nscd/getsrvbynm_r.c: Likewise.
27968         * nscd/getsrvbypt_r.c: Likewise.
27969         * nscd/gai.c: Likewise.
27970
27971         * configure.in (build_nscd): New substituted variable, set
27972         by --disable-build-nscd and defaults to $use_nscd.
27973         * configure: Regenerated.
27974         * config.make.in (build-nscd): New substituted variable.
27975         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27976         Change conditional to require [$(build-nscd) = yes] as well.
27977         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27978
27979         [BZ# 13696]
27980         * configure.in (use_nscd): New substituted variable, set by
27981         --disable-nscd.  If enabled, define USE_NSCD.
27982         * configure: Regenerated.
27983         * config.h.in: Add USE_NSCD.
27984         * config.make.in (use-nscd): New substituted variable.
27985         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27986         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27987         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27988         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27989         (CFLAGS-getgrnam_r.c): Likewise.
27990         (CFLAGS-initgroups.c): Likewise.
27991         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27992         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27993         Variables removed.
27994         * inet/getnetgrent_r.c
27995         (nscd_setnetgrent): New function, broken out of ...
27996         (setnetgrent): ... here.  Call it.
27997         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27998         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27999         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28000         * nscd/Makefile (routines, aux): Move definitions after include of
28001         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28002         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28003         Conditionalize on [USE_NSCD].
28004         (is_nscd, nscd_init_cb): Likewise.
28005         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28006         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28007         * nss/nss_db/db-init.c: Likewise.
28008         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28009         [USE_NSCD].
28010         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28011         (make_request): Use it.
28012         (cache_valid_p): New function.
28013         (__check_pf): Use it.
28014         * NEWS: Add item for --disable-nscd.
28015
28016 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28017
28018         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28019         to support sed >= 4.2.1-20-ga9bf076.
28020         * configure: Regenerated.
28021
28022 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28023
28024         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28025         Conditionalize whole body on [IREL].
28026
28027 2012-08-22  Jeff Law <law@redhat.com>
28028
28029         [BZ #14505]
28030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28031         if the family is PF_UNSPEC.
28032
28033 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28034
28035         * Makerules (lib-version): Rename from V.
28036         (install-lib-nosubdir): Change V to lib-version.
28037
28038 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28039
28040         [BZ #14252]
28041         * powerpc32/power6/wcschr.c: New file.
28042         * powerpc32/power6/wcscpy.c: New file.
28043         * powerpc32/power6/wcsrchr.c: New file.
28044         * powerpc64/power6/wcschr.c: New file.
28045         * powerpc64/power6/wcscpy.c: New file.
28046         * powerpc64/power6/wcsrchr.c: New file.
28047
28048 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28049
28050         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28051         (two_way_short_needle): Use it.
28052         * string/strstr.c (AVAILABLE1_USES_J): Define.
28053         * string/strcasestr.c: Likewise.
28054
28055         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28056         array references.
28057         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28058
28059         [BZ #11607]
28060         * NEWS: Add an entry.
28061         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28062         define their defaults.
28063         (two_way_short_needle): Detect end-of-string on-the-fly.
28064         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28065         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28066         * string/bug-strcasestr1.c: New test.
28067         * string/Makefile: Run it.
28068
28069 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28070
28071         [BZ #11607]
28072         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28073         the first character.
28074
28075 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28076
28077         * csu/elf-init.c (__libc_csu_irel): Function removed.
28078         * csu/libc-start.c (apply_irel): New function.
28079         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28080
28081 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28082
28083         * sysdeps/unix/sysv/linux/kernel-features.h
28084         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28085         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28086         <kernel-features.h>.
28087         [__NR_fadvise64_64]: Make code unconditional.
28088         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28089         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28090         !__NR_fadvise64_64)]: Likewise.
28091         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28092         !__NR_fadvise64_64))]: Likewise.
28093         [__NR_fadvise64]: Make code unconditional.
28094         [!__NR_fadvise64]: Remove conditional code.
28095         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28096         <kernel-features.h>.
28097         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28098         unconditional.
28099         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28100         conditional code.
28101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28102         not include <kernel-features.h>.
28103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28104         unconditional.
28105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28106         conditional code.
28107         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28108         include <kernel-features.h>.
28109         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28110         unconditional.
28111         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28112         conditional code.
28113
28114 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28115
28116         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28117         slight instruction rearrangements per scrollpipe analysis.
28118         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28119
28120 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28121
28122         * manual/syslog.texi (syslog; vsyslog, closelog):
28123         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28124         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28125
28126         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28127         DSOCAPS to match condition on defining it.
28128
28129 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28130
28131         * sysdeps/unix/sysv/linux/kernel-features.h
28132         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28134         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28135         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28137         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28138         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28142
28143         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28144         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28145
28146         * sysdeps/unix/sysv/linux/kernel-features.h
28147         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28148         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28149         unconditional.
28150         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28151         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28152         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28153         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28154         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28155         Make code unconditional.
28156         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28157         (__mmap64) [!__NR_mmap2]: Likewise.
28158         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28159         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28160         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28161         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28162         [__NR_mmap2]: Make code unconditional.
28163         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28164         (__mmap64) [!__NR_mmap2]: Likewise.
28165
28166 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28167
28168         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28169
28170 2012-08-18  Andreas Jaeger  <aj@suse.de>
28171
28172         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28173
28174 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28175
28176         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28177         * include/unistd.h (__have_sock_cloexec): Likewise.
28178         (__have_pipe2): Likewise.
28179         (__have_dup3): Likewise.
28180
28181 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28182
28183         [BZ #9685]
28184         * include/unistd.h (__have_pipe2): Change define into an extern int.
28185         (__have_dup3): Likewise.
28186         * socket/have_sock_cloexec.c: Include fcntl.h.
28187         (__have_pipe2): New variable.
28188         (__have_dup3): Likewise.
28189
28190 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28191
28192         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28193
28194 2012-08-17  Marek Polacek  <polacek@redhat.com>
28195
28196         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28197         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28198
28199 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28200
28201         * configure.in: Add AC_SUBST for sysheaders.
28202         * configure: Regenerated.
28203         * config.make.in (sysheaders): New substituted variable.
28204
28205         * sysdeps/unix/mkfifo.c: Moved ...
28206         * sysdeps/posix/mkfifo.c: ... here.
28207         * sysdeps/unix/mkfifoat.c: Moved ...
28208         * sysdeps/posix/mkfifoat.c: ... here.
28209
28210         * sysdeps/unix/utime.c: Moved ...
28211         * sysdeps/posix/utime.c: ... here.
28212
28213         * sysdeps/unix/time.c: Moved ...
28214         * sysdeps/posix/time.c: ... here.
28215         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28216         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28217
28218         * sysdeps/unix/nice.c: Moved ...
28219         * sysdeps/posix/nice.c: ... here.
28220
28221         * sysdeps/unix/alarm.c: Moved ...
28222         * sysdeps/posix/alarm.c: ... here.
28223
28224         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28225
28226 2012-08-17  Jeff Law <law@redhat.com>
28227
28228         * intl/Makefile (codeset_mo): New variable.
28229         ($(codeset_mo)): New target.
28230         (tst-codeset.out): Depend on that.  Remove explicit rule.
28231         (tst-gettext3.out, tst-gettext5.out): Likewise.
28232         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28233         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28234         * intl/tst-codeset.sh: Remove.
28235         * intl/tst-gettext3.sh: Likewise.
28236         * intl/tst-gettext5.sh: Likewise.
28237
28238 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28239
28240         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28241         * sysdeps/unix/syscalls.list: ... here.
28242
28243         * sysdeps/posix/getaddrinfo.c
28244         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28245         (gaiconf_init, gaiconf_reload): Use them.
28246         [!_STATBUF_ST_NSEC]
28247         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28248         Define using time_t rather than struct timespec.
28249
28250         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28251         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28252         Macros removed.
28253         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28254         [!NO_THREADS].
28255         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28256         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28257         Likewise.
28258
28259         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28260         __libc_cleanup_push argument.
28261
28262         * bits/param.h: New file.
28263         * misc/sys/param.h: New file.
28264         * include/sys/param.h: New file.
28265         * misc/Makefile (headers): Add bits/param.h.
28266         * sysdeps/generic/sys/param.h: File removed.
28267         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28268         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28269         * sysdeps/mach/hurd/bits/param.h: New file.
28270         * sysdeps/mach/hurd/sys/param.h: File removed.
28271
28272         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28273         last change.
28274
28275         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28276         [_IO_MTSAFE_IO].
28277         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28278         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28279         New macros.
28280
28281         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28282         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28283         rather than -D_IO_MTSAFE_IO conditionally.
28284         * stdio-common/Makefile (CPPFLAGS): Likewise.
28285         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28286         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28287         Use $(libio-mtsafe).
28288         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28289         of -D_IO_MTSAFE_IO.
28290         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28291         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28292         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28293         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28294         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28295         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28296         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28297         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28298         (CFLAGS-fread_u_chk.c): Likewise.
28299         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28300         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28301         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28302         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28303         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28304         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28305         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28306         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28307         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28308
28309         * libio/Makefile: Test [$(libc-reentrant) = yes]
28310         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28311
28312         * Makeconfig
28313         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28314         * sysdeps/pthread/configure: File removed.
28315         * sysdeps/pthread/Makeconfig: New file.
28316         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28317         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28318
28319 2012-08-16  Gary Benson  <gbenson@redhat.com>
28320
28321         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28322         unmapping the first object in a namespace.
28323
28324 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28325
28326         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28327         (__internal_setnetgrent): ... this.  Add internal_function to
28328         definition.  Add libc_hidden_def.
28329         (setnetgrent): Update caller.
28330         (internal_endnetgrent): Renamed to ...
28331         (__internal_endnetgrent): ... this.  Add internal_function to
28332         definition.  Add libc_hidden_def.
28333         (endnetgrent): Update caller.
28334         (internal_getnetgrent_r): Renamed to ...
28335         (__internal_getnetgrent_r): ... this.  Add internal_function to
28336         definition.  Add libc_hidden_def.
28337         (__getnetgrent_r): Update caller.
28338         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28339
28340 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28341
28342         * stdlib/longlong.h: Update from GCC.
28343
28344 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28345
28346         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28347         on _QL, which is set by umul_ppmm but never used.
28348         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28349         variables, which are set by GMP macros but never used.
28350         * stdio-common/_itowa.c (_itowa): Likewise.
28351         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28352         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28353
28354 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28355
28356         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28357         struct La_sh_regs is not constant.
28358         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28359         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28360         and struct La_sparc64_regs are not constant.
28361
28362 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28363
28364         * sysdeps/unix/sysv/linux/kernel-features.h
28365         (__ASSUME_POSIX_TIMERS): Remove.
28366         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28367         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28368         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28369         Make code unconditional.
28370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28371         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28372         Make code unconditional.
28373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28374         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28375         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28377         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28378         Make code unconditional.
28379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28380         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28381         (__libc_missing_posix_timers): Remove.
28382
28383 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28384
28385         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28386         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28387
28388         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28389
28390         * elf/dl-sym.c: Include <stdlib.h>.
28391
28392         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28393         constants, which avoids warnings in 32-bit builds.
28394
28395         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28396         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28397
28398         * misc/lseek.c: File moved to ...
28399         * io/lseek.c: ... here.
28400
28401         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28402
28403         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28404         shifting LEN more than 31 bits at once.
28405
28406 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28407
28408         [BZ #14195]
28409         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28410         segmentation fault for a case of two empty input strings.
28411         * string/test-strncasecmp.c (check1): Renamed to...
28412         (bz12205): ...this.
28413         (bz14195): Add new testcase for two empty input strings and N > 0.
28414         (test_main): Call new testcase, adapt for renamed function.
28415
28416 2012-08-15  Andreas Jaeger  <aj@suse.de>
28417
28418         [BZ #14090]
28419         * crypt/md5test2.c: New test, based on test supplied by Serge
28420         Belyshev <belyshev@depni.sinp.msu.ru>.
28421         * crypt/Makefile (xtests): Add md5test-giant..
28422         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28423
28424 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28425
28426         [BZ #14090]
28427         * crypt/md5.c (md5_process_block): Don't assume the buffer
28428         length is less than 2**32.
28429         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28430         length is less than 2**64.
28431
28432 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28433
28434         * string/str-two-way.h: Include <sys/param.h>.
28435         (MAX): Macro removed.
28436
28437         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28438         Move #define and #undef of memmove to just before and after
28439         including <string.h>.
28440
28441         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28442         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28443         and after including <string.h>.  Move declarations of
28444         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28445         to before #include "string/memmove.c".
28446
28447         * include/dirent.h: Declare __getdirentries.
28448
28449         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28450         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28451
28452 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28453
28454         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28455         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28456         * sysdeps/i386/configure: Regenerated.
28457         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28458         STABS_CURRENT_FILE, and STABS_FUN.
28459         (END): Remove call to STABS_FUN_END.
28460         (STABS_CURRENT_FILE1): Delete.
28461         (STABS_CURRENT_FILE): Likewise.
28462         (STABS_FUN): Likewise.
28463         (STABS_FUN_END): Likewise.
28464         (STABS_FUN2): Likewise.
28465         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28466         * sysdeps/x86_64/configure: Regenerated.
28467
28468 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28469
28470         * elf/dl-open.c: Include <atomic.h>.
28471         * elf/dl-lookup.c: Likewise.
28472
28473 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28474
28475         * sysdeps/unix/sysv/linux/kernel-features.h
28476         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28477         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28478         unconditionally.
28479         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28480         unconditionally.
28481         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28482         condition on __ASSUME_CLONE_THREAD_FLAGS.
28483
28484 2012-08-14  Andreas Jaeger  <aj@suse.de>
28485
28486         * sysdeps/i386/fpu/libm-test-ulps: Update.
28487
28488 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28489
28490         * include/atomic.h (atomic_exchange_and_add): Split into ...
28491         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28492         New atomic macros.
28493
28494 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28495
28496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28497
28498 2012-08-13  Jeff Law <law@redhat.com>
28499
28500         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28501         null byte in the output string.
28502
28503 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28504
28505         * sysdeps/unix/sysv/linux/kernel-features.h
28506         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28507         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28508         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28509         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28510         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28511         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28512         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28513
28514 2012-08-09  Jeff Law <law@redhat.com>
28515
28516         [BZ #13939]
28517         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28518         When avoid_arena is set, don't retry in the that arena.  Pick the
28519         next one, whatever it might be.
28520         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28521         (arena_lock): Pass in new parameter to arena_get2.
28522         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28523         arena_get2.
28524         (__libc_malloc): Unify retrying after main arena failure with
28525         __libc_memalign version.
28526         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28527
28528 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28529
28530         [BZ #14166]
28531         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28532         to __redirect_strstr.
28533         (__strstr_sse42): Use typeof __redirect_strstr.
28534         (__strstr_ia32): Likewise.
28535         (__libc_strstr): New prototype.
28536         (strstr): Renamed to ...
28537         (__libc_strstr): This.
28538         (strstr): New strong alias of __libc_strstr.
28539         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28540         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28541         __redirect_time.
28542         Include <time.h>.
28543         (__libc_time): New prototype.
28544         (time_ifunc): Replace time with __libc_time.
28545         (time): New strong alias and hidden definition of __libc_time.
28546         (__GI_time): Remove strong alias.
28547         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28548         Include <stddef.h>.
28549         (memmove): Redefined to __redirect_memmove.
28550         (__memmove_sse2): Use typeof __redirect_memmove.
28551         (__memmove_ssse3): Likewise.
28552         (__memmove_ssse3_back): Likewise.
28553         (__libc_memmove): New prototype.
28554         (memmove): Renamed to ...
28555         (__libc_memmove): This.
28556         (memmove): New strong alias of __libc_memmove.
28557
28558 2012-08-08  Mark Salter  <msalter@redhat.com>
28559
28560         * elf/elf.h
28561         (R_MN10300_TLS_GD): Define.
28562         (R_MN10300_TLS_LD): Likewise.
28563         (R_MN10300_TLS_LDO): Likewise.
28564         (R_MN10300_TLS_GOTIE): Likewise.
28565         (R_MN10300_TLS_IE): Likewise.
28566         (R_MN10300_TLS_LE): Likewise.
28567         (R_MN10300_TLS_DTPMOD): Likewise.
28568         (R_MN10300_TLS_DTPOFF): Likewise.
28569         (R_MN10300_TLS_TPOFF): Likewise.
28570         (R_MN10300_SYM_DIFF): Likewise.
28571         (R_MN10300_ALIGN): Likewise.
28572         (R_MN10300_NUM): Update.
28573
28574 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28575
28576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28577         Remove.
28578
28579 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28580
28581         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28582
28583         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28584         sysdeps/unix -> sysdeps/posix move.
28585         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28586
28587 2012-08-07      Allan McRae     <allan@archlinux.org>
28588
28589         [BZ #14303]
28590         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28591         (SUNOS_CPP): Likewise.
28592         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28593         not found.
28594         (open_input): Call CPP using execvp.
28595
28596 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28597
28598         * sysdeps/unix/sysv/linux/kernel-features.h
28599         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28600         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28601         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28602         (__ASSUME_WAITID_SYSCALL): Likewise.
28603         * sysdeps/unix/sysv/linux/dl-execstack.c
28604         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28605         code unconditional.
28606         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28607         conditional code.
28608         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28609         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28610         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28611         code.
28612         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28613         unconditional.
28614         [__ASSUME_WAITID_SYSCALL]: Likewise.
28615         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28616
28617 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28618
28619         * sysdeps/unix/closedir.c: Renamed to ...
28620         * sysdeps/posix/closedir.c: ... here.
28621         * sysdeps/unix/dirfd.c: Renamed to ...
28622         * sysdeps/posix/dirfd.c: ... here.
28623         * sysdeps/unix/dirstream.h: Renamed to ...
28624         * sysdeps/posix/dirstream.h: ... here.
28625         * sysdeps/unix/fdopendir.c: Renamed to ...
28626         * sysdeps/posix/fdopendir.c: ... here.
28627         * sysdeps/unix/opendir.c: Renamed to ...
28628         * sysdeps/posix/opendir.c: ... here.
28629         * sysdeps/unix/readdir.c: Renamed to ...
28630         * sysdeps/posix/readdir.c: ... here.
28631         * sysdeps/unix/readdir_r.c: Renamed to ...
28632         * sysdeps/posix/readdir_r.c: ... here.
28633         * sysdeps/unix/rewinddir.c: Renamed to ...
28634         * sysdeps/posix/rewinddir.c: ... here.
28635         * sysdeps/unix/seekdir.c: Renamed to ...
28636         * sysdeps/posix/seekdir.c: ... here.
28637         * sysdeps/unix/telldir.c: Renamed to ...
28638         * sysdeps/posix/telldir.c: ... here.
28639         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28640         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28641         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28642         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28643
28644         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28645         * bits/fcntl.h: ... here.
28646
28647         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28648         not 0.
28649         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28650         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28651         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28652         (struct flock): Move l_start, l_len to the beginning.
28653         Use __pid_t for l_pid.
28654         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28655         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28656         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28657         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28658         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28659         [__USE_LARGEFILE64] (struct flock64): New type.
28660         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28661
28662         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28663         * bits/dirent.h: ... here.
28664
28665         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28666         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28667
28668 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28669
28670         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28671         Change from 2.6.0 to 2.6.16.
28672         * sysdeps/unix/sysv/linux/configure: Regenerated.
28673         * sysdeps/unix/sysv/linux/kernel-features.h
28674         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28675         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28676         version.
28677         (__ASSUME_UTIMES): Likewise.
28678         (__ASSUME_CLONE_STOPPED): Remove.
28679         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28680         architectures, not kernel version.
28681         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28682         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28683         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28684         (__ASSUME_WAITID_SYSCALL): Likewise.
28685         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28686         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28687         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28688         refer to older versions.
28689
28690 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28691
28692         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28693         Define alphasort64 as an alias.
28694         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28695         Define versionsort64 as an alias.
28696         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28697         Define scandir64 as an alias.
28698         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28699         Define scandirat64 as an alias.
28700         * dirent/alphasort64.c (alphasort64):
28701         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28702         * dirent/versionsort64.c: Likewise.
28703         * dirent/scandir64.c: Likewise.
28704         * dirent/scandirat64.c: Likewise.
28705         * sysdeps/wordsize-64/alphasort.c: File removed.
28706         * sysdeps/wordsize-64/alphasort64.c: File removed.
28707         * sysdeps/wordsize-64/scandir.c: File removed.
28708         * sysdeps/wordsize-64/scandir64.c: File removed.
28709         * sysdeps/wordsize-64/scandirat.c: File removed.
28710         * sysdeps/wordsize-64/scandirat64.c: File removed.
28711         * sysdeps/wordsize-64/versionsort.c: File removed.
28712         * sysdeps/wordsize-64/versionsort64.c: File removed.
28713         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28715         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28716         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28717         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28718         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28719         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28720         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28721
28722         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28724         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28726         [defined __arch64__ || defined __sparcv9]
28727         (__INO_T_MATCHES_INO64_T): New macro.
28728         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28729         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28730         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28731         * sysdeps/unix/sysv/linux/bits/dirent.h
28732         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28733         (_DIRENT_MATCHES_DIRENT64): New macro.
28734
28735         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28736         Define lockf64 as an alias.
28737         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28738         Define fseeko64 as an alias.
28739         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28740         Define ftello64 as an alias.
28741         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28742         Define _IO_fgetpos64 and fgetpos64 as aliases.
28743         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28744         Define _IO_fsetpos64 and fsetpos64 as aliases.
28745         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28746         Conditionalize body on this.
28747         * libio/fseeko64.c: Likewise.
28748         * libio/ftello64.c: Likewise.
28749         * libio/iofgetpos64.c: Likewise.
28750         * libio/iofsetpos64.c: Likewise.
28751         * sysdeps/wordsize-64/lockf.c: File removed.
28752         * sysdeps/wordsize-64/lockf64.c: File removed.
28753         * sysdeps/wordsize-64/fseeko.c: File removed.
28754         * sysdeps/wordsize-64/fseeko64.c: File removed.
28755         * sysdeps/wordsize-64/ftello.c: File removed.
28756         * sysdeps/wordsize-64/ftello64.c: File removed.
28757         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28758         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28759         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28760         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28761         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28762         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28763         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28764         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28765         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28766         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28767         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28768         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28769         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28770         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28771
28772         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28773         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28774         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28776         [defined __arch64__ || defined __sparcv9]
28777         (__OFF_T_MATCHES_OFF64_T): New macro.
28778         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28779         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28780         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28781         (__OFF_T_MATCHES_OFF64_T): New macro.
28782
28783 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28784
28785         * stdlib/secure-getenv.c (__secure_getenv): Replace
28786         GLIBC_2_16 with GLIBC_2_17.
28787
28788 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28789
28790         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28791         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28792
28793 2012-08-03  David S. Miller  <davem@davemloft.net>
28794
28795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28796
28797 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28798
28799         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28800         Remove.
28801         (__ASSUME_CORRECT_SI_PID): Likewise.
28802         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28803         (__ASSUME_TMPFS_NAME): Likewise.
28804         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28805         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28806         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28807         (HAVE_AUX_SECURE): Make definition unconditional.
28808         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28809         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28810
28811 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28812
28813         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28814         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28815         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28816         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28817         __eloop_threshold instead of SYMLOOP_MAX.
28818
28819         * sysdeps/generic/eloop-threshold.h: New file.
28820         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28821         of MAXSYMLINKS.
28822         * elf/chroot_canon.c (chroot_canon): Likewise.
28823
28824 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28825
28826         [BZ #13717]
28827         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28828         Change to 2.6.0 everywhere.
28829         * sysdeps/unix/sysv/linux/configure: Regenerated.
28830         * sysdeps/unix/sysv/linux/kernel-features.h
28831         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28832         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28833         kernel versions.
28834         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28835         (__ASSUME_FUTEX_REQUEUE): Remove.
28836         (__ASSUME_STATFS64): Define unconditionally.
28837         (__ASSUME_AT_SECURE): Likewise.
28838         (__ASSUME_CORRECT_SI_PID): Likewise.
28839         (__ASSUME_TGKILL): Define without depending on kernel version for
28840         i386.
28841         (__ASSUME_UTIMES): Likewise.
28842         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28843         kernel version.
28844         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28845         (__ASSUME_TMPFS_NAME): Likewise.
28846         * README: Update reference to Linux kernel versions.
28847
28848 2012-08-02  Marek Polacek  <polacek@redhat.com>
28849
28850         [BZ# 14150]
28851         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28852         libc_cv_asm_type_prefix with %.
28853         * configure: Regenerated.
28854         * include/libc-symbols.h: Remove comment about
28855         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28856         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28857         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28858         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28859         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28860         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28861         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28862         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28863         * elf/tst-unique2mod1.c: Likewise.
28864         * elf/tst-unique1mod2.c: Likewise.
28865         * elf/tst-unique1mod1.c: Likewise.
28866         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28867         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28868         Replace ASM_TYPE_DIRECTIVE with .type.
28869         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28870         * sysdeps/i386/sysdep.h: Likewise.
28871         * sysdeps/x86_64/sysdep.h: Likewise.
28872         * sysdeps/sh/sysdep.h: Likewise.
28873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28874         Do not define ASM_TYPE_DIRECTIVE.
28875         * sysdeps/powerpc/sysdep.h: Likewise.
28876         * sysdeps/powerpc/powerpc32/sysdep.h:
28877         Replace ASM_TYPE_DIRECTIVE with .type.
28878         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28879         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28880         * sysdeps/i386/fpu/e_powf.S: Likewise.
28881         * sysdeps/i386/fpu/e_expl.S: Likewise.
28882         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28883         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28884         * sysdeps/i386/fpu/e_pow.S: Likewise.
28885         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28886         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28887         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28888         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28889         * sysdeps/i386/fpu/e_log2.S: Likewise.
28890         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28891         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28892         * sysdeps/i386/fpu/e_powl.S: Likewise.
28893         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28894         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28895         * sysdeps/i386/fpu/e_logl.S: Likewise.
28896         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28897         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28898         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28899         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28900         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28901         * sysdeps/i386/fpu/e_log.S: Likewise.
28902         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28903         * sysdeps/i386/fpu/e_logf.S: Likewise.
28904         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28905         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28906         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28907         * sysdeps/i386/fpu/e_log10.S: Likewise.
28908         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28909         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28910         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28911         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28912         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28913         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28914         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28915         * sysdeps/i386/i686/strtok.S: Likewise.
28916         * sysdeps/i386/i386-mcount.S: Likewise.
28917         * sysdeps/i386/strtok.S: Likewise.
28918         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28919         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28920         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28921         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28922         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28923         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28924         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28925         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28926         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28927         * sysdeps/x86_64/_mcount.S: Likewise.
28928         * sysdeps/x86_64/strtok.S: Likewise.
28929         * sysdeps/sh/_mcount.S: Likewise.
28930
28931 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28932
28933         * libio/iofopen.c: Include <fcntl.h>.
28934         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28935         (_IO_fopen64, fopen64): Define as aliases.
28936         * libio/iofopen64.c: Include <fcntl.h>.
28937         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28938         Conditionalize body on this.
28939         * sysdeps/wordsize-64/iofopen.c: File removed.
28940         * sysdeps/wordsize-64/iofopen64.c: File removed.
28941
28942 2012-08-01  Marek Polacek  <polacek@redhat.com>
28943
28944         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28945         Use dlfcn directly instead of a variable.
28946         (binfmt-subdir): Do not define.
28947         (dlfcn): Likewise.
28948
28949 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28950
28951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28952         Remove all definitions.
28953         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28954         <kernel-features.h>.
28955         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28956         (miss_F_GETOWN_EX): Remove all definitions.
28957         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28958         macro definition.
28959         [!__ASSUME_FCNTL64]: Remove conditional code.
28960         [__ASSUME_FCNTL64]: Make code unconditional.
28961         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28962         <kernel-features.h>.
28963         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28964         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28965         (lockf64) [__NR_fcntl64]: Make code unconditional.
28966         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28967
28968         * sysdeps/unix/sysv/linux/kernel-features.h
28969         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28970         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28971         Make code unconditional.
28972         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28973         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28975         [__NR_vfork]: Make code unconditional.
28976         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28977         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28979         [__NR_vfork]: Make code unconditional.
28980         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28981         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28982
28983 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28984
28985         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28986         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28987
28988         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28989         Define mkstemp64 as an alias.
28990         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28991         Define mkstemps64 as an alias.
28992         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28993         Define mkostemp64 as an alias.
28994         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28995         Define mkostemps64 as an alias.
28996         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28997         Conditionalize body on this.
28998         * misc/mkostemp64.c: Likewise.
28999         * misc/mkostemps64.c: Likewise.
29000         * misc/mkstemps64.c: Likewise.
29001         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29002         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29003         * sysdeps/wordsize-64/mkostemp.c: File removed.
29004         * sysdeps/wordsize-64/mkstemp.c: File removed.
29005         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29006         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29007         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29008         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29009
29010         [BZ #14138]
29011         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29012         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29013         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29014         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29015
29016         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29017         compat_symbol macros from <shlib-compat.h> rather than the underlying
29018         default_symbol_version and symbol_version macros, so that DEFAULT
29019         lines in shlib-versions are respected.
29020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29021
29022 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29023
29024         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29025         Declare with warn_unused_result.
29026         (setgid, setregid, setegid, setresgid): Likewise.
29027         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29028         Likewise.
29029         * WUR-REPORT: Remove set*id functions.
29030
29031 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29032
29033         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29034
29035 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29036
29037         [BZ #10191]
29038         * include/sys/socket.h (__libc_accept, __libc_accept4):
29039         Add attribute_hidden.
29040         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29041
29042         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29043         use of PTR_MANGLE.
29044         * inet/getnetgrent_r.c (setup): Likewise.
29045
29046         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29047
29048 2012-07-31  David S. Miller  <davem@davemloft.net>
29049
29050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29051
29052 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29053
29054         [BZ #13629]
29055         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29056         value between 1.0 and 2.0 and smaller part has absolute value less
29057         than 1.0.
29058         * math/s_clog10.c (__clog10): Likewise.
29059         * math/s_clog10f.c (__clog10f): Likewise.
29060         * math/s_clog10l.c (__clog10l): Likewise.
29061         * math/s_clogf.c (__clogf): Likewise.
29062         * math/s_clogl.c (__clogl): Likewise.
29063         * math/libm-test.inc (clog_test): Add more tests.
29064         (clog10_test): Likewise.
29065         * sysdeps/i386/fpu/libm-test-ulps: Update.
29066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29067
29068 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29069
29070         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29071         Exit with zero in case no suitable GID is found, and write a
29072         message to standard error.
29073
29074 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29075
29076         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29077         rather than to 1.
29078         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29079         (MAXPATHLEN): Removed.
29080         (NOGROUP, NODEV): New macros.
29081         (setbit, clrbit, isset, isclr): New macros.
29082         (howmany, roundup, powerof2): New macros.
29083         (DEV_BSIZE): New macro.
29084
29085         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29086         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29087
29088         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29089         definition on [!__NO_LONG_DOUBLE_MATH].
29090
29091         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29092         PTR_MANGLE and PTR_DEMANGLE.
29093
29094         * socket/accept4.c (accept4): Rename to __libc_accept4.
29095         Define accept4 as a weak alias.
29096
29097         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29098         on [_DIRENT_HAVE_D_TYPE].
29099         * io/ftw.c (ftw_dir): Likewise.
29100
29101         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29102
29103         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29104
29105         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29106         Use the BSD numbers rather than the arbitrary ones we had.
29107         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29108         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29109         (SIGXCPU, SIGXFSZ): New macros.
29110         (_NSIG): Now 32.
29111
29112         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29113         initializer on [_LIBC_REENTRANT].
29114
29115         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29116         definitions inside [_POSIX_MAPPED_FILES].
29117
29118         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29119
29120         * dirent/opendir.c: Include <fcntl.h>.
29121
29122         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29123         (__libc_getspecific): Likewise.
29124         (__libc_key_create): Likewise.
29125
29126         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29127         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29128         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29129         (tmpfile64): Define as alias.
29130         * sysdeps/wordsize-64/tmpfile.c: File removed.
29131         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29132         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29133         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29134
29135         * stdio-common/vfscanf.c: Include <stdbool.h>.
29136         * nss/makedb.c: Likewise.
29137         * stdio-common/_i18n_number.h: Likewise.
29138         * argp/argp-help.c: Likewise.
29139         * posix/wordexp.c: Likewise.
29140         * sysdeps/posix/spawni.c: Likewise.
29141         * nss/nss_files/files-initgroups.c: Likewise.
29142         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29143         * nss/nss_files/files-initgroups.c: Likewise.
29144         * nss/nss_db/db-netgrp.c: Likewise.
29145         * nss/nss_db/db-initgroups.c: Likewise.
29146         * io/fchmodat.c: Include <sys/stat.h>.
29147
29148         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29149         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29150
29151         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29152         [HAVE_MMAP].
29153
29154         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29155         Add multiple inclusion protection.
29156
29157 2012-07-27  David S. Miller  <davem@davemloft.net>
29158
29159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29160
29161 2012-07-27  Gary Benson  <gbenson@redhat.com>
29162
29163         [BZ #14298]
29164         * elf/rtld.c: Include <stap-probe.h>.
29165         (dl_main): Added static probes "init_start" and "init_complete".
29166         * elf/dl-load.c: Include <stap-probe.h>.
29167         (lose): Take new parameter "nsid".
29168         Added static probe "map_failed".
29169         (_dl_map_object_from_fd): Pass namespace id to lose.
29170         Added static probe "map_start".
29171         (open_verify): Pass namespace id to lose.
29172         * elf/dl-open.c: Include <stap-probe.h>.
29173         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29174         and "reloc_complete".
29175         * elf/dl-close.c: Include <stap-probe.h>.
29176         (_dl_close_worker): Added static probes "unmap_start" and
29177         "unmap_complete".
29178         * elf/rtld-debugger-interface.txt: New file documenting the above.
29179
29180 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29181
29182         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29183         rather than a string variable.
29184         * sunrpc/rpc_main.c (h_output): Likewise.
29185         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29186
29187 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29188
29189         * inet/check_native.c: New file.
29190
29191 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29192
29193         [BZ #13629]
29194         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29195         if larger part has absolute value 1.0.
29196         * math/s_clog10.c (__clog10): Likewise.
29197         * math/s_clog10f.c (__clog10f): Likewise.
29198         * math/s_clog10l.c (__clog10l): Likewise.
29199         * math/s_clogf.c (__clogf): Likewise.
29200         * math/s_clogl.c (__clogl): Likewise.
29201         * math/libm-test.inc (clog_test): Add more tests.
29202         (clog10_test): Likewise.
29203         * sysdeps/i386/fpu/libm-test-ulps: Update.
29204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29205
29206         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29207         (pltexit): Likewise.
29208         (La_regs): Likewise.
29209         (La_retval): Likewise.
29210         (int_retval): Likewise.
29211         Update #error for removed macros to refer only to definitions in
29212         tst-audit.h.
29213         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29214         macro.
29215         (pltexit): Likewise.
29216         (La_regs): Likewise.
29217         (La_retval): Likewise.
29218         (int_retval): Likewise.
29219         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29220         macro.
29221         (pltexit): Likewise.
29222         (La_regs): Likewise.
29223         (La_retval): Likewise.
29224         (int_retval): Likewise.
29225         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29226         macro.
29227         (pltexit): Likewise.
29228         (La_regs): Likewise.
29229         (La_retval): Likewise.
29230         (int_retval): Likewise.
29231         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29232         macro.
29233         (pltexit): Likewise.
29234         (La_regs): Likewise.
29235         (La_retval): Likewise.
29236         (int_retval): Likewise.
29237         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29238         macro.
29239         (pltexit): Likewise.
29240         (La_regs): Likewise.
29241         (La_retval): Likewise.
29242         (int_retval): Likewise.
29243         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29244         macro.
29245         (pltexit): Likewise.
29246         (La_regs): Likewise.
29247         (La_retval): Likewise.
29248         (int_retval): Likewise.
29249         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29250         macro definitions in tst-audit.h.
29251         * sysdeps/i386/tst-audit.h: New file.
29252         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29253         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29254         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29255         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29256         * sysdeps/sh/tst-audit.h: Likewise.
29257         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29258         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29259         * sysdeps/x86_64/tst-audit.h: Likewise.
29260
29261 2012-07-26  Andreas Jaeger  <aj@suse.de>
29262
29263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29264         ptrace.
29265
29266         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29267         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29268         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29269         PTRACE_O_MASK.
29270         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29271         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29272         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29273
29274         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29275         value.
29276
29277         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29278         _sigsys.
29279         (si_call_addr, si_syscall, si_arch): Define new macro.
29280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29281         _sigsys.
29282         (si_call_addr, si_syscall, si_arch): Define new marcro.
29283         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29284         _sigsys.
29285         (si_call_addr, si_syscall, si_arch): Define new macro.
29286         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29287         _sigsys.
29288         (si_call_addr, si_syscall, si_arch): Define new macro.
29289
29290 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29291
29292         [BZ #13717]
29293         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29294         Change to 2.4.21 where previously 2.4.1.
29295         * sysdeps/unix/sysv/linux/configure: Regenerated.
29296         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29297         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29298         Linux kernel version.
29299         (__ASSUME_STD_AUXV): Remove.
29300         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29301         kernel version.
29302         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29303         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29304         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29305         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29306         (__ASSUME_NETLINK_SUPPORT): Likewise.
29307         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29308         (__no_netlink_support): Remove conditional definition.
29309         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29310         Remove.
29311         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29312         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29313         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29314         (if_nameindex_ioctl): Remove.
29315         (if_nameindex_netlink): Do not handle __no_netlink_support.
29316         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29317         code.
29318         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29319         Remove conditional code.
29320         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29321         code.
29322         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29323         unconditional.
29324         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29325         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29326         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29327         Remove.
29328         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29329         [!__ASSUME_STD_AUXV]: Remove conditional code.
29330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29331         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29332         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29334         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29335         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29336         code.
29337         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29339         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29340         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29341         conditional code.
29342         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29344         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29345         code.
29346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29347         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29348         conditional code.
29349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29350         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29351         code unconditional.
29352         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29353         conditional code.
29354         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29355         unconditional.
29356         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29357         conditional code.
29358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29359         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29360         unconditional.
29361         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29362         conditional code.
29363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29364         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29365         code unconditional.
29366         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29367         conditional code.
29368         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29369         unconditional.
29370         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29371         conditional code.
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29373         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29374         code unconditional.
29375         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29376         conditional code.
29377         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29378         unconditional.
29379         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29380         conditional code.
29381
29382 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29383
29384         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29385         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29386         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29387         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29388         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29389         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29390         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29391         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29392         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29393         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29394         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29395         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29396         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29397         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29398         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29399         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29400         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29401         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29402         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29403         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29404         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29405         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29406         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29407
29408 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29409
29410         * Versions.def: Add GLIBC_2.17.
29411         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29412         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29413         Introduce __libc_secure_getenv.
29414         * stdlib/Versions (2.17): Add secure_getenv
29415         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29416         * stdlib/secure-getenv.c: Rename __secure_getenv to
29417         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29418         symbol __secure_getenv for GLIBC_2.0.
29419         * stdlib/tst-secure-getenv.c: New.
29420         * stdlib/Makefile (tests): Add testcase.
29421         * manual/startup.texi (Environment Access): Document
29422         secure_getenv.
29423         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29424         __libc_secure_getenv.
29425         * inet/ruserpass.c (ruserpass): Likewise.
29426         * malloc/mtrace.c (mtrace): Likewise.
29427         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29428         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29429         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29430         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29431         HAVE_SECURE_GETENV.
29432         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29433         __secure_getenv to __libc_secure_getenv.
29434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29436         Likewise.
29437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29438         Likewise.
29439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29441         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29446
29447 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29448
29449         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29450         (struct La_i86_retval): Likewise.
29451         (struct La_x86_64_regs): Likewise.
29452         (struct La_x86_64_retval): Likewise.
29453         (struct La_x32_regs): Likewise.
29454         (struct La_x32_retval): Likewise.
29455         (struct La_ppc32_regs): Likewise.
29456         (struct La_ppc32_retval): Likewise.
29457         (struct La_ppc64_regs): Likewise.
29458         (struct La_ppc64_retval): Likewise.
29459         (struct La_sh_regs): Likewise.
29460         (struct La_sh_retval): Likewise.
29461         (struct La_s390_32_regs): Likewise.
29462         (struct La_s390_32_retval): Likewise.
29463         (struct La_s390_64_regs): Likewise.
29464         (struct La_s390_64_retval): Likewise.
29465         (struct La_sparc32_regs): Likewise.
29466         (struct La_sparc32_retval): Likewise.
29467         (struct La_sparc64_regs): Likewise.
29468         (struct La_sparc64_retval): Likewise.
29469         (struct audit_ifaces): Remove architecture-specific pltenter and
29470         pltexit members.
29471         * sysdeps/i386/ldsodefs.h: New file.
29472         * sysdeps/powerpc/ldsodefs.h: Likewise.
29473         * sysdeps/s390/ldsodefs.h: Likewise.
29474         * sysdeps/sh/ldsodefs.h: Likewise.
29475         * sysdeps/sparc/ldsodefs.h: Likewise.
29476         * sysdeps/x86_64/ldsodefs.h: Likewise.
29477
29478 2012-07-25  Marek Polacek  <polacek@redhat.com>
29479
29480         [BZ #6808]
29481         * math/libm-test.inc (yn_test): Add another test.
29482         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29483         to ERANGE when the result is +-Inf.
29484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29485         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29486         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29487         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29488
29489 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29490
29491         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29492         equal to 0.
29493         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29494         clock_t.
29495         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29496
29497 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29498
29499         * configure.in <sysdeps resolving>: Correct printing
29500         Implies_before.
29501         * configure: Regenerate.
29502
29503 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29504
29505         * math/w_ilogb.c: Include <limits.h>.
29506         * math/w_ilogbl.c: Likewise.
29507
29508 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29509
29510         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29511         va_copy.  Document allowing for unavailable va_copy only as
29512         pre-C99 compatibility.
29513         * manual/string.texi (Copying and Concatenation): Use va_copy
29514         instead of __va_copy in concat example.
29515
29516 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29517
29518         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29519         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29520         it if not null.
29521
29522         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29523         with O_NOLINK passed to __file_name_lookup.
29524
29525         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29526         with O_NOLINK passed to __file_name_lookup.
29527
29528         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29529         negative N or less than NGIDS.
29530
29531         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29532         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29533         enough.  Use memcpy instead of strncpy.
29534
29535 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29536
29537         * elf/Makefile (check-data): Remove.
29538         (localplt.data): New vpath directive.
29539         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29540         instead of $(check-data).
29541         * scripts/data/localplt-generic.data: Move to ...
29542         * sysdeps/generic/localplt.data: ... here.
29543         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29544         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29545         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29547         ... here.
29548         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29550         ... here.
29551         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29553         ... here.
29554         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29556         ... here.
29557         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29559         ... here.
29560         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29562         ... here.
29563
29564 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29565
29566         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29567         PPC32 and PPC64 files.
29568         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29569         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29570
29571 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29572
29573         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29574         __makecontext_ret to ...
29575         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29576         ... here and call exit if uc_link is NULL.  New file.
29577         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29578         __makecontext_ret.S.
29579         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29580         __makecontext_ret to ...
29581         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29582         ... here and call exit if uc_link is NULL.  New file.
29583         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29584         __makecontext_ret.S.
29585
29586 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29587
29588         * elf/elf.h (R_390_IRELATIVE): New definition.
29589         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29590         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29591         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29592         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29593         (elf_machine_lazy_rel): Likewise.
29594         * sysdeps/s390/dl-irel.h: New file.
29595         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29596         * sysdeps/s390/s390-64/memset.S: New asm code.
29597         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29598         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29599         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29600         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29601         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29602         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29603         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29604         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29605         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29606         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29607         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29608         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29609         * sysdeps/s390/s390-32/memset.S: New asm code.
29610         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29611
29612 2012-07-17  Marek Polacek  <polacek@redhat.com>
29613
29614         [BZ #14349]
29615         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29616         * sysdeps/s390/s390-64/configure.in: Likewise.
29617         * sysdeps/sparc/configure.in: Likewise.
29618         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29619         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29620         * sysdeps/i386/configure.in: Likewise.
29621         * sysdeps/x86_64/configure.in: Likewise.
29622         * sysdeps/sh/configure.in: Likewise.
29623         * sysdeps/s390/s390-32/configure: Regenerated.
29624         * sysdeps/s390/s390-64/configure: Likewise.
29625         * sysdeps/x86_64/configure: Likewise.
29626         * sysdeps/sh/configure: Likewise.
29627         * sysdeps/powerpc/powerpc64/configure: Likewise.
29628         * sysdeps/powerpc/powerpc32/configure: Likewise.
29629         * sysdeps/sparc/configure: Likwise.
29630         * sysdeps/i386/configure: Likewise.
29631
29632         * elf/dl-open.c: Comment fixes.
29633
29634 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29635
29636         * Makefile [CXX] (check-data): Remove.
29637         [CXX] (c++-types.data): New vpath directive.
29638         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29639         vpath.  Do not allow for C++ type data being missing.
29640         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29641         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29642         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29643         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29644         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29645         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29646         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29648         ... here.
29649         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29651         ... here.
29652         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29654         ... here.
29655         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29657         ... here.
29658         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29660         ... here.
29661         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29663         ... here.
29664         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29666         ... here.
29667         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29669
29670         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29671         definitions to architecture-specific files.
29672         (TLS_IE): Likewise.
29673         (TLS_LD): Likewise.
29674         (TLS_GD): Likewise.
29675         * sysdeps/i386/tls-macros.h: New file.
29676         * sysdeps/powerpc/tls-macros.h: Likewise.
29677         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29678         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29679         * sysdeps/sh/tls-macros.h: Likewise.
29680         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29681         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29682         * sysdeps/x86_64/tls-macros.h: Likewise.
29683
29684 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29685
29686         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29687         zero value for regular exit case.
29688
29689         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29690         (__start_context): Preserve zero value for regular exit case.
29691
29692 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29693             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29694
29695         * manual/setjmp.texi (setcontext): Clarify normal process
29696         termination when uc_link is the null pointer.
29697         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29698         exit call.
29699
29700 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29701
29702         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29703         preprocessor.  Test for each exception mask separately.
29704
29705 2012-07-16  Andreas Jaeger  <aj@suse.de>
29706
29707         * po/ru.po: Update from translation team.
29708
29709 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29710
29711         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29712         equal to 0.
29713         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29714         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29715         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29716         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29718
29719 2012-07-13  Andreas Jaeger  <aj@suse.de>
29720
29721         * po/fr.po: Update from translation team.
29722
29723 2012-07-12  Marek Polacek  <polacek@redhat.com>
29724
29725         [BZ #14173]
29726         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29727         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29728         loop condition.
29729
29730 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29731
29732         [BZ #13717]
29733         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29734         Change to 2.4.1 where previously 2.4.0.
29735         * sysdeps/unix/sysv/linux/configure: Regenerated.
29736         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29737         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29738         version.
29739         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29740         (__ASSUME_AT_CLKTCK): Remove.
29741         (__ASSUME_AT_PAGESIZE): Likewise.
29742         (__ASSUME_AT_XID): Likewise.
29743         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29744         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29745         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29746         unconditionally.
29747         (HAVE_AUX_PAGESIZE): Likewise.
29748         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29749         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29750         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29751
29752 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29753
29754         [BZ #14307]
29755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29756         the temporary buffer used to invoke __gethostbyname2_r,
29757         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29758         host_data / struct gaih_addrtuple.
29759         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29760         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29761         header file nss/nsswitch.h.
29762         * nss/nsswitch.h (global scope): Add definition of implementation
29763         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29764         resolv/nss_dns/dns-host.c).
29765
29766 2012-07-11  Andreas Jaeger  <aj@suse.de>
29767
29768         * po/fr.po: Update from translation team.
29769
29770         * po/sv.po: Update from translation team
29771         * po/fr.po: Another update from translation team.
29772
29773 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29774
29775         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29776         for subnormals or multiply small sinh result by itself.
29777         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29779
29780 2012-07-11  David S. Miller  <davem@davemloft.net>
29781
29782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29783
29784 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29785
29786         [BZ #14347]
29787         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29788         (INTERNAL_MARK): Shift it here.
29789
29790 2012-07-10  Marek Polacek  <polacek@redhat.com>
29791
29792         [BZ #14151]
29793         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29794         libc_cv_asm_global_directive with .globl.
29795         * configure: Regenerated.
29796         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29797         with .globl.
29798         * sysdeps/i386/configure: Regenerated.
29799         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29800         with .globl.
29801         * sysdeps/x86_64/configure: Regenerated.
29802         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29803         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29804         * elf/tst-unique2mod2.c: Likewise.
29805         * elf/tst-unique2mod1.c: Likewise.
29806         * elf/tst-unique1mod2.c: Likewise.
29807         * elf/tst-unique1mod1.c: Likewise.
29808         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29809         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29810         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29811         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29812         * sysdeps/mach/sysdep.h: Likewise.
29813         * sysdeps/i386/sysdep.h: Likewise.
29814         * sysdeps/i386/i386-mcount.S: Likewise.
29815         * sysdeps/x86_64/_mcount.S: Likewise.
29816         * sysdeps/x86_64/sysdep.h: Likewise.
29817         * sysdeps/sh/_mcount.S: Likewise.
29818         * sysdeps/sh/sysdep.h: Likewise.
29819         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29820         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29821         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29822         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29823         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29824         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29825         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29826         * locale/localeinfo.h: Likewise.
29827         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29828         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29829
29830 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29831
29832         [BZ #14336]
29833         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29834         system".
29835         * manual/message.texi (The Uniforum approach): Likewise.
29836         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29837         (glibc iconv Implementation): Likewise.
29838
29839 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29840
29841         [BZ #14337]
29842         * math/s_clog.c (__clog): Avoid scaling a value down where that
29843         could result in underflow.
29844         * math/s_clog10.c (__clog10): Likewise.
29845         * math/s_clog10f.c (__clog10f): Likewise.
29846         * math/s_clog10l.c (__clog10l): Likewise.
29847         * math/s_clogf.c (__clogf): Likewise.
29848         * math/s_clogl.c (__clogl): Likewise.
29849         * math/libm-test.inc (clog_test): Add more tests.
29850         (clog10_test): Likewise.
29851         * sysdeps/i386/fpu/libm-test-ulps: Update.
29852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29853
29854 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29855
29856         [BZ #14283]
29857         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29858         by 7 not 8 to examine high bit of fractional part.
29859
29860         [BZ #14042]
29861         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29862         for call to __mcount_internal.
29863         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29864         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29865         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29866
29867 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29868
29869         [BZ #14154]
29870         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29871         approximation for values within 0x1p-13f of an odd multiple of
29872         pi/4.
29873         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29874         exception.  Add more tests.
29875         * sysdeps/i386/fpu/libm-test-ulps: Update.
29876
29877         [BZ #6778]
29878         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29879         inputs and return -1 for them.  Do not check for +Inf in case not
29880         reachable for +Inf.
29881         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29882         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29883         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29884         and return -1 for them.  Do not check for +Inf in case not
29885         reachable for +Inf.
29886         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29887         define.
29888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29889         and return -1 for them.  Do not check for +Inf in case not
29890         reachable for +Inf.
29891         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29892         spurious underflow.
29893         * sysdeps/i386/fpu/libm-test-ulps: Update.
29894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29895
29896 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29897
29898         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29899
29900 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29901
29902         [BZ #14157]
29903         [BZ #14331]
29904         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29905         could result in spurious underflow.  Scale down values above
29906         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29907         * math/s_csqrtf.c (__csqrtf): Likewise.
29908         * math/s_csqrtl.c (__csqrtl): Likewise.
29909         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29910         spurious underflow.
29911         * sysdeps/i386/fpu/libm-test-ulps: Update.
29912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29913
29914 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29915
29916         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29917         xopen-msg.sed.
29918         * catgets/xopen-msg.awk: New file.
29919         * catgets/xopen-msg.sed: Removed.
29920
29921         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29922         po2text.sed.
29923         * intl/po2test.awk: New file.
29924         * intl/po2test.sed: Removed.
29925
29926 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29927
29928         [BZ #14328]
29929         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29930         or multiply small sinh result by itself.
29931         * math/s_ctanf.c (__ctanf): Likewise.
29932         * math/s_ctanh.c (__ctanh): Likewise.
29933         * math/s_ctanhf.c (__ctanhf): Likewise.
29934         * math/s_ctanhl.c (__ctanhl): Likewise.
29935         * math/s_ctanl.c (__ctanl): Likewise.
29936         * math/libm-test.inc (ctan_test_tonearest): New function.
29937         (ctan_test_towardzero): Likewise.
29938         (ctan_test_downward): Likewise.
29939         (ctan_test_upward): Likewise.
29940         (ctanh_test_tonearest): Likewise.
29941         (ctanh_test_towardzero): Likewise.
29942         (ctanh_test_downward): Likewise.
29943         (ctanh_test_upward): Likewise.
29944         (main): Call these new functions.
29945         * sysdeps/i386/fpu/libm-test-ulps: Update.
29946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29947
29948 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29949
29950         * .gitignore: Delete /ports entry.
29951
29952 2012-07-03  Andreas Jaeger  <aj@suse.de>
29953
29954         * po/bg.po: Update from translation team.
29955         * po/cs.po: Likewise.
29956         * po/de.po: Likewise.
29957         * po/hr.po: Likewise.
29958         * po/nl.pl: Likewise.
29959         * po/pl.po: Likewise.
29960         * po/vi.po: Likewise.
29961
29962 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29963
29964         * Makeconfig [!+link] (+link-before-libc): New variable.
29965         [!+link] (+link-after-libc): Likewise.
29966         [!+link] (+link-tests): Likewise.
29967         [!+link] (+link): Define in terms of $(+link-before-libc) and
29968         $(+link-after-libc).
29969         [!+link-static] (+link-static-before-libc): New variable.
29970         [!+link-static] (+link-static-after-libc): Likewise.
29971         [!+link-static] (+link-static-tests): Likewise.
29972         [!+link-static] (+link-static): Define in terms of
29973         $(+link-static-before-libc) and $(+link-static-after-libc).
29974         [build-shared] (link-libc-before-gnulib): New variable.
29975         [build-shared] (link-libc-tests): Likewise.
29976         [build-shared] (link-libc): Define in terms of
29977         $(link-libc-before-gnulib).
29978         [!build-shared] (link-libc-tests): New variable.
29979         (link-libc-static-tests): New variable.
29980         [!gnulib] (gnulib-arch): New variable.
29981         [!gnulib] (gnulib-tests): Likewise.
29982         [!gnulib] (static-gnulib-arch): Likewise.
29983         [!gnulib] (static-gnulib-tests): Likewise.
29984         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29985         Define with "=" instead of ":=".
29986         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29987         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29988         * Rules (binaries-all-notests): New variable.
29989         (binaries-all-tests): Likewise.
29990         (binaries-static-notests): Likewise.
29991         (binaries-static-tests): Likewise.
29992         (binaries-all): Define using $(binaries-all-notests) and
29993         $(binaries-all-tests).
29994         (binaries-static): Define using $(binaries-static-notests) and
29995         $(binaries-static-tests).
29996         (binaries-shared-tests): New variable.
29997         (binaries-shared-notests): Likewise.
29998         (binaries-shared): Remove variable.
29999         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30000         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30001         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30002         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30003         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30004         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30005         * elf/Makefile (sln-modules): New variable.
30006         (extra-objs): Add $(sln-modules:=.o).
30007         (ldconfig-modules): Add static-stubs.
30008         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30009         * elf/static-stubs.c: New file.
30010
30011         [BZ #14283]
30012         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30013         by 7 not 8 to examine high bit of fractional part.  Use volatile
30014         variables when splitting into final array of floats if
30015         __FLT_EVAL_METHOD__ != 0.
30016         * math/libm-test.inc (cos_test): Add another test.
30017         (sin_test): Likewise.
30018         * sysdeps/i386/fpu/libm-test-ulps: Update.
30019
30020         [BZ #14273]
30021         * math/libm-test.inc (cosh_test): Add more tests.
30022
30023         * version.h (RELEASE): Set to "development".
30024         (VERSION): Set to "2.16.90".
30025
30026 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30027
30028         * NEWS: Update copyright. Remove last-updated date.
30029         Mention math library bug fixes and timezone data changes.
30030         * README: Mention GNU/Hurd, x32, and HPPA support status.
30031
30032 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30033
30034         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30035
30036 2012-06-27  Andreas Jaeger  <aj@suse.de>
30037
30038         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30039
30040 2012-06-25  Andreas Jaeger  <aj@suse.de>
30041
30042         * sysdeps/s390/fpu/libm-test-ulps: Update.
30043
30044 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30045             Thomas Schwinge  <thomas@codesourcery.com>
30046
30047         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30048         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30050         fanotify_mark.
30051
30052 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30053
30054         * sysdeps/mach/start.c: Remove file.
30055         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30056         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30057         * sysdeps/sh/init-first.c: Likewise.
30058
30059         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30060         registers for frame unwinding purposes, add CFI directives.
30061         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30062         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30063         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30064         Likewise.
30065
30066         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30067         __fortify_fail returning.
30068         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30069
30070         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30071         sysdeps/sh/____longjmp_chk.S.
30072         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30073         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30074         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30075         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30076
30077         * sysdeps/sh/abort-instr.h: New file.
30078         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30079         process in case exit returns.
30080
30081         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30082         initialize the GOT register before use.
30083
30084         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30085         calculation of ARGC > 4.
30086
30087         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30088         meaningful names to some local labels.
30089
30090 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30091             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30092
30093         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30094         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30095         (__arch_compare_and_exchange_val_16_acq): Likewise.
30096         (__arch_compare_and_exchange_val_32_acq): Likewise.
30097         (atomic_exchange_and_add): Fix gUSA sequence.
30098         (atomic_add): Likewise.
30099         (atomic_add_negative): Likewise.
30100         (atomic_add_zero): Likewise.
30101         (atomic_bit_test_set): Likewise.
30102
30103 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30104
30105         [BZ #13579]
30106         * include/link.h (struct link_map): Add l_free_initfini.
30107         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30108         l_initfini.
30109         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30110         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30111         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30112         set.
30113
30114 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30115
30116         * configure.in: Use AC_LANG_SOURCE.
30117         * configure: Regenerate.
30118
30119 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30120
30121         * configure.in (libc_cv_localstatedir): New substituted variable.
30122         * configure: Regenerated.
30123         * config.make.in (localstatedir): New variable, substituted from
30124         libc_cv_localstatedir.
30125         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30126         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30127         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30128         * sysdeps/gnu/configure: Regenerated.
30129
30130 2012-06-21  Jeff Law  <law@redhat.com>
30131
30132         [BZ #14277]
30133         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30134         free.  Simplify list management for _LIBC case.
30135
30136 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30137
30138         [BZ #14273]
30139         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30140         Clear sign bit of 64-bit integer value before comparing against
30141         overflow value.
30142
30143         * sysdeps/mach/configure: Regenerated.
30144
30145 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30146
30147         [BZ #14278]
30148         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30149
30150 2012-06-21  Jeff Law  <law@redhat.com>
30151
30152         [BZ #13882]
30153         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30154         uint16_t for elements in the "seen" array to avoid char overflows.
30155         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30156         * elf/dl-open.c (dl_open_worker): Likewise.
30157
30158 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30159
30160         * scripts/list-sources.sh: Scan PORTS for translations.
30161         * po/libc.pot: Regenerated.
30162
30163 2012-06-21  Andreas Jaeger  <aj@suse.de>
30164
30165         [BZ #12194]
30166         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30167         warning.
30168         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30169         * bits/byteswap-16.h (__bswap_16): Likewise.
30170         * bits/byteswap.h (__bswap_constant_16): Likewise.
30171
30172 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30173
30174         [BZ #14117]
30175         * sysdeps/i386/fpu_control.h: Removed.
30176         * sysdeps/x86_64/fpu_control.h: Moved to ...
30177         * sysdeps/x86/fpu_control.h: Here.
30178
30179         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30180         (_FPU_SETCW): Likewise.
30181
30182 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30183
30184         [BZ #14117]
30185         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30186         * sysdeps/x86/fpu/bits/mathinline.h: This.
30187         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30188
30189         [BZ #14050]
30190         [BZ #14117]
30191         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30192         functions if __x86_64__ is defined.
30193
30194 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30195
30196         * string/endian.h: Add !__ASSEMBLER__ condition for including
30197         conversion interfaces.
30198
30199 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30200
30201         [BZ #14241]
30202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30203         of ABS(x) in calculating zero to negative powers other than odd
30204         integers.
30205         * math/libm-test.inc (pow_test): Add more tests.
30206
30207 2012-06-15  Andreas Jaeger  <aj@suse.de>
30208
30209         * manual/contrib.texi (Contributors): Update entry of Liubov
30210         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30211         Machado Filho.
30212
30213 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30214
30215         * string/string.h: Add __wur to GNU version of strerror_r.
30216
30217 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30218
30219         [BZ #14229]
30220         * string/Makefile (tests): Add tst-strtok_r.
30221         * string/tst-strtok_r.c: New file.
30222         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30223         RAX_LP/RDX_LP on SAVE_PTR.
30224
30225 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30226
30227         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30228
30229 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30230
30231         * libm_test.inc (csqrt_test): Allow more spurious underflow
30232         exceptions.
30233         (j0_test): Likewise.
30234         (j1_test): Likewise.
30235         (y0_test): Likewise.
30236         (y1_test): Likewise.
30237
30238 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30239
30240         * po/Makefile (libc.pot): Use UTF-8 charset.
30241
30242 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30243
30244         [BZ #14210]
30245         Suppress sign-conversion warning from FD_SET.
30246         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30247         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30248         not unsigned long int.
30249         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30250
30251 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30252
30253         [BZ #14050]
30254         [BZ #14117]
30255         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30256         __extern_always_inline instead of __extern_inline.
30257         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30258         (__signbit): Likewise.
30259         (__signbitl): Support C++ namespace.
30260         (lrintf): New inline function.
30261         (lrint): Likewise.
30262         (llrintf): Likewise.
30263         (llrint): Likewise.
30264         (fmaxf): Likewise.
30265         (fmax): Likewise.
30266         (fminf): Likewise.
30267         (fmin): Likewise.
30268         (rint): Likewise.
30269         (rintf): Likewise.
30270         (ceil): Likewise.
30271         (ceilf): Likewise.
30272         (floor): Likewise.
30273         (floorf): Likewise.
30274         (nearbyint): Likewise.
30275         (nearbyintf): Likewise.
30276
30277 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30278
30279         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30280         non-default versions.
30281
30282 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30283
30284         [BZ #14218]
30285         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30286
30287 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30288
30289         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30290         (FE_UPWARD, FE_DOWNWARD): Don't define.
30291         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30292         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30293
30294         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30295         reading it.
30296         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30297         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30298
30299 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30300
30301         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30303         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30304         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30305
30306 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30307
30308         [BZ #14117]
30309         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30310         * sysdeps/i386/fpu/Implies: New file.
30311         * sysdeps/x86_64/fpu/Implies: Likewise.
30312         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30313         * sysdeps/x86/fpu/bits/fenv.h: This.
30314
30315         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30316         __SSE_MATH__.
30317
30318 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30319
30320         [BZ #14134]
30321         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30322         character 0xffff that matches the last element of the
30323         conversion table.
30324
30325 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30326
30327         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30328         fmodl commit.
30329
30330 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30331
30332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30333         values higher than 25.6283.
30334
30335 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30336
30337         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30338         subnormal exponent extraction and add some __builtin_expect.
30339         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30340         Fix for subnormal mantissa calculation.
30341
30342 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30343
30344         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30345         cpu2 is -1 and errno is not ENOSYS.
30346
30347 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30348
30349         [BZ #14117]
30350         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30351         * sysdeps/x86/bits/string.h: This.
30352         * sysdeps/x86_64/bits/string.h: Removed.
30353
30354         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30355         if not compiling for x86-64, but compiling for >= i486.
30356
30357         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30358         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30359
30360         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30361         New macro from Linux kernel 3.4.0.
30362         (FP_XSTATE_MAGIC2): Likewise.
30363         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30364         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30365         (struct _fpx_sw_bytes): New struct.
30366         (struct _xsave_hdr): Likewise.
30367         (struct _ymmh_state): Likewise.
30368         (struct _xstate): Likewise.
30369
30370         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30371         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30372         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30373         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30374         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30375         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30376
30377         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30378         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30379         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30380         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30381         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30382         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30383
30384 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30385
30386         [BZ #13743]
30387         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30388         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30389         (sysdep_headers): Include sys/platform/ppc.h.
30390         * sysdeps/powerpc/test-gettimebase.c: Test for
30391         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30392         * manual/Makefile (appendices): Include platform.texi.
30393         * manual/contrib.texi (Contributors): Update @node pointers.
30394         * manual/maint.texi (Maintenance): Likewise.
30395         (Platform): New node.
30396         * manual/platform.texi: New file.  Document the new features.
30397
30398 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30399             Jakub Jelinek  <jakub@redhat.com>
30400
30401         [BZ #14188]
30402         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30403         where __builtin_expect is unavailable.
30404
30405 2012-06-03  David S. Miller  <davem@davemloft.net>
30406
30407         * stdlib/longlong.h: Updated from GCC.
30408
30409 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30410
30411         [BZ #14042]
30412         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30413         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30414         __mcount_internal.
30415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30416         (GLIBC_2.16): Likewise.
30417
30418 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30419
30420         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30421
30422 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30423
30424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30425         (default-abi): New variable.
30426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30427         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30428         variable.
30429         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30430         Likewise.
30431         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30432         Likewise.
30433         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30434         Likewise.
30435
30436         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30437         definition.  Document in comment.
30438
30439 2012-06-01  David S. Miller  <davem@davemloft.net>
30440
30441         * stdlib/longlong.h: Updated from GCC.
30442
30443 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30444
30445         [BZ #14117]
30446         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30447         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30448         sys/debugreg.h sys/io.h here.
30449         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30450         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30451         sys/io.h.
30452         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30453         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30454         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30455         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30456         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30457         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30458
30459         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30460         Define only if __x86_64__ is defined.
30461
30462 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30463
30464         [BZ #14048]
30465         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30466         Use int64_t for variable i.
30467         * math/libm-test.inc (fmod_test): Add more tests.
30468
30469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30470         z computation is not scheduled after fetestexcept.
30471         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30472         Use math_force_eval instead of asm to ensure calculation scheduled
30473         before exception test.
30474         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30475         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30476
30477 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30478
30479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30480         computation is not scheduled after fetestexcept.
30481
30482 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30483
30484         [BZ #14117]
30485         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30486         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30487
30488 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30489
30490         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30491         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30492
30493 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30494
30495         [BZ #14117]
30496         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30497         <bits/wordsize.h>.
30498         (__WCHAR_MIN): Support __WORDSIZE == 64.
30499         (__WCHAR_MAX): Likewise.
30500
30501         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30502         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30503
30504         [BZ #14183]
30505         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30506         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30507
30508         [BZ #14117]
30509         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30510         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30511
30512         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30513         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30514
30515         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30516         Defined to 1 if __x86_64__ isn't defined.
30517         (_STAT_VER_LINUX_OLD): New.
30518         (st_atime): Remove duplicate.
30519         (st_mtime): Likewise.
30520         (st_ctime): Likewise.
30521
30522 2012-05-31  David S. Miller  <davem@davemloft.net>
30523
30524         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30525         entries.
30526
30527 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30528
30529         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30530         gen-libm-test.pl.
30531
30532         [BZ #14132]
30533         * elf/dl-reloc.c: Include <_itoa.h>.
30534         (_dl_reloc_bad_type): Remove use of INTUSE.
30535         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30536         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30537         * stdio-common/psiginfo.c (psiginfo): Likewise.
30538         * stdio-common/psignal.c (psignal): Likewise.
30539         * string/strsignal.c (strsignal): Likewise.
30540         * include/signal.h (_sys_siglist): Declare hidden proto.
30541         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30542         INTVARDEF with libc_hidden_data_def.
30543         * stdio-common/itoa-udigits.c: Likewise.
30544         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30545         (_itoa_lower_digits_internal): Remove declaration.
30546         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30547         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30548         (_sys_sigabbrev_internal): Remove aliases.
30549         (_sys_siglist): Define hidden alias.
30550
30551 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30552
30553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30554         bits/sysctl.h.
30555
30556 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30557
30558         [BZ #14117]
30559         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30560         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30561
30562         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30563         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30564         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30565         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30566         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30567         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30568
30569         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30570         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30571         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30572
30573         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30574         with __addr.
30575         (insw): Likewise.
30576         (insl): Likewise.
30577         (outsb): Likewise.
30578         (outsw): Likewise.
30579         (outsl): Likewise.
30580
30581         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30582         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30583         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30584
30585         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30586         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30587         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30588         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30589         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30590         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30591
30592         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30593         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30594
30595         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30596         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30597
30598         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30600         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30601
30602         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30603         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30604         to ...
30605         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30606
30607         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30608         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30609         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30610
30611         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30612         for x86-64.
30613         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30614
30615 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30616
30617         * math/math.h (M_El): Use two more decimal places.
30618         (M_LOG2El): Likewise.
30619         (M_LOG10El): Likewise.
30620         (M_LN2l): Likewise.
30621         (M_LN10l): Likewise.
30622         (M_PIl): Likewise.
30623         (M_PI_2l): Likewise.
30624         (M_PI_4l): Likewise.
30625         (M_1_PIl): Likewise.
30626         (M_2_PIl): Likewise.
30627         (M_2_SQRTPIl): Likewise.
30628         (M_SQRT2l): Likewise.
30629         (M_SQRT1_2l): Likewise.
30630
30631 2012-05-31  David S. Miller  <davem@davemloft.net>
30632
30633         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30634         values between float registers.
30635         * sysdeps/sparc/sparc64/memset.S: Likewise.
30636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30637
30638 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30639
30640         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30641         -D_FORTIFY_SOURCE=1.
30642         (CPPFLAGS-tst-longjmp_chk.c): Define.
30643         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30644         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30645         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30646         CFLAGS-tst-wchar-h.c.
30647
30648 2012-05-31  Marek Polacek  <polacek@redhat.com>
30649
30650         [BZ #14132]
30651         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30652         __endmntent_internal): Remove declaration.
30653         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30654         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30655         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30656
30657 2012-05-30  David S. Miller  <davem@davemloft.net>
30658
30659         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30660         (___Q_simulate_exceptions): Use real FP ops rather than writing
30661         into the %fsr.
30662         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30663         Likewise.
30664
30665 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30666
30667         [BZ #14117]
30668         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30669         * sysdeps/x86/bits/xtitypes.h: This.
30670
30671         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30672         * sysdeps/x86/bits/wordsize.h: This.
30673
30674         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30675         * sysdeps/x86/bits/huge_vall.h: This.
30676
30677         * sysdeps/i386/bits/select.h: Removed.
30678         * sysdeps/x86_64/bits/select.h: Renamed to ...
30679         * sysdeps/x86/bits/select.h: This.
30680
30681         * sysdeps/i386/bits/setjmp.h: Removed.
30682         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30683         * sysdeps/x86/bits/setjmp.h: This.
30684
30685         * sysdeps/i386/bits/mathdef.h: Removed.
30686         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30687         * sysdeps/x86/bits/mathdef.h: This.
30688
30689 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30690
30691         [BZ #14132]
30692         * include/sys/socket.h (__connect_internal)
30693         (__libc_sa_len_internal): Remove declaration.
30694         (__connect, __libc_sa_len): Declare hidden_proto.
30695         (SA_LEN): Remove use of INTUSE.
30696         * socket/connect.c: Add libc_hidden_def.
30697         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30698         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30699         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30700         alias.
30701         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30702         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30703         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30704         of adding _internal alias.
30705
30706 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30707
30708         [BZ #14117]
30709         * sysdeps/i386/bits/link.h: Removed.
30710         * sysdeps/i386/bits/linkmap.h: Likewise.
30711         * sysdeps/x86_64/bits/link.h: Renamed to ...
30712         * sysdeps/x86/bits/link.h: This.
30713         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30714         * sysdeps/x86/bits/linkmap.h: This.
30715
30716         * sysdeps/i386/bits/endian.h: Removed.
30717         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30718         * sysdeps/x86/bits/endian.h: This.
30719
30720         * sysdeps/i386/bits/byteswap.h: Removed.
30721         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30722         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30723         * sysdeps/x86/bits/byteswap.h: This.
30724         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30725         * sysdeps/x86/bits/byteswap-16.h: This.
30726         * sysdeps/i386/Implies: Add x86.
30727         * sysdeps/x86_64/Implies: Likewise.
30728
30729 2012-05-30  David S. Miller  <davem@davemloft.net>
30730
30731         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30732         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30733         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30734         (FP_TRAPPING_EXCEPTIONS): Define.
30735         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30736         (FP_TRAPPING_EXCEPTIONS): Define.
30737         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30738         subnormals only when inexact has been signalled or underflow
30739         exceptions are enabled.
30740         (_FP_PACK_CANONICAL): Likewise.
30741
30742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30743
30744         [BZ #14183]
30745         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30746         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30747
30748 2012-05-30  Richard Henderson  <rth@twiddle.net>
30749
30750         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30751         with #ifndef NOT_IN_libc.
30752
30753         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30754         marked to avoid plt entry.
30755
30756 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30757
30758         [BZ #14112]
30759         * Makeconfig (default-abi): New macro.
30760         (abi-includes): Likewise.
30761         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30762         $(abi-$(default-abi)-lib-soname) for soname if defined.
30763         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30764         abi-variants.
30765         * Makefile (installed-stubs): Likewise.
30766         * include/stubs-biarch.h: Removed.
30767         * scripts/lib-names.awk: Only handle one library at a time.
30768         * scripts/soversions.awk: Remove WORDSIZE support.
30769         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30770         entries.
30771         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30772         Removed.
30773         (syscall-list-default-condition): Likewise.
30774         (syscall-list-default-condition): Likewise.
30775         (syscall-list-includes): Likewise.
30776         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30777         syscall-list-* with abi-*.  Handle undefined abi-variants.
30778         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30779         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30780         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30781         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30782         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30783         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30784         Removed.
30785         (syscall-list-32-options): Likewise.
30786         (syscall-list-32-condition): Likewise.
30787         (syscall-list-64-options): Likewise.
30788         (syscall-list-64-condition): Likewise.
30789         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30790         macro.
30791         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30792         Renamed to ...
30793         (abi-*): This.
30794         (abi-64-ld-soname): New macro.
30795         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30796         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30797         Renamed to ...
30798         (abi-*): This.
30799         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30800         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30801
30802 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30803
30804         * sysdeps/unix/sysv/linux/kernel-features.h
30805         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30806         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30807         include <kernel-features.h>.
30808         [!__NR_ftruncate64]: Remove conditional code.
30809         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30810         [__NR_ftruncate64]: Make code unconditional.
30811         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30812         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30813         include <kernel-features.h>.
30814         [!__NR_ftruncate64]: Remove conditional code.
30815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30816         [__NR_ftruncate64]: Make code unconditional.
30817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30819         include <kernel-features.h>.
30820         [!__NR_ftruncate64]: Remove conditional code.
30821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30822         [__NR_ftruncate64]: Make code unconditional.
30823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30825         include <kernel-features.h>.
30826         [!__NR_ftruncate64]: Remove conditional code.
30827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30828         [__NR_ftruncate64]: Make code unconditional.
30829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30830
30831         * configure.in (libc_cv_fpie): Weaken to a compile test using
30832         LIBC_TRY_CC_OPTION.
30833         * configure: Regenerated.
30834
30835 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30836
30837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30841         Refreshed.
30842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30848         Refreshed.
30849
30850 2012-05-27  David S. Miller  <davem@davemloft.net>
30851
30852         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30853         (___Q_zero): New.
30854         (__Q_simulate_exceptions): Return void.  Change to simulate
30855         exceptions by writing into the %fsr.
30856         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30857         (__Qp_handle_exceptions): Likewise.
30858         (numbers): Delete.
30859         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30860         __Qp_handle_exceptions.
30861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30862         __Qp_handle_exceptions.
30863         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30864         as unused and give dummy FP_RND_NEAREST initializer.
30865         (FP_INHIBIT_RESULTS): Define.
30866         (___Q_simulate_exceptions): Update declaration.
30867         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30868         formatting.
30869         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30870         as unused and give dummy FP_RND_NEAREST initializer.
30871         (__Qp_handle_exceptions): Update declaration.
30872         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30873         formatting.
30874
30875 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30876
30877         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30878         the temporary FPU control word.
30879         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30880         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30881         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30882         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30883         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30884         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30885         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30886         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30887         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30888         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30889         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30890
30891 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30892
30893         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30894         fields.
30895
30896 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30897
30898         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30899         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30900         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30901         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30902         Likewise.
30903         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30904         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30905         Likewise.
30906
30907 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30908
30909         * po/h.po: Update from translation team.
30910
30911 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30912
30913         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30914
30915         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30916         handling of denormals.
30917         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30918         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30919         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30920         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30921         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30922         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30924         Likewise.
30925
30926 2012-05-26  Marek Polacek  <polacek@redhat.com>
30927
30928         [BZ #14152]
30929         * math/libm-test.inc (fma_test): Don't always expect underflow
30930         exception.
30931
30932 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30933
30934         [BZ #12416]
30935         * elf/tst-execstack.c: Include stackinfo.h.
30936         (do_test): Adjust test case to ensure that pthread_getattr_np
30937         behaviour remains the same after marking stack executable.
30938
30939 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30940
30941         * sysdeps/unix/sysv/linux/kernel-features.h
30942         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30943         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30944         kernel-features.h.
30945         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30946         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30947         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30948         kernel-features.h.
30949         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30950         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30951
30952 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30953
30954         * configure.in: Define the default includes to being none.
30955         * configure: Regenerated.
30956
30957 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30958
30959         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30960         * sysdeps/x86_64/setjmp.S: Likewise.
30961         * sysdeps/i386/bsd-setjmp.S: Likewise.
30962         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30963         * sysdeps/i386/setjmp.S: Likewise.
30964         * sysdeps/i386/__longjmp.S: Likewise.
30965         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30966         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30967
30968         * include/stap-probe.h: New file.
30969         * configure.in: Handle --enable-systemtap.
30970         * configure: Regenerated.
30971         * config.h.in (USE_STAP_PROBE): New #undef.
30972         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30973         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30974         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30975
30976 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30977
30978         [BZ #13717]
30979         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30980         to 2.4.0 where earlier.
30981         * sysdeps/unix/sysv/linux/configure: Regenerated.
30982         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30983         <kernel-features.h>.
30984         [__ASSUME_32BITUIDS]: Make code unconditional.
30985         [!__ASSUME_32BITUIDS]: Remove conditional code.
30986         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30987         <kernel-features.h>.
30988         [__ASSUME_32BITUIDS]: Make code unconditional.
30989         [!__ASSUME_32BITUIDS]: Remove conditional code.
30990         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30991         [__ASSUME_32BITUIDS]: Make code unconditional.
30992         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30993         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30994         <kernel-features.h>.
30995         [__ASSUME_32BITUIDS]: Make code unconditional.
30996         [!__ASSUME_32BITUIDS]: Remove conditional code.
30997         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30998         <kernel-features.h>.
30999         [__ASSUME_32BITUIDS]: Make code unconditional.
31000         [!__ASSUME_32BITUIDS]: Remove conditional code.
31001         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31002         <kernel-features.h>.
31003         [__ASSUME_32BITUIDS]: Make code unconditional.
31004         [!__ASSUME_32BITUIDS]: Remove conditional code.
31005         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31006         <kernel-features.h>.
31007         [__ASSUME_32BITUIDS]: Make code unconditional.
31008         [!__ASSUME_32BITUIDS]: Remove conditional code.
31009         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31010         <kernel-features.h>.
31011         [__ASSUME_32BITUIDS]: Make code unconditional.
31012         [!__ASSUME_32BITUIDS]: Remove conditional code.
31013         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31014         <kernel-features.h>.
31015         [__ASSUME_32BITUIDS]: Make code unconditional.
31016         [!__ASSUME_32BITUIDS]: Remove conditional code.
31017         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31018         <kernel-features.h>.
31019         [__ASSUME_32BITUIDS]: Make code unconditional.
31020         [!__ASSUME_32BITUIDS]: Remove conditional code.
31021         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31022         <kernel-features.h>.
31023         [__ASSUME_32BITUIDS]: Make code unconditional.
31024         [!__ASSUME_32BITUIDS]: Remove conditional code.
31025         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31026         <kernel-features.h>.
31027         [__ASSUME_32BITUIDS]: Make code unconditional.
31028         [!__ASSUME_32BITUIDS]: Remove conditional code.
31029         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31030         <kernel-features.h>.
31031         [__ASSUME_32BITUIDS]: Make code unconditional.
31032         [!__ASSUME_32BITUIDS]: Remove conditional code.
31033         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31034         <kernel-features.h>.
31035         [__NR_setresgid] (__setresgid): Do not declare.
31036         [__ASSUME_32BITUIDS]: Make code unconditional.
31037         [!__ASSUME_32BITUIDS]: Remove conditional code.
31038         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31039         <kernel-features.h>.
31040         [__NR_setresuid] (__setresuid): Do not declare.
31041         [__ASSUME_32BITUIDS]: Make code unconditional.
31042         [!__ASSUME_32BITUIDS]: Remove conditional code.
31043         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31044         <kernel-features.h>.
31045         [__ASSUME_32BITUIDS]: Make code unconditional.
31046         [!__ASSUME_32BITUIDS]: Remove conditional code.
31047         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31048         <kernel-features.h>.
31049         [__ASSUME_32BITUIDS]: Make code unconditional.
31050         [!__ASSUME_32BITUIDS]: Remove conditional code.
31051         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31052         <kernel-features.h>.
31053         [__ASSUME_32BITUIDS]: Make code unconditional.
31054         [!__ASSUME_32BITUIDS]: Remove conditional code.
31055         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31056         <kernel-features.h>.
31057         [__ASSUME_32BITUIDS]: Make code unconditional.
31058         [!__ASSUME_32BITUIDS]: Remove conditional code.
31059         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31060         <kernel-features.h>.
31061         [__ASSUME_32BITUIDS]: Make code unconditional.
31062         [!__ASSUME_32BITUIDS]: Remove conditional code.
31063         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31064         <kernel-features.h>.
31065         [__ASSUME_32BITUIDS]: Make code unconditional.
31066         [!__ASSUME_32BITUIDS]: Remove conditional code.
31067         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31068         <kernel-features.h>.
31069         [__ASSUME_32BITUIDS]: Make code unconditional.
31070         [!__ASSUME_32BITUIDS]: Remove conditional code.
31071         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31072         <kernel-features.h>.
31073         [__ASSUME_32BITUIDS]: Make code unconditional.
31074         [!__ASSUME_32BITUIDS]: Remove conditional code.
31075         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31076         <kernel-features.h>.
31077         [__ASSUME_32BITUIDS]: Make code unconditional.
31078         [!__ASSUME_32BITUIDS]: Remove conditional code.
31079         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31080         <kernel-features.h>.
31081         [__ASSUME_32BITUIDS]: Make code unconditional.
31082         [!__ASSUME_32BITUIDS]: Remove conditional code.
31083         * sysdeps/unix/sysv/linux/kernel-features.h
31084         (__ASSUME_SETRESUID_SYSCALL): Remove.
31085         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31086         (__ASSUME_32BITUIDS): Likewise.
31087         (__ASSUME_LDT_WORKS): Likewise.
31088         (__ASSUME_O_DIRECTORY): Likewise.
31089         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31090         architecture but not kernel version.
31091         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31092         (__ASSUME_MMAP2_SYSCALL): Likewise.
31093         (__ASSUME_STAT64_SYSCALL): Likewise.
31094         (__ASSUME_IPC64): Likewise.
31095         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31096         <kernel-features.h>.
31097         [__ASSUME_32BITUIDS]: Make code unconditional.
31098         [!__ASSUME_32BITUIDS]: Remove conditional code.
31099         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31100         <kernel-features.h>.
31101         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31102         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31103         132096]: Remove conditional code.
31104         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31105         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31106         <kernel-features.h>.
31107         [__ASSUME_32BITUIDS]: Make code unconditional.
31108         [!__ASSUME_32BITUIDS]: Remove conditional code.
31109         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31110         <kernel-features.h>.
31111         [__ASSUME_32BITUIDS]: Make code unconditional.
31112         [!__ASSUME_32BITUIDS]: Remove conditional code.
31113         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31114         <kernel-features.h>.
31115         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31116         unconditional.
31117         (__setresgid): Do not declare.
31118         [__ASSUME_32BITUIDS]: Make code unconditional.
31119         [!__ASSUME_32BITUIDS]: Remove conditional code.
31120         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31121         <kernel-features.h>.
31122         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31123         unconditional.
31124         (__setresuid): Do not declare.
31125         [__ASSUME_32BITUIDS]: Make code unconditional.
31126         [!__ASSUME_32BITUIDS]: Remove conditional code.
31127         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31128         <kernel-features.h>.
31129         [__ASSUME_32BITUIDS]: Make code unconditional.
31130         [!__ASSUME_32BITUIDS]: Remove conditional code.
31131         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31132         <kernel-features.h>.
31133         [__ASSUME_32BITUIDS]: Make code unconditional.
31134         [!__ASSUME_32BITUIDS]: Remove conditional code.
31135
31136 2012-05-25  Richard Henderson  <rth@twiddle.net>
31137
31138         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31139         dl_hwcap to ifunc resolver.
31140         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31141         elf_ifunc_invoke.
31142         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31143         dl_hwcap to ifunc resolver.
31144         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31145
31146 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31147
31148         [BZ #14153]
31149         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31150         for |x| <= 2**-26, not 2**-57.
31151         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31152         exception.
31153
31154 2012-05-24  Jeff Law  <law@redhat.com>
31155
31156         * stdio-common/Makefile (tests): Add bug25.
31157         * stdio-common/bug25.c: New test.
31158
31159 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31160
31161         [BZ #13576]
31162         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31163         multiple of MALLOC_ALIGNMENT in size.
31164         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31165
31166 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31167
31168         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31169         Require >= 256.
31170         (FILENAME_MAX): Use macro-int-constant.
31171         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31172         (_IOFBF): Use macro-int-constant.
31173         (_IOLBF): Likewise.
31174         (_IONBF): Likewise.
31175         (SEEK_CUR): Likewise.
31176         (SEEK_END): Likewise.
31177         (SEEK_SET): Likewise.
31178         (TMP_MAX): Likewise.
31179         (EOF): Use macro-int-constant.  Require < 0.
31180         (NULL): Use macro-constant.  Require == 0.
31181         (stdin): Require type to be FILE *.
31182         (stdout): Likewise.
31183         (stderr): Likewise.
31184         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31185         macro-int-constant.
31186         (EXIT_SUCCESS): Likewise.
31187         (NULL): Use macro-constant.  Require == 0.
31188         (RAND_MAX): Use macro-int-constant.
31189         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31190         [C99-based standards] (strtof): Require function.
31191         [C99-based standards] (strtold): Likewise.
31192         [C99-based standards] (strtoll): Likewise.
31193         [C99-based standards] (strtoull): Likewise.
31194         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31195         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31196         [ISO || ISO99 || ISO11] (math.h): Likewise.
31197         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31198         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31199         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31200
31201 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31202
31203         [BZ #14132]
31204         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31205         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31206         * intl/dgettext.c (DCGETTEXT): Likewise.
31207         * intl/gettext.c (DCGETTEXT): Likewise.
31208         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31209         * posix/regex_internal.h (gettext): Likewise.
31210         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31211         Remove declaration.
31212         * include/argz.h (__argz_count_internal)
31213         (__argz_stringify_internal): Remove declaration.
31214         (__argz_count, __argz_stringify): Declare hidden proto.
31215         * intl/dcgettext.c: Remove use of INTDEF.
31216         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31217         * string/argz-stringify.c: Likewise.
31218         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31219         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31220         Declare hidden proto.
31221         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31222         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31223         Declare hidden proto.
31224         * include/stdio.h (__asprintf_internal): Don't declare.
31225         (__asprintf): Don't define as macro.  Declare hidden proto.
31226         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31227         (__fsetlocking): Declare hidden proto.
31228         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31229         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31230         hidden proto.
31231         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31232         (_IO_setlinebuf): Remove use of INTUSE.
31233         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31234         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31235         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31236         Remove declaration.
31237         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31238         (_IO_do_flush): Remove use of INTUSE.
31239         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31240         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31241         (_IO_adjust_column, _IO_least_wmarker)
31242         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31243         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31244         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31245         (_IO_default_doallocate, _IO_wdefault_doallocate)
31246         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31247         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31248         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31249         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31250         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31251         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31252         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31253         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31254         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31255         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31256         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31257         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31258         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31259         proto.
31260         (_IO_flush_all_internal, _IO_adjust_column_internal)
31261         (_IO_default_uflow_internal, _IO_default_finish_internal)
31262         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31263         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31264         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31265         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31266         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31267         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31268         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31269         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31270         (_IO_file_close_internal, _IO_file_close_it_internal)
31271         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31272         (_IO_file_init_internal, _IO_file_attach_internal)
31273         (_IO_file_fopen_internal, _IO_file_read_internal)
31274         (_IO_file_sync_internal, _IO_file_seek_internal)
31275         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31276         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31277         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31278         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31279         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31280         (_IO_list_all_internal, _IO_link_in_internal)
31281         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31282         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31283         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31284         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31285         (_IO_do_write_internal, _IO_padn_internal)
31286         (_IO_getline_info_internal, _IO_getline_internal)
31287         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31288         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31289         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31290         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31291         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31292         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31293         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31294         with libc_hidden_ver, remove use of INTUSE.
31295         * libio/genops.c: Likewise.
31296         * libio/freopen.c: Likewise.
31297         * libio/freopen64.c: Likewise.
31298         * libio/iofclose.c: Likewise.
31299         * libio/iofdopen.c: Likewise.
31300         * libio/iofflush.c: Likewise.
31301         * libio/iofflush_u.c: Likewise.
31302         * libio/iofgets.c: Likewise.
31303         * libio/iofgets_u.c: Likewise.
31304         * libio/iofopen.c: Likewise.
31305         * libio/iofopncook.c: Likewise.
31306         * libio/iofread.c: Likewise.
31307         * libio/iofread_u.c: Likewise.
31308         * libio/ioftell.c: Likewise.
31309         * libio/iofwrite.c: Likewise.
31310         * libio/iogetline.c: Likewise.
31311         * libio/iogets.c: Likewise.
31312         * libio/iogetwline.c: Likewise.
31313         * libio/iopadn.c: Likewise.
31314         * libio/iopopen.c: Likewise.
31315         * libio/ioseekoff.c: Likewise.
31316         * libio/ioseekpos.c: Likewise.
31317         * libio/iosetbuffer.c: Likewise.
31318         * libio/iosetvbuf.c: Likewise.
31319         * libio/ioungetc.c: Likewise.
31320         * libio/ioungetwc.c: Likewise.
31321         * libio/iovdprintf.c: Likewise.
31322         * libio/iovsprintf.c: Likewise.
31323         * libio/iovsscanf.c: Likewise.
31324         * libio/memstream.c: Likewise.
31325         * libio/obprintf.c: Likewise.
31326         * libio/oldfileops.c: Likewise.
31327         * libio/oldiofclose.c: Likewise.
31328         * libio/oldiofdopen.c: Likewise.
31329         * libio/oldiofopen.c: Likewise.
31330         * libio/oldiopopen.c: Likewise.
31331         * libio/oldstdfiles.c: Likewise.
31332         * libio/putc.c: Likewise.
31333         * libio/setbuf.c: Likewise.
31334         * libio/setlinebuf.c: Likewise.
31335         * libio/stdfiles.c: Likewise.
31336         * libio/strops.c: Likewise.
31337         * libio/vasprintf.c: Likewise.
31338         * libio/vscanf.c: Likewise.
31339         * libio/vsnprintf.c: Likewise.
31340         * libio/vswprintf.c: Likewise.
31341         * libio/wfiledoalloc.c: Likewise.
31342         * libio/wfileops.c: Likewise.
31343         * libio/wgenops.c: Likewise.
31344         * libio/wmemstream.c: Likewise.
31345         * libio/wstrops.c: Likewise.
31346         * libio/__fpurge.c: Likewise.
31347         * libio/__fsetlocking.c: Likewise.
31348         * assert/assert.c: Likewise.
31349         * debug/fgets_chk.c: Likewise.
31350         * debug/fgets_u_chk.c: Likewise.
31351         * debug/fread_chk.c: Likewise.
31352         * debug/fread_u_chk.c: Likewise.
31353         * debug/gets_chk.c: Likewise.
31354         * debug/obprintf_chk.c: Likewise.
31355         * debug/vasprintf_chk.c: Likewise.
31356         * debug/vdprintf_chk.c: Likewise.
31357         * debug/vsnprintf_chk.c: Likewise.
31358         * debug/vsprintf_chk.c: Likewise.
31359         * malloc/mtrace.c: Likewise.
31360         * misc/error.c: Likewise.
31361         * misc/syslog.c: Likewise.
31362         * stdio-common/asprintf.c: Likewise.
31363         * stdio-common/fxprintf.c: Likewise.
31364         * stdio-common/getw.c: Likewise.
31365         * stdio-common/isoc99_fscanf.c: Likewise.
31366         * stdio-common/isoc99_scanf.c: Likewise.
31367         * stdio-common/isoc99_vfscanf.c: Likewise.
31368         * stdio-common/isoc99_vscanf.c: Likewise.
31369         * stdio-common/isoc99_vsscanf.c: Likewise.
31370         * stdio-common/printf-prs.c: Likewise.
31371         * stdio-common/printf_fp.c: Likewise.
31372         * stdio-common/printf_fphex.c: Likewise.
31373         * stdio-common/printf_size.c: Likewise.
31374         * stdio-common/putw.c: Likewise.
31375         * stdio-common/scanf.c: Likewise.
31376         * stdio-common/sprintf.c: Likewise.
31377         * stdio-common/tmpfile.c: Likewise.
31378         * stdio-common/vfprintf.c: Likewise.
31379         * stdio-common/vfscanf.c: Likewise.
31380         * stdlib/strfmon_l.c: Likewise.
31381         * sunrpc/openchild.c: Likewise.
31382         * sunrpc/xdr_stdio.c: Likewise.
31383         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31384         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31385
31386 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31387
31388         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31389
31390         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31391         in the third column, to generate for the shared library an IFUNC
31392         that uses _dl_vdso_vsym.
31393         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31394         * Makeconfig (object-suffixes-noshared): New variable.
31395
31396         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31397         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31398         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31399         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31400
31401         [BZ #14132]
31402         * include/sys/time.h (__gettimeofday): Remove macro.
31403         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31404         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31405         Remove INTDEF.
31406         (__gettimeofday): Add libc_hidden_def.
31407         (gettimeofday): Add libc_hidden_weak.
31408         * sysdeps/mach/gettimeofday.c: Likewise.
31409         * sysdeps/posix/gettimeofday.c: Likewise.
31410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31411         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31413         (__gettimeofday_internal): Remove strong_alias.
31414         (__gettimeofday): Add libc_hidden_def.
31415         (gettimeofday): Add libc_hidden_weak.
31416         * sysdeps/unix/syscalls.list (gettimeofday):
31417         Remove __gettimeofday_internal alias.
31418
31419 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31420             H.J. Lu  <hongjiu.lu@intel.com>
31421
31422         [BZ #12495]
31423         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31424         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31425         (largebin_index_32_big): New.
31426         (largebin_index): Use it for 16-byte alignment.
31427         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31428         correction with front_misalign.
31429
31430 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31431
31432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31433         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31434         Likewise.
31435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31436         Likewise.
31437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31438         Likewise.
31439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31440         Likewise.
31441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31442         Likewise.
31443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31444         Likewise.
31445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31446         Likewise.
31447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31448         Likewise.
31449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31450         Likewise.
31451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31452         Likewise.
31453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31454         Likewise.
31455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31456         Likewise.
31457
31458         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31459         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31460
31461 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31462
31463         [BZ #10846]
31464         [BZ #14036]
31465         * math/libm-test.inc (exp_test): Add test from bug 14036.
31466         (pow_test): Add test from bug 10846.
31467
31468         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31469         and other flags.
31470         (special_function): Do not include flags in test name.
31471         (parse_args): Likewise.
31472         * sysdeps/i386/fpu/libm-test-ulps: Update.
31473         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31474         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31475         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31477
31478         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31479         exceptions.
31480         * math/libm-test.inc ("Philosophy"): Update comment about
31481         exception testing.
31482         (UNDERFLOW_EXCEPTION): New macro.
31483         (UNDERFLOW_EXCEPTION_OK): Likewise.
31484         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31485         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31486         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31487         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31488         (INVALID_EXCEPTION_OK): Update value.
31489         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31490         (OVERFLOW_EXCEPTION_OK): Likewise.
31491         (IGNORE_ZERO_INF_SIGN): Likewise.
31492         (test_exceptions): Handle underflow exceptions.
31493         (acos_test): Update for underflow exception expectations.
31494         (cexp_test): Likewise.
31495         (clog_test): Likewise.
31496         (clog10_test): Likewise.
31497         (csqrt_test): Likewise.
31498         (ctan_test): Likewise.
31499         (ctanh_test): Likewise.
31500         (exp_test): Likewise.
31501         (exp10_test): Likewise.
31502         (exp2_test): Likewise.
31503         (expm1_test): Likewise.
31504         (fma_test): Likewise.
31505         (j0_test): Likewise.
31506         (jn_test): Likewise.
31507         (nexttoward_test): Likewise.
31508         (pow_test): Likewise.
31509         (scalbn_test): Likewise.
31510         (scalbln_test): Likewise.
31511         (tan_test): Likewise.
31512         (y1_test): Likewise.
31513         * sysdeps/i386/fpu/libm-test-ulps: Update.
31514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31515
31516 2012-05-23  David S. Miller  <davem@davemloft.net>
31517
31518         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31519         (__libc_sigaction): Remove unused local variables.
31520
31521 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31522
31523         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31524
31525 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31526
31527         mktime: avoid signed integer overflow
31528         * time/mktime.c (__mktime_internal): Do not mishandle the case
31529         where diff == INT_MIN.
31530
31531         mktime: simplify computation of average
31532         * time/mktime.c (ranged_convert): Use new time_t_avg function
31533         instead of rolling our own (probably-slower) code.
31534
31535         mktime: do not assume signed right shift propagates sign bit
31536         * time/mktime.c (isdst_differ): New static function.
31537         (__mktime_internal): No need to normalize tm_isdst now.
31538         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31539         tm_isdst values.
31540
31541         mktime: merge another wrapv change from gnulib
31542         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31543         from some compilers.
31544
31545         mktime: remove incorrect attempt at unusual arithmetics
31546         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31547         The code didn't really work on such machines anyway.
31548         (TYPE_MINIMUM): Assume two's complement.
31549         (twos_complement_arithmetic): Verify that long_int and time_t
31550         are two's complement (or unsigned, in the latter case).
31551
31552         mktime: check signed shifts on long_int and time_t, too
31553         * time/mktime.c (SHR): Check that shifts work as desired
31554         on the types long_int and time_t too, as SHR is used on
31555         such types.
31556
31557         mktime: do not assume 'long' is wide enough
31558         * time/mktime.c (verify): Move decl up.
31559         (long_int): New type.
31560         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31561         to remove assumption in the code that 'long' is wide enough to
31562         store year values.  This assumption is not true on x32 and on
31563         some non-glibc platforms.
31564
31565         mktime: merge wrapv change from gnulib
31566         * time/mktime.c (WRAPV): New macro.
31567         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31568         (guess_time_tm, __mktime_internal): Do not assume that signed
31569         integer overflow wraps around; modern compilers generate code
31570         where this assumption is no longer valid.
31571
31572 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31573
31574         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31575         Replace "jmp L(pseudo_end)" with "ret".
31576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31577         Likewise.
31578
31579 2012-05-23  Andreas Jaeger  <aj@suse.de>
31580
31581         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31582         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31583
31584 2012-05-23  Andreas Jaeger  <aj@suse.de>
31585             Maximilian Attems  <max@stro.at>
31586
31587         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31588         New macros.
31589
31590 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31591
31592         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31593         code so that pseudo_end is just ret and the stack pointer is
31594         correct also for static library in error case.
31595
31596 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31597
31598         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31599         move to syscalls.list.
31600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31604
31605         * manual/install.texi (Running make install): Do not mention Linux
31606         kernel version for which pt_chown is not needed.
31607         (Linux): Do not mention problems with nscd with 2.0 kernels.
31608         * INSTALL: Regenerated.
31609
31610 2012-05-23  Andreas Jaeger  <aj@suse.de>
31611
31612         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31613         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31614         macro.
31615         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31616         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31617         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31618         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31619         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31620         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31621         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31623         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31625         * sysdeps/unix/sysv/linux/bits/in.h
31626         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31627
31628 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31629
31630         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31631         (PREPARE_VERSION): Just use assert instead, it will be elided
31632         under [NDEBUG] anyway.
31633
31634 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31635
31636         * sysdeps/unix/sysv/linux/Makefile: Include
31637         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31638         (sysdep_routines): Remove sysctl.
31639         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31640         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31641         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31642         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31643         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31644
31645 2012-05-22  Andreas Jaeger  <aj@suse.de>
31646
31647         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31648         that pseudo_end is just ret and the stack pointer is correct also
31649         for static library in error case.
31650
31651 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31652
31653         [BZ #14122]
31654         * nss/nsswitch.c (defconfig_entries): New variable.
31655         (__nss_database_lookup): Don't leak defconfig entries.
31656         (nss_parse_service_list): Don't leak on error paths.
31657         (free_database_entries): New function.
31658         (free_defconfig): New function.
31659         (free_mem): Move common code to free_database_entries.
31660
31661 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31662
31663         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31664         Add arch_prctl.
31665         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31666
31667         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31668         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31670         New macro.
31671         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31672         (INTERNAL_SYSCALL_TYPES): Likewise.
31673         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31674         (LOAD_REGS_TYPES_[1-6]): Likewise.
31675         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31676         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31677
31678 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31679
31680         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31681         copysignl for GLIBC_2_0.
31682         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31683         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31685         logbl for GLIBC_2_0.
31686         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31687         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31688
31689 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31690
31691         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31692         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31693
31694         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31695         Use "neg %eax".
31696
31697         * time/mktime.c: Update copyright years.
31698
31699 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31700
31701         mktime: merge comment-quoting-style change from gnulib
31702         * time/mktime.c: Quote 'like this' in comments.
31703         The GNU coding standards suggest that we no longer quote `like this',
31704         as "`" and "'" are typically rendered asymmetrically nowadays.
31705         The typical gnulib style is to quote 'like this' when quoting
31706         code, and "like this" when quoting English.
31707
31708         * time/mktime.c (compile-command): Add "-I.".
31709
31710         mktime: merge mktime-internal.h change from gnulib
31711         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31712
31713         mktime: merge time_r change from gnulib
31714         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31715
31716         mktime: merge DEBUG change from gnulib
31717         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31718         case system <time.h> has a #define.
31719
31720         mktime: merge <sys/types.h> change from gnulib
31721         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31722         since <time.t> is now guaranteed to define time_t.
31723
31724         mktime: merge HAVE_CONFIG_H change from gnulib
31725         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31726
31727 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31728
31729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31730         Use "neg %eax".
31731
31732         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31733         __rlim_t cast.
31734         (struct rusage): Use anonymous union to pad each field to
31735         __syscall_slong_t.
31736
31737 2012-05-21  David S. Miller  <davem@davemloft.net>
31738
31739         * Makefules (o-iterator): Remove .s cases.
31740         (compile-command.s): Delete.
31741         (COMPILE.s): Delete.
31742         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31743
31744 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31745
31746         * configure.in (libc_cv_predef_stack_protector): Only consider
31747         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31748         * configure: Regenerated.
31749
31750 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31751
31752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31753         New macro.  Use R*LP on int and pointer.
31754         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31755         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31756         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31757         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31758
31759         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31760         [__WORDSIZE_TIME64_COMPAT32] instead of
31761         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31762         (struct utmp): Likewise.
31763         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31764         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31765         Renamed to ...
31766         (__WORDSIZE_TIME64_COMPAT32): This.
31767         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31768         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31769         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31770         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31771         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31772         (__WORDSIZE_TIME64_COMPAT32): New macro.
31773
31774 2012-05-21  Andreas Jaeger  <aj@suse.de>
31775
31776         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31777         only if [SHARED]. Add prototype for __wcschr_ia32.
31778
31779 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31780
31781         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31782         of %rbp unmolested in the jmp_buf while mangling the low bits.
31783         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31784         unmolested high bits of %rbp while demangling the low bits.
31785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31786
31787 2012-05-21  Andreas Jaeger  <aj@suse.de>
31788
31789         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31790         * sunrpc/svc_simple.c: Use it for registerrpc.
31791         * sunrpc/xcrypt.c: Use it for passwd2des.
31792
31793         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31794
31795 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31796
31797         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31798         Don't define if [__SYSCALL_WORDSIZE != 32].
31799         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31800         New macro.
31801
31802 2012-05-21  Bruno Haible  <bruno@clisp.org>
31803             Andreas Jaeger  <aj@suse.de>
31804
31805         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31806         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31807         inptr and inend for must_buffer_ch.
31808         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31809         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31810         * stdio-common/Makefile (tests): Remove bug15.
31811         (bug15-ENV): Remove macro.
31812         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31813         anymore.
31814
31815 2012-05-19  Andreas Jaeger  <aj@suse.de>
31816             Roland McGrath  <roland@hack.frob.com>
31817
31818         * manual/contrib.texi: Completely rewritten. It contains now an
31819         alphabetical list of contributors and their contributions.
31820
31821 2012-05-21  Richard Henderson  <rth@twiddle.net>
31822
31823         * misc/getauxval.c (__getauxval): Use unsigned long int.
31824         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31825         (getauxval): Use unsigned long int.
31826
31827 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31828
31829         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31830
31831 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31832
31833         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31834         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31835         __alignof__ (long double).
31836
31837 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31838
31839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31840
31841 2012-05-20  Richard Henderson  <rth@twiddle.net>
31842
31843         * misc/getauxval.c: New file.
31844         * misc/sys/auxv.h: New file.
31845         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31846         (routines): Add getauxval.
31847         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31848         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31849         * elf/dl-sysdep.c (_dl_auxv): Remove.
31850         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31851         * elf/dl-support.c (_dl_auxv): New variable.
31852         (_dl_aux_init): Initialize it.
31853         * manual/startup.texi (Auxiliary Vector): New node.
31854         * sysdeps/generic/bits/hwcap.h: New file.
31855         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31856         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31857         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31858         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31859         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31860         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31862         Update.
31863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31871
31872 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31873
31874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31875
31876 2012-05-19  David S. Miller  <davem@davemloft.net>
31877
31878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31879
31880 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31881
31882         [BZ #14123]
31883         * math/s_ccosh.c: Include <float.h>
31884         (__ccosh): Avoid internal overflow calculating sinh and cosh
31885         values before multiplying by sin and cos values.
31886         * math/s_ccoshf.c: Likewise.
31887         * math/s_ccoshl.c: Likewise.
31888         * math/s_csin.c: Likewise.
31889         * math/s_csinf.c: Likewise.
31890         * math/s_csinl.c: Likewise.
31891         * math/s_csinh.c: Likewise.
31892         * math/s_csinhf.c: Likewise.
31893         * math/s_csinhl.c: Likewise.
31894         * math/libm-test.inc (ccos_test): Add more tests.
31895         (ccosh_test): Likewise.
31896         (csin_test): Likewise.
31897         (csinh_test): Likewise.
31898         * sysdeps/i386/fpu/libm-test-ulps: Update.
31899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31900
31901 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31902
31903         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31904         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31905
31906         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31907
31908 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31909
31910         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31911         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31912         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31913         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31914         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31915         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31916         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31917         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31918         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31919         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31920         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31921         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31922         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31923         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31924         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31925         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31926         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31927         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31928         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31929         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31930         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31931         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31932         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31933         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31934         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31935         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31936         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31937         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31938         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31939         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31940         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31941
31942 2012-05-18  Andreas Jaeger  <aj@suse.de>
31943
31944         * csu/.gitignore: Delete.
31945
31946 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31947
31948         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31949         (timex): Use __syscall_slong_t.
31950
31951 2012-05-18  Andreas Jaeger  <aj@suse.de>
31952             Carlos O'Donell  <carlos_odonell@mentor.com>
31953
31954         * manual/install.texi (Configuring and compiling): Update
31955         description about files modified in the source directory.
31956         * INSTALL: Regenerated.
31957
31958 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31959
31960         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31961         value.  Use "or" to set return value to -1.
31962         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31963         negate return value.
31964
31965 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31966
31967         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31968         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31969         failure if the compiler has Graphite support disabled.
31970         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31971         Likewise.
31972         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31973         (CFLAGS-memmove.c): Likewise.
31974         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31975         Likewise.
31976
31977 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31978
31979         * sysdeps/x86_64/x32/_itoa.h: New file.
31980
31981         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31982         getdents system call only if kernel and user dirents have the
31983         same d_ino and d_off.
31984
31985         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31986         LLONG_MAX != LONG_MAX.
31987         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31988         (_fitoa_word): Likewise.
31989
31990         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31991         years.
31992         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31993         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31994         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31995
31996         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31997         include <bits/wordsize.h>.  Check __x86_64__ instead of
31998         __WORDSIZE.
31999         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32000         if __x86_64__ is defined.  Use anonymous union on fpstate.
32001
32002         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32003         anonymous union.
32004
32005 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32006
32007         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32008         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32009         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32010         Refer to _rtld_local_ro instead of _rtld_global_ro.
32011         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32012         Likewise.
32013         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32014         Likewise.
32015         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32016         Likewise.
32017         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32018         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32019         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32020
32021         * sysdeps/powerpc/powerpc32/dl-machine.c
32022         (__elf_machine_runtime_setup) [PROF]: Don't reference
32023         _dl_prof_resolve.
32024
32025 2012-05-18  Andreas Jaeger  <aj@suse.de>
32026
32027         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32028         function only available for GCCs before 3.4 since GCC 3.4
32029         introduced a builtin.
32030         (lrint): Likewise.
32031         (llrintf): Likewise.
32032         (llrint): Likewise.
32033         (fmaxf): Likewise.
32034         (fmax): Likewise.
32035         (fminf): Likewise.
32036         (fmin): Likewise.
32037         (rint): Likewise.
32038         (rintf): Likewise.
32039         (nearbyint): Likewise.
32040         (nearbyintf): Likewise.
32041         (ceil): Likewise.
32042         (ceilf): Likewise.
32043         (floor): Likewise.
32044         (floorf): Likewise.
32045
32046 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32047
32048         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32049         on both fields and cast pointer to __syscall_ulong_t.
32050
32051         * bits/types.h (__fsword_t): New type.
32052         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32053         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32054         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32055         (__FSWORD_T_TYPE): Likewise.
32056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32057         (__FSWORD_T_TYPE): Likewise.
32058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32059         (__FSWORD_T_TYPE): Likewise.
32060         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32061         (__FSWORD_T_TYPE): Likewise.
32062         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32063         __SWORD_TYPE with __fsword_t.
32064         (statfs64): Likewise.
32065
32066 2012-05-17  David S. Miller  <davem@davemloft.net>
32067
32068         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32069
32070 2012-05-17  Andreas Jaeger  <aj@suse.de>
32071
32072         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32073         warning.
32074
32075 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32076
32077         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32078
32079 2012-05-17  Andreas Jaeger  <aj@suse.de>
32080
32081         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32082         when it is used.
32083
32084 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32085
32086         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32087
32088 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32089
32090         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32091         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32092
32093 2012-05-17  Andreas Jaeger  <aj@suse.de>
32094             Carlos O'Donell  <carlos_odonell@mentor.com>
32095
32096         [BZ #14059]
32097         * sysdeps/x86_64/multiarch/init-arch.h
32098         (bit_YMM_Usable): Rename to...
32099         (bit_AVX_Usable): ... this.
32100         (bit_FMA4_Usable): New macro.
32101         (bit_XMM_state): New macro.
32102         (bit_YMM_state): New macro.
32103         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32104         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32105         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32106         (CPUID_OSXSAVE): New macro.
32107         (CPUID_AVX): New macro.
32108         (CPUID_FMA4): New macro.
32109         (index_YMM_Usable): Rename to...
32110         (index_AVX_Usable): ... this.
32111         (HAS_AVX): Use HAS_ARCH_FEATURE.
32112         (HAS_FMA4): Likewise.
32113         (HAS_YMM_USABLE): Remove.
32114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32115         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32116         are present.
32117         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32118         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32119         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32120         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32121         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32122
32123 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32124
32125         * math/libm-test.c: Support platforms without multiple rounding modes.
32126         * math/bug-nextafter.c: Support platforms without FP exceptions.
32127         * math/bug-nexttoward.c: Likewise.
32128         * math/test-fenv.c: Likewise.
32129         * math/test-misc.c: Likewise.
32130         * stdlib/bug-getcontext.c: Likewise.
32131
32132 2012-05-17  Andreas Jaeger  <aj@suse.de>
32133
32134         * manual/examples/search.c (critter_cmp): Change signature to
32135         avoid warnings.
32136         * manual/string.texi (Collation Functions): Likewise.
32137
32138 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32139
32140         * bits/types.h: Fold copyright years.
32141         * bits/typesizes.h: Likewise.
32142         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32143         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32144         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32146         * time/time.h: Likewise.
32147
32148 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32149
32150         [BZ #208]
32151         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32152         in instead of returning them.  Return void.
32153         (__libc_mallinfo): Accumulate over all arenas.
32154         (__malloc_stats): Adjust for change in int_mallinfo interface.
32155
32156 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32157
32158         [BZ #10375]
32159         * configure.in (NM): Add AC_CHECK_TOOL for it.
32160         (libc_extra_cflags): New substituted variable.
32161         Check for -fstack-protector being used implicitly.
32162         * configure: Regenerated.
32163         * config.make.in (config-extra-cflags): New variable,
32164         gets @libc_extra_cflags@.
32165         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32166
32167         [BZ #10375]
32168         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32169         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32170         * configure: Regenerated.
32171         * config.make.in (CPPUNDEFS): New substituted variable.
32172         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32173         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32174         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32175
32176 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32177
32178         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32179         (mq_attr): Use __syscall_slong_t.
32180
32181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32182
32183         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32184         Check __x86_64__ instead of __WORDSIZE.
32185         (_STAT_VER_LINUX): Likewise.
32186         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32187         __syscall_ulong_t and __syscall_slong_t.
32188         (stat64): Likewise.
32189
32190 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32191
32192         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32193
32194 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32195
32196         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32197
32198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32199
32200         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32201         __syscall_ulong_t.
32202
32203         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32204         include <bits/wordsize.h>.  Check __x86_64__ instead of
32205         __WORDSIZE.
32206         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32207         defined.
32208         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32209
32210         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32211         include <bits/wordsize.h>.  Check __x86_64__ instead of
32212         __WORDSIZE.
32213         (user_regs_struct): Use "__extension__ unsigned long long"
32214         instead of "unsigned long" if __x86_64__ is defined.
32215         (user): Likewise.  Pad after pointer field if __ILP32__ is
32216         defined.
32217
32218 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32219
32220         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32221         versions 5 to 9.
32222         * configure: Regenerated.
32223         * manual/install.texi (texinfo): Increase version requirement to
32224         4.5 or later.
32225         * INSTALL: Regenerated.
32226
32227         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32228
32229 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32230
32231         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32232
32233         * sysdeps/x86_64/x32/ffs.c: New file.
32234
32235         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32236         __syscall_ulong_t.
32237         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32238         defined.  Use __syscall_ulong_t.
32239         (shminfo): Use __syscall_ulong_t.
32240         (shm_info): Likewise.
32241
32242         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32243         __syscall_ulong_t.
32244
32245         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32246         <bits/wordsize.h>.
32247         (msgqnum_t): Use __syscall_ulong_t.
32248         (msglen_t): Likewise.
32249         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32250         __syscall_ulong_t.
32251
32252         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32253         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32254
32255         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32256
32257         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32258         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32259
32260         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32261         __syscall_slong_t.
32262
32263         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32264         include <bits/wordsize.h>.  Check __x86_64__ instead of
32265         __WORDSIZE.
32266
32267         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32268         "unsigned long long int" if __x86_64__ is defined.
32269         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32270
32271         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32272         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32273         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32274
32275         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32276         <stdint.h>.
32277         (GET_PC): Cast to uintptr_t first.
32278         (GET_FRAME): Likewise.
32279         (GET_STACK): Likewise.
32280
32281         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32282         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32283         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32284         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32285         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32286         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32287         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32288         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32289         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32290         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32291         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32294         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32295         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32296         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32297         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32298         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32300         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32302         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32303         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32304         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32305         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32306         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32307         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32308         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32309         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32310
32311 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32312
32313         * Makerules (+depfiles): Also collect depfiles from .oS in
32314         $(extra-objs).
32315         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32316         .oS, $(libnldbl-routines)).
32317
32318         * Makerules (native-compile-mkdep-flags): Define.
32319         * sunrpc/Makefile (extra-objs): Add $(addprefix
32320         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32321         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32322         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32323         calling $(make-target-directory).
32324
32325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32326
32327         * bits/types.h (__snseconds_t): Removed.
32328         * time/time.h (struct timespec): Replace __snseconds_t with
32329         __syscall_slong_t.
32330         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32331         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32332         Likewise.
32333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32334         (__SNSECONDS_T_TYPE): Likewise.
32335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32336         (__SNSECONDS_T_TYPE): Likewise.
32337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32338         (__SNSECONDS_T_TYPE): Likewise.
32339
32340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32341
32342         * sysdeps/mach/hurd/bits/typesizes.h
32343         (__SYSCALL_SLONG_TYPE): New macro.
32344         (__SYSCALL_ULONG_TYPE): Likewise.
32345
32346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32347
32348         * bits/types.h (__syscall_slong_t): New type.
32349         (__syscall_ulong_t): Likewise.
32350
32351         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32352         (__SYSCALL_ULONG_TYPE): Likewise.
32353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32354         (__SYSCALL_SLONG_TYPE): Likewise.
32355         (__SYSCALL_ULONG_TYPE): Likewise.
32356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32357         (__SYSCALL_SLONG_TYPE): Likewise.
32358         (__SYSCALL_ULONG_TYPE): Likewise.
32359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32360         (__SYSCALL_SLONG_TYPE): Likewise.
32361         (__SYSCALL_ULONG_TYPE): Likewise.
32362
32363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32364
32365         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32366         Add sigaltstack-offsets.sym.
32367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32368         <sigaltstack-offsets.h>.
32369         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32370         longjmp_msg pointer.
32371         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32372         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32373         signal stack.
32374         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32375
32376 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32377
32378         * elf/stackguard-macros.h: Remove file.
32379         * sysdeps/generic/stackguard-macros.h: New file.
32380         * sysdeps/i386/stackguard-macros.h: Likewise.
32381         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32382         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32383         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32384         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32385         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32386         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32387         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32388         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32389         <elf/stackguard-macros.h>.
32390
32391         [BZ #14109]
32392         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32393         __aligned__ in attribute.
32394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32395         (gregset_t): Likewise.
32396
32397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32398
32399         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32400         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32401         * sysdeps/x86_64/x32/Implies-after: New file.
32402
32403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32404
32405         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32406         and access return value for _dl_profile_fixup.  Use R10_LP to
32407         load frame size.
32408
32409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32410
32411         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32412
32413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32414
32415         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32416         * sysdeps/x86_64/x32/sysdep.h: New file.
32417
32418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32419
32420         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32421         * sysdeps/x86_64/setjmp.S: Likewise.
32422
32423 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32424
32425         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32426         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32427         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32428         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32429         remove unused global constant.
32430
32431 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32432
32433         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32434         include of <not-cancel.h>.
32435
32436 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32437
32438         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32439
32440 2012-05-15  Jeff Law  <law@redhat.com>
32441             Andreas Jaeger  <aj@suse.de>
32442
32443         [BZ #13594]
32444         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32445         out from...
32446         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32447         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32448         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32449         code changing __hst_map_handle.map.
32450
32451 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32452
32453         * configure.in (sysnames): Look for Implies-before and Implies-after
32454         files.
32455         * configure: Regenerated.
32456
32457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32458
32459         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32460         8-byte data alignment with LP_SIZE alignment.
32461
32462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32463
32464         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32465         into R10_LP.
32466
32467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32468
32469         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32470
32471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32472
32473         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32474         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32475         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32476         Likewise.
32477         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32478
32479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32480
32481         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32482         (stackinfo_sub_sp): Likewise.
32483
32484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32485
32486         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32487         RAX_LP.
32488
32489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32490
32491         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32492         into R*_LP.
32493
32494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32495
32496         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32497         sizes into R*_LP.
32498
32499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32500
32501         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32502
32503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32504
32505         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32506         into R11_LP and load __x86_64_shared_cache_size_half into
32507         R8_LP.
32508
32509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32510
32511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32512         R8_LP.
32513
32514 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32515
32516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32517         logb for POWER7.
32518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32519         logbf for POWER7.
32520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32521         logbl for POWER7.
32522         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32523         powerpc32/power7/fpu/s_logb.c via #include.
32524         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32525         powerpc32/power7/fpu/s_logbf.c via #include.
32526         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32527         powerpc32/power7/fpu/s_logbl.c via #include.
32528
32529 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32530
32531         * README.libm: Remove file.
32532
32533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32534
32535         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32536         count for x32.  Use R*_LP and omit operand-size suffix.
32537
32538 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32539
32540         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32541         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32542         * sysdeps/x86_64/x32/shlib-versions: New file.
32543
32544 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32545
32546         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32547         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32548         Use _dl_fatal_printf instead.
32549
32550 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32551
32552         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32553         set if not set by the user.  Do not allow for being unset.
32554         * sysdeps/unix/sysv/linux/configure: Regenerated.
32555
32556 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32557
32558         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32559         the `q' suffix from lea and replace .quad with ASM_ADDR.
32560
32561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32562
32563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32564         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32565         instead of $17.
32566         (PTR_DEMANGLE): Likewise.
32567
32568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32569
32570         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32571         (LP_OP): Likewise.
32572         (ASM_ADDR): Likewise.
32573         (RAX_LP): Likewise.
32574         (RBP_LP): Likewise.
32575         (RBX_LP): Likewise.
32576         (RCX_LP): Likewise.
32577         (RDI_LP): Likewise.
32578         (RSI_LP): Likewise.
32579         (RSP_LP): Likewise.
32580         (R8_LP): Likewise.
32581         (R9_LP): Likewise.
32582         (R10_LP): Likewise.
32583         (R10_LP): Likewise.
32584         (R11_LP): Likewise.
32585         (R12_LP): Likewise.
32586         (R13_LP): Likewise.
32587         (R14_LP): Likewise.
32588         (R15_LP): Likewise.
32589
32590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32591
32592         * sysdeps/x86_64/x32/dl-machine.h: New file.
32593
32594 2012-05-14  Andreas Jaeger  <aj@suse.de>
32595
32596         * manual/Makefile (subdir): Remove export of subdir.
32597         (all): Remove target.
32598         (.PHONY): Remove all from list.
32599         (mkinstalldirs): Remove.
32600         (.PHONY): Remove installdirs from list.
32601         ($(inst_infodir)/libc.info): Use make-target-directory.
32602         (installdirs): Remove.
32603         (subdir_%): Remove.
32604         (glibc-targets): Remove.
32605         (lib): Remove.
32606         (stubs): Remove.
32607         ($(objpfx)stubs ../po/manual.pot): Remove.
32608         ($(objpfx)stamp%): Remove.
32609         (make-target-directory): Remove.
32610         (subdir_install): Remove.
32611         (routines): Remove.
32612         (aux): Remove.
32613         (sources): Remove.
32614         (objects): Remove.
32615         (headers): Remove.
32616
32617         [BZ #13750]
32618         * manual/.gitignore: Remove, it's not needed anymore.
32619         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32620         all files in it.
32621         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32622         directory.
32623         (texis): Renamed to $(objpfx)texis.
32624         (texis-path): New, contains path to generated files.
32625         (chapters.%): Use texis-path for complete path, add extra argument
32626         libc-texinfo.sh.
32627         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32628         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32629         (summary,texi, stamp-summary): Use complete path of
32630         files. Generate files in build dir.
32631         (dir-add.texi): Build in build dir.
32632         (libm-err.texi,stamp-libm-err): Likewise.
32633         (version.texi, stamp-version): Likewise.
32634         (.%c.texi): Likewise.
32635         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32636         (mostlyclean): Remove target.
32637         (realclean): Remove target.
32638         (generated): Add new variable with contents from mostlyclean and
32639         realclean, remove entries duplicated in common-mostlyclean, add
32640         stamp-libm-err and stamp-version.
32641         (generated-dirs): Add libc directory.
32642         ($(inst_infodir)/libc.info): Install files from build dir.
32643
32644         * manual/install.texi (Configuring and compiling): Adjust since
32645         the info files are not part of the tar ball anymore.
32646
32647 2012-05-14  Andreas Jaeger  <aj@suse.de>
32648
32649         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32650         variable.
32651
32652 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32653
32654         [BZ #13717]
32655         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32656         to 2.2.0 where earlier.
32657         * sysdeps/unix/sysv/linux/configure: Regenerated.
32658         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32659         Remove conditional code.
32660         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32661         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32662         Remove conditional code.
32663         [!__NR_lchown]: Likewise.
32664         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32665         [__NR_lchown]: Likewise.
32666         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32667         comment referencing __ASSUME_LCHOWN_SYSCALL.
32668         * sysdeps/unix/sysv/linux/i386/sigaction.c
32669         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32670         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32671         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32672         Remove conditional code.
32673         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32674         (__protocol_available): Remove #if 0 code.
32675         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32676         conditional code.
32677         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32678         * sysdeps/unix/sysv/linux/kernel-features.h
32679         (__ASSUME_GETCWD_SYSCALL): Don't define.
32680         (__ASSUME_REALTIME_SIGNALS): Likewise.
32681         (__ASSUME_PREAD_SYSCALL): Likewise.
32682         (__ASSUME_PWRITE_SYSCALL): Likewise.
32683         (__ASSUME_POLL_SYSCALL): Likewise.
32684         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32685         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32686         non-SPARC.
32687         (__ASSUME_SIOCGIFNAME): Don't define.
32688         (__ASSUME_MSG_NOSIGNAL): Likewise.
32689         (__ASSUME_SENDFILE): Define unconditionally.
32690         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32691         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32692         conditional code.
32693         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32694         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32695         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32696         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32697         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32698         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32699         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32701         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32702         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32704         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32705         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32707         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32708         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32710         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32711         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32713         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32714         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32716         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32717         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32719         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32720         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32722         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32723         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32724         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32725         Remove conditional code.
32726         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32727         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32728         Remove conditional code.
32729         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32730         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32731         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32732         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32733         Remove conditional code.
32734         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32735         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32736         Remove conditional code.
32737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32738         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32739         Remove conditional code.
32740         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32741         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32742         Remove conditional code.
32743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32744         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32745         Remove conditional code.
32746         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32747         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32748         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32749         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32750         * sysdeps/unix/sysv/linux/sigaction.c
32751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32753         * sysdeps/unix/sysv/linux/sigpending.c
32754         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32755         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32756         * sysdeps/unix/sysv/linux/sigprocmask.c
32757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32759         * sysdeps/unix/sysv/linux/sigsuspend.c
32760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32762         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32763         (__libc_missing_rt_sigs): Remove.
32764         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32765         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32766         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32767         Remove conditional code.
32768         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32769         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32770         return 1.
32771         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32772         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32773         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32774         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32775
32776 2012-05-14  Andreas Jaeger  <aj@suse.de>
32777
32778         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32779         it's not used in glibc.
32780         (__coshm1): Likewise.
32781         (__acosh1p): Likewise.
32782         (__sgn): Likewise.
32783
32784         * manual/string.texi (Copying and Concatenation): Add missing
32785         variable in concat example.
32786         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32787
32788 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32789
32790         [BZ #14103]
32791         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32792         __builtin_clzl with __builtin_clzll.
32793
32794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32795
32796         [BZ #14104]
32797         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32798         libc_freeres_ptr.
32799
32800 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32801
32802         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32803         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32804         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32805         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32806
32807 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32808
32809         * NEWS: Update ia64 info.
32810
32811 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32812
32813         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32814         used as bcopy.
32815
32816 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32817
32818         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32819         * sysdeps/unix/syscalls.list (dup3): Likewise.
32820         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32821         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32822
32823 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32824
32825         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32826         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32827
32828 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32829
32830         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32831         thread pointer.
32832         (TLS_IE): Use mov/add instead of movq/addq to load thread
32833         pointer.
32834         (TLS_GD_PREFIX): New.
32835         (TLS_GD): Use it.
32836
32837 2012-05-11  David S. Miller  <davem@davemloft.net>
32838
32839         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32840         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32841         (_FPU_SETCW): Likewise.
32842
32843 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32844
32845         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32846         is 32-byte aligned.
32847
32848 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32849
32850         [BZ #11837]
32851         * iconvdata/gb18030.c: Update tables.
32852         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32853         characters specially.
32854         (BODY for TO_LOOP): Add encoding of missing ranges.
32855
32856 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32857
32858         [BZ #13673]
32859         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32860         * sysdeps/mach/hurd/dup3.c: Likewise.
32861         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32862         * sysdeps/powerpc/memmove.c:: Likewise.
32863
32864 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32865
32866         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32867         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32868
32869 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32870
32871         * elf/elf.h (R_X86_64_RELATIVE64): New.
32872         (R_X86_64_NUM): Updated.
32873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32874         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32875         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32876         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32877         tst-quad1pie tst-quad2pie
32878         (modules-names): Add tst-quadmod1 tst-quadmod2.
32879         ($(objpfx)tst-quad1): New dependency.
32880         ($(objpfx)tst-quad2): Likewise.
32881         ($(objpfx)tst-quad1pie): Likewise.
32882         ($(objpfx)tst-quad2pie): Likewise.
32883         * sysdeps/x86_64/tst-quad1.c: New file.
32884         * sysdeps/x86_64/tst-quad1pie.c: New file.
32885         * sysdeps/x86_64/tst-quad2.c: Likewise.
32886         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32887         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32888         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32889         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32890         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32891
32892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32893
32894         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32895         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32896         * streams/stropts.h (t_scalar_t): Define type.
32897
32898         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32899         (_PATH_PRESERVE): Set to "/var/lib".
32900         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32901
32902         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32903         instead of int.
32904
32905         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32906         if __dir_mkfile succeeded.
32907
32908         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32909         checking for _hurd_dtablesize.  Unlock it right after having
32910         finished _hurd_dtable allocation.
32911
32912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32913
32914         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32915         * sysdeps/mach/hurd/configure: Regenerated.
32916         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32917         special-casing to...
32918         * sysdeps/gnu/configure.in: ... this new file.
32919         * sysdeps/unix/sysv/linux/configure: Regenerated.
32920         * sysdeps/gnu/configure: New generated file.
32921
32922         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32923         for Linux: use nsec instead of usec, as well as:
32924         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32925         members of type struct timespec.
32926         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32927         New macros.
32928         (struct stat64): Likewise.
32929         (_STATBUF_ST_NSEC): New macro.
32930         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32931
32932         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32933         __strtoul_internal rather than strtoul.
32934
32935 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32936
32937         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32938         and reject them.
32939
32940 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32941
32942         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32943         which preserves existing values.
32944         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32945
32946 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32947
32948         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32949         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32950         greater than FD_SETSIZE.
32951
32952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32953
32954         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32955         allocated, call __vm_protect to finish enabling the existing space, and
32956         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32957         allocate the remainder.
32958
32959 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32960
32961         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32962         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32963
32964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32965
32966         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32967         sysdeps/mach/hurd/readlink.c.
32968
32969         * posix/tst-sysconf.c (posix_options): Only use
32970         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32971         _POSIX_SYNCHRONIZED_IO when they are defined
32972         * sysdeps/mach/hurd/bits/posix_opt.h:
32973         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32974         (_XOPEN_REALTIME): Undefine macro.
32975         (_XOPEN_REALTIME_THREADS): Undefine macro.
32976         (_XOPEN_SHM): Undefine macro.
32977         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32978         macro to -1.
32979         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32980         macro to -1.
32981         (_POSIX_ASYNC_IO): Undefine macro.
32982         (_POSIX_PRIORITIZED_IO): Undefine macro.
32983         (_POSIX_SPIN_LOCKS): Define macro to -1.
32984
32985         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32986         SA_NODEFER, SA_RESETHAND.
32987         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32988         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32989         F_DUPFD_CLOEXEC.
32990
32991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32992
32993         * elf/Makefile (pldd-modules): Define unconditionally.
32994
32995 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32996
32997         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32998
32999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33000
33001         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33002         Return ENOENT when name is empty.
33003         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33004
33005 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33006
33007         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33008
33009         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33010
33011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33012
33013         Fix mlock in all cases except non-readable pages.
33014         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33015         instead of VM_PROT_ALL as parameter to __vm_wire function.
33016
33017         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33018         (__mkdir): When path is `/', just fail with EEXIST.
33019         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33020
33021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33022
33023         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33024         <sys/uio.h> (for writev).
33025         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33026         and <sys/param.h> (for MIN).
33027
33028 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33029
33030         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33031         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33032         if interrupted.
33033
33034 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33035
33036         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33037         Depend on against $(link-rpcuserlibs).
33038
33039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33040
33041         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33042         (__libc_stack_end): Do not use attribute_relro.
33043         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33044         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33045         to libthread-provided value.
33046         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33047         attribute_relro.
33048
33049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33050
33051         [BZ #3748]
33052         * bits/libc-lock.h (__libc_once_get): New macro.
33053         * sysdeps/mach/bits/libc-lock.h: Likewise.
33054         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33055         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33056         instead of using implementation details.
33057
33058         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33059         * libio/freopen.c: Likewise.
33060         * libio/freopen64.c: Likewise.
33061         * misc/syslog.c: Likewise.
33062         * nscd/connections.c: Likewise.
33063         * nscd/netgroupcache.c: Likewise.
33064         * sysdeps/posix/getcwd.c: Likewise.
33065
33066 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33067
33068         * math/w_ilogbf.c: Add #include <limits.h>.
33069
33070 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33071
33072         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33073         path instead of returning without unlocking.
33074
33075         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33076         immediate-write ioctls.
33077         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33078
33079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33080
33081         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33082         __builtin_frame_address instead of making assumptions about the
33083         location of the return address relative to DATA.  Force early load of
33084         the return address.
33085         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33086         __builtin_frame_address.
33087
33088         dup3 for GNU Hurd.
33089         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33090         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33091         implement dup3 and do some further code clean-ups.
33092         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33093         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33094
33095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33096
33097         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33098
33099         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33100         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33101         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33102         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33103         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33104         d->port.lock.
33105
33106         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33107         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33108         when handler == SIG_ERR, not when handler != SIG_ERR.
33109
33110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33111
33112         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33113         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33114         definitions.
33115
33116         accept4 for GNU Hurd.
33117         * include/sys/socket.h (__libc_accept4): New prototype.
33118         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33119         to implement __libc_accept4.
33120         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33121         __libc_accept4.
33122         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33123
33124         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33125         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33126         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33127         signal-defines.sym.
33128
33129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33130
33131         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33132
33133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33134
33135         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33136         assertion on O_CLOEXEC flag.
33137         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33138         * hurd/intern-fd.c: Likewise.
33139         * hurd/port2fd.c: Likewise.
33140
33141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33142
33143         [BZ #3906]
33144         * bits/in.h (IPV6_PKTINFO): Define new macro.
33145         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33146
33147 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33148
33149         [BZ #13954]
33150         [BZ #13955]
33151         [BZ #13956]
33152         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33153         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33154         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33155         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33156         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33157         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33158         * math/libm-test.inc (logb_test) : Additional logb tests.
33159
33160 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33161             Andreas Jaeger  <aj@suse.de>
33162
33163         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33164         * configure: Regenerated.
33165         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33166         * config.make.in (link-obsolete-rpc): New substituted variable.
33167         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33168         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33169         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33170         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33171         so that libc.a contains the symbols.
33172         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33173         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33174         * sunrpc/auth_none.c: Likewise.
33175         * sunrpc/auth_unix.c: Likewise.
33176         * sunrpc/authdes_prot.c: Likewise.
33177         * sunrpc/authuxprot.c: Likewise.
33178         * sunrpc/clnt_gen.c: Likewise.
33179         * sunrpc/clnt_perr.c: Likewise.
33180         * sunrpc/clnt_raw.c: Likewise.
33181         * sunrpc/clnt_simp.c: Likewise.
33182         * sunrpc/clnt_tcp.c: Likewise.
33183         * sunrpc/clnt_udp.c: Likewise.
33184         * sunrpc/clnt_unix.c: Likewise.
33185         * sunrpc/des_crypt.c: Likewise.
33186         * sunrpc/des_soft.c: Likewise.
33187         * sunrpc/get_myaddr.c: Likewise.
33188         * sunrpc/key_call.c: Likewise.
33189         * sunrpc/key_prot.c: Likewise.
33190         * sunrpc/netname.c: Likewise.
33191         * sunrpc/pm_getmaps.c: Likewise.
33192         * sunrpc/pm_getport.c: Likewise.
33193         * sunrpc/pmap_clnt.c: Likewise.
33194         * sunrpc/pmap_prot.c: Likewise.
33195         * sunrpc/pmap_prot2.c: Likewise.
33196         * sunrpc/pmap_rmt.c: Likewise.
33197         * sunrpc/publickey.c: Likewise.
33198         * sunrpc/rpc_cmsg.c: Likewise.
33199         * sunrpc/rpc_common.c: Likewise.
33200         * sunrpc/rpc_dtable.c: Likewise.
33201         * sunrpc/rpc_prot.c: Likewise.
33202         * sunrpc/rpc_thread.c: Likewise.
33203         * sunrpc/rtime.c: Likewise.
33204         * sunrpc/svc.c: Likewise.
33205         * sunrpc/svc_auth.c: Likewise.
33206         * sunrpc/svc_raw.c: Likewise.
33207         * sunrpc/svc_run.c: Likewise.
33208         * sunrpc/svc_tcp.c: Likewise.
33209         * sunrpc/svc_udp.c: Likewise.
33210         * sunrpc/svc_unix.c: Likewise.
33211         * sunrpc/svcauth_des.c: Likewise.
33212         * sunrpc/xcrypt.c: Likewise.
33213         * sunrpc/xdr.c: Likewise.
33214         * sunrpc/xdr_array.c: Likewise.
33215         * sunrpc/xdr_float.c: Likewise.
33216         * sunrpc/xdr_intXX_t.c: Likewise.
33217         * sunrpc/xdr_mem.c: Likewise.
33218         * sunrpc/xdr_rec.c: Likewise.
33219         * sunrpc/xdr_ref.c: Likewise.
33220         * sunrpc/xdr_sizeof.c: Likewise.
33221         * sunrpc/xdr_stdio.c: Likewise.
33222
33223 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33224
33225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33226         change.  Update copyright years.
33227
33228 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33229
33230         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33231
33232 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33233             Joseph Myers  <joseph@codesourcery.com>
33234             Paul Pluzhnikov  <ppluzhnikov@google.com>
33235
33236         [BZ #14012]
33237         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33238         requiring rpcgen.
33239         [cross-compiling] (extra-libs): Likewise.
33240         [cross-compiling] (extra-libs-others): Likewise.
33241         [cross-compiling] (librpcsvc-routines): Likewise.
33242         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33243         [cross-compiling] (omit-deps): Likewise.
33244         (sunrpc-CPPFLAGS): New variable.
33245         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33246         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33247         (cross-rpcgen-objs): New variable.
33248         (extra-objs): Append $(cross-rpcgen-objs).
33249         ($(cross-rpcgen-objs)): New rule.
33250         ($(objpfx)cross-rpcgen): Likewise.
33251         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33252         comment.
33253         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33254         ($(objpfx)x%.stmp): Likewise.
33255         * sunrpc/proto.h [IS_IN_build] (_): Define.
33256         [IS_IN_build] (_libc_intl_domainname): Likewise.
33257
33258 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33259
33260         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33261         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33262         and R_X86_64_TPOFF64.
33263
33264 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33265
33266         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33267         sysdeps/unix/sysv/syscalls.list.
33268         (stime): Likewise.
33269         (utime): Likewise.
33270         * sysdeps/unix/sysv/syscalls.list: Remove file.
33271
33272 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33273
33274         [BZ #3440]
33275         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33276         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33277         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33278         (__LC_IDENTIFICATION): Make these macros useful in #if
33279         expressions, as required by C99.
33280
33281 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33282
33283         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33284         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33285         after this.
33286
33287 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33288
33289         * stdlib/longlong.h: Updated from GCC.
33290
33291 2012-05-09  Andreas Jaeger  <aj@suse.de>
33292
33293         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33294         default is first entry.
33295         (run_mode): Set type.
33296         (main): Remove informal message about syslog.
33297         (options): Fix typo.
33298
33299         [BZ #14053]
33300         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33301         to asm.
33302         (lrint): Likewise.
33303         (llrintf): Likewise.
33304         (llrint): Likewise.
33305         (rint): Likewise.
33306         (rintf): Likewise.
33307         (nearbyint): Likewise.
33308         (nearbyintf): Likewise.
33309
33310 2012-05-09  Andreas Jaeger  <aj@suse.de>
33311             Pedro Alves  <palves@redhat.com>
33312
33313         * nscd/nscd.c (run_mode): Use enum.
33314         (main): Cleanup coding style issue.
33315
33316 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33317             Andreas Jaeger  <aj@suse.de>
33318
33319         * nscd/nscd.c (go_background): Replaced with...
33320         (run_mode): ... this.
33321         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33322         (options): Add -F --foreground.
33323         (main): Implement it.
33324         (parse_opt): Parse it.
33325
33326 2012-05-09  Andreas Jaeger  <aj@suse.de>
33327
33328         [BZ #14083]
33329         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33330         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33331         -Wconversion warning.
33332         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33333         Likewise.
33334
33335 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33336
33337         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33338         == 0.
33339         (LC_ALL): Use macro-int-constant.
33340         (LC_COLLATE): Likewise.
33341         (LC_CTYPE): Likewise.
33342         (LC_MESSAGES): Likewise.
33343         (LC_MONETARY): Likewise.
33344         (LC_NUMERIC): Likewise.
33345         (LC_TIME): Likewise.
33346         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33347         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33349         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33350         Specify type.
33351         [C99-based standards] (float_t): Expect type.
33352         [C99-based standards] (double_t): Expect type.
33353         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33354         type.
33355         [C99-based standards] (HUGE_VALL): Likewise.
33356         [C99-based standards] (INFINITY): Likewise.
33357         [C99-based standards] (NAN): Likewise.
33358         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33359         [C99-based standards] (FP_NAN): Likewise.
33360         [C99-based standards] (FP_NORMAL): Likewise.
33361         [C99-based standards] (FP_SUBNORMAL): Likewise.
33362         [C99-based standards] (FP_ZERO): Likewise.
33363         [C99-based standards] (FP_FAST_FMA): Use
33364         optional-macro-int-constant.  Specify type.  Require == 1.
33365         [C99-based standards] (FP_FAST_FMAF): Likewise.
33366         [C99-based standards] (FP_FAST_FMAL): Likewise.
33367         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33368         [C99-based standards] (FP_ILOGBNAN): Likewise.
33369         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33370         Specify type.
33371         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33372         [C99-based standards] (math_errhandling): Specify type.
33373         [ISO99 || ISO11] (signgam): Do not allow.
33374         [non-C99-based standards] (copysignf): Do not allow.
33375         [non-C99-based standards] (exp2f): Likewise.
33376         [non-C99-based standards] (log2f): Likewise.
33377         [non-C99-based standards] (modff): Allow.
33378         [non-C99-based standards] (erff): Do not allow.
33379         [non-C99-based standards] (erfcf): Likewise.
33380         [non-C99-based standards] (gammaf): Likewise.
33381         [non-C99-based standards] (hypotf): Likewise.
33382         [non-C99-based standards] (j0f): Likewise.
33383         [non-C99-based standards] (j1f): Likewise.
33384         [non-C99-based standards] (jnf): Likewise.
33385         [non-C99-based standards] (lgammaf): Likewise.
33386         [non-C99-based standards] (tgammaf): Likewise.
33387         [non-C99-based standards] (y0f): Likewise.
33388         [non-C99-based standards] (y1f): Likewise.
33389         [non-C99-based standards] (ynf): Likewise.
33390         [non-C99-based standards] (isnanf): Likewise.
33391         [non-C99-based standards] (acoshf): Likewise.
33392         [non-C99-based standards] (asinhf): Likewise.
33393         [non-C99-based standards] (atanhf): Likewise.
33394         [non-C99-based standards] (cbrtf): Likewise.
33395         [non-C99-based standards] (expm1f): Likewise.
33396         [non-C99-based standards] (ilogbf): Likewise.
33397         [non-C99-based standards] (log1pf): Likewise.
33398         [non-C99-based standards] (logbf): Likewise.
33399         [non-C99-based standards] (nextafterf): Likewise.
33400         [non-C99-based standards] (remainderf): Likewise.
33401         [non-C99-based standards] (rintf): Likewise.
33402         [non-C99-based standards] (scalbf): Likewise.
33403         [non-C99-based standards] (copysignl): Likewise.
33404         [non-C99-based standards] (exp2l): Likewise.
33405         [non-C99-based standards] (log2l): Likewise.
33406         [non-C99-based standards] (modfl): Allow.
33407         [non-C99-based standards] (erfl): Do not allow.
33408         [non-C99-based standards] (erfcl): Likewise.
33409         [non-C99-based standards] (gammal): Likewise.
33410         [non-C99-based standards] (hypotl): Likewise.
33411         [non-C99-based standards] (j0l): Likewise.
33412         [non-C99-based standards] (j1l): Likewise.
33413         [non-C99-based standards] (jnl): Likewise.
33414         [non-C99-based standards] (lgammal): Likewise.
33415         [non-C99-based standards] (tgammal): Likewise.
33416         [non-C99-based standards] (y0l): Likewise.
33417         [non-C99-based standards] (y1l): Likewise.
33418         [non-C99-based standards] (ynl): Likewise.
33419         [non-C99-based standards] (isnanl): Likewise.
33420         [non-C99-based standards] (acoshl): Likewise.
33421         [non-C99-based standards] (asinhl): Likewise.
33422         [non-C99-based standards] (atanhl): Likewise.
33423         [non-C99-based standards] (cbrtl): Likewise.
33424         [non-C99-based standards] (expm1l): Likewise.
33425         [non-C99-based standards] (ilogbl): Likewise.
33426         [non-C99-based standards] (log1pl): Likewise.
33427         [non-C99-based standards] (logbl): Likewise.
33428         [non-C99-based standards] (nextafterl): Likewise.
33429         [non-C99-based standards] (remainderl): Likewise.
33430         [non-C99-based standards] (rintl): Likewise.
33431         [non-C99-based standards] (scalbl): Likewise.
33432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33433         [non-C99-based standards] (FP_*): Do not allow.
33434         [C99-based standards] (FP_*): Change to
33435         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33436         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33437         allow.
33438         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33439         (SIG_ERR): Likewise.
33440         [X/Open-based standards] (SIG_HOLD): Likewise.
33441         (SIG_IGN): Likewise.
33442         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33443         positive value.
33444         (SIGFPE): Likewise.
33445         (SIGILL): Likewise.
33446         (SIGINT): Likewise.
33447         (SIGSEGV): Likewise.
33448         (SIGTER): Likewise.
33449         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33450         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33451         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33452         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33453         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33454         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33455         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33456         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33457         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33458         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33459         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33460         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33461         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33462         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33463         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33464         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33465         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33466         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33467         [X/Open-based standards] (SIGTRAP): Likewise.
33468         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33469         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33470         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33472         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33473         allow.
33474
33475 2012-05-08  Ian Wienand  <ianw@vmware.com>
33476
33477         [BZ #14080]
33478         * time/tzset.c (__tzset_parse_tz): Update default rules for
33479         daylight time changes in the Energy Policy Act of 2005.
33480
33481 2012-05-09  Andreas Jaeger  <aj@suse.de>
33482
33483         [BZ #13983]
33484         * elf/ldconfig.c (parse_conf): Change string to make clear that
33485         ldconfig only issued a warning if ld.so.conf does not exist.
33486
33487 2012-05-08  David S. Miller  <davem@davemloft.net>
33488
33489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33490         movxtod instead of popping the value on the stack.
33491
33492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33493
33494 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33495
33496         * config.h.in: Add HAVE_ARM_PCS_VFP.
33497
33498 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33499
33500         [BZ #13979]
33501         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33502         checking but the checks are disabled for any reason.
33503
33504 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33505
33506         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33507         and ELF64_R_TYPE with ELFW(R_TYPE).
33508
33509 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33510
33511         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33512         (ulimit): Likewise.
33513
33514         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33515         (settimeofday): Likewise.
33516
33517 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33518
33519         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33520         a struct th_u2 inside the union, and move tu_block/tu_code into
33521         a new th_u3 union of tu_block/tu_code inside of that.  Move
33522         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33523         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33524         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33525         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33526         (th_stuff): Change to th_u1.tu_stuff.
33527         (th_data): Define.
33528         (th_msg): Change to th_u1.th_u2.tu_data.
33529
33530 2012-05-07  David S. Miller  <davem@davemloft.net>
33531
33532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33533
33534         [BZ #14074]
33535         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33536         (SETUP_PIC_REG): Use it.
33537         (SETUP_PIC_REG_LEAF): Use it.
33538
33539 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33540
33541         [BZ #13885]
33542         [BZ #13923]
33543         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33544         USE_AS_EXPM1L.
33545         (EXPL_FINITE): Likewise.
33546         (FLDLOG): Likewise.
33547         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33548         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33549         e_expl.S.
33550         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33551         USE_AS_EXPM1L.
33552         (EXPL_FINITE): Likewise.
33553         (FLDLOG): Likewise.
33554         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33555         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33556         e_expl.S.
33557         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33558         test of -max_value argument for long double.
33559         * sysdeps/i386/fpu/libm-test-ulps: Update.
33560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33561
33562 2012-05-06  David S. Miller  <davem@davemloft.net>
33563
33564         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33565         quad soft-float symbols whose references which are compiler
33566         generated.
33567         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33568
33569 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33570
33571         [BZ #13884]
33572         [BZ #13914]
33573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33574         USE_AS_EXP10L.
33575         (EXPL_FINITE): Likewise.
33576         (FLDLOG): Likewise.
33577         (c0): Likewise.
33578         (c1): Likewise.
33579         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33580         Adjust comments for base varying.
33581         (__expl_finite): Change alias to EXPL_FINITE.
33582         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33583         e_expl.S.
33584         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33585         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33586         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33587         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33589         USE_AS_EXP10L.
33590         (EXPL_FINITE): Likewise.
33591         (FLDLOG): Likewise.
33592         (c0): Likewise.
33593         (c1): Likewise.
33594         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33595         Adjust comments for base varying.
33596         (__expl_finite): Change alias to EXPL_FINITE.
33597         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33598         tests for bugs.
33599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33600
33601         [BZ #14064]
33602         * math/libm-test.inc (check_float_internal): Correct ulp
33603         calculation for subnormal expected results.
33604
33605 2012-05-06  Andreas Jaeger  <aj@suse.de>
33606
33607         * Makeconfig (+math-flags): New, set to -frounding-math.
33608         (+cflags): Add +math-flags so that all of glibc gets compiled with
33609         it.
33610
33611         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33612
33613 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33614
33615         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33616         Disable one test.
33617
33618         [BZ #13787]
33619         [BZ #13922]
33620         [BZ #14036]
33621         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33622         (__ieee754_expl): Allow for and saturate large arguments.
33623         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33624         (u_threshold): Likewise.
33625         (__exp): Call __ieee754_exp before checking for overflow and
33626         underflow.
33627         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33628         (u_threshold): Likewise.
33629         (__expf): Call __ieee754_expf before checking for overflow and
33630         underflow.
33631         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33632         (u_threshold): Likewise.
33633         (__expl): Call __ieee754_expl before checking for overflow and
33634         underflow.
33635         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33636         (__ieee754_expl): Allow for and saturate large arguments.
33637         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33638         missing overflow exception on overflow.
33639         (expm1_test): Do not allow missing overflow exception on overflow.
33640
33641         * sysdeps/i386/fpu/e_expl.c: Move to ...
33642         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33643         rather than using inline asm.
33644         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33645         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33646         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33647
33648         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33649         (nice): Likewise.
33650         (poll): Likewise.
33651         (signal): Likewise.
33652         (time): Likewise.
33653         (times): Likewise.
33654
33655 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33656
33657         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33658         sysdeps/unix/common/syscalls.list.
33659         (fchmod): Likewise.
33660         (fchown): Likewise.
33661         (ftruncate): Likewise.
33662         (getrusage): Likewise.
33663         (gettimeofday): Likewise.
33664         (setpgid): Likewise.
33665         (setregid): Likewise.
33666         (setreuid): Likewise.
33667         (sigaction): Likewise.
33668         (truncate): Likewise.
33669         (vhangup): Likewise.
33670         * sysdeps/unix/common/syscalls.list: Remove file.
33671         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33672         * sysdeps/unix/sysv/linux/Implies: Likewise.
33673
33674 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33675
33676         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33678         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33679         Moved to ...
33680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33681         Here.
33682         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33683         to ...
33684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33685         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33686         to ...
33687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33688         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33689         to ...
33690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33691         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33692         to ...
33693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33694         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33695         to ...
33696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33697         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33698         to ...
33699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33700         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33701         to ...
33702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33703         Here.
33704         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33705         to ...
33706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33707         Here.
33708         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33709         to ...
33710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33711         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33712         Moved to ...
33713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33714         Here.
33715         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33716         to ...
33717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33718
33719 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33720
33721         * sysdeps/unix/common/bits/dirent.h: Remove file.
33722         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33723
33724         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33725         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33726         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33727         * sysdeps/unix/bsd/isatty.c: Likewise.
33728         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33729         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33730         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33731
33732 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33733
33734         [BZ #13563]
33735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33736         long double comparison inaccuracies.
33737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33739
33740 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33741
33742         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33743         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33744
33745 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33746
33747         [BZ #14049]
33748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33749         nonzero digits before rounding a hex value.
33750         * stdlib/tst-strtod.c (tests): Add another test.
33751
33752 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33753
33754         * sysdeps/s390/fpu/libm-test-ulps: Update.
33755
33756 2012-05-03  Andreas Jaeger  <aj@suse.de>
33757
33758         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33759         does not get optimized out.
33760         (malloc_opt_barrier): New.
33761
33762 2012-05-03  Andreas Jaeger  <aj@suse.de>
33763             Roland McGrath  <roland@hack.frob.com>
33764
33765         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33766         intermediate file deletion.
33767         (generated): Add .symlist files.
33768
33769 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33770
33771         [BZ #13775]
33772         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33773         Redirect under this condition.
33774         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33775         [__USE_GNU] (__dprintf_chk): Not under this condition.
33776         [__USE_GNU] (__vdprintf_chk): Likewise.
33777         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33778         under this condition.
33779         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33780         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33781         [__USE_XOPEN2K8] (vdprintf): Likewise.
33782         [__USE_GNU] (__dprintf_chk): Not under this condition.
33783         [__USE_GNU] (__vdprintf_chk): Likewise.
33784         [__USE_GNU] (dprintf): Likewise.
33785         [__USE_GNU] (vdprintf): Likewise.
33786
33787 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33788
33789         * elf/Makefile (common-generated): Set this instead of generated for
33790         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33791         $(all-built-dso)-derived lists.
33792
33793 2012-05-03  Andreas Jaeger  <aj@suse.de>
33794
33795         * sysdeps/i386/fpu/libm-test-ulps: Update.
33796
33797         * FAQ: Removed.
33798         * FAQ.in: Likewise.
33799         * scripts/gen-FAQ.pl: Likewise.
33800         * manual/install.texi (Installation): Point to online location of
33801         FAQ.
33802         * Makefile (files-for-dist): Remove FAQ.
33803         (FAQ): Remove.
33804
33805 2012-05-02  Allan McRae  <allan@archlinux.org>
33806
33807         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33808         (LDFLAGS-reldepmod5.so): Likewise.
33809         (LDFLAGS-reldep6mod1.so): Likewise.
33810         (LDFLAGS-reldep6mod4.so): Likewise.
33811         (LDFLAGS-reldep8mod3.so): Likewise.
33812         (LDFLAGS-unload4mod1.so): Likewise.
33813         (LDFLAGS-unload4mod2.so): Likewise.
33814         (LDFLAGS-tst-initorder): Likewise.
33815         (LDFLAGS-tst-initordera2.so): Likewise.
33816         (LDFLAGS-tst-initordera3.so): Likewise.
33817         (LDFLAGS-tst-initordera4.so): Likewise.
33818         (LDFLAGS-tst-initorderb2.so): Likewise.
33819         (LDFLAGS-noload): Likewise.
33820         (LDFLAGS-next): Likewise.
33821         (LDFLAGS-order2mod1.so): Likewise.
33822         (LDFLAGS-order2mod2.so): Likewise.
33823         (LDFLAGS-tst-initorder2): Likewise.
33824         (LDFLAGS-tst-initorder2a.so): Likewise.
33825         (LDFLAGS-tst-initorder2b.so): Likewise.
33826         (LDFLAGS-tst-initorder2c.so): Likewise.
33827         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33828
33829 2012-05-02  David S. Miller  <davem@davemloft.net>
33830
33831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33832
33833 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33834
33835         [BZ #14055]
33836         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33837
33838 2012-05-02  Andreas Jaeger  <aj@suse.de>
33839
33840         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33841         since we manipulate rounding mode.
33842         (CPPFLAGS-test-idouble.c): Likewise.
33843         (CPPFLAGS-test-ifloat.c): Likewise.
33844         (CFLAGS-test-ldouble.c): Likewise.
33845         (CFLAGS-test-double.c): Likewise.
33846         (CFLAGS-test-float.c): Likewise.
33847         (CFLAGS-test-misc.c): Likewise.
33848         (CFLAGS-test-test-fenv.c): Likewise.
33849
33850 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33851
33852         [BZ #2550]
33853         [BZ #2570]
33854         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33855         comparisons to determine direction to adjust input.
33856
33857 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33858
33859         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33860         output to the target.
33861
33862         * scripts/localplt.awk: New file.
33863         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33864         (check-localplt-CFLAGS): Variable removed.
33865         ($(all-built-dso:=.jmprel)): New static pattern rule.
33866         (generated): Add those targets.
33867         (localplt-built-dso): New variable.
33868         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33869
33870         * elf/check-localplt.c: File removed.
33871
33872         * scripts/check-execstack.awk: New file.
33873         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33874         (check-execstack-CFLAGS): Variable removed.
33875         ($(objpfx)check-execstack.h): Target removed.
33876         ($(objpfx)execstack-default): New target.
33877         (generated): Add that instead of check-execstack.h.
33878         ($(all-built-dso:=.phdr)): New static pattern rule.
33879         (generated): Add those targets.
33880         * elf/check-execstack.c: File removed.
33881
33882         * scripts/check-textrel.awk: New file.
33883         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33884         (check-textrel-CFLAGS): Variable removed.
33885         (all-built-dso): Use := to define.o
33886         ($(all-built-dso:=.dyn)): New static pattern rule.
33887         (generated): Add those targets.
33888         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33889         * config.make.in (READELF): New substituted variable.
33890         * elf/check-textrel.c: File removed.
33891
33892 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33893
33894         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33895         allow.
33896         * conform/data/ctype.h-data [C99-based standards] (isblank):
33897         Expect function.
33898         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33899         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33900         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33901         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33902         Specify type.  Require positive value.
33903         (EILSEQ): Likewise.
33904         (ERANGE): Likewise.
33905         [ISO || POSIX] (EILSEQ): Do not expect.
33906         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33907         Specify type.  Require positive value.
33908         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33909         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33910         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33911         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33912         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33913         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33914         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33915         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33916         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33917         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33918         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33919         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33920         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33921         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33922         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33923         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33924         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33925         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33926         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33927         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33928         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33929         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33930         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33931         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33932         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33933         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33934         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33935         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33936         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33937         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33938         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33939         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33940         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33941         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33942         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33943         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33944         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33945         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33946         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33947         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33948         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33949         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33950         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33951         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33952         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33953         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33954         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33955         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33956         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33957         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33958         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33959         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33960         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33961         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33962         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33963         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33964         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33965         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33966         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33967         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33968         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33969         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33970         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33971         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33972         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33973         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33974         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33975         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33976         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33977         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33978         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33979         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33980         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33981         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33982         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33983         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33984         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33985         Require >= 2.
33986         (FLT_ROUNDS): Expect as macro, not constant.
33987         (FLT_MANT_DIG): Use macro-int-constant.
33988         (DBL_MANT_DIG): Likewise.
33989         (LDBL_MANT_DIG): Likewise.
33990         (FLT_DIG): Likewise.
33991         (DBL_DIG): Likewise.
33992         (LDBL_DIG): Likewise.
33993         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33994         (DBL_MIN_EXP): Likewise.
33995         (LDBL_MIN_EXP): Likewise.
33996         (FLT_MAX_EXP): Use macro-int-constant.
33997         (DBL_MAX_EXP): Likewise.
33998         (LDBL_MAX_EXP): Likewise.
33999         (FLT_MAX_10_EXP): Likewise.
34000         (DBL_MAX_10_EXP): Likewise.
34001         (LDBL_MAX_10_EXP): Likewise.
34002         (FLT_MAX): Use macro-constant.
34003         (DBL_MAX): Likewise.
34004         (LDBL_MAX): Likewise.
34005         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34006         (DBL_EPSILON): Likewise.
34007         (LDBL_EPSILON): Likewise.
34008         (FLT_MIN): Likewise.
34009         (DBL_MIN): Likewise.
34010         (LDBL_MIN): Likewise.
34011         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34012         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34013         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34014         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34015         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34016         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34017         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34018         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34019         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34020         [ISO11] (FLT_TRUE_MIN): Likewise.
34021         [ISO11] (LDBL_TRUE_MIN): Likewise.
34022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34023         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34024         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34025         (SCHAR_MAX): Likewise.
34026         (UCHAR_MAX): Likewise.
34027         (CHAR_MIN): Likewise.
34028         (CHAR_MAX): Likewise.
34029         (MB_LEN_MAX): Use macro-int-constant.
34030         (SHRT_MIN): Use macro-int-constant.  Specify type.
34031         (SHRT_MAX): Likewise.
34032         (USHRT_MAX): Likewise.
34033         (INT_MAX): Likewise.
34034         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34035         bound negative.
34036         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34037         bound with "U".
34038         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34039         bound with "L".
34040         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34041         bound negative.  Suffix upper bound with "L".
34042         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34043         bound with "UL".
34044         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34045         Specify type.
34046         [C99-based standards] (LLONG_MAX): Likewise.
34047         [C99-based standards] (ULLONG_MAX): Likewise.
34048         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34049         == 0.
34050         [ISO11] (max_align_t): Require type.
34051         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34052
34053         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34054         from $CFLAGS, without defining away __attribute__ calls.
34055         (checknamespace): Use $CFLAGS_namespace.
34056
34057         * conform/conformtest.pl (@keywords): Only include C99 keywords
34058         for standards based on C99 or C11.
34059
34060         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34061         Disable tests.
34062         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34063         UNIX98]: Likewise.
34064
34065         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34066         usability of symbols in #if.
34067
34068         * conform/conformtest.pl: If macro or constant types start
34069         "promoted:", expect the symbol to be of the following type
34070         promoted by the integer promotions.
34071
34072         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34073         in one place.  Also handle "macro-constant".
34074
34075         * conform/conformtest.pl: Only accept expected macro values with
34076         "==".  Parse all "macro" lines in one place.
34077         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34078
34079         * conform/conformtest.pl: Handle braced types on "constant" lines
34080         instead of handling "typed-constant".
34081         * conform/data/signal.h-data: Use "constant" instead of
34082         "typed-constant".
34083
34084         * conform/conformtest.pl: Handle "optional-" at start of lines in
34085         one place rather than duplicating several cases.  Handle each
34086         format of "macro" line with initial "optional-".
34087
34088         * conform/conformtest.pl: Only accept expected constant or
34089         optional-constant values with "==".  Parse all "constant" lines in
34090         one place.  Parse all "optional-constant" lines in one place.
34091         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34092         * conform/data/fmtmsg.h-data: Likewise.
34093         * conform/data/netinet/in.h-data: Likewise.
34094         * conform/data/tar.h-data: Likewise.
34095         * conform/data/limits.h-data: Use "==" form on "constant" and
34096         "optional-constant" lines.
34097
34098         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34099         Use -std=c99 for XOPEN2K.
34100         (@knownproblems): Remove.
34101         (newtoken): Don't check %isknown.
34102
34103         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34104         Do not expect macro.
34105         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34106         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34107         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34108         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34109         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34110         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34111         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34112         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34113         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34114         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34115         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34116         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34117         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34118         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34119         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34120         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34121         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34122         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34123         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34124         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34125         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34126         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34127         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34128         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34129         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34130         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34131         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34132         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34133         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34134         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34135         [XPG3] (acosh): Likewise.
34136         [XPG3] (asinh): Likewise.
34137         [XPG3] (atanh): Likewise.
34138         [XPG3] (cbrt): Likewise.
34139         [XPG3] (expm1): Likewise.
34140         [XPG3] (ilogb): Likewise.
34141         [XPG3] (log1p): Likewise.
34142         [XPG3] (logb): Likewise.
34143         [XPG3] (nextafter): Likewise.
34144         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34145         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34146         [XPG3] (remainder): Likewise.
34147         [XPG3] (rint): Likewise.
34148         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34149         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34150         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34151         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34152         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34153         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34154         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34155         [UNIX98 || XOPEN2K] (scalb): Expect.
34156         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34157         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34158         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34159         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34160         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34161         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34162         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34163         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34164         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34165         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34166         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34167         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34168         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34169         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34170         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34171         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34172         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34173         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34174         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34175         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34176         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34177         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34178         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34179         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34180         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34181         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34182         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34183         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34184         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34185         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34186         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34187         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34188         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34189         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34190         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34191         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34192         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34193         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34194         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34195         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34196         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34197         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34198         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34199         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34200         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34201         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34202         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34203         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34204         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34205         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34206         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34207         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34208         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34209         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34210         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34211         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34212         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34213         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34214         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34215         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34216         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34217         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34218         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34219         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34220         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34221         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34222         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34223         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34224         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34225         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34226         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34227         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34228         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34229         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34230         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34231         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34232         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34233         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34234         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34235         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34236         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34237         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34238         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34239         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34240         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34241         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34242         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34243         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34244         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34245         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34246         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34247         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34248         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34249         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34250         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34251         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34252         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34253         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34254         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34255         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34256         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34257         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34258         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34259         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34260         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34261         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34262         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34263         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34264         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34265         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34266         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34267         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34268         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34269         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34270         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34271         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34272         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34273         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34274         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34275         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34276         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34277         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34278         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34279         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34280         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34281         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34282         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34283         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34284         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34285         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34286         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34287         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34288         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34289         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34290         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34291         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34292         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34293
34294         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34295         _XOPEN_SOURCE_EXTENDED for XPG4.
34296
34297         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34298
34299         * Makeconfig (localtime): Remove variable.
34300         (inst_localtime-file): Likewise.
34301
34302 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34303
34304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34305         Update.
34306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34307         Update.
34308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34309         Update.
34310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34311         Update.
34312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34313         Update.
34314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34315         Update.
34316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34317         Update.
34318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34319         Update.
34320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34321         Update.
34322
34323 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34324
34325         [BZ #2550]
34326         [BZ #2570]
34327         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34328         comparisons to determine direction to adjust input.
34329         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34330         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34331         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34332         Likewise.
34333         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34334         Likewise.
34335         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34336         Likewise.
34337         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34338         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34339         Likewise.
34340         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34341         Likewise.
34342         * math/libm-test.inc (nexttoward_test): Add more tests.
34343
34344 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34345
34346         [BZ #14040]
34347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34348         in version GLIBC_2.1, not GLIBC_2.0.
34349         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34350         Likewise.
34351
34352 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34353
34354         [BZ #13942]
34355         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34356         (1 - x) * (1 + x).
34357         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34358         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34359         * math/libm-test.inc (acos_test): Add more tests.
34360         (asin_test): Likewise.
34361         * sysdeps/i386/fpu/libm-test-ulps: Update.
34362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34363
34364         [BZ #14034]
34365         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34366         of square root.
34367         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34368         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34369         * math/libm-test.inc (acos_test_tonearest): New function.
34370         (acos_test_towardzero): Likewise.
34371         (acos_test_downward): Likewise.
34372         (acos_test_upward): Likewise.
34373         (asin_test_tonearest): Likewise.
34374         (asin_test_towardzero): Likewise.
34375         (asin_test_downward): Likewise.
34376         (asin_test_upward): Likewise.
34377         (main): Call the new functions.
34378         * sysdeps/i386/fpu/libm-test-ulps: Update.
34379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34380
34381         [BZ #13884]
34382         [BZ #13924]
34383         * math/e_exp10.c: Include <float.h>.
34384         (__ieee754_exp10): Handle underflow here rather than multiplying
34385         large negative argument by M_LN10.
34386         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34387         of __ieee754_expf.
34388         * math/e_exp10l.c: Include <float.h>.
34389         (__ieee754_exp10l): Handle underflow here rather than multiplying
34390         large negative argument by M_LN10l.
34391         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34392         spurious overflow exception on underflow.
34393
34394 2012-04-29  Marek Polacek  <polacek@redhat.com>
34395
34396         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34397         (__fortify_function): New macro.
34398         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34399         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34400         __extern_always_inline.
34401         * libio/bits/stdio2.h: Likewise.
34402         * libio/bits/stdio.h: Likewise.
34403         * string/string.h: Likewise.
34404         * string/bits/string3.h: Likewise.
34405         * include/stdio.h: Likewise.
34406         * stdlib/bits/stdlib.h: Likewise.
34407         * stdlib/stdlib.h: Likewise.
34408         * rt/bits/mqueue2.h: Likewise.
34409         * rt/mqueue.h: Likewise.
34410         * posix/bits/unistd.h: Likewise.
34411         * posix/unistd.h: Likewise.
34412         * io/bits/poll2.h: Likewise.
34413         * io/bits/fcntl2.h: Likewise.
34414         * io/fcntl.h: Likewise.
34415         * io/sys/poll.h: Likewise.
34416         * misc/bits/syslog.h: Likewise.
34417         * misc/bits/syslog-ldbl.h: Likewise.
34418         * misc/sys/syslog.h: Likewise.
34419         * socket/bits/socket2.h: Likewise.
34420         * socket/sys/socket.h: Likewise.
34421         * debug/tst-chk1.c: Likewise.
34422         * wcsmbs/bits/wchar2.h: Likewise.
34423         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34424         * wcsmbs/wchar.h: Likewise.
34425
34426 2012-04-29  Andreas Jaeger  <aj@suse.de>
34427
34428         * Makerules (tests): Remove enable-check-abi protection.
34429         (check-abi-warn): Remove.
34430         (check-abi-%): Remove check-abi-warn usage.
34431
34432         * configure.in: Remove check-abi configure option.
34433         * configure: Regenerated.
34434         * config.make.in (enable-check-abi): Remove.
34435
34436 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34437
34438         [BZ #14033]
34439         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34440         double functions to double *_finite functions.
34441
34442         [BZ #13941]
34443         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34444         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34445         LDBL_MIN_EXP.
34446         * stdio-common/Makefile (tests): Add tst-sprintf3.
34447         * stdio-common/tst-sprintf3.c: New file.
34448
34449         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34450         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34451
34452 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34453
34454         * conform/conformtest.pl: Remove duplicate typed-constant
34455         handling.
34456
34457 2012-04-28  David S. Miller  <davem@davemloft.net>
34458
34459         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34460         (check-abi-%): Remove AWK script prerequisite and explicit
34461         abilist directory.
34462         (check-abi): Rewrite to just diff the symlist with the abilist.
34463         (config-tls, config-abi-config): Delete, no longer used.
34464         (update-abi-%): Remove AWK script and explicit abilist directory.
34465         (update-abi): Rewrite to simply compare and conditionally copy the
34466         symlist and the sysdep abilist file.  Remove update-abi-config
34467         checks.
34468         * abilist/ld.abilist: Remove.
34469         * abilist/libBrokenLocale.abilist: Remove.
34470         * abilist/libanl.abilist: Remove.
34471         * abilist/libcrypt.abilist: Remove.
34472         * abilist/libdl.abilist: Remove.
34473         * abilist/librt.abilist: Remove.
34474         * abilist/libthread_db.abilist: Remove.
34475         * abilist/libutil.abilist: Remove.
34476         * scripts/extract-abilist.awk: Remove.
34477         * scripts/merge-abilist.awk: Remove.
34478         * sysdeps/generic/libcidn.abilist: New file.
34479         * sysdeps/generic/libnss_compat.abilist: New file.
34480         * sysdeps/generic/libnss_db.abilist: New file.
34481         * sysdeps/generic/libnss_dns.abilist: New file.
34482         * sysdeps/generic/libnss_files.abilist: New file.
34483         * sysdeps/generic/libnss_hesiod.abilist: New file.
34484         * sysdeps/generic/libnss_nis.abilist: New file.
34485         * sysdeps/generic/libnss_nisplus.abilist: New file.
34486         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34487         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34488         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34489         file.
34490         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34491         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34492         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34493         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34494         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34495         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34496         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34497         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34498         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34499         file.
34500         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34501         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34502         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34503         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34504         file.
34505         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34506         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34507         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34508         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34509         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34510         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34511         file.
34512         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34513         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34514         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34515         file.
34516         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34517         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34518         New file.
34519         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34520         New file.
34521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34522         New file.
34523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34524         New file.
34525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34526         New file.
34527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34528         New file.
34529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34530         New file.
34531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34532         New file.
34533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34534         New file.
34535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34536         New file.
34537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34538         New file.
34539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34540         New file.
34541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34542         New file.
34543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34544         file.
34545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34546         New file.
34547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34548         New file.
34549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34550         file.
34551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34552         New file.
34553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34554         New file.
34555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34556         file.
34557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34558         New file.
34559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34560         New file.
34561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34562         New file.
34563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34564         New file.
34565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34566         New file.
34567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34568         New file.
34569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34571         file.
34572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34573         New file.
34574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34575         file.
34576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34577         file.
34578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34579         file.
34580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34581         file.
34582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34583         file.
34584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34585         New file.
34586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34587         file.
34588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34589         file.
34590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34591         New file.
34592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34593         file.
34594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34596         file.
34597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34598         New file.
34599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34600         file.
34601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34602         file.
34603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34604         file.
34605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34606         file.
34607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34608         file.
34609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34610         New file.
34611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34612         file.
34613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34614         file.
34615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34616         New file.
34617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34618         file.
34619         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34620         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34621         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34622         file.
34623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34624         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34625         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34626         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34627         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34628         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34629         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34630         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34631         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34632         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34635         file.
34636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34637         New file.
34638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34639         file.
34640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34641         file.
34642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34643         file.
34644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34645         file.
34646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34647         file.
34648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34649         New file.
34650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34651         New file.
34652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34653         file.
34654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34655         New file.
34656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34657         file.
34658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34660         file.
34661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34662         New file.
34663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34664         file.
34665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34666         file.
34667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34668         file.
34669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34670         file.
34671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34672         file.
34673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34674         New file.
34675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34676         New file.
34677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34678         file.
34679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34680         New file.
34681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34682         file.
34683
34684 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34685
34686         * conform/conformtest.pl: Fix typo in handling typed-constant from
34687         allow-header.
34688
34689 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34690
34691         * README: Cut down references to pre-2.6 Linux kernels and
34692         Linuxthreads.  Update lists of configurations in libc and ports
34693         and sort alphabetically.  Say "or newer" with Linux kernel version
34694         requirements.
34695
34696         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34697
34698 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34699
34700         [BZ #887]
34701         * math/libm-test.inc (logb_test_downward): New test to expose
34702         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34703         rounding mode.
34704
34705 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34706
34707         [BZ #14027]
34708         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34709         to be done.
34710         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34711         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34712
34713 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34714
34715         * sysdeps/unix/i386/brk.S: Remove file.
34716         * sysdeps/unix/i386/dl-brk.S: Likewise.
34717         * sysdeps/unix/i386/pipe.S: Likewise.
34718         * sysdeps/unix/i386/sigreturn.S: Likewise.
34719         * sysdeps/unix/i386/syscall.S: Likewise.
34720         * sysdeps/unix/i386/vfork.S: Likewise.
34721         * sysdeps/unix/i386/wait.S: Likewise.
34722
34723         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34724         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34725
34726         * configure.in (arm*-none*): Do not allow without
34727         --enable-hacker-mode.
34728         (netbsd*): Remove case setting base_os.
34729         (386bsd*): Likewise.
34730         (freebsd*): Likewise.
34731         (bsdi*): Likewise.
34732         (osf*): Likewise.
34733         (sunos*): Likewise.
34734         (ultrix*): Likewise.
34735         (newsos*): Likewise.
34736         (dynix*): Likewise.
34737         (*bsd*): Likewise.
34738         (sysv*): Likewise.
34739         (isc*): Likewise.
34740         (esix*): Likewise.
34741         (sco*): Likewise.
34742         (minix*): Likewise.
34743         (irix4*): Likewise.
34744         (irix6*): Likewise.
34745         (solaris[2-9]*): Likewise.
34746         (none): Likewise.
34747         * configure: Regenerated.
34748
34749 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34750
34751         [BZ #11521]
34752         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34753         overflow or cancellation in calculating denominator.
34754         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34756         down expression to avoid unexpected rounding in newer GCCs.
34757         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34758
34759 2012-04-26  David S. Miller  <davem@davemloft.net>
34760
34761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34762         long-double compat symbols.
34763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34776
34777 2012-04-25  David S. Miller  <davem@davemloft.net>
34778
34779         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34780         HWCAP_* values only after the memory barriers have been defined.
34781         (atomic_full_barrier): Define.
34782         (atomic_read_barrier): Define.
34783         (atomic_write_barrier): Define.
34784
34785 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34786
34787         * shlib-versions: Add libgcc_s version information.
34788         * sysdeps/generic/libgcc_s.h: Remove.
34789         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34790         libgcc_s.h.
34791         * sysdeps/gnu/unwind-resume.c: Likewise.
34792         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34793
34794 2012-04-25  David S. Miller  <davem@davemloft.net>
34795
34796         * sysdeps/unix/sparc/brk.S: Delete.
34797         * sysdeps/unix/sparc/dl-brk.S: Delete.
34798         * sysdeps/unix/sparc/pipe.S: Delete.
34799         * sysdeps/unix/sparc/sysdep.S: Delete.
34800         * sysdeps/unix/sparc/sysdep.h: Delete.
34801         * sysdeps/unix/sparc/vfork.S: Delete.
34802         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34803         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34804         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34805         (ret_ERRVAL, r0, r1, MOVE): Define.
34806         (JUMPTARGET): Remove.
34807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34808         sysdeps/unix/sparc/sysdep.h
34809         (ENTRY, END): Remove.
34810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34811
34812 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34813
34814         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34815         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34816         -DIS_IN_build.
34817
34818         * timezone/README: Update upstream location and email address for
34819         tzcode and tzdata.
34820         * timezone/zdump.c: Update from tzcode 2012b.
34821         * timezone/zic.c: Likewise.
34822
34823         * configure.in (libc_cv_as_needed): Remove test.
34824         * configure: Regenerated.
34825         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34826         conditional definition.
34827         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34828         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34829         * config.make.in (have-as-needed): Remove variable.
34830
34831 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34832             Paul Pluzhnikov  <ppluzhnikov@google.com>
34833
34834         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34835         strings correctly.
34836
34837 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34838
34839         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34840         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34841         * sysdeps/sh/strlen.S: Likewise.
34842
34843 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34844
34845         * sysdeps/unix/fork.S: Remove file.
34846         * sysdeps/unix/i386/fork.S: Likewise.
34847         * sysdeps/unix/sparc/fork.S: Likewise.
34848
34849         * sysdeps/unix/system.c: Remove file.
34850         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34851
34852         * sysdeps/unix/getegid.S: Remove file.
34853         * sysdeps/unix/geteuid.S: Likewise.
34854
34855 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34856
34857         * scripts/check-localplt.awk: New file.
34858         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34859         of diff.
34860         * scripts/data/localplt-generic.data: Add a comment.
34861
34862         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34863         NODE when __dir_mkfile failed.
34864         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34865         Reported by Ludovic Courtès <ludo@gnu.org>.
34866
34867 2012-04-24  Andreas Jaeger  <aj@suse.de>
34868
34869         * Makerules (common-clean): Also remove gen-as-const-headers
34870         files.
34871
34872 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34873
34874         * Makerules (native-compile): Do not change working directory for
34875         build.  Use $(OUTPUT_OPTION) in command.
34876         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34877
34878 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34879
34880         [BZ #13886]
34881         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34882         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34883         * math/libm-test.inc (floor_test): Add more tests.
34884         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34885
34886 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34887
34888         * sysdeps/unix/getdents.c: Remove file.
34889         * sysdeps/unix/sysv/getdents.c: Likewise.
34890         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34891
34892         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34893         sysdeps/unix/mman/syscalls.list.
34894         (mmap): Likewise.
34895         (mprotect): Likewise.
34896         (msync): Likewise.
34897         (munmap): Likewise.
34898         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34899         * sysdeps/unix/mman/syscalls.list: Remove.
34900         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34901
34902         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34903         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34904         * configure: Regenerated.
34905         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34906         $(libgcc_s_suffix).
34907         * config.make.in (libgcc_s_suffix): Remove variable.
34908
34909 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34910
34911         * sysdeps/unix/sysv/gethostname.c: Move to ...
34912         * sysdeps/posix/gethostname.c: ... here.
34913
34914         * sysdeps/unix/execve.S: Remove file.
34915
34916         * sysdeps/unix/_exit.S: Remove file.
34917
34918 2012-04-23  Andreas Jaeger  <aj@suse.de>
34919
34920         [BZ #13739]
34921         * manual/Makefile: Remove make dist support, there's no
34922         need for a stand-alone documentation tar ball.
34923         (TEXI2DVI): Define always, it's not in Makeconfig.
34924         (dist): Removed.
34925         (tar-it): Removed.
34926         (edition): Removed.
34927         (glibc-doc-$(edition).tar): Removed
34928         (%.Z): Removed.
34929         (%.gz): Removed.
34930         (%.uu): Removed.
34931         (ETAGS): Remove, it's in Makeconfig.
34932         (move-if-change): Remove, it's in Makeconfig.
34933
34934 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34935
34936         [BZ #13970]
34937         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34938         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34939         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34940         (strtod_l, strtof_l, strtold_l): Remove __wur.
34941         It is not necessarily an error to ignore strtol's return value.
34942         One can reliably look at the stored endptr to decide whether
34943         the number had valid syntax.
34944
34945 2012-04-21  Andreas Jaeger  <aj@suse.de>
34946
34947         [BZ #13739]
34948         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34949
34950 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34951
34952         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34953         * sysdeps/unix/sysv/Versions: Remove file.
34954
34955 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34956
34957         [BZ #13927]
34958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34959
34960 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34961
34962         [BZ #7064]
34963         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34964         version from __vm86.
34965
34966 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34967
34968         * sysdeps/unix/common/lxstat.c: Remove file.
34969         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34970
34971         * sysdeps/unix/sysv/Makefile: Remove file.
34972
34973         * sysdeps/unix/sysv/direct.h: Remove file.
34974
34975         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34976         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34977         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34978         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34979         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34980         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34981         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34982
34983         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34984
34985         * sysdeps/unix/xmknod.c: Remove file.
34986         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34987
34988         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34989
34990         * sysdeps/unix/sysv/i386/time.S: Remove file.
34991
34992         * sysdeps/unix/fxstat.c: Remove file.
34993         * sysdeps/unix/xstat.c: Likewise.
34994         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34995
34996         * sysdeps/unix/sysv/sigaction.c: Remove file.
34997
34998         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34999         (sysdep_headers): Remove variable.
35000         [termio.h not in sysdep_headers] (generated): Likewise.
35001         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35002         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35003         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35004         * sysdeps/unix/sysv/tcflow.c: Likewise.
35005         * sysdeps/unix/sysv/tcflush.c: Likewise.
35006         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35007         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35008         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35009         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35010         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35011
35012         * sysdeps/unix/siglist.c: Remove file.
35013
35014         * sysdeps/unix/getppid.S: Remove file.
35015
35016         * sysdeps/unix/mkdir.c: Remove file.
35017         * sysdeps/unix/rmdir.c: Likewise.
35018
35019 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35020
35021         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35022         ERR_MAX value.
35023         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35024         errlist-compat value.
35025
35026 2012-04-18  David S. Miller  <davem@davemloft.net>
35027
35028         * sysdeps/generic/memcopy.h (reg_char): Delete.
35029         * debug/strcat_chk.c: Use char, not reg_char.
35030         * debug/strcpy_chk.c: Likewise.
35031         * debug/strncat_chk.c: Likewise.
35032         * debug/strncpy_chk.c: Likewise.
35033         * string/memchr.c: Likewise.
35034         * string/memrchr.c: Likewise.
35035         * string/rawmemchr.c: Likewise.
35036         * string/strcat.c: Likewise.
35037         * string/strchr.c: Likewise.
35038         * string/strchrnul.c: Likewise.
35039         * string/strcmp.c: Likewise.
35040         * string/strcpy.c: Likewise.
35041         * string/strncat.c: Likewise.
35042         * string/strncmp.c: Likewise.
35043         * string/strncpy.c: Likewise.
35044
35045 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35046
35047         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35048         __builtin_memcopy is called when src and dest ranges are known to not
35049         overlap.
35050
35051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35052
35053         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35054         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35055         fwd_align_merge macro call.
35056         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35057         bwd_align_merge macro call.
35058         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35059
35060 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35061
35062         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35063         bwd_align_merge macros.
35064         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35065         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35066         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35067
35068 2012-04-18  David S. Miller  <davem@davemloft.net>
35069
35070         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35071
35072 2012-04-18  Andreas Jaeger  <aj@suse.de>
35073
35074         [BZ# 6794]
35075         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35076         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35077         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35078
35079         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35080         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35081         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35082
35083         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35084         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35085         Adjust for changed ldbl-128 files.
35086
35087         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35088         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35089         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35090
35091 2012-04-17  David S. Miller  <davem@davemloft.net>
35092
35093         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35094
35095 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35096
35097         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35098         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35099         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35100         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35101         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35102         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35103
35104 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35105
35106         [BZ #6794]
35107         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35108         * math/libm-test.inc: Add ilogb errno and exception tests.
35109         * math/w_ilogb.c: New file: ilogb wrapper.
35110         * math/w_ilogbf.c: New file: ilogbf wrapper.
35111         * math/w_ilogbl.c: New file: ilogbl wrapper.
35112         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35113         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35114         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35115         exception being thrown with 0.0 as argument.
35116         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35117         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35118         exception being thrown with 0.0 as argument.
35119         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35120         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35121         exception being thrown with 0.0 as argument.
35122         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35123         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35124         exception being thrown with 0.0 as argument.
35125         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35126         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35127         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35128         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35129         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35130         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35131         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35132         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35133         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35134
35135 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35136
35137         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35138         with altivec.
35139
35140 2012-04-16  Marek Polacek  <polacek@redhat.com>
35141
35142         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35143
35144 2012-04-16  Marek Polacek  <polacek@redhat.com>
35145
35146         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35147         operands of fdivp instruction.
35148
35149 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35150
35151         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35152         * elf/tst-auditmod3b.c: Likewise.
35153         * elf/tst-auditmod4b.c: Likewise.
35154         * elf/tst-auditmod5b.c: Likewise.
35155         * elf/tst-auditmod6b.c: Likewise.
35156         * elf/tst-auditmod6c.c: Likewise.
35157         * elf/tst-auditmod7b.c: Likewise.
35158         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35159         * sysdeps/x86_64/preconfigure.in: Likewise.
35160         * sysdeps/x86_64/preconfigure: Regenerated.
35161
35162 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35163
35164         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35165         __ILP32__.
35166
35167 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35168
35169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35170         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35171
35172 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35173
35174         [BZ #13973]
35175         * locale/iso-639.def: Fix gl language name. Spotted by
35176         Yaron Shahrabani.
35177
35178 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35179
35180         [BZ #2074]
35181         * libio/libio.h (__io_write_fn): Update comment.
35182
35183 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35184
35185         [BZ #2074]
35186         * stdio.texi (Hook Functions): The user provided writer function
35187         is not allowed to return -1.
35188
35189 2012-04-11  David S. Miller  <davem@davemloft.net>
35190
35191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35192
35193 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35194
35195         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35196         Add a leading slash to rtkaio.
35197
35198 2012-04-11  Jim Meyering  <meyering@redhat.com>
35199
35200         [BZ #11959]
35201         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35202         It is not necessarily an error to ignore fwrite's return
35203         value.  One can reliably use ferror to test for errors after
35204         the fact.
35205
35206 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35207
35208         * bits/types.h (__snseconds_t): New type.
35209         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35210
35211         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35212         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35213         (__SNSECONDS_T_TYPE): Likewise.
35214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35215         (__SNSECONDS_T_TYPE): Likewise.
35216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35217         (__SNSECONDS_T_TYPE): Likewise.
35218
35219 2012-04-10  Andreas Jaeger  <aj@suse.de>
35220
35221         [BZ #2636]
35222         * manual/time.texi (Processor Time): Return type of times is
35223         elapsed real time since an arbitrary point in the past.
35224         (CPU Time): Move CLK_TCK from here...
35225         (Processor Time): ...to here.  Correct description.
35226         * manual/conf.texi (Constants for Sysconf): Correct description of
35227         _SC_CLK_TCK.
35228
35229 2012-04-10  David S. Miller  <davem@davemloft.net>
35230
35231         [BZ #13967]
35232         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35233         where the is a gap between DT_REL(A) and DT_JMPREL.
35234
35235 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35236
35237         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35238         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35239         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35240
35241 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35242
35243         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35244         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35245         (dl_main): Handle --inhibit-cache.
35246         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35247         _dl_inhibit_cache.
35248         * elf/dl-load.c (_dl_map_object): Use it.
35249         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35250
35251 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35252
35253         [BZ #13872]
35254         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35255         (__ieee754_powl): Saturate large exponents rather than testing for
35256         overflow of y*log2(x).
35257         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35258         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35259         exceptions.
35260
35261         [BZ #11521]
35262         * math/s_ctan.c: Include <float.h>.
35263         (__ctan): Avoid internal overflow or cancellation in calculating
35264         denominator.
35265         * math/s_ctanf.c: Likewise.
35266         * math/s_ctanl.c: Likewise.
35267         * math/s_ctanh.c: Likewise.
35268         * math/s_ctanhf.c: Likewise.
35269         * math/s_ctanhl.c: Likewise.
35270         * math/libm-test.inc (ctan_test): Add more tests.
35271         (ctanh_test): Likewise.
35272         * sysdeps/i386/fpu/libm-test-ulps: Update.
35273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35274
35275 2012-04-09  Andreas Jaeger  <aj@suse.de>
35276
35277         [BZ #6894]
35278         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35279         is an optional BSD extension.
35280
35281         [BZ #10254]
35282         * manual/stdio.texi (Opening Streams): Document additional fopen
35283         parameters.
35284
35285 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35286
35287         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35288         %eax without telling the compiler.
35289
35290 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35291
35292         [BZ # 13963]
35293         * manual/install.texi: Use sourceware.org.
35294
35295 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35296
35297         [BZ #13873]
35298         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35299         (__ieee754_pow): Generate overflow and underflow using huge*huge
35300         and tiny*tiny rather than just returning constant infinity or zero
35301         for large exponents.
35302         * math/libm-test.inc (pow_test): Require overflow exceptions for
35303         applicable cases of large exponents.
35304
35305         [BZ #706]
35306         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35307         (__ieee754_pow): Use iterative multiplication algorithm only for
35308         integer exponents with absolute value below 1024.  Check for odd
35309         integer exponents when using algorithm for real exponents.
35310         * math/libm-test.inc (pow_test): Add more tests.
35311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35312
35313 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35314
35315         [BZ #13705]
35316         * math/libm-test.inc (exp_test): Do not allow overflow exception
35317         on underflow test.
35318
35319 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35320
35321         [BZ #13705]
35322         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35323         instead of __kernel_standard_f.
35324
35325 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35326
35327         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35328         * sysdeps/x86_64/memset_chk.S: Likewise.
35329
35330 2012-04-08  Andreas Jaeger  <aj@suse.de>
35331
35332         [BZ #10153]
35333         * manual/startup.texi (Environment Access): Describe return value
35334         for putenv and setenv.
35335
35336         [BZ #6895]
35337         * manual/filesys.texi (Directory Entries): Add description for
35338         DT_LNK.
35339
35340         [BZ #6890]
35341         * manual/filesys.texi (Directory Entries): Clarify that it's file
35342         system not operating system in the description of DT_UNKNOWN.
35343
35344         [BZ #6578]
35345         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35346
35347 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35348
35349         [BZ #6649]
35350         * manual/llio.texi (Opening and Closing Files): Add cross
35351         reference to explain mode argument.
35352
35353 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35354
35355         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35356         * sysdeps/x86_64/memset_chk.S: Likewise.
35357
35358 2012-04-07  David S. Miller  <davem@davemloft.net>
35359
35360         * elf/elf.h (R_SPARC_WDISP10): Define.
35361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35362         R_SPARC_SIZE32.
35363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35364         R_SPARC_SIZE64 and R_SPARC_H34.
35365
35366 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35367
35368         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35369         conditions and remove no longer applicable assertion.
35370
35371 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35372
35373         * bits/byteswap.h: Include <features.h>.
35374         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35375         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35376
35377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35378
35379         * bits/byteswap.h (__bswap_16): Removed.
35380         Include <bits/byteswap-16.h> to get __bswap_16.
35381         * sysdeps/i386/bits/byteswap.h: Likewise.
35382         * sysdeps/s390/bits/byteswap.h: Likewise.
35383         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35384         * bits/byteswap-16.h: New file.
35385         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35386         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35387         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35388         * string/Makefile (headers): Add bits/byteswap-16.h.
35389
35390 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35391
35392         [BZ #13895]
35393         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35394         extra indirection.
35395         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35396         * nss/tst-nss-static.c: New.
35397
35398 2012-04-06  Robert Millan  <rmh@gnu.org>
35399
35400         [BZ #6486]
35401         * manual/llio.texi (File Position Primitive): lseek
35402         refers to WHENCE when it really means OFFSET.
35403
35404 2012-04-06  Andreas Jaeger  <aj@suse.de>
35405
35406         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35407         strncmp declarations.
35408
35409         * abilist/libc.abilist: Add __poll and __ppoll.
35410
35411 2012-04-05  David S. Miller  <davem@davemloft.net>
35412
35413         * scripts/check-local-headers.sh: Accept a host triplet in the
35414         path matched by the exclude regexp.
35415
35416         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35417         definition.
35418         * sysdeps/powerpc/powerpc32/dl-machine.h
35419         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35420         * sysdeps/s390/s390-32/dl-machine.h
35421         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35422         * sysdeps/sparc/sparc32/dl-machine.h
35423         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35424         * sysdeps/sparc/sparc64/dl-machine.h
35425         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35426
35427         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35428         lazy binding.
35429         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35430         undefined symbol errors.
35431
35432         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35433         DT_NEEDED entries.
35434
35435 2012-04-05  Michael Matz  <matz@suse.de>
35436
35437         [BZ #13592]
35438         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35439
35440 2012-04-05  Andreas Jaeger  <aj@suse.de>
35441
35442         [BZ #13908]
35443         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35444         comment.
35445
35446 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35447
35448         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35449         which ROUND is no valid rounding mode.
35450
35451 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35452
35453         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35454         read again.
35455         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35456
35457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35458
35459         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35460         an exception using FPU order intentionally.
35461
35462 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35463
35464         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35465         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35466         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35467         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35468
35469 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35470
35471         [BZ #12340]
35472         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35473         EINVAL when BUFLEN is too smal.
35474
35475 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35476
35477         [BZ #13553]
35478         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35479         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35480
35481 2012-04-03  Andreas Jaeger  <aj@suse.de>
35482
35483         [BZ #13938]
35484         * manual/setjmp.texi (System V contexts): Fix sentence.
35485
35486         [BZ #13926]
35487         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35488         New macro for this case.
35489         [!__GNUC__] (__bswap_64): New inline function for this case.
35490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35491         * bits/byteswap.h: Likewise.
35492         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35493         ull, guard with __GLIBC_HAVE_LONG_LONG.
35494
35495         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35496         __GLIBC_HAVE_LONG_LONG.
35497
35498         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35499         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35500
35501 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35502
35503         [BZ #13691]
35504         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35505         inptr and inend, rather than using last_ch.
35506
35507 2012-04-02  David S. Miller  <davem@davemloft.net>
35508
35509         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35510         * stdio-common/printf-parse.h (read_int): Change return type to
35511         'int', return -1 on INT_MAX overflow.
35512         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35513         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35514         overflows INT_MAX.  Check for overflow of in-format-string precision
35515         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35516         SIZE_MAX not INT_MAX for integer overflow test.
35517         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35518         skip the construct in the format string but do not record anything.
35519         * stdio-common/bug22.c: Adjust to test both width/prevision
35520         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35521         explicitly for proper errno values.
35522
35523 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35524
35525         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35526         CHAR_MAX.
35527         * string/test-strcmp.c [! WIDE]: Likewise.
35528         * time/tst-mktime2.c: Likewise for INT_MAX.
35529         * string/test-string.h: #include <sys/param.h> for MIN.
35530
35531         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35532         * sysdeps/i386/init-first.c (init): Likewise.
35533         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35534         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35535         * sysdeps/sh/init-first.c (init): Likewise.
35536
35537 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35538
35539         * po/ru.po: Update from translation team.
35540         * po/vi.po: Likewise.
35541
35542 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35543
35544         * resolv/nss_dns/dns-host.c: Merge copyright years.
35545
35546 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35547
35548         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35549         Optimize memcpy with prefetch if
35550         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35551         src, dst pointers have unequal 16 byte alignments.
35552
35553 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35554
35555         [BZ #13928]
35556         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35557         from a CNAME entry and return the minimum ttl for the query.
35558         (gaih_getanswer_slice): Likewise.
35559
35560 2012-03-30  Jeff Law  <law@redhat.com>
35561
35562         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35563         due to long keys.
35564         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35565         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35566
35567         * resolv/nss_dns/dns-host.c: Update copyright year.
35568
35569 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35570
35571         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35572         requests to save a system call.  Fix check that all bytes are sent.
35573
35574         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35575         comments for sendmmsg.
35576
35577 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35578
35579         [BZ #13691]
35580         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35581         with only 1 character between 0x0041 and 0x01b0.
35582         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35583         * wcsmbs/tst-mbsnrtowcs.c: New file.
35584
35585 2012-03-29  David S. Miller  <davem@davemloft.net>
35586
35587         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35588         small copies by hand.
35589
35590 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35591
35592         [BZ #13761]
35593         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35594         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35595         group memberships.
35596
35597 2012-03-28  David S. Miller  <davem@davemloft.net>
35598
35599         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35600         that branches into memcpy.
35601         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35603         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35604         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35606         bits.
35607         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35608         implementation too.
35609         * sysdeps/sparc/mempcpy.S: New file.
35610
35611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35612         the IFUNC routine in the libc case.
35613         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35614
35615         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35616         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35617         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35618         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35619         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35620         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35621         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35622         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35623
35624         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35625         loop to 256 bytes instead of 64 bytes and fix test signedness.
35626
35627         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35628         * sysdeps/sparc/sparc32/Makefile: rather than here...
35629         * sysdeps/sparc/sparc64/Makefile: and here.
35630
35631 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35632
35633         * malloc/mallocbug.c: Avoid warnings about unused variables.
35634
35635 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35636
35637         [BZ #13760]
35638         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35639         in the right place. Discard and retry query if response is
35640         larger than input buffer size.
35641
35642 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35643
35644         [BZ #369]
35645         [BZ #2678]
35646         [BZ #3866]
35647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35648         x for large integer exponent.
35649         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35650         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35651         sign of result as needed afterwards.
35652         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35653         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35654         result for underflowing pow the same as for overflow.
35655         (__kernel_standard_l): Handle powl overflow and underflow here
35656         rather than calling __kernel_standard.
35657         * math/libm-test.inc (pow_test): Add more tests.
35658
35659         [BZ #3868]
35660         [BZ #13879]
35661         [BZ #13910]
35662         [BZ #13911]
35663         [BZ #13912]
35664         [BZ #13913]
35665         [BZ #13915]
35666         [BZ #13916]
35667         [BZ #13917]
35668         [BZ #13918]
35669         [BZ #13919]
35670         [BZ #13920]
35671         [BZ #13921]
35672         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35673         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35674         (__kernel_standard_l): New function.
35675         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35676         __kernel_standard.
35677         * math/w_acosl.c (__acosl): Likewise.
35678         * math/w_asinl.c (__asinl): Likewise.
35679         * math/w_atan2l.c (__atan2l): Likewise.
35680         * math/w_atanhl.c (__atanhl): Likewise.
35681         * math/w_coshl.c (__coshl): Likewise.
35682         * math/w_exp10l.c (__exp10l): Likewise.
35683         * math/w_exp2l.c (__exp2l): Likewise.
35684         * math/w_fmodl.c (__fmodl): Likewise.
35685         * math/w_hypotl.c (__hypotl): Likewise.
35686         * math/w_j0l.c (__j0l, __y0l): Likewise.
35687         * math/w_j1l.c (__j1l, __y1l): Likewise.
35688         * math/w_jnl.c (__jnl, __ynl): Likewise.
35689         * math/w_lgammal.c (__lgammal): Likewise.
35690         * math/w_log10l.c (__log10l): Likewise.
35691         * math/w_log2l.c (__log2l): Likewise.
35692         * math/w_logl.c (__logl): Likewise.
35693         * math/w_powl.c (__powl): Likewise.
35694         * math/w_remainderl.c (__remainderl): Likewise.
35695         * math/w_scalbl.c (sysv_scalbl): Likewise.
35696         * math/w_sinhl.c (__sinhl): Likewise.
35697         * math/w_sqrtl.c (__sqrtl): Likewise.
35698         * math/w_tgammal.c (__tgammal): Likewise.
35699         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35700         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35701         * math/libm-test.inc (acos_test): Add more tests.
35702         (acosh_test): Likewise.
35703         (asin_test): Likewise.
35704         (atanh_test): Likewise.
35705         (exp_test): Likewise.
35706         (exp10_test): Likewise.
35707         (exp2_test): Likewise.
35708         (expm1_test): Likewise.
35709         (lgamma_test): Likewise.
35710         (log_test): Likewise.
35711         (log10_test): Likewise.
35712         (log1p_test): Likewise.
35713         (log2_test): Likewise.
35714         (pow_test): Do not allow some spurious overflow exceptions.
35715         (sqrt_test): Add more tests.
35716         (tgamma_test): Likewise.
35717         (y0_test): Likewise.
35718         (y1_test): Likewise.
35719         (yn_test): Likewise.
35720
35721 2012-03-27  Anton Blanchard  <anton@samba.org>
35722
35723         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35724         MAP_HUGETLB.
35725         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35727         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35728
35729 2012-03-27  David S. Miller  <davem@davemloft.net>
35730
35731         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35732
35733         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35734         have-as-vis3 check.
35735
35736 2012-03-27  Andreas Jaeger  <aj@suse.de>
35737
35738         * sysdeps/x86_64/elf/configure.in: Moved to ...
35739         * sysdeps/x86_64/configure.in: ... here.
35740         * sysdeps/x86_64/elf/start.S: Moved to ...
35741         * sysdeps/x86_64/start.S: ... here.
35742         * sysdeps/x86_64/elf/configure: Delete.
35743
35744         * sysdeps/x86_64/configure.in: Merge contents from
35745         sysdeps/i386/configure.in (without i686 check).
35746
35747         * sysdeps/i386/elf/Versions: Merge into ...
35748         * sysdeps/i386/Versions: ... this.
35749         * sysdeps/i386/elf/Versions: Delete file.
35750         * sysdeps/i386/elf/start.S: Moved to ...
35751         * sysdeps/i386/start.S: ...here.
35752         * sysdeps/i386/elf/configure.in: Merge into...
35753         * sysdeps/i386/configure.in: ...here.
35754         * sysdeps/i386/elf/configure.in: Delete file.
35755         * sysdeps/i386/elf/configure: Delete file.
35756
35757         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35758         * debug/backtracesyms.c: ... here.
35759         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35760         * debug/backtracesymsfd.c: ... here.
35761         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35762         * sysdeps/generic/ifunc-sel.h: ... here.
35763
35764         * sysdeps/unix/i386/start.c: Delete file.
35765         * sysdeps/unix/sparc/start.c: Delete file.
35766         * sysdeps/unix/start.c: Delete file.
35767
35768         * sysdeps/sh/elf/configure.in: Moved to ...
35769         * sysdeps/sh/configure.in: ... here.
35770         * sysdeps/sh/elf/start.S: Moved to ...
35771         * sysdeps/sh/start.S: ... here.
35772         * sysdeps/sh/elf/configure: Delete file.
35773
35774         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35775         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35776         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35777         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35778         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35779         * sysdeps/powerpc/powerpc64/start.S: here.
35780         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35781         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35782         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35783         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35784         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35785
35786         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35787         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35788         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35789         * sysdeps/powerpc/powerpc32/start.S: ... here.
35790         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35791         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35792         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35793
35794         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35795         * sysdeps/powerpc/ifunc-sel.h: ... here.
35796         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35797         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35798
35799         * sysdeps/sparc/elf/configure.in: Moved to ...
35800         * sysdeps/sparc/configure.in: ... here.
35801         * sysdeps/sparc/elf/configure: Delete file.
35802         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35803         * sysdeps/sparc/sparc32/start.S: ... here.
35804         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35805         * sysdeps/sparc/sparc64/start.S: ... here.
35806         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35807         * sysdeps/sparc/sparc32/Makefile: ... this.
35808         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35809         * sysdeps/sparc/sparc64/Makefile: ... this.
35810
35811         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35812         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35813         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35814         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35815         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35816         * sysdeps/s390/s390-32/setjmp.S: ... here.
35817         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35818         * sysdeps/s390/s390-32/configure.in: ... here.
35819         * sysdeps/s390/s390-32/elf/configure: Delete file.
35820         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35821         * sysdeps/s390/s390-32/start.S: ... here.
35822
35823         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35824         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35825         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35826         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35827         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35828         * sysdeps/s390/s390-64/setjmp.S: ... here.
35829         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35830         * sysdeps/s390/s390-64/configure.in: ... here
35831         * sysdeps/s390/s390-64/elf/configure: Delete file.
35832         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35833         * sysdeps/s390/s390-64/start.S: ... here.
35834         * sysdeps/s390/s390-64/elf/configure: Delete.
35835
35836         * configure.in: Remove support for elf directories in sysdeps.
35837
35838         * configure: Regenerated.
35839         * sysdeps/i386/configure: Regenerated.
35840         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35841         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35842         * sysdeps/s390/s390-32/configure: Regenerated.
35843         * sysdeps/s390/s390-64/configure: Regenerated.
35844         * sysdeps/sh/configure: Regenerated.
35845         * sysdeps/sparc/configure: Regenerated.
35846         * sysdeps/x86_64/configure: Regenerated.
35847
35848 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35849
35850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35851
35852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35853         denormal result into account.
35854
35855 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35856
35857         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35858         Reported by Allan McRae <allan@archlinux.org>.
35859
35860 2012-03-23  Jeff Law  <law@redhat.com>
35861
35862         * nss/getnssent.c (__nss_getent): Fix typo.
35863
35864 2012-03-23  David S. Miller  <davem@davemloft.net>
35865
35866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35867
35868 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35869
35870         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35871         to pad to uint64_t for each field.
35872         (dl_tls_index): Replace unsigned long with uint64_t.
35873
35874 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35875         Paul Pluzhnikov  <ppluzhnikov@google.com>
35876
35877         [BZ #6528]
35878         * grp/Makefile (otherlibs): Don't set it.
35879         * inet/Makefile (otherlibs): Likewise.
35880         * login/Makefile (otherlibs): Likewise.
35881         * nscd/Makefile (otherlibs): Likewise.
35882         * posix/Makefile (otherlibs): Likewise.
35883         * pwd/Makefile (otherlibs): Likewise.
35884         * rt/Makefile (otherlibs): Likewise.
35885         * sunrpc/Makefile (otherlibs): Likewise.
35886         * nss/Makefile (otherlibs): Likewise.
35887         Add libnss_files to routines and static-only-routines.
35888         ($(objpfx)getent): Remove rule.
35889         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35890         static-only-routines.
35891
35892 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35893
35894         [BZ #13892]
35895         * math/s_cexp.c: Include <float.h>.
35896         (__cexp): Handle exp result overflowing not necessarily
35897         overflowing both real and imaginary parts of result.
35898         * math/s_cexpf.c: Likewise.
35899         * math/s_cexpl.c: Likewise.
35900         * math/libm-test.inc (cexp_test): Add more tests.
35901         * sysdeps/i386/fpu/libm-test-ulps: Update.
35902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35903
35904 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35905
35906         * include/link.h (ELFW): New macro.
35907         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35908         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35909
35910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35911
35912         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35913         with uint64_t.
35914
35915 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35916
35917         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35918         declaration.
35919         (struct La_x32_retval): Likewise.
35920
35921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35922
35923         * sysdeps/x86_64/preconfigure.in: New file.
35924         * sysdeps/x86_64/preconfigure: New generated file.
35925
35926 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35927
35928         [BZ #13824]
35929         * math/e_exp2l.c: Include <float.h>.
35930         (__ieee754_exp2l): Handle overflow and underflow cases
35931         separately.  Only pass fractional part of argument to
35932         __ieee754_expl.
35933         * math/libm-test.inc (exp2_test): Add more tests.
35934
35935         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35936         negating x to take absolute value.
35937         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35938         Likewise.
35939         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35940         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35941         Likewise.
35942         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35943         computing low part if x was negated.
35944         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35945
35946 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35947
35948         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35949         la_x32_gnu_pltexit.
35950         (pltexit): Cast int_retval to ptrdiff_t.
35951         * elf/tst-auditmod3b.c: Likewise.
35952         * elf/tst-auditmod4b.c: Likewise.
35953         * elf/tst-auditmod5b.c: Likewise.
35954         * elf/tst-auditmod6b.c: Likewise.
35955         * elf/tst-auditmod6c.c: Likewise.
35956         * elf/tst-auditmod7b.c: Likewise.
35957
35958         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35959         and x32_gnu_pltexit.
35960
35961         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35962         __ELF_NATIVE_CLASS.
35963         (La_x32_regs): New macro.
35964         (La_x32_retval): Likewise.
35965         (la_x32_gnu_pltenter): New function prototype.
35966         (la_x32_gnu_pltexit): Likewise.
35967
35968 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35969
35970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35971         exponent.
35972
35973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35974
35975         * configure.in (libc_cv_cc_nofma): Check for option to disable
35976         generation of FMA instructions.
35977         * configure: Regenerate.
35978         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35979         * sysdeps/ieee754/dbl-64/Makefile: New file.
35980         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35981         Remove brandred-fma4.
35982         (CFLAGS-brandred-fma4.c): Remove.
35983         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35984         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35985         define.
35986         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35987         define.
35988
35989 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35990
35991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35992         LLONG_MAX != LONG_MAX.
35993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35994         (_fitoa_word): Likewise.
35995         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35996         LLONG_MAX != LONG_MAX.
35997         * stdio-common/_itowa.h: Include <_itoa.h>.
35998         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35999         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36000         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36001         only if not defined.
36002         (_ITOA_WORD_TYPE): Likewise.
36003         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36004         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36005
36006 2012-03-21  David S. Miller  <davem@davemloft.net>
36007
36008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36009
36010 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36011
36012         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36013         of x86_64 when setting libc_cv_slibdir, libdir and
36014         libc_cv_localedir.
36015         * sysdeps/unix/sysv/linux/configure: Regenerated.
36016
36017 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36018
36019         * manual/lang.texi (Old Varargs): Remove section.
36020         (How Variadic): Update menu.
36021         (va_start): Do not mention varargs.h.
36022
36023 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36024             Joseph Myers  <joseph@codesourcery.com>
36025
36026         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36027         link test.
36028         * configure: Regenerated.
36029
36030 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36031
36032         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36033         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36034         conformtest.pl
36035
36036 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36037
36038         * NOTES: Remove.
36039         * Makefile (files-for-dist): Remove NOTES.
36040         (NOTES): Remove rule.
36041         * README: Don't refer to NOTES.
36042         * manual/creature.texi: Don't include macros.texi.
36043         * manual/intro.texi (creature.texi): Remove comment referring to
36044         NOTES.
36045
36046         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36047         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36048         * configure: Regenerated.
36049         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36050         LIBC_TRY_CC_OPTION.
36051         (libc_cv_as_i686): Likewise.
36052         (libc_cv_cc_avx): Likewise.
36053         (libc_cv_cc_sse2avx): Likewise.
36054         (libc_cv_cc_fma4): Likewise.
36055         (libc_cv_cc_novzeroupper): Likewise.
36056         * sysdeps/i386/configure: Regenerated.
36057
36058         [BZ #13883]
36059         * sysdeps/i386/fpu/s_cexp.S: Remove.
36060         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36061         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36062         * math/libm-test.inc (cexp_test): Add more tests.
36063         * sysdeps/i386/fpu/libm-test-ulps: Update.
36064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36065
36066 2012-03-21  Allan McRae  <allan@archlinux.org>
36067
36068         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36069
36070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36071
36072         [BZ #13871]
36073         * math/w_exp2.c: Do not include <float.h>.
36074         (o_threshold, u_threshold): Remove.
36075         (__exp2): Calculate result before checking finiteness and calling
36076         __kernel_standard.
36077         * math/w_exp2f.c: Likewise.
36078         * math/w_exp2l.c: Likewise.
36079         * math/libm-test.inc (exp2_test): Require overflow exception for
36080         1e6 input.
36081
36082         [BZ #3866]
36083         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36084         range of signed 64-bit integers before using fistpll.  Remove
36085         checks for whether integers fit in mantissa bits.
36086         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36087         the range of signed 32-bit integers before using fistpl.  Remove
36088         checks for whether integers fit in mantissa bits.
36089         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36090         (__ieee754_powl): Test for y outside the range of signed 64-bit
36091         integers before using fistpll.  Reduce 64-bit values to 63-bit
36092         ones as needed.
36093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36094         divide-by-zero is raised for zero to large negative powers.
36095         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36096         (__ieee754_powl): Test for y outside the range of signed 64-bit
36097         integers before using fistpll.  Reduce 64-bit values to 63-bit
36098         ones as needed.
36099         * math/libm-test.inc (pow_test): Add more tests.
36100
36101 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36102
36103         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36104         <stdio-common/_itoa.h>.
36105         * debug/segfault.c: Likewise.
36106         * elf/dl-cache.c: Likewise.
36107         * elf/dl-minimal.c: Likewise.
36108         * elf/dl-misc.c: Likewise.
36109         * elf/dl-sysdep.c: Likewise.
36110         * elf/dl-version.c: Likewise.
36111         * elf/rtld.c: Likewise.
36112         * hurd/hurdsock.c: Likewise.
36113         * hurd/lookup-retry.c: Likewise.
36114         * malloc/malloc.c: Likewise.
36115         * malloc/mtrace.c: Likewise.
36116         * nscd/nscd_getgr_r.c: Likewise.
36117         * nscd/nscd_getpw_r.c: Likewise.
36118         * nscd/nscd_getserv_r.c: Likewise.
36119         * posix/getopt_init.c: Likewise.
36120         * posix/wordexp.c: Likewise.
36121         * stdio-common/_itoa.c: Likewise.
36122         * stdio-common/printf_fphex.c: Likewise.
36123         * stdio-common/vfprintf.c: Likewise.
36124         * string/_strerror.c: Likewise.
36125         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36126         * sysdeps/i386/i686/hp-timing.h: Likewise.
36127         * sysdeps/mach/_strerror.c: Likewise.
36128         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36129         * sysdeps/mach/hurd/sethostid.c: Likewise.
36130         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36131         * sysdeps/mach/xpg-strerror.c: Likewise.
36132         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36133         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36134         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36135         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36136         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36137         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36138         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36139         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36140         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36141         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36142         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36143         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36144         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36145         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36146         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36147         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36148         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36149         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36150         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36151         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36152         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36153
36154         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36155
36156         * stdio-common/_itoa.h: Moved to ...
36157         * sysdeps/generic/_itoa.h: Here.
36158
36159         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36160
36161         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36162         instead of "_itoa.h" and "_itowa.h".
36163         * stdio-common/vfprintf.: Likewise.
36164
36165 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36166
36167         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36168         <bits/wordsize.h>.
36169         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36170         (__signbit): Likwise.
36171         (llrintf): Likwise.
36172         (llrint): Likwise.
36173
36174 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36175
36176         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36177         __WORDSIZE != 64.
36178
36179 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36180
36181         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36182         OVERFLOW_EXCEPTION_OK.
36183         * math/libm-test.inc ("Philosophy"): Update comment about
36184         exception testing.
36185         (OVERFLOW_EXCEPTION): Define.
36186         (OVERFLOW_EXCEPTION_OK): Likewise.
36187         (INVALID_EXCEPTION_OK): Renumber.
36188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36189         (IGNORE_ZERO_INF_SIGN): Likewise.
36190         (test_exceptions): Handle FE_OVERFLOW.
36191         (exp10_test): Expect overflow exceptions.
36192         (exp2_test): Likewise.
36193         (expm1_test): Likewise.
36194         (nextafter_test): Likewise.
36195         (pow_test): Likewise.
36196         (scalbn_test): Likewise.
36197         (scalbln_test): Likewise.
36198
36199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36200
36201         * sysdeps/x86_64/bits/atomic.h
36202         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36203         64bit integer.
36204         (atomic_exchange_acq): Likewise.
36205         (__arch_exchange_and_add_body): Likewise.
36206         (__arch_add_body): Likewise.
36207         (atomic_add_negative): Likewise.
36208         (atomic_add_zero): Likewise.
36209
36210 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36211
36212         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36213         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36214
36215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36216
36217         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36218         Check __x86_64__ instead of __WORDSIZE.
36219
36220 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36221
36222         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36223
36224 2012-03-19  David S. Miller  <davem@davemloft.net>
36225
36226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36227
36228         * sysdeps/sparc/fpu/fenv_private.h: New file.
36229         * sysdeps/sparc/fpu/math_private.h: Use it.
36230         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36231         Remove.
36232         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36233         (libc_feholdexcept_setroundl): Remove.
36234         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36235         Remove.
36236         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36237         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36238
36239 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36240
36241         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36242         int64_t instead of long int.
36243         (INSERT_WORDS64): Likwise.
36244
36245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36246
36247         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36248         _Unwind_GetCFA return to _Unwind_Ptr first.
36249
36250 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36251
36252         [BZ #13629]
36253         * math/s_clog.c: Include <float.h>.
36254         (__clog): Scale large or subnormal inputs.
36255         * math/s_clogf.c: Likewise.
36256         * math/s_clogl.c: Likewise.
36257         * math/s_clog10.c: Include <float.h>.
36258         (M_LOG10_2): Define.
36259         (__clog10): Scale large or subnormal inputs.
36260         * math/s_clog10f.c: Likewise.
36261         * math/s_clog10l.c: Likewise.
36262         * math/libm-test.inc (clog_test): Add more tests.
36263         (clog10_test): Likewise.
36264         * sysdeps/i386/fpu/libm-test-ulps: Update.
36265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36266
36267         [BZ #11451]
36268         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36269         x and y.
36270         * math/libm-test.inc (atan2_test): Add another test.
36271
36272         * Makerules (common-objdir-compile): Remove.
36273         * sysdeps/unix/Makefile (config-generated): Do not add
36274         $(unix-generated) to variable.
36275         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36276         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36277         Remove rule.
36278         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36279         Likewise.
36280         [generic bits/local_lim.h] (before-compile): Do not append to
36281         variable.
36282         [generic bits/local_lim.h] (common-generated): Likewise.
36283         [generic sys/param.h] (before-compile): Do not append to variable.
36284         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36285         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36286         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36287         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36288         include.
36289         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36290         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36291         [generic sys/param.h] ($(addprefix
36292         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36293         [generic sys/param.h] (common-generated): Do not append to
36294         variable.
36295         [generic sys/param.h] (sysdep_headers): Likewise.
36296         [generic bits/errno.h] (before-compile): Do not append to
36297         variable.
36298         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36299         rule.
36300         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36301         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36302         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36303         [generic bits/errno.h] (common-generated): Do not append to
36304         variable.
36305         [generic bits/ioctls.h] (before-compile): Do not append to
36306         variable.
36307         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36308         rule.
36309         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36310         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36311         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36312         rule.
36313         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36314         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36315         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36316         [generic bits/ioctls.h] (common-generated): Do not append to
36317         variable.
36318         [generic sys/syscall.h] (syscall.h): Remove variable.
36319         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36320         rule.
36321         [generic sys/syscall.h] (before-compile): Do not append to
36322         variable.
36323         [generic sys/syscall.h] (common-generated): Likewise.
36324         * sysdeps/unix/errnos-tmpl.c: Remove file.
36325         * sysdeps/unix/errnos.awk: Likewise.
36326         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36327         * sysdeps/unix/ioctls.awk: Likewise.
36328         * sysdeps/unix/mk-local_lim.c: Likewise.
36329         * sysdeps/unix/snarf-ioctls: Likewise.
36330
36331 2012-03-19  Richard Henderson  <rth@twiddle.net>
36332
36333         * sysdeps/i386/fpu/fenv_private.h: New file.
36334         * sysdeps/i386/fpu/math_private.h: Use it.
36335         (math_opt_barrier, math_force_eval): Remove.
36336         (libc_feholdexcept_setround_53bit): Remove.
36337         (libc_feupdateenv_53bit): Remove.
36338         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36339         (math_opt_barrier, math_force_eval): Remove.
36340         (libc_feholdexcept): Remove.
36341         (libc_feholdexcept_setround): Remove.
36342         (libc_fetestexcept, libc_fesetenv): Remove.
36343         (libc_feupdateenv_test): Remove.
36344         (libc_feupdateenv, libc_feholdsetround): Remove.
36345         (libc_feresetround): Remove.
36346
36347         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36348         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36349
36350         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36351         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36352         (libc_feupdateenv_testl): New.
36353         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36354         (libc_feupdateenv_testf): New.
36355         (libc_feupdateenv): Use libc_feupdateenv_test.
36356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36357         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36358
36359         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36360         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36361         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36362         (libc_feresetround_noex): New.
36363         (libc_feresetround_noexf): New.
36364         (libc_feresetround_noexl): New.
36365         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36366         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36367         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36369         SET_RESTORE_ROUND.
36370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36371         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36372         (__cos): Likewise.
36373         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36374         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36375         SET_RESTORE_ROUND_NOEX.
36376         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36377         SET_RESTORE_ROUND_NOEXF.
36378         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36379         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36380         (libc_feholdsetroundf): New.
36381         (libc_feresetround, libc_feresetroundf): New.
36382
36383         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36384         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36385         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36386
36387         * sysdeps/generic/math_private.h: Include <fenv.h>.
36388         (default_libc_feholdexcept): New.
36389         (default_libc_feholdexcept_setround): New.
36390         (default_libc_fesetenv, default_libc_feupdateenv): New.
36391         (libc_feholdexcept): Only define if undefined.
36392         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36393         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36394         (libc_feholdexcept_setroundl): Likewise.
36395         (libc_feholdexcept_setround_53bit): Likewise.
36396         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36397         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36398         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36399         (libc_feupdateenv_53bit): Likewise.
36400         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36401         (libc_feholdexcept): Convert from macro to inline function.
36402         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36403         (libc_fesetenv, libc_feupdateenv): Likewise.
36404
36405         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36406         not previously defined.
36407         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36408         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36409         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36410         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36411         * sysdeps/ieee754/flt-32/math_private.h: New file.
36412         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36413         math_private.h below SET_FLOAT_WORD.
36414         (__isnan, __isinf_ns, __finite): Remove.
36415         (__isnanf, __isinf_nsf, __finitef): Remove.
36416
36417 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36418
36419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36420
36421 2012-03-17  David S. Miller  <davem@davemloft.net>
36422
36423         [BZ #6471]
36424         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36425         for 2.16.
36426
36427 2012-03-16  David S. Miller  <davem@davemloft.net>
36428
36429         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36430         warnings.
36431
36432         [BZ #6471]
36433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36434         properly.
36435         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36436         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36437         sysdep_routines when subdir is sysvipc.
36438         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36439         __getshmlba helper.
36440
36441         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36442
36443 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36444
36445         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36446         [__LP64__].
36447
36448 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36449
36450         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36451         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36452         (__lround): Renamed to ...
36453         (__llround): This.  Replace long int with long long int.
36454         Define lround functions as aliases of llround functions.
36455         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36456
36457 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36458
36459         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36460         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36461         adresses to uintptr_t.  Replace "long int" and "unsigned long
36462         int" with "greg_t" on va_arg.
36463
36464 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36465
36466         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36467         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36468
36469         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36470         Move e_machine check before EI_CLASS check.  Handle x32
36471         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36472         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36473         SKIP_EM_IA_64 and include
36474         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36475
36476         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36477         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36478         (add_system_dir): New macro.
36479
36480         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36481         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36482
36483 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36484
36485         [BZ #2551]
36486         [BZ #2552]
36487         [BZ #2553]
36488         [BZ #2554]
36489         [BZ #2562]
36490         [BZ #2563]
36491         [BZ #2565]
36492         [BZ #2566]
36493         [BZ #2576]
36494         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36495         (y0): Likewise.
36496         * math/w_j0f.c (j0f): Likewise.
36497         (y0f): Likewise.
36498         * math/w_j0l.c (__j0l): Likewise.
36499         (__y0l): Likewise.
36500         * math/w_j1.c (j1): Likewise.
36501         (y1): Likewise.
36502         * math/w_j1f.c (j1f): Likewise.
36503         (y1f): Likewise.
36504         * math/w_j1l.c (__j1l): Likewise.
36505         (__y1l): Likewise.
36506         * math/w_jn.c (jn): Likewise.
36507         (yn): Likewise.
36508         * math/w_jnf.c (jnf): Likewise.
36509         (ynf): Likewise.
36510         * math/w_jnl.c (__jnl): Likewise.
36511         (__ynl): Likewise.
36512         * math/libm-test.inc (j0_test): Add more tests.
36513         (j1_test): Likewise.
36514         (jn_test): Likewise.  Add trailing semicolon to existing test.
36515         (y0_test): Likewise.
36516         (y1_test): Likewise.
36517         * sysdeps/i386/fpu/libm-test-ulps: Update.
36518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36519
36520         [BZ #13851]
36521         [BZ #13854]
36522         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36523         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36524         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36525         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36526         (__tanl): Set errno for infinite argument.
36527         * sysdeps/i386/fpu/mptan.c: Remove.
36528         * sysdeps/i386/fpu/s_tan.S: Likewise.
36529         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36530         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36531         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36532         * math/libm-test.inc (tan_test): Add more tests and enable more
36533         tests for double and long double.
36534         * sysdeps/i386/fpu/libm-test-ulps: Update.
36535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36536
36537 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36538
36539         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36540         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36541
36542 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36543
36544         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36545         * configure.in: Use it for both main tree and add-ons.
36546         * configure: Regenerated.
36547
36548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36549
36550         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36551
36552 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36553
36554         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36555         in comment.
36556
36557         [BZ #13851]
36558         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36559         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36560         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36561         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36562         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36563         infinite argument.
36564         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36566         != 0 for prec == 2.
36567         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36568         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36569         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36570         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36571         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36572         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36573         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36574         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36575         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36576         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36577         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36578         * math/libm-test.inc (cos_test): Add more tests and enable more
36579         tests for long double.
36580         (sin_test): Likewise.
36581         (sincos_test): Likewise.
36582         * sysdeps/i386/fpu/libm-test-ulps: Update.
36583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36584
36585 2012-03-16  David S. Miller  <davem@davemloft.net>
36586
36587         * sysdeps/sparc/fpu/math_private.h: New file.
36588
36589 2012-03-15  David S. Miller  <davem@davemloft.net>
36590
36591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36592         file.
36593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36595         file.
36596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36601         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36602         sysdep routines.
36603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36604
36605         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36606         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36607
36608         * sysdeps/sparc/sparc-ifunc.h: New file.
36609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36610         sparc-ifunc.h
36611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36613         Likewise.
36614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36615         Likewise.
36616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36620         Likewise.
36621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36626         Likewise.
36627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36628         Likewise.
36629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36653
36654 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36655
36656         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36657         scaling.
36658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36659
36660 2012-03-15  Andreas Jaeger  <aj@suse.de>
36661
36662         [BZ #13852]
36663         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36664         ieee754/flt-32 implementation for sin, cos and sincos.
36665         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36666         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36667         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36668         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36669         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36670         ieee754/flt-32 implementation for tan.
36671
36672         * math/libm-test.inc (cos_test): Enable some large input tests for
36673         float as well
36674         (sin_test): Likewise.
36675         (sincos_test): Likewise.
36676         (tan_test): Add tests for large input.
36677
36678         * sysdeps/i386/fpu/libm-test-ulps: Update.
36679
36680 2012-03-15  Andreas Jaeger  <aj@suse.de>
36681
36682         [BZ #13658]
36683         * math/libm-test.inc (cos_test): Add more test cases.
36684         (sin_test): Likewise.
36685         (sincos_test): Likewise.
36686
36687 2012-03-15  Andreas Jaeger  <aj@suse.de>
36688
36689         [BZ #13837]
36690         * math/libm-test.inc (cos_test): Add a test case for large input
36691         value.
36692         (sin_test): Likewise.
36693         (sincos_test): Likewise.
36694
36695 2012-03-15  Andreas Jaeger  <aj@suse.de>
36696             Joseph Myers  <joseph@codesourcery.com>
36697
36698         [BZ #13658]
36699         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36700         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36701         * sysdeps/i386/fpu/branred.c: Likewise.
36702         * sysdeps/i386/fpu/dosincos.c: Likewise.
36703         * sysdeps/i386/fpu/mpa.c: Likewise.
36704         * sysdeps/i386/fpu/s_cos.S: Likewise.
36705         * sysdeps/i386/fpu/s_sin.S: Likewise.
36706         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36707         * sysdeps/i386/fpu/sincos32.c: Likewise.
36708
36709         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36710         Define.
36711         (libc_feupdateenv_53bit): Define.
36712         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36713         Define.
36714         (libc_feupdateenv_53bit): Define.
36715
36716         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36717         53 bit (without extend i386 double precision).
36718
36719         * math/libm-test.inc (sincos_test): Add tests for large input.
36720         (sin): Likewise.
36721         (cos): Likewise.
36722
36723         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36724
36725 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36726
36727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36728
36729 2012-03-15  David S. Miller  <davem@davemloft.net>
36730
36731         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36732         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36733         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36734         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36742         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36747         file.
36748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36750         file.
36751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36753         file.
36754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36756         file.
36757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36759         fmin/fmax sysdep routines.
36760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36761
36762 2012-03-14  David S. Miller  <davem@davemloft.net>
36763
36764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36768         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36769         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36770         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36771         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36774         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36778         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36779         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36784         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36785         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36793         routines.
36794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36795         file.
36796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36798         file.
36799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36801         file.
36802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36804         file.
36805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36807         file.
36808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36810         file.
36811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36812         file.
36813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36814         file.
36815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36816         file.
36817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36818         New file.
36819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36820         file.
36821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36822         file.
36823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36825         file.
36826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36828         file.
36829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36831         file.
36832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36834         VIS3 routines.
36835
36836         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36837         New file.
36838
36839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36840
36841         * sysdeps/sparc/configure.in: New file.
36842         * sysdeps/sparc/configure: Generate.
36843         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36844         * configure: Regenerate.
36845         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36846         * config.make.in (have-as-vis3): New.
36847         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36848         available use -Av9d instead of -Av9a.
36849         * sysdeps/sparc/sparc64/Makefile: Likewise.
36850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36852         New file.
36853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36854         file.
36855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36856         New file.
36857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36858         file.
36859         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36860         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36861         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36864
36865         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36866         fzeros/fnegs to load 0x80000000 into a float register instead of
36867         using the stack.
36868         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36869
36870 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36871
36872         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36873         bits/syscall.h.
36874         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36875         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36876         ($(inst_includedir)/bits/syscall.h): Remove rule.
36877         ($(objpfx)bits/syscall.d): Include instead of
36878         $(objpfx)syscall-list.d.
36879         (generated): Change syscall-list.h and syscall-list.d to
36880         bits/syscall.h and bits/syscall.d.
36881
36882 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36883
36884         [BZ #13846]
36885         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36886
36887 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36888
36889         [BZ #13841]
36890         * math/s_csqrt.c: Include <float.h>.
36891         (__csqrt): Scale large or subnormal inputs.
36892         * math/s_csqrtf.c: Likewise.
36893         * math/s_csqrtl.c: Likewise.
36894         * math/libm-test.inc (csqrt_test): Add more tests.
36895         * sysdeps/i386/fpu/libm-test-ulps: Update.
36896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36897
36898         [BZ #13840]
36899         * math/libm-test.inc (hypot_test): Add more tests.
36900
36901 2012-03-13  David S. Miller  <davem@davemloft.net>
36902
36903         [BZ #13840]
36904         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36905         double-precision for the calculation instead of scaling.
36906
36907 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36908
36909         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36910         manipulate bits before adding and subtracting TWO52[sx].
36911         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36912         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36913         Likewise.
36914         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36915
36916 2012-03-13  David S. Miller  <davem@davemloft.net>
36917
36918         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36919         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36920         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36921         rtld-global-offsets.h
36922         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36923
36924         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36925         large parameters.
36926
36927         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36928
36929         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36930         'err' in the ifdef scope in which it is actually used.
36931
36932         * nss/nss_db/db-init.c: Include string.h
36933
36934 2012-03-12  David S. Miller  <davem@davemloft.net>
36935
36936         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36937         masking out of the most significant byte of random value used.
36938         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36939         Fix coding style in previous change.
36940
36941         * sysdeps/unix/sysv/linux/kernel-features.h
36942         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36943         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36944         expression.
36945         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36946         later.
36947
36948 2012-03-11  David S. Miller  <davem@davemloft.net>
36949
36950         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36951         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36952         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36953         for 'resultvar' otherwise things get truncated on 64-bit.
36954
36955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36956         Fix masking out of the most significant byte of random value used.
36957
36958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36959
36960 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36961
36962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36963
36964 2012-03-09  David S. Miller  <davem@davemloft.net>
36965
36966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36967         variables with appropriate CPP guards.
36968         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36969         from the frame pointer, not the stack pointer.  Correct layout
36970         comments.  Fix test on resulting framesize and the management of
36971         the outregs buffer for pltexit.  Preserve floating point return
36972         values across _dl_call_pltexit call.
36973         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36974         framesize and the management of the outregs buffer for pltexit.
36975         Preserve floating point return values across _dl_call_pltexit
36976         call.
36977         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36978         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36979         (la_sparc64_gnu_pltexit): New functions.
36980         (print_exit): Fix format string for return register value.
36981
36982 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36983
36984         * sunrpc/Makefile (others): Add rpcgen.
36985         ($(objpfx)rpcgen): Remove special build rule and dependency on
36986         libc.
36987         * sunrpc/rpcgen.c: New file.
36988
36989 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36990
36991         [BZ #13673]
36992         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36993         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36994         * sysdeps/i386/crti.S: Likewise.
36995         * sysdeps/i386/crtn.S: Likewise.
36996         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36997         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36998         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36999         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37000         * sysdeps/sh/crti.S: Likewise.
37001         * sysdeps/sh/crtn.S: Likewise.
37002         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37003
37004         [BZ #13673]
37005         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37006         with URL.
37007         * locale/programs/locfile-kw.gperf: Likewise.
37008         * locale/programs/charmap-kw.h: Regenerated.
37009         * locale/programs/locfile-kw.h: Likewise.
37010
37011         [BZ #13673]
37012         * intl/plural.y: Replace FSF snail mail address with URL.
37013         * intl/plural.c: Regenerated.
37014
37015 2012-03-09  Richard Henderson  <rth@twiddle.net>
37016
37017         * include/math_private.h: Remove file.
37018         * math/math_private.h: Move file ...
37019         * sysdeps/generic/math_private.h: ... here.
37020
37021         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37022         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37023         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37024
37025         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37026         and <math_private.h>.
37027         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37028         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37029         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37030         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37031         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37032         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37033         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37034         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37035         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37036         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37038         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37039         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37040         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37041         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37042         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37043         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37044         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37045         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37048         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37049         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37050         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37051         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37053         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37054         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37055         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37057         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37059         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37060         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37061         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37062         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37063         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37064         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37065         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37066         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37067         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37068         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37069         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37070         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37078         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37079         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37080         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37081         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37082         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37083         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37084         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37085         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37086         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37087         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37088         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37090         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37091         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37092         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37093         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37095         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37098         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37099         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37109         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37110         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37113         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37114         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37115         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37116         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37117         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37118         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37120         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37121         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37122         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37123         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37124         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37125         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37126         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37127         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37128         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37129         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37130         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37131         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37132         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37133         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37134         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37135         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37136         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37137         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37138         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37139         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37140         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37141         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37142         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37143         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37144         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37145         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37146         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37147         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37148         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37149         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37150         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37151         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37152         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37153         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37154         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37155         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37156         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37157         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37158         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37159         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37160         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37161         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37162         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37163         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37164         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37165         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37166         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37167         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37168         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37169         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37170         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37171         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37172         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37173         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37174         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37175         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37176         * sysdeps/ieee754/k_standard.c: Likewise.
37177         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37178         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37179         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37180         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37181         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37182         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37183         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37184         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37185         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37186         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37187         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37189         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37190         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37191         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37192         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37193         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37194         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37195         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37196         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37197         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37198         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37200         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37202         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37203         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37204         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37206         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37208         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37209         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37210         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37211         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37212         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37213         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37214         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37215         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37216         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37218         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37219         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37220         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37221         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37222         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37223         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37224         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37225         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37227         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37228         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37229         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37230         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37231         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37232         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37233         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37234         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37235         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37236         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37237         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37238         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37239         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37244         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37246         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37248         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37253         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37255         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37256         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37257         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37258         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37259         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37260         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37261         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37262         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37263         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37264         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37265         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37267         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37268         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37269         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37270         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37274         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37275         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37276         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37281         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37284         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37285         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37289         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37291         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37292         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37293         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37294         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37295         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37298         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37299         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37300         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37301         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37302         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37303         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37304         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37305         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37306         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37307         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37308         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37309         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37310         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37311         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37312         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37314         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37315         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37316         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37317         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37318         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37319         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37320         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37321         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37323         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37325         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37326         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37327         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37328         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37331         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37332         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37333         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37337         * sysdeps/ieee754/s_lib_version.c: Likewise.
37338         * sysdeps/ieee754/s_matherr.c: Likewise.
37339         * sysdeps/ieee754/s_signgam.c: Likewise.
37340         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37341         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37342         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37343         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37344         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37345         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37346         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37347         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37348         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37349         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37350         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37351         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37352         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37353         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37354         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37355         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37356         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37357         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37358         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37359         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37361
37362 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37363
37364         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37365         * sunrpc/rpc_main.c: Likewise.
37366         * sunrpc/rpc_svcout.c: Likewise.
37367
37368 2012-03-09  David S. Miller  <davem@davemloft.net>
37369
37370         * include/math_private.h: New file.
37371
37372 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37373
37374         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37375         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37376         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37377         from <bits/socket_type.h>.
37378         (enum __socket_type): Don't define here.
37379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37381         bits/socket_type.h.
37382
37383         [BZ #13566]
37384         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37385         checking __USE_GNU.
37386
37387         * Makerules ($(inst_includedir)/%.h): New rule.
37388         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37389         (install-others): Remove variable setting.
37390         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37391
37392 2012-03-08  Richard Henderson  <rth@twiddle.net>
37393
37394         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37395         from macro to inline function; merge with the
37396         !__LIBC_INTERNAL_MATH_INLINES version.
37397         (__ieee754_sqrtf): Likewise.
37398
37399         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37400         to inline function.
37401         (__rintf, __floor, __floorf): Likewise.
37402
37403         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37404         macro to inline function.
37405         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37406
37407         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37408         not <math/math_private.h>.
37409
37410 2012-03-08  David S. Miller  <davem@davemloft.net>
37411
37412         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37413         copyright year.
37414         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37415
37416 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37417
37418         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37419         normalization.
37420         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37421         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37422
37423 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37424
37425         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37426         be defined individually, they must be defined as a block.  Define
37427         S for printing a string instead of hidint the different by using a
37428         macro for adding the 'l'.
37429         * stdio-common/tst-fphex-wide.c: Adjust.
37430
37431 2012-03-07  Marek Polacek  <polacek@redhat.com>
37432
37433         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37434
37435 2012-03-08  Marek Polacek  <polacek@redhat.com>
37436
37437         [BZ #13806]
37438         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37439         * stdio-common/tst-fphex.c: Define a few macros to make the
37440         test reusable.  Use them.
37441         * stdio-common/tst-fphex-wide.c: New file.
37442
37443 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37444
37445         [BZ #6911]
37446         * manual/macros.texi (gnusystems): New macro.
37447         (nongnusystems): Likewise.
37448         (gnulinuxhurdsystems): Likewise.
37449         (gnuhurdsystems): Likewise..
37450         (gnulinuxsystems): Likewise.
37451         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37452         variants of the GNU system, not "GNU system".
37453         * manual/conf.texi: Likewise.
37454         * manual/errno.texi: Likewise.  Update example of errno macro
37455         expansion.
37456         * manual/filesys.texi: Likewise.
37457         (getumask): Document as specific to GNU/Hurd.
37458         * manual/install.texi: Likewise.  Reword some references to
37459         GNU/Linux.
37460         * manual/intro.texi: Likewise.
37461         * manual/io.texi: Likewise.
37462         (File Name Portability): Detail which constraints are inapplicable
37463         to all GNU systems and which are only inapplicable to GNU/Hurd.
37464         * manual/job.texi: Likewise.
37465         * manual/llio.texi: Likewise.
37466         (O_NOCTTY): Document as present on GNU/Linux.
37467         * manual/maint.texi: Likewise.
37468         * manual/memory.texi: Likewise.
37469         * manual/pattern.texi: Likewise.
37470         * manual/pipe.texi: Likewise.
37471         * manual/process.texi: Likewise.
37472         * manual/resource.texi: Likewise.
37473         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37474         child on GNU/Hurd.
37475         * manual/setjmp.texi: Likewise.
37476         * manual/signal.texi: Likewise.
37477         * manual/startup.texi: Likewise.
37478         * manual/stdio.texi: Likewise.
37479         * manual/terminal.texi: Likewise.
37480         (ONLCR): Document as POSIX.
37481         (OXTABS): Document availability on GNU/Linux as XTABS.
37482         (ONOEOT): Document availability separately from other bits.
37483         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37484         * manual/time.texi: Likewise.
37485         * manual/users.texi: Likewise.
37486         * INSTALL: Regenerated.
37487         * sysdeps/gnu/errlist.c: Regenerated.
37488
37489         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37490         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37491         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37492         puts.
37493         * configure: Regenerated.
37494
37495 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37496
37497         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37498         default includes instead of AC_HEADER_CHECK.
37499         * sysdeps/i386/configure: Regenerated.
37500
37501         [BZ #10716]
37502         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37503         * math/s_cacoshf.c (__cacoshf): Likewise.
37504         * math/s_cacoshl.c (__cacoshl): Likewise.
37505         * math/s_casinh.c (__casinh): Set signs of result from argument.
37506         * math/s_casinhf.c (__casinhf): Likewise.
37507         * math/s_casinhl.c (__casinhl): Likewise.
37508         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37509         (casinh_test): Add more tests.
37510         * sysdeps/i386/fpu/libm-test-ulps: Update.
37511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37512
37513 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37514
37515         * po/zh_TW.po: Update from translation team.
37516
37517         * login/Makefile (distribute): Remove variable.
37518         * catgets/Makefile: Likewise.
37519         * mach/Makefile: Likewise.
37520         * malloc/Makefile: Likewise.
37521         * misc/Makefile: Likewise.
37522         * iconv/Makefile: Likewise.
37523         * nscd/Makefile: Likewise.
37524         * hurd/Makefile: Likewise.
37525         * manual/Makefile: Likewise.
37526         * locale/Makefile: Likewise.
37527         * intl/Makefile: Likewise.
37528         * conform/Makefile: Likewise.
37529         * nss/Makefile: Likewise.
37530         * time/Makefile: Likewise.
37531         * soft-fp/Makefile: Likewise.
37532         * dirent/Makefile: Likewise.
37533         * gmon/Makefile: Likewise.
37534         * po/Makefile: Likewise.
37535         * rt/Makefile: Likewise.
37536         * socket/Makefile: Likewise.
37537         * math/Makefile: Likewise.
37538         * signal/Makefile: Likewise.
37539         * debug/Makefile: Likewise.
37540         * elf/Makefile: Likewise.
37541         * timezone/Makefile: Likewise.
37542         * stdlib/Makefile: Likewise.
37543         * iconvdata/Makefile: Likewise.
37544         * sunrpc/Makefile: Likewise.
37545         * io/Makefile: Likewise.
37546         * argp/Makefile: Likewise.
37547         * inet/Makefile: Likewise.
37548         * hesiod/Makefile: Likewise.
37549         * grp/Makefile: Likewise.
37550         * csu/Makefile: Likewise.
37551         * wctype/Makefile: Likewise.
37552         * crypt/Makefile: Likewise.
37553         * libio/Makefile: Likewise.
37554         * string/Makefile: Likewise.
37555         * nis/Makefile: Likewise.
37556         * resolv/Makefile: Likewise.
37557         * stdio-common/Makefile: Likewise.
37558         * wcsmbs/Makefile: Likewise.
37559         * dlfcn/Makefile: Likewise.
37560         * posix/Makefile: Likewise.
37561
37562         [BZ #6959]
37563         * timezone/Makefile: Don't install timezone files, just the programs
37564         and scripts.
37565
37566 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37567
37568         * nss/databases.def: Add missing gshadow entry.
37569
37570         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37571
37572 2012-03-06  Marek Polacek  <polacek@redhat.com>
37573
37574         [BZ #13726]
37575         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37576         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37577         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37578         * stdio-common/tst-long-dbl-fphex.c: New file.
37579
37580 2012-03-06  David S. Miller  <davem@davemloft.net>
37581
37582         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37583         (set_obp_int): New function.
37584         (get_obp_int): New function.
37585         (__get_clockfreq_via_dev_openprom): Likewise.
37586         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37587         Avoid unused variable warnings on 'val' and use builtin_expect.
37588         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37589         __builtin_expect.
37590         (INLINE_CLONE_SYSCALL): Likewise.
37591
37592 2012-03-05  David S. Miller  <davem@davemloft.net>
37593
37594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37595
37596 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37597
37598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37599
37600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37601         only for |x| >= 40.
37602         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37603
37604 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37605
37606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37607         Replace gettimeofday with __vdso_gettimeofday.
37608
37609         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37610         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37611         __vdso_clock_gettime and __vdso_getcpu.
37612
37613         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37614         time with __vdso_time.
37615
37616 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37617
37618         * manual/lang.texi (size_t): Note types to which size_t may be
37619         equivalent with the GNU C Library, but do not describe when
37620         differences between them are significant.
37621
37622 2012-03-05  Andreas Jaeger  <aj@suse.de>
37623
37624         * sysdeps/i386/fpu/libm-test-ulps: Update.
37625
37626 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37627
37628         [BZ #3976]
37629         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37630         (__ieee754_pow): Save and restore rounding mode and use
37631         round-to-nearest for main computations.
37632         * math/libm-test.inc (pow_test_tonearest): New function.
37633         (pow_test_towardzero): Likewise.
37634         (pow_test_downward): Likewise.
37635         (pow_test_upward): Likewise.
37636         (main): Call the new functions.
37637         * sysdeps/i386/fpu/libm-test-ulps: Update.
37638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37639
37640         [BZ #3976]
37641         * math/libm-test.inc (cosh_test_tonearest): New function.
37642         (cosh_test_towardzero): Likewise.
37643         (cosh_test_downward): Likewise.
37644         (cosh_test_upward): Likewise.
37645         (sinh_test_tonearest): Likewise.
37646         (sinh_test_towardzero): Likewise.
37647         (sinh_test_downward): Likewise.
37648         (sinh_test_upward): Likewise.
37649         (main): Call the new functions.
37650         * sysdeps/i386/fpu/libm-test-ulps: Update.
37651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37652
37653 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37654
37655         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37656         default stack guard is set in last bytes.
37657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37658
37659 2012-03-05  Kees Cook  <keescook@chromium.org>
37660
37661         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37662
37663         [BZ #13656]
37664         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37665         possibly allocate from heap instead of stack.
37666         * stdio-common/bug-vfprintf-nargs.c: New file.
37667         * stdio-common/Makefile (tests): Add nargs overflow test.
37668
37669 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37670
37671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37672
37673 2012-03-03  Marek Polacek  <polacek@redhat.com>
37674
37675         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37676         * math/math_private.h: Likewise.
37677         * stdlib/tst-strtod.c: Likewise.
37678         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37679         * sysdeps/x86_64/bits/atomic.h: Likewise.
37680
37681 2012-03-02  David S. Miller  <davem@davemloft.net>
37682
37683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37687         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37688         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37689         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37690         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37691
37692 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37693
37694         [BZ #13792]
37695         * manual/examples/README: New file, says the example source files
37696         can be used under GPL>=2.
37697         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37698         line containing just "*/".
37699         * manual/examples/add.c: Add copyright header (GPL>=2).
37700         * manual/examples/argp-ex1.c: Likewise.
37701         * manual/examples/argp-ex2.c: Likewise.
37702         * manual/examples/argp-ex3.c: Likewise.
37703         * manual/examples/argp-ex4.c: Likewise.
37704         * manual/examples/atexit.c: Likewise.
37705         * manual/examples/db.c: Likewise.
37706         * manual/examples/dir.c: Likewise.
37707         * manual/examples/dir2.c: Likewise.
37708         * manual/examples/execinfo.c: Likewise.
37709         * manual/examples/filecli.c: Likewise.
37710         * manual/examples/filesrv.c: Likewise.
37711         * manual/examples/fmtmsgexpl.c: Likewise.
37712         * manual/examples/genpass.c: Likewise.
37713         * manual/examples/inetcli.c: Likewise.
37714         * manual/examples/inetsrv.c: Likewise.
37715         * manual/examples/isockad.c: Likewise.
37716         * manual/examples/longopt.c: Likewise.
37717         * manual/examples/memopen.c: Likewise.
37718         * manual/examples/memstrm.c: Likewise.
37719         * manual/examples/mkfsock.c: Likewise.
37720         * manual/examples/mkisock.c: Likewise.
37721         * manual/examples/mygetpass.c: Likewise.
37722         * manual/examples/pipe.c: Likewise.
37723         * manual/examples/popen.c: Likewise.
37724         * manual/examples/rprintf.c: Likewise.
37725         * manual/examples/search.c: Likewise.
37726         * manual/examples/select.c: Likewise.
37727         * manual/examples/setjmp.c: Likewise.
37728         * manual/examples/sigh1.c: Likewise.
37729         * manual/examples/sigusr.c: Likewise.
37730         * manual/examples/stpcpy.c: Likewise.
37731         * manual/examples/strdupa.c: Likewise.
37732         * manual/examples/strftim.c: Likewise.
37733         * manual/examples/strncat.c: Likewise.
37734         * manual/examples/subopt.c: Likewise.
37735         * manual/examples/swapcontext.c: Likewise.
37736         * manual/examples/termios.c: Likewise.
37737         * manual/examples/testopt.c: Likewise.
37738         * manual/examples/testpass.c: Likewise.
37739         * manual/examples/timeval_subtract.c: Likewise.
37740
37741         [BZ #13792]
37742         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37743         function to ...
37744         * manual/timeval_subtract.c.texi: ... here, new file.
37745
37746 2012-03-02  David S. Miller  <davem@davemloft.net>
37747
37748         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37749
37750 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37751
37752         [BZ #3976]
37753         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37754         (__sin): Save and restore rounding mode and use round-to-nearest
37755         for all computations.
37756         (__cos): Save and restore rounding mode and use round-to-nearest
37757         for all computations.
37758         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37759         <fenv.h>.
37760         (tan): Save and restore rounding mode and use round-to-nearest for
37761         all computations.
37762         * math/libm-test.inc (cos_test_tonearest): New function.
37763         (cos_test_towardzero): Likewise.
37764         (cos_test_downward): Likewise.
37765         (cos_test_upward): Likewise.
37766         (sin_test_tonearest): Likewise.
37767         (sin_test_towardzero): Likewise.
37768         (sin_test_downward): Likewise.
37769         (sin_test_upward): Likewise.
37770         (tan_test_tonearest): Likewise.
37771         (tan_test_towardzero): Likewise.
37772         (tan_test_downward): Likewise.
37773         (tan_test_upward): Likewise.
37774         (main): Call the new functions.
37775         * sysdeps/i386/fpu/libm-test-ulps: Update.
37776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37777
37778         [BZ #10135]
37779         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37780         small n, then large n, before computing and testing k+n.
37781         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37782         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37783         Likewise.
37784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37785         Likewise.
37786         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37787         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37789         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37792         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37793         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37794         * math/libm-test.inc (scalbn_test): Add more tests.
37795         (scalbln_test): Likewise.
37796
37797         * manual/filesys.texi (mode_t): Describe constraints on size and
37798         signedness, not exact equivalence to a particular type.
37799         (ino_t): Likewise.
37800         (ino64_t): Likewise.
37801         (dev_t): Likewise.
37802         (nlink_t): Likewise.
37803         (blkcnt_t): Likewise.
37804         (blkcnt64_t): Likewise.
37805         * manual/llio.texi (off_t): Likewise.
37806
37807         [BZ #3976]
37808         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37809         (__ieee754_exp): Save and restore rounding mode and use
37810         round-to-nearest for all computations.
37811         * math/libm-test.inc (exp_test_tonearest): New function.
37812         (exp_test_towardzero): Likewise.
37813         (exp_test_downward): Likewise.
37814         (exp_test_upward): Likewise.
37815         (main): Call the new functions.
37816         * sysdeps/i386/fpu/libm-test-ulps: Update.
37817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37818
37819 2012-03-01  Chris Demetriou  <cgd@google.com>
37820
37821         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37822         have predictable order.
37823
37824 2012-03-01  David S. Miller  <davem@davemloft.net>
37825
37826         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37827
37828         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37829         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37830         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37831         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37832
37833         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37834         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37835         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37837         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37838         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37839         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37840         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37841         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37842
37843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37844
37845         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37846         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37847         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37848
37849         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37850         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37851         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37852         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37853         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37854         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37855         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37856         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37857         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37858         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37859         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37860         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37862         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37865         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37866         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37867         * sysdeps/sparc/elf/configure: Regenerated.
37868
37869 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37870
37871         * configure.in (AS, LD): Require binutils 2.20 or later.
37872         * configure: Regenerated.
37873         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37874         as required minimum version.
37875         * INSTALL: Regenerated.
37876
37877         [BZ #2541]
37878         [BZ #4108]
37879         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37880         before squaring exponent.
37881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37882         bottom long double and 27 bits of top long double before squaring
37883         exponent.
37884         * math/libm-test.inc (erfc_test): Add more tests.
37885         * sysdeps/i386/fpu/libm-test-ulps: Update.
37886         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37888
37889 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37890
37891         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37892         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37893         containing bit-fields.
37894         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37895         * soft-fp/single.h (_FP_UNION_S): Likewise.
37896         * soft-fp/double.h (_FP_UNION_D): Likewise.
37897
37898 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37899
37900         [BZ #13786]
37901         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37902         not include ../strcmp.S.
37903         [USE_AS_STRNCASECMP_L]: Likewise.
37904         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37905         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37906         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37907         (__strncasecmp_l_ia32): Define as alias to
37908         __strncasecmp_l_nonascii.
37909
37910         [BZ #5794]
37911         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37912         * sysdeps/i386/fpu/libm-test-ulps: Update.
37913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37914
37915         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37917
37918 2012-02-29  Jeff Law  <law@redhat.com>
37919
37920         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37921         out of bounds read.
37922
37923 2012-02-29  Marek Polacek  <polacek@redhat.com>
37924
37925         [BZ #13706]
37926         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37927         * elf/Makefile: Add rules to run tst-unused-dep.out.
37928
37929 2012-02-28  David S. Miller  <davem@davemloft.net>
37930
37931         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37932         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37933         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37934         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37935         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37936         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37937
37938 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37939
37940         * math/libm-test.inc (llround_test): Move one test from
37941         lround_test.  Use TEST_f_L in moved test.
37942         (lround_test): Move misplaced test to llround_test.  Add testcase
37943         from bug 2561.
37944
37945 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37946
37947         * sysdeps/x86_64/fpu/e_expf.S: New file.
37948         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37949
37950 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37951
37952         [BZ #13637]
37953         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37954         of remain_len that may cause incomplete multi-byte character and
37955         false match.
37956         * posix/bug-regex33.c: New file.
37957         * posix/Makefile (tests): Add bug-regex33.
37958
37959 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37960
37961         * manual/macros.texi: New file.
37962         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37963         * manual/libc.texinfo: Include macros.texi.
37964         * manual/creatute.texi: Likewise.
37965         * manual/install.texi: Likewise.
37966         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37967         @glibcadj{} in references to the GNU C Library.
37968         * manual/charset.texi: Likewise.
37969         * manual/conf.texi: Likewise.
37970         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37971         when not using those macros.
37972         * manual/creature.texi: Likewise.
37973         * manual/crypt.texi: Likewise.
37974         * manual/errno.texi: Likewise.
37975         * manual/filesys.texi: Likewise.
37976         * manual/header.texi: Likewise.
37977         * manual/install.texi: Likewise.
37978         * manual/intro.texi: Likewise.
37979         * manual/io.texi: Likewise.
37980         * manual/job.texi: Likewise.
37981         * manual/lang.texi: Likewise.
37982         * manual/libc.texiinfo: Likewise.
37983         * manual/llio.texi: Likewise.
37984         * manual/locale.texi: Likewise.
37985         * manual/maint.texi: Likewise.
37986         * manual/math.texi: Likewise.
37987         * manual/memory.texi: Likewise.
37988         * manual/message.texi: Likewise.
37989         * manual/nss.texi: Likewise.
37990         * manual/pattern.texi: Likewise.
37991         * manual/process.texi: Likewise.
37992         * manual/resource.texi: Likewise.
37993         * manual/search.texi: Likewise.
37994         * manual/setjmp.texi: Likewise.
37995         * manual/signal.texi: Likewise.
37996         * manual/socket.texi: Likewise.
37997         * manual/startup.texi: Likewise.
37998         * manual/stdio.texi: Likewise.
37999         * manual/string.texi: Likewise.
38000         * manual/sysinfo.texi: Likewise.
38001         * manual/syslog.texi: Likewise.
38002         * manual/terminal.texi: Likewise.
38003         * manual/time.texi: Likewise.
38004         * manual/users.texi: Likewise.
38005         * INSTALL: Regenerated.
38006         * NOTES: Regenerated.
38007         * sysdeps/gnu/errlist.c: Regenerated.
38008
38009 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38010
38011         * include/dirent.h: Include <dirstream.h> before
38012         <dirent/dirent.h>.
38013
38014 2012-02-28  David S. Miller  <davem@davemloft.net>
38015
38016         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38017         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38018         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38019         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38020
38021 2012-02-27  David S. Miller  <davem@davemloft.net>
38022
38023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38025         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38026         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38027
38028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38029         frame pointer instead of stack pointer relative arg slot.
38030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38031         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38032         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38033
38034 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38035
38036         [BZ #3992]
38037         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38038
38039 2012-02-27  David S. Miller  <davem@davemloft.net>
38040
38041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38045         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38046         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38047         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38048         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38049
38050 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38051
38052         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38053         later.  Allow versions 5-9.
38054         * configure: Regenerated.
38055         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38056         required minimum version and 4.6 as recommended version.  Do not
38057         mention bugs in GCC 2.7 and 2.8.
38058         * INSTALL: Regenerated.
38059
38060 2012-02-27  David S. Miller  <davem@davemloft.net>
38061
38062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38066         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38067         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38068         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38069         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38070
38071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38072         manipulate bits before adding and subtracting TWO112[sx].
38073         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38074
38075 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38076
38077         [BZ #13775]
38078         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38079         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38080         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38081         being in POSIX, because they are in 1003.1-2008.
38082
38083         * rt/tst-aio.c: Include <fcntl.h>.
38084         * rt/tst-aio7.c: Likewise.
38085         * rt/tst-aio64.c: Likewise.
38086
38087         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38088
38089 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38090
38091         * manual/install.texi (--with-headers): Describe headers as
38092         interface headers, not private headers.
38093         (Specific advice for GNU/Linux systems): Describe use of headers
38094         from "make headers_install", not private headers from older
38095         kernels.
38096         * INSTALL: Regenerated.
38097         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38098         Change to 2.6.19.
38099         * sysdeps/unix/sysv/linux/configure: Regenerated.
38100
38101         * manual/llio.texi (fclean): Remove documentation.
38102
38103         * manual/Makefile (libc-texi-generated): New variable.  Include
38104         version.texi.
38105         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38106         $(libc-texi-generated), not duplicated list of files.
38107         (version.texi, stamp-version): New rules.
38108         (realclean): Remove $(libc-texi-generated), not individual files
38109         from that list.  Do not remove dir-add.texinfo.
38110         * manual/libc.texinfo: Comment out uses of edition numbers and
38111         references to printed manual.  Remove last-updated dates.
38112         (EDITION): Comment out.
38113         (ISBN): Likewise.
38114         (VERSION, UPDATED): Remove.
38115         (version.texi): Include.
38116
38117 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38118
38119         * sysdeps/posix/spawni.c: Include <signal.h>.
38120         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38121         * sysdeps/pthread/aio_fsync.c: Likewise.
38122
38123 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38124
38125         * conform/Makefile (tests): Run only when not cross-compiling and
38126         when fast-check is not defined.
38127
38128         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38129         * conform/data/limits.h-data: Fixes for POSIX2008.
38130         * conform/run-conformtest.sh: Run all tests.
38131         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38132         headers.
38133         * include/bits/dlfcn.h: Likewise.
38134         * include/langinfo.h: Likewise.
38135         * include/monetary.h: Likewise.
38136         * include/sys/poll.h: Likewise.
38137
38138         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38139         for __USE_GNU.
38140         * posix/spawn.h: Define __need_sigset_t.
38141         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38142         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38143         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38144         to get sigevent_t only.
38145         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38146         only for __USE_GNU.
38147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38148         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38149         process_vm_writev only for __USE_GNU.
38150         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38151
38152         * conform/Makefile: For now ignore errors from run-conformtest.
38153         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38154         POSIX to avoid namespace pollution.  Don't prepend headers.
38155         * conform/data/aio.h-data: Fixes for POSIX testing.
38156         * conform/data/fcntl.h-data: Likewise.
38157         * conform/data/glob.h-data: Likewise.
38158         * conform/data/grp.h-data: Likewise.
38159         * conform/data/pthread.h-data: Likewise.
38160         * conform/data/pwd.h-data: Likewise.
38161         * conform/data/signal.h-data: Likewise.
38162         * conform/data/spawn.h-data: Likewise.
38163         * conform/data/stdio.h-data: Likewise.
38164         * conform/data/stdlib.h-data: Likewise.
38165         * conform/data/stropts.h-data: Likewise.
38166         * conform/data/sys/mman.h-data: Likewise.
38167         * conform/data/sys/stat.h-data: Likewise.
38168         * conform/data/sys/types.h-data: Likewise.
38169         * conform/data/sys/wait.h-data: Likewise.
38170         * conform/data/time.h-data: Likewise.
38171         * conform/data/unistd.h-data: Likewise.
38172         * conform/data/utime.h-data: Likewise.
38173
38174         * io/sys/stat.h: fchmod was always in POSIX.
38175         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38176         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38177         * rt/aio.h: Define __need_timespec before including <time.h>.
38178         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38179         struct.  Add forward declaration of pthread_attr_t and use it in
38180         sigevent.
38181         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38182         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38183         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38184         always remove CLK_TCK definition.
38185
38186 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38187
38188         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38189
38190 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38191
38192         * conform/run-conformtest.sh: New file.
38193         * conform/Makefile: Run run-conformtest for tests.
38194         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38195         support.
38196
38197         * conform/data/uchar.h-data: New file.
38198         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38199         * conform/data/arpa/inet.h-data: Likewise.
38200         * conform/data/assert.h-data: Likewise.
38201         * conform/data/complex.h-data: Likewise.
38202         * conform/data/cpio.h-data: Likewise.
38203         * conform/data/ctype.h-data: Likewise.
38204         * conform/data/dirent.h-data: Likewise.
38205         * conform/data/dlfcn.h-data: Likewise.
38206         * conform/data/errno.h-data: Likewise.
38207         * conform/data/fcntl.h-data: Likewise.
38208         * conform/data/float.h-data: Likewise.
38209         * conform/data/fmtmsg.h-data: Likewise.
38210         * conform/data/fnmatch.h-data: Likewise.
38211         * conform/data/ftw.h-data: Likewise.
38212         * conform/data/glob.h-data: Likewise.
38213         * conform/data/grp.h-data: Likewise.
38214         * conform/data/iconv.h-data: Likewise.
38215         * conform/data/inttypes.h-data: Likewise.
38216         * conform/data/langinfo.h-data: Likewise.
38217         * conform/data/libgen.h-data: Likewise.
38218         * conform/data/limits.h-data: Likewise.
38219         * conform/data/locale.h-data: Likewise.
38220         * conform/data/math.h-data: Likewise.
38221         * conform/data/monetary.h-data: Likewise.
38222         * conform/data/mqueue.h-data: Likewise.
38223         * conform/data/ndbm.h-data: Likewise.
38224         * conform/data/net/if.h-data: Likewise.
38225         * conform/data/netdb.h-data: Likewise.
38226         * conform/data/netinet/in.h-data: Likewise.
38227         * conform/data/nl_types.h-data: Likewise.
38228         * conform/data/poll.h-data: Likewise.
38229         * conform/data/pthread.h-data: Likewise.
38230         * conform/data/pwd.h-data: Likewise.
38231         * conform/data/regex.h-data: Likewise.
38232         * conform/data/sched.h-data: Likewise.
38233         * conform/data/search.h-data: Likewise.
38234         * conform/data/semaphore.h-data: Likewise.
38235         * conform/data/setjmp.h-data: Likewise.
38236         * conform/data/signal.h-data: Likewise.
38237         * conform/data/spawn.h-data: Likewise.
38238         * conform/data/stdarg.h-data: Likewise.
38239         * conform/data/stdio.h-data: Likewise.
38240         * conform/data/stdlib.h-data: Likewise.
38241         * conform/data/string.h-data: Likewise.
38242         * conform/data/strings.h-data: Likewise.
38243         * conform/data/stropts.h-data: Likewise.
38244         * conform/data/sys/ipc.h-data: Likewise.
38245         * conform/data/sys/mman.h-data: Likewise.
38246         * conform/data/sys/msg.h-data: Likewise.
38247         * conform/data/sys/resource.h-data: Likewise.
38248         * conform/data/sys/select.h-data: Likewise.
38249         * conform/data/sys/sem.h-data: Likewise.
38250         * conform/data/sys/shm.h-data: Likewise.
38251         * conform/data/sys/socket.h-data: Likewise.
38252         * conform/data/sys/stat.h-data: Likewise.
38253         * conform/data/sys/statvfs.h-data: Likewise.
38254         * conform/data/sys/time.h-data: Likewise.
38255         * conform/data/sys/timeb.h-data: Likewise.
38256         * conform/data/sys/times.h-data: Likewise.
38257         * conform/data/sys/types.h-data: Likewise.
38258         * conform/data/sys/uio.h-data: Likewise.
38259         * conform/data/sys/un.h-data: Likewise.
38260         * conform/data/sys/utsname.h-data: Likewise.
38261         * conform/data/sys/wait.h-data: Likewise.
38262         * conform/data/syslog.h-data: Likewise.
38263         * conform/data/tar.h-data: Likewise.
38264         * conform/data/termios.h-data: Likewise.
38265         * conform/data/utime.h-data: Likewise.
38266         * conform/data/utmpx.h-data: Likewise.
38267         * conform/data/varargs.h-data: Likewise.
38268         * conform/data/wchar.h-data: Likewise.
38269         * conform/data/wctype.h-data: Likewise.
38270         * conform/data/wordexp.h-data: Likewise.
38271
38272         * include/stropts.h: New file.
38273         * include/uchar.h: New file.
38274         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38275         * include/assert.h: Likewise.
38276         * include/ctype.h: Likewise.
38277         * include/dirent.h: Likewise.
38278         * include/dlfcn.h: Likewise.
38279         * include/fcntl.h: Likewise.
38280         * include/fnmatch.h: Likewise.
38281         * include/glob.h: Likewise.
38282         * include/grp.h: Likewise.
38283         * include/libio.h: Likewise.
38284         * include/locale.h: Likewise.
38285         * include/math.h: Likewise.
38286         * include/net/if.h: Likewise.
38287         * include/netdb.h: Likewise.
38288         * include/netinet/in.h: Likewise.
38289         * include/pthread.h: Likewise.
38290         * include/pwd.h: Likewise.
38291         * include/regex.h: Likewise.
38292         * include/sched.h: Likewise.
38293         * include/search.h: Likewise.
38294         * include/setjmp.h: Likewise.
38295         * include/signal.h: Likewise.
38296         * include/stdio.h: Likewise.
38297         * include/stdlib.h: Likewise.
38298         * include/string.h: Likewise.
38299         * include/sys/cdefs.h: Likewise.
38300         * include/sys/mman.h: Likewise.
38301         * include/sys/msg.h: Likewise.
38302         * include/sys/resource.h: Likewise.
38303         * include/sys/select.h: Likewise.
38304         * include/sys/socket.h: Likewise.
38305         * include/sys/stat.h: Likewise.
38306         * include/sys/statvfs.h: Likewise.
38307         * include/sys/time.h: Likewise.
38308         * include/sys/times.h: Likewise.
38309         * include/sys/uio.h: Likewise.
38310         * include/sys/utsname.h: Likewise.
38311         * include/sys/wait.h: Likewise.
38312         * include/termios.h: Likewise.
38313         * include/time.h: Likewise.
38314         * include/ulimit.h: Likewise.
38315         * include/unistd.h: Likewise.
38316         * include/utime.h: Likewise.
38317         * include/wchar.h: Likewise.
38318         * include/wctype.h: Likewise.
38319         * include/wordexp.h: Likewise.
38320
38321         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38322
38323         * time/time.h: TIME_UTC must be a macro.
38324         Make timespec_get available for ISO C11 only as well.
38325
38326 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38327
38328         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38329         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38330
38331 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38332
38333         * configure.in: Use -o not -a in test for unsupported multi-arch.
38334
38335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38336
38337         * manual/texinfo.tex: Update to version 2012-01-19.16.
38338
38339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38340
38341         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38342
38343 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38344
38345         [BZ #13738]
38346         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38347         * manual/fdl-1.3.texi: New file.
38348         * manual/fdl-1.1.texi: File removed.
38349
38350         [BZ #13738]
38351         * manual/libc.texinfo (FDL_VERSION): New @set.
38352         Use it for mention of FDL in cover text.
38353         (Documentation License): Use it in @include file name.
38354
38355 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38356             Roland McGrath  <roland@hack.frob.com>
38357
38358         [BZ #5461]
38359         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38360         (not LONG_LONG_MAX and LONG_LONG_MIN.
38361         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38362         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38363         name.
38364         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38365
38366 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38367
38368         [BZ #2547]
38369         [BZ #11365]
38370         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38371         manipulate bits before adding and subtracting TWO23[sx].
38372         * math/libm-test.inc (nearbyint_test): Add more tests.
38373
38374 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38375
38376         [BZ #2548]
38377         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38378         bits before adding and subtracting TWO23[sx].
38379         * math/libm-test.inc (rint_test): Add more tests.
38380         (rint_test_tonearest): Likewise.
38381         (rint_test_towardzero): Likewise.
38382         (rint_test_downward): Likewise.
38383         (rint_test_upward: Likewise.
38384
38385 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38386
38387         [BZ #10110]
38388         * include/stdc-predef.h: New file.  Extracted from features.h.
38389         * include/features.h: Include stdc-predef.h.
38390         * Makefile (headers): Add stdc-predef.h.
38391         * CONFORMANCE (Compiler limitations): Update.
38392
38393 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38394
38395         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38396
38397 2012-02-21  David S. Miller  <davem@davemloft.net>
38398
38399         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38400         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38401
38402 2012-02-20  David S. Miller  <davem@davemloft.net>
38403
38404         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38405         using a normal save/restore sequence, rather than allocating a
38406         dummy stack frame just to store a frame pointer and restore.
38407         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38408
38409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38410
38411         * manual/install.texi: Fix stray word in line-wrapped comment.
38412
38413 2012-02-20  David S. Miller  <davem@davemloft.net>
38414
38415         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38416         both binutils and gcc support GOTDATA.
38417
38418         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38419         "rd %pc" in the PIC register setup sequences.
38420
38421         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38422         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38423         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38424         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38425         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38428         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38430         (SYSCALL_ERROR_HANDLER): Likewise.
38431         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38432         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38434         (SYSCALL_ERROR_HANDLER): Likewise.
38435
38436         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38437         (HAVE_GCC_GOTDATA): New.
38438         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38439         relocation support in both binutils and gcc.
38440         * sysdeps/sparc/elf/configure: Regenerate.
38441
38442         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38443         * sysdeps/sparc/sparc32/elf/configure: Delete.
38444         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38445         * sysdeps/sparc/sparc64/elf/configure: Delete.
38446         * sysdeps/sparc/elf/configure.in: New file.
38447         * sysdeps/sparc/elf/configure: Generate.
38448
38449         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38450         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38451         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38452         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38453         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38454
38455 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38456
38457         * manual/install.texi: Do not mention specific glibc version
38458         numbers.
38459         * manual/libc.texinfo (VERSION, UPDATED): Update.
38460         (@copying): Use @copyright{} and range of years.
38461
38462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38463
38464         [BZ #13695]
38465         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38466         [crti.S not in sysdirs] (generated): Do not append.
38467         [crti.S not in sysdirs] (omit-deps): Likewise.
38468         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38469         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38470         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38471         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38472         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38473         Likewise.
38474         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38475         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38476         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38477         * csu/defs.awk: Remove file.
38478         * sysdeps/generic/initfini.c: Likewise.
38479         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38480         variable.
38481         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38482         Likewise.
38483
38484 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38485
38486         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38487         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38488         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38489         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38490         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38491         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38492         <bits/epoll.h>.
38493         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38494         (__EPOLL_PACKED): Define to empty if not defined by
38495         <bits/epoll.h>.
38496         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38498         bits/epoll.h.
38499
38500 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38501
38502         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38503         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38504         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38506         <bits/timerfd.h>.
38507         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38509         bits/timerfd.h.
38510
38511 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38512
38513         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38514         in C locale.
38515         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38517         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38519
38520 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38521
38522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38524
38525 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38526
38527         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38528         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38529         defined.
38530         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38531         Likewise.
38532         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38533         entry for 2.16.
38534
38535 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38536
38537         * math/w_acos.c: Use non-signaling floating-point comparisons.
38538         * math/w_acosf.c: Likewise.
38539         * math/w_acosh.c: Likewise.
38540         * math/w_acoshf.c: Likewise.
38541         * math/w_acoshl.c: Likewise.
38542         * math/w_acosl.c: Likewise.
38543         * math/w_asin.c: Likewise.
38544         * math/w_asinf.c: Likewise.
38545         * math/w_asinl.c: Likewise.
38546         * math/w_atanh.c: Likewise.
38547         * math/w_atanhf.c: Likewise.
38548         * math/w_atanhl.c: Likewise.
38549         * math/w_exp2.c: Likewise.
38550         * math/w_exp2f.c: Likewise.
38551         * math/w_exp2l.c: Likewise.
38552         * math/w_j0.c: Likewise.
38553         * math/w_j0f.c: Likewise.
38554         * math/w_j0l.c: Likewise.
38555         * math/w_j1.c: Likewise.
38556         * math/w_j1f.c: Likewise.
38557         * math/w_j1l.c: Likewise.
38558         * math/w_jn.c: Likewise.
38559         * math/w_jnf.c: Likewise.
38560         * math/w_log.c: Likewise.
38561         * math/w_log10.c: Likewise.
38562         * math/w_log10f.c: Likewise.
38563         * math/w_log10l.c: Likewise.
38564         * math/w_log2.c: Likewise.
38565         * math/w_log2f.c: Likewise.
38566         * math/w_log2l.c: Likewise.
38567         * math/w_logf.c: Likewise.
38568         * math/w_logl.c: Likewise.
38569         * math/w_sqrt.c: Likewise.
38570         * math/w_sqrtf.c: Likewise.
38571         * math/w_sqrtl.c: Likewise.
38572         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38573         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38575         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38576         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38577
38578 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38579
38580         [BZ #9739]
38581         * manual/string.texi (strnlen): Use correct parameter name in
38582         equivalent expression.
38583
38584 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38585
38586         [BZ #11174]
38587         * manual/users.texi (seteuid): Consistently use neweuid for
38588         argument name.
38589
38590 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38591
38592         [BZ #13704]
38593         * manual/nss.texi (Services in the NSS configuration): Correct
38594         list of services in example configuration file.
38595
38596 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38597
38598         [BZ #11322]
38599         * manual/arith.texi: Remove statements about negative zero
38600         behaving identically to zero.
38601
38602 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38603
38604         [BZ #5993]
38605         * manual/install.texi: Do not document upgrading from libc5.
38606
38607 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38608
38609         [BZ #4596]
38610         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38611
38612 2012-02-18  David S. Miller  <davem@davemloft.net>
38613
38614         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38615         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38616         %o7 across the call.
38617         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38618         instead.
38619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38620         SETUP_PIC_REG_LEAF.
38621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38622         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38623         * sysdeps/sparc/crtn.S: Likewise.
38624
38625 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38626
38627         * aout/Makefile: Remove.
38628
38629 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38630
38631         [BZ #13058]
38632         * manual/examples/argp-ex1.c (main): Format definition in GNU
38633         style.
38634         * manual/examples/argp-ex2.c (main): Likewise.
38635         * manual/examples/argp-ex3.c (main): Likewise.
38636         * manual/examples/argp-ex4.c (main): Likewise.
38637         * manual/examples/longopt.c (main): Use new-style prototype
38638         definition.
38639         * manual/examples/strncat.c (main): Specify return type and use
38640         (void) for arguments.
38641         * manual/examples/subopt.c (main): Use char **argv argument.
38642
38643 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38644
38645         [BZ #5077]
38646         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38647         rounding modes.
38648
38649 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38650
38651         [BZ #6907]
38652         * manual/string.texi (strchr): Change when strchrnul is
38653         recommended.
38654
38655 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38656
38657         [BZ #174]
38658         * manual/locale.texi (setlocale): Document LOCPATH.
38659
38660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38661
38662         [BZ #10210]
38663         * manual/process.texi (execle): Move @dots{} before last argument.
38664
38665 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38666
38667         [BZ #12047]
38668         * manual/charset.texi (Generic Charset Conversion): Fix typo
38669         (LC_TYPE -> LC_CTYPE).
38670
38671 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38672
38673         [BZ #5805]
38674         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38675         (scalbnf): Likewise.
38676         (scalbnl): Likewise.
38677         (scalbln): Likewise.
38678         (scalblnf): Likewise.
38679         (scalblnl): Likewise.
38680         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38681         (vwarnx): Likewise.
38682         (verr): Likewise.
38683         (verrx): Likewise.
38684         * manual/filesys.texi (telldir): Use braces around return type.
38685         * manual/llio.texi (mmap): Add space after comma.
38686         (mmap64): Likewise.
38687         * manual/math.texi (jn): Use @var{} on parameter names.
38688         (jnf): Likewise.
38689         (jnl): Likewise.
38690         (yn): Likewise.
38691         (ynf): Likewise.
38692         (ynl): Likewise.
38693         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38694         line.
38695         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38696         "...".
38697         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38698         (sched_get_priority_max): Likewise.
38699         * manual/signal.texi (sigvec): Add space after comma.
38700         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38701         names.
38702         (if_indextoname): Likewise.
38703         (if_freenameindex): Likewise.
38704         (sendto): Use ',' instead of '.' in prototype.
38705         * manual/startup.texi (syscall): Use @dots{} instead of literal
38706         "...".
38707         * manual/stdio.texi (__fpending): Separate initial words of
38708         paragraph from @deftypefun line.
38709         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38710         "...".
38711         (vsyslog): Use @var{} on parameter names.
38712         * manual/terminal.texi (stty): Use @var{} on parameter names.
38713         * manual/users.texi (getutmp): Use @var{} on parameter names.
38714         (getutmpx): Likewise.
38715
38716 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38717
38718         [BZ #6884]
38719         * manual/stdio.texi (fopen): Fix typos in description of
38720         ",ccs=STRING".
38721
38722 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38723
38724         [BZ #4026]
38725         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38726         get clock_id definition.
38727
38728 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38729
38730         [BZ #4822]
38731         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38732         (madvise): Cast every argument to void on its own.
38733
38734 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38735
38736         [BZ #9902]
38737         * manual/startup.texi (Exit Status): Fix typo.
38738
38739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38740
38741         [BZ #10140]
38742         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38743         * manual/examples/argp-ex2.c: Likewise.
38744         * manual/examples/argp-ex3.c: Likewise.
38745
38746 2012-02-16  Richard Henderson  <rth@redhat.com>
38747
38748         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38749         * sysdeps/s390/s390-32/initfini.c: Remove.
38750         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38751         * sysdeps/s390/s390-64/initfini.c: Remove.
38752
38753 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38754
38755         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38756         compiler output for sysdeps/generic/initfini.c.
38757         * sysdeps/sh/elf/initfini.c: Remove file.
38758
38759 2012-02-16  David S. Miller  <davem@davemloft.net>
38760
38761         [BZ #11494]
38762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38763
38764         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38765         * sysdeps/sparc/crti.S: New file.
38766         * sysdeps/sparc/crtn.S: New file.
38767         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38768         * sysdeps/sparc/sparc64/Makefile: Likewise.
38769
38770 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38771
38772         [BZ #3335]
38773         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38774
38775 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38776
38777         [BZ #4822]
38778         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38779
38780         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38781         (write, read, close): Likewise.
38782         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38783
38784 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38785
38786         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38787         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38788         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38789         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38790         <bits/signalfd.h>.
38791         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38793         bits/signalfd.h.
38794
38795 2012-02-14  Marek Polacek  <polacek@redhat.com>
38796
38797         * sysdeps/x86_64/crti.S: New file.
38798         * sysdeps/x86_64/crtn.S: New file.
38799         * sysdeps/x86_64/elf/initfini.c: Remove file.
38800
38801 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38802
38803         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38804         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38805         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38806         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38807         <bits/inotify.h>.
38808         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38810         bits/inotify.h.
38811
38812 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38813
38814         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38815         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38816         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38817         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38818         <bits/eventfd.h>.
38819         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38821         bits/eventfd.h.
38822
38823 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38824
38825         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38826         __feraiseexcept instead of feraiseexcept.
38827
38828         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38829         nanosleep invocations.
38830         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38831         strings, and add error checking for a nanosleep invocations.
38832
38833 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38834
38835         Replace FSF snail mail address with URLs, as per GNU coding standards.
38836         Most of the snail mail addresses were wrong anyway, and omitting
38837         them makes the source code easier to maintain.  Almost all of the
38838         changes are to license notices and to locale LC_IDENTIFICATION
38839         addresses, except for this one:
38840         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38841         not its snail mail address.
38842
38843 2012-02-09  Richard Henderson  <rth@twiddle.net>
38844
38845         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38846         of kernel-features.h.
38847
38848         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38849
38850 2012-02-08  Marek Polacek  <polacek@redhat.com>
38851
38852         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38853         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38854         * sysdeps/gnu/_G_config.h: Likewise.
38855         * sysdeps/generic/_G_config.h: Likewise.
38856
38857 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38858
38859         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38860         tests.
38861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38862
38863         * sysdeps/powerpc/powerpc32/crti.S: New file.
38864         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38865         * sysdeps/powerpc/powerpc64/crti.S: New file.
38866         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38867
38868         * Makeconfig (have-initfini): Don't set.
38869         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38870         * configure.in (nopic_initfini): Don't substitute.
38871         * config.h.in (HAVE_INITFINI): Don't #undef.
38872         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38873         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38874
38875 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38876
38877         Support crti.S and crtn.S provided directly by architectures.
38878         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38879         [crti.S in sysdirs] (omit-deps): Likewise.
38880         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38881         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38882         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38883         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38884         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38885         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38886         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38887         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38888         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38889         compiler output for sysdeps/generic/initfini.c.
38890         * sysdeps/i386/elf/Makefile: Remove file.
38891         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38892
38893 2012-02-07  Marek Polacek  <polacek@redhat.com>
38894
38895         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38896         * sysdeps/gnu/_G_config.h: Likewise.
38897         * sysdeps/mach/hurd/_G_config.h: Likewise.
38898
38899 2012-02-07  Marek Polacek  <polacek@redhat.com>
38900
38901         * math/Makefile (tests): Add tst-CMPLX2.
38902         * math/tst-CMPLX2.c: New file.
38903
38904 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38905
38906         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38907
38908         * math/libm-test.inc (jn_test): Add missing L suffix.
38909
38910 2012-02-06  Marek Polacek  <polacek@redhat.com>
38911
38912         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38913         * sysdeps/i386/fpu/e_powf.S: Likewise.
38914         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38915         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38916         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38917         * sysdeps/i386/fpu/e_pow.S: Likewise.
38918         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38919         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38920         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38921         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38922         * sysdeps/i386/fpu/e_log2.S: Likewise.
38923         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38924         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38925         * sysdeps/i386/fpu/e_powl.S: Likewise.
38926         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38929         * sysdeps/i386/fpu/e_logl.S: Likewise.
38930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38931         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38932         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38933         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38934         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38935         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38936         * sysdeps/i386/fpu/e_log.S: Likewise.
38937         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38939         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38940         * sysdeps/i386/fpu/e_logf.S: Likewise.
38941         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38942         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38943         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38944         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38945         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38946         * sysdeps/i386/fpu/e_log10.S: Likewise.
38947         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38948         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38949         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38950         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38951         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38952         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38953         * sysdeps/i386/asm-syntax.h: Likewise.
38954         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38955         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38956         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38957         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38958         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38963         * sysdeps/powerpc/sysdep.h: Likewise.
38964         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38966
38967 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38968
38969         [BZ #411]
38970         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38971
38972 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38973
38974         * sysdeps/i386/sysdep.h: Include <features.h>.
38975         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38976         version.
38977
38978 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38979
38980         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38981         Define.
38982         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38983         LOAD_PIC_REG_STR.
38984
38985 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38986
38987         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38988         (SETUP_PIC_REG): Use GET_PC_THUNK.
38989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38990         macro.
38991
38992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38993
38994         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38995         for non-PIC compilation.
38996         (SETUP_PIC_REG): Add .p2align directive.
38997         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38998         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38999         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39000         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39001         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39002         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39003         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39004         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39005         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39006         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39007         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39008         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39009         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39010         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39011         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39012         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39013         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39014         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39015         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39016         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39017         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39018         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39019         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39020         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39024         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39025         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39026         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39027         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39029         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39030         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39031         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39032         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39033         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39034         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39036         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39038
39039 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39040
39041         * math/tst-CMPLX.c: Include <stdio.h>.
39042
39043 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39044
39045         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39046         float.
39047         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39048         * sysdeps/sparc/bits/mathdef.h: Likewise.
39049
39050 2012-01-31  Marek Polacek  <polacek@redhat.com>
39051
39052         * libio/libio.h: Don't define _PARAMS.
39053         * locale/programs/config.h: Don't define PARAMS.
39054         * stdlib/strtol_l.c: Likewise.
39055         (__strtol_l): Remove PARAMS from the prototype.
39056
39057 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39058
39059         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39060         names.  Just use the correct names.  Remove unnecessary wrapper
39061         functions.
39062         * malloc/arena.c: Likewise.
39063         * malloc/hooks.c: Likewise.
39064
39065         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39066         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39067         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39068
39069 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39070
39071         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39072         into tail calls.
39073         (update_get_addr): New function.
39074         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39075         GET_ADDR_MODULE parameter.
39076
39077 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39078
39079         * crypt/cert.c: Remove __STDC__ conditionals.
39080         * crypt/crypt-entry.c: Likewise.
39081         * crypt/crypt_util.c: Likewise.
39082         * libio/filedoalloc.c: Likewise.
39083         * libio/fileops.c: Likewise.
39084         * libio/genops.c: Likewise.
39085         * libio/iofclose.c: Likewise.
39086         * libio/iofdopen.c: Likewise.
39087         * libio/iofopen.c: Likewise.
39088         * libio/iofopen64.c: Likewise.
39089         * libio/iogetdelim.c: Likewise.
39090         * libio/iopopen.c: Likewise.
39091         * libio/obprintf.c: Likewise.
39092         * libio/oldfileops.c: Likewise.
39093         * libio/oldiofclose.c: Likewise.
39094         * libio/oldiofdopen.c: Likewise.
39095         * libio/oldiofopen.c: Likewise.
39096         * libio/oldiopopen.c: Likewise.
39097         * libio/wfiledoalloc.c: Likewise.
39098         * libio/wgenops.c: Likewise.
39099         * locale/programs/xmalloc.c: Likewise.
39100         * misc/syslog.c: Likewise.
39101         * stdio-common/xbug.c: Likewise.
39102         * string/memchr.c: Likewise.
39103         * string/memcmp.c: Likewise.
39104         * string/memrchr.c: Likewise.
39105         * string/rawmemchr.c: Likewise.
39106         * sysdeps/posix/getcwd.c: Likewise.
39107         * time/strftime_l.c: Likewise.
39108
39109 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39110
39111         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39112         * config.make.in (config-cflags-sse2avx): Define.
39113         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39114         Fix typo.
39115
39116 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39117
39118         * scripts/config.guess: Update from upstream config git repository.
39119         * scripts/config.sub: Likewise.
39120
39121 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39122
39123         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39124         (EM_NUM): Update.
39125         (R_TILEPRO_*, R_TILEGX_*): New macros.
39126
39127         * scripts/firstversions.awk: Fix bug in version range handling.
39128
39129         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39130
39131         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39132
39133         * include/sys/epoll.h: New file.
39134         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39135         libc_hidden_def.
39136
39137 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39138
39139         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39140         Avoid unnecessary __WORDSIZE == 64 test.
39141         (fmaxf): Use VEX format if possible.
39142         (fmax): Likewise.
39143         (fminf): Likewise.
39144         (fmin): Likewise.
39145
39146         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39147         * math/math_private.h: Remove libc_fegetround* and
39148         libc_fesetround*.
39149         * sysdeps/i386/configure.in: Check for -msse2avx.
39150         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39151         also if SSE2AVX is defined.
39152         Remove libc_fegetround* and libc_fesetround*.
39153         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39154         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39156         of HAS_YMM_USABLE.
39157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39158         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39159         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39160         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39161         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39162
39163         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39164
39165 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39166
39167         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39168         size is not set.
39169         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39170
39171 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39172
39173         [BZ #13618]
39174         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39175         relocation.
39176         * Makeconfig (libm): Define.
39177         * elf/Makefile: Add rules to build and run tst-relsort1.
39178         * elf/tst-relsort1.c: New file.
39179         * elf/tst-relsort1mod1.c: New file.
39180         * elf/tst-relsort1mod2.c: New file.
39181
39182 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39183
39184         * math/s_ldexp.c: Remove __STDC__ conditionals.
39185         * math/s_ldexpf.c: Likewise.
39186         * math/s_ldexpl.c: Likewise.
39187         * math/s_nextafter.c: Likewise.
39188         * math/s_nexttowardf.c: Likewise.
39189         * math/s_significand.c: Likewise.
39190         * math/s_significandf.c: Likewise.
39191         * math/s_significandl.c: Likewise.
39192         * math/w_jnl.c: Likewise.
39193         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39194         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39195         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39196         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39197         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39199         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39202         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39203         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39204         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39205         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39206         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39207         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39209         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39210         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39212         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39213         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39214         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39215         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39216         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39217         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39218         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39219         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39220         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39221         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39222         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39223         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39224         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39225         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39227         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39228         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39229         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39230         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39231         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39232         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39233         * sysdeps/ieee754/k_standard.c: Likewise.
39234         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39235         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39236         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39237         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39238         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39239         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39241         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39242         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39243         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39244         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39245         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39246         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39247         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39248         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39250         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39253         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39254         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39255         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39256         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39257         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39259         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39260         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39261         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39265         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39268         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39269         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39270         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39272         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39273         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39274         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39276         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39277         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39279         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39282         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39283         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39284         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39288         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39290         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39291         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39292         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39293         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39294         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39295         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39296         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39297         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39298         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39299         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39300         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39301         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39302         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39303         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39304         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39305         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39306         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39307         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39308         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39309         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39310         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39311         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39312         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39313         * sysdeps/ieee754/s_matherr.c: Likewise.
39314         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39315         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39318
39319 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39320
39321         * crypt/md5.h: Remove __STDC__ conditionals.
39322         * libio/libioP.h: Likewise.
39323         * locale/programs/config.h: Likewise.
39324         * sysdeps/generic/sysdep.h: Likewise.
39325         * sysdeps/i386/asm-syntax.h: Likewise.
39326         * sysdeps/s390/asm-syntax.h: Likewise.
39327         * sysdeps/unix/sysdep.h: Likewise.
39328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39330
39331 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39332
39333         * libio/libio.h: Remove __STDC__ conditionals.
39334         * malloc/obstack.h: Likewise.
39335         * math/complex.h: Likewise.
39336         * math/math.h: Likewise.
39337         * sysdeps/generic/_G_config.h: Likewise.
39338         * sysdeps/gnu/_G_config.h: Likewise.
39339         * sysdeps/mach/hurd/_G_config.h: Likewise.
39340         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39341         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39342         * sysdeps/sparc/bits/mathdef.h: Likewise.
39343
39344 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39345
39346         [BZ #13583]
39347         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39348         Clean up HAS_* macros.
39349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39350         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39351         possible.
39352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39353         HAS_AVX.
39354         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39355         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39356         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39357         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39359
39360 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39361
39362         * elf/tst-unique3.cc (gets): Remove declaration.
39363         * elf/tst-unique3lib.cc (gets): Likewise.
39364         * elf/tst-unique3lib2.cc (gets): Likewise.
39365         * elf/tst-unique4.cc (gets): Likewise.
39366
39367 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39368
39369         * include/stdio.h: Add C++ protection.  Add gets declarations and
39370         definitions.
39371         * debug/tst-chk1.c: Don't declare gets here.
39372         * stdio-common/tst-gets.c: Likewise.
39373
39374 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39375
39376         * posix/glob: Remove directory.
39377
39378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39379
39380         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39381
39382 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39383
39384         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39385         of the non-standard EPFNOSUPPORT.
39386
39387 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39388
39389         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39390         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39391         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39392
39393 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39394
39395         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39396
39397 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39398
39399         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39400         transient errors.
39401         * nscd/grpcache.c (cache_addgr): Likewise.
39402         * nscd/hstcache.c (cache_addhst): Likewise.
39403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39404         * nscd/pwdcache.c (cache_addpw): Likewise.
39405         * nscd/servicescache.c (cache_addserv): Likewise.
39406
39407 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39408
39409         * malloc/malloc.c: Various cleanups.
39410         * malloc/hooks.c: Likewise.
39411
39412         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39413         * stdlib/bug-fmtmsg1.c: New file.
39414
39415         * stdlib/fmtmsg.c (init): Add missing unlock.
39416         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39417
39418 2012-01-12  Marek Polacek  <polacek@redhat.com>
39419
39420         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39421         and _GNU_SOURCE.
39422
39423 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39424
39425         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39426         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39427         macro to ensure uniqueness of label name.
39428         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39429         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39430
39431 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39432
39433         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39434
39435         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39436         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39437         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39439
39440 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39441
39442         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39443
39444         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39445         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39446         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39447
39448         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39449
39450         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39451         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39452         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39454
39455         * math/bits/math-finite.h: Add ldexp support.
39456
39457 2012-01-10  Marek Polacek  <polacek@redhat.com>
39458
39459         * locale/programs/localedef.h (show_archive_content): Add noreturn
39460         attribute.
39461
39462 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39463
39464         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39465
39466 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39467
39468         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39469
39470         * io/Makefile (headers): Add bits/poll2.h.
39471
39472 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39473
39474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39475         typo #include statement.
39476
39477 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39478
39479         * include/sys/cdefs.h: Define __attribute_alloc_size.
39480         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39481         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39482         * elf/pldd.c: Likewise.
39483         * iconv/iconv_charmap.c: Likewise.
39484         * iconv/iconvconfig.c: Likewise.
39485         * iconv/strtab.c: Likewise.
39486         * locale/programs/locale.c: Likewise.
39487         * locale/programs/localedef.h: Likewise.
39488         * locale/programs/simple-hash.c: Likewise.
39489         * nscd/nscd.h: Likewise.
39490         * nss/makedb.c: Likewise.
39491         * sysdeps/generic/ldconfig.h: Likewise.
39492         * locale/programs/localedef.c: Remove xmalloc prototype.
39493         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39494
39495 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39496
39497         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39498         appropriate.
39499
39500 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39501
39502         * math/Makefile (tests): Add tst-CMPLX.
39503         * math/tst-CMPLX.c: New file.
39504
39505         * math/complex.h (CMPLXL): Fix typo.
39506
39507         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39508         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39509         GLIBC_2.16.
39510         * debug/tst-chk1.c: Add poll and ppoll tests.
39511         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39512         * include/sys/poll.h: Add hidden proto for ppoll.
39513         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39514         * sysdeps/mach/hurd/ppoll.c: Likewise.
39515         * io/ppoll.c: Likewise.
39516         * debug/poll_chk.c: New file.
39517         * debug/ppoll_chk.c: New file.
39518         * include/bits/poll2.h: New file.
39519         * io/bits/poll2.h: New file.
39520
39521         [BZ #1350]
39522         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39523
39524         * configure.in: static is always set to yes.  Remove.
39525         * config.make.in: Don't set build-static.
39526         * Makeconfig: Remove use of build-static.
39527         * dlfcn/Makefile: Likewise.
39528         * elf/Makefile: Likewise.
39529         * math/Makefile: Likewise.
39530         * misc/Makefile: Likewise.
39531         * nptl/Makefile: Likewise.
39532         * sysdeps/mach/hurd/Makefile: Likewise.
39533
39534         * configure.in: PWD_P is not used anymore.
39535         * config.make.in: Remove PWD_P entry.
39536
39537         * configure.in: Remove last remnants of RANLIB.
39538         No need to check for signed size_t anymore.
39539         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39540         and IA-64.
39541         Remove __builtin_expect test because we require at least gcc 3.4.
39542         * aclocal.m4: Likewise.
39543
39544         * wcsmbs/mbrtoc16.c: Implement using towc function.
39545         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39546         * wcsmbs/wcsmbsload.c: Likewise.
39547         * iconv/gconv_simple.c: Likewise.
39548         * iconv/gconv_int.h: Likewise.
39549         * iconv/gconv_builtin.h: Likewise.
39550         * iconv/iconv_prog.c: Remove CHAR16 handling.
39551
39552         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39553
39554         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39555
39556         * configure.in: Remove --with-elf and --enable-bounded options.
39557         Dont set base_machine for ia64.  More non-ELF conditions removed.
39558         Remove testing and setting of leading underscore information.
39559         * config.make.in (build-bounded): Set to no.
39560         * config.h.in: Remove NO_UNDERSCORES entry.
39561         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39562         them.
39563         * csu/start.c: Remove !NO_UNDERSCORE code.
39564         * locale/localeinfo.h: Likewise.
39565         * sysdeps/generic/machine-gmon.h: Likewise.
39566         * sysdeps/generic/sysdep.h: Likewise.
39567         * sysdeps/i386/sysdep.h: Likewise.
39568         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39569         * sysdeps/mach/sysdep.h: Likewise.
39570         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39572         * sysdeps/sh/sysdep.h: Likewise.
39573         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39574         * sysdeps/unix/i386/sysdep.S: Likewise.
39575         * sysdeps/unix/sparc/start.c: Likewise.
39576         * sysdeps/unix/sparc/sysdep.S: Likewise.
39577         * sysdeps/unix/sparc/sysdep.h: Likewise.
39578         * sysdeps/unix/start.c: Likewise.
39579         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39580         * sysdeps/x86_64/sysdep.h: Likewise.
39581
39582 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39583
39584         [BZ #13553]
39585         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39586         for non-gcc.
39587         * argp/argp-fmtstream.h: Use const instead __const.
39588         * argp/argp.h: Likewise.
39589         * assert/assert.h: Likewise.
39590         * bits/fenv.h: Likewise.
39591         * bits/sched.h: Likewise.
39592         * bits/sigset.h: Likewise.
39593         * bits/sigthread.h: Likewise.
39594         * catgets/nl_types.h: Likewise.
39595         * conform/data/pthread.h-data: Likewise.
39596         * crypt/crypt-private.h: Likewise.
39597         * crypt/crypt.h: Likewise.
39598         * crypt/crypt_util.c: Likewise.
39599         * ctype/ctype.h: Likewise.
39600         * debug/execinfo.h: Likewise.
39601         * debug/mbsnrtowcs_chk.c: Likewise.
39602         * debug/mbsrtowcs_chk.c: Likewise.
39603         * debug/wcsnrtombs_chk.c: Likewise.
39604         * debug/wcsrtombs_chk.c: Likewise.
39605         * debug/wcstombs_chk.c: Likewise.
39606         * dirent/dirent.h: Likewise.
39607         * dlfcn/dlfcn.h: Likewise.
39608         * elf/neededtest4.c: Likewise.
39609         * grp/grp.h: Likewise.
39610         * gshadow/gshadow.h: Likewise.
39611         * iconv/gconv.h: Likewise.
39612         * iconv/gconv_int.h: Likewise.
39613         * iconv/gconv_simple.c: Likewise.
39614         * iconv/iconv.h: Likewise.
39615         * iconv/loop.c: Likewise.
39616         * iconv/skeleton.c: Likewise.
39617         * include/aio.h: Likewise.
39618         * include/aliases.h: Likewise.
39619         * include/argz.h: Likewise.
39620         * include/arpa/inet.h: Likewise.
39621         * include/assert.h: Likewise.
39622         * include/dirent.h: Likewise.
39623         * include/dlfcn.h: Likewise.
39624         * include/execinfo.h: Likewise.
39625         * include/fcntl.h: Likewise.
39626         * include/fenv.h: Likewise.
39627         * include/glob.h: Likewise.
39628         * include/grp.h: Likewise.
39629         * include/libintl.h: Likewise.
39630         * include/mntent.h: Likewise.
39631         * include/netdb.h: Likewise.
39632         * include/pwd.h: Likewise.
39633         * include/rpc/netdb.h: Likewise.
39634         * include/sched.h: Likewise.
39635         * include/search.h: Likewise.
39636         * include/shadow.h: Likewise.
39637         * include/signal.h: Likewise.
39638         * include/stdio.h: Likewise.
39639         * include/stdlib.h: Likewise.
39640         * include/string.h: Likewise.
39641         * include/sys/socket.h: Likewise.
39642         * include/sys/stat.h: Likewise.
39643         * include/sys/statfs.h: Likewise.
39644         * include/sys/statvfs.h: Likewise.
39645         * include/sys/syslog.h: Likewise.
39646         * include/sys/time.h: Likewise.
39647         * include/sys/uio.h: Likewise.
39648         * include/time.h: Likewise.
39649         * include/unistd.h: Likewise.
39650         * include/utmp.h: Likewise.
39651         * include/wchar.h: Likewise.
39652         * include/wctype.h: Likewise.
39653         * inet/aliases.h: Likewise.
39654         * inet/arpa/inet.h: Likewise.
39655         * inet/netinet/ether.h: Likewise.
39656         * inet/netinet/in.h: Likewise.
39657         * intl/libintl.h: Likewise.
39658         * io/bits/fcntl2.h: Likewise.
39659         * io/fcntl.h: Likewise.
39660         * io/ftw.h: Likewise.
39661         * io/sys/poll.h: Likewise.
39662         * io/sys/stat.h: Likewise.
39663         * io/sys/statfs.h: Likewise.
39664         * io/sys/statvfs.h: Likewise.
39665         * io/utime.h: Likewise.
39666         * libio/bits/stdio.h: Likewise.
39667         * libio/bits/stdio2.h: Likewise.
39668         * libio/libio.h: Likewise.
39669         * libio/libioP.h: Likewise.
39670         * libio/stdio.h: Likewise.
39671         * locale/lc-ctype.c: Likewise.
39672         * locale/locale.h: Likewise.
39673         * login/utmp.h: Likewise.
39674         * malloc/arena.c: Likewise.
39675         * malloc/malloc.c: Likewise.
39676         * malloc/malloc.h: Likewise.
39677         * malloc/mcheck.c: Likewise.
39678         * malloc/mtrace.c: Likewise.
39679         * math/bits/mathcalls.h: Likewise.
39680         * math/fenv.h: Likewise.
39681         * math/math_private.h: Likewise.
39682         * misc/bits/error.h: Likewise.
39683         * misc/bits/syslog.h: Likewise.
39684         * misc/err.h: Likewise.
39685         * misc/error.h: Likewise.
39686         * misc/fstab.h: Likewise.
39687         * misc/mntent.h: Likewise.
39688         * misc/regexp.h: Likewise.
39689         * misc/search.h: Likewise.
39690         * misc/sgtty.h: Likewise.
39691         * misc/sys/mman.h: Likewise.
39692         * misc/sys/syslog.h: Likewise.
39693         * misc/sys/uio.h: Likewise.
39694         * misc/sys/xattr.h: Likewise.
39695         * misc/ttyent.h: Likewise.
39696         * nis/rpcsvc/ypclnt.h: Likewise.
39697         * nss/nss.h: Likewise.
39698         * posix/bits/unistd.h: Likewise.
39699         * posix/fnmatch.h: Likewise.
39700         * posix/glob.h: Likewise.
39701         * posix/sched.h: Likewise.
39702         * posix/spawn.h: Likewise.
39703         * posix/sys/wait.h: Likewise.
39704         * posix/unistd.h: Likewise.
39705         * posix/wordexp.h: Likewise.
39706         * pwd/pwd.h: Likewise.
39707         * resolv/netdb.h: Likewise.
39708         * resource/sys/resource.h: Likewise.
39709         * rt/aio.h: Likewise.
39710         * rt/bits/mqueue2.h: Likewise.
39711         * rt/mqueue.h: Likewise.
39712         * shadow/shadow.h: Likewise.
39713         * signal/signal.h: Likewise.
39714         * socket/send.c: Likewise.
39715         * socket/sendto.c: Likewise.
39716         * socket/sys/socket.h: Likewise.
39717         * stdio-common/printf.h: Likewise.
39718         * stdlib/bits/stdlib.h: Likewise.
39719         * stdlib/fmtmsg.h: Likewise.
39720         * stdlib/monetary.h: Likewise.
39721         * stdlib/stdlib.h: Likewise.
39722         * stdlib/ucontext.h: Likewise.
39723         * streams/stropts.h: Likewise.
39724         * string/argz.h: Likewise.
39725         * string/bits/string2.h: Likewise.
39726         * string/string.h: Likewise.
39727         * string/strings.h: Likewise.
39728         * sunrpc/rpc/auth.h: Likewise.
39729         * sunrpc/rpc/auth_des.h: Likewise.
39730         * sunrpc/rpc/clnt.h: Likewise.
39731         * sunrpc/rpc/netdb.h: Likewise.
39732         * sunrpc/rpc/pmap_clnt.h: Likewise.
39733         * sunrpc/rpc/xdr.h: Likewise.
39734         * sysdeps/generic/inttypes.h: Likewise.
39735         * sysdeps/generic/net/if.h: Likewise.
39736         * sysdeps/generic/sys/swap.h: Likewise.
39737         * sysdeps/gnu/net/if.h: Likewise.
39738         * sysdeps/gnu/utmpx.h: Likewise.
39739         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39740         * sysdeps/i386/i486/bits/string.h: Likewise.
39741         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39742         * sysdeps/s390/bits/string.h: Likewise.
39743         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39744         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39745         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39746         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39747         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39748         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39749         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39750         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39751         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39752         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39753         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39754         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39755         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39756         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39757         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39758         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39759         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39761         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39763         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39764         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39765         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39766         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39767         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39768         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39769         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39770         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39771         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39772         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39773         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39774         * sysvipc/sys/ipc.h: Likewise.
39775         * sysvipc/sys/msg.h: Likewise.
39776         * sysvipc/sys/sem.h: Likewise.
39777         * sysvipc/sys/shm.h: Likewise.
39778         * termios/termios.h: Likewise.
39779         * time/sys/time.h: Likewise.
39780         * time/time.h: Likewise.
39781         * wcsmbs/bits/wchar2.h: Likewise.
39782         * wcsmbs/uchar.h: Likewise.
39783         * wcsmbs/wchar.h: Likewise.
39784         * wctype/wctype.h: Likewise.
39785
39786         [BZ #13551]
39787         * Makeconfig: Remove all but ELF support including AIX support.
39788         * Makerules: Likewise.
39789         * config.h.in: Likewise.
39790         * config.make.in: Likewise.
39791         * configure: Likewise.
39792         * configure.in: Likewise.
39793         * csu/Makefile: Likewise.
39794         * csu/version.c: Likewise.
39795         * debug/Makefile: Likewise.
39796         * dlfcn/Makefile: Likewise.
39797         * elf/Makefile: Likewise.
39798         * extra-lib.mk: Likewise.
39799         * iconv/Makefile: Likewise.
39800         * include/libc-symbols.h: Likewise.
39801         * include/shlib-compat.h: Likewise.
39802         * resolv/Makefile: Likewise.
39803         * resolv/res_libc.c: Likewise.
39804         * rt/Makefile: Likewise.
39805         * sysdeps/i386/asm-syntax.h: Likewise.
39806         * sysdeps/i386/sysdep.h: Likewise.
39807         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39808         * sysdeps/mach/sysdep.h: Likewise.
39809         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39810         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39811         * sysdeps/s390/asm-syntax.h: Likewise.
39812         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39814         * sysdeps/sh/sysdep.h: Likewise.
39815         * sysdeps/unix/sparc/sysdep.h: Likewise.
39816         * sysdeps/wordsize-32/divdi3.c: Likewise.
39817         * sysdeps/x86_64/sysdep.h: Likewise.
39818
39819         * argp/Versions: Remove _argp_unlock_xxx.
39820
39821         [BZ #13559]
39822         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39823         * abilist/libBrokenLocale.abilist: Likewise.
39824         * abilist/libanl.abilist: Likewise.
39825         * abilist/libc.abilist: Likewise.
39826         * abilist/libcrypt.abilist: Likewise.
39827         * abilist/libdl.abilist: Likewise.
39828         * abilist/libm.abilist: Likewise.
39829         * abilist/libnsl.abilist: Likewise.
39830         * abilist/libpthread.abilist: Likewise.
39831         * abilist/libresolv.abilist: Likewise.
39832         * abilist/librt.abilist: Likewise.
39833         * abilist/libthread_db.abilist: Likewise.
39834         * abilist/libutil.abilist: Likewise.
39835         * abilist/libnss_db.abilist: New file.
39836
39837         * scripts/abilist.awk: Add support for indirect functions.
39838
39839         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39840
39841         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39842
39843         * shlib-versions: Remove entries for ports architectures.
39844
39845         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39846         files in ports.
39847         * elf/stackguard-macros.h: Remove support for IA-64.
39848         * elf/tst-auditmod1.c: Likewise.
39849         * sysdeps/generic/ldsodefs.h: Likewise.
39850
39851         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39852         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39853         configure files.
39854
39855         [BZ #13552]
39856         * configure.in: Remove --enable-omitfp support.
39857         * FAQ.in: Adjust.
39858         * config.make.in: Likewise.
39859         * Makeconfig: Likewise.
39860         * manual/install.texi: Likewise.
39861
39862         In case anyone cares, the IA-64 architecture could move to ports.
39863         * sysdeps/ia64/*: Removed.
39864         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39865         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39866
39867         [BZ #13555]
39868         * configure.in: Remove entries for unsupported architectures.
39869
39870         [BZ #13533]
39871         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39872         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39873         routines.
39874         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39875         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39876         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39877         fall back to using wcrtomb.
39878         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39879         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39880         renaming.
39881         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39882         * wcsmbs/tst-c16c32-1.c: New file.
39883
39884         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39885         local variable.
39886
39887         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39888
39889         * elf/tst-unique3.cc: Add explicit declaration of gets.
39890         * elf/tst-unique3lib.cc: Likewise.
39891         * elf/tst-unique3lib2.cc: Likewise.
39892         * elf/tst-unique4.cc: Likewise.
39893
39894         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39895
39896 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39897
39898         [BZ #13566]
39899         * assert/assert.h (static_assert): Don't define for C++.
39900         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39901         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39902
39903 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39904
39905         * iconv/loop.c (single loop): Fix assertion in storing of
39906         remaining bytes.
39907
39908         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39909
39910 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39911
39912         * posix/getconf.c: Update copyright year.
39913         * nss/getent.c: Likewise.
39914         * nss/makedb.c: Likewise.
39915         * iconv/iconvconfig.c: Likewise.
39916         * iconv/iconv_prog.c: Likewise.
39917         * elf/ldconfig.c: Likewise.
39918         * elf/pldd.c: Likewise.
39919         * elf/sotruss.ksh: Likewise.
39920         * catgets/gencat.c: Likewise.
39921         * csu/version.c: Likewise.
39922         * elf/ldd.bash.in: Likewise.
39923         * elf/sprof.c (print_version): Likewise.
39924         * locale/programs/locale.c: Likewise.
39925         * locale/programs/localedef.c: Likewise.
39926         * login/programs/pt_chown.c: Likewise.
39927         * nscd/nscd.c (print_version): Likewise.
39928         * debug/xtrace.sh: Likewise.
39929         * malloc/memusage.sh: Likewise.
39930         * malloc/mtrace.pl: Likewise.
39931         * debug/catchsegv.sh: Likewise.
39932
39933 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39934
39935         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39936         pure attribute.
39937
39938 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39939
39940         [BZ #13533]
39941         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39942         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39943         transformations.
39944         * iconv/gconv_int.h: Likewise.
39945         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39946         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39947         from libc for GLIBC_2.16.
39948         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39949         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39950         * wcsmbs/uchar.h: Really define mbstate_t.
39951         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39952         * wcsmbs/c16rtomb.c: New file.
39953         * wcsmbs/mbrtoc16.c: New file.
39954         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39955         for C/POSIX locale.
39956         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39957         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39958
39959         * wcsmbs/wchar.h: Add missing __restrict.
39960
39961 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39962
39963         [BZ #13532]
39964         * time/Makefile (routines): Add timespec_get.
39965         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39966         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39967         timespec for ISO C11.
39968         * time/timespec_get.c: New file.
39969         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39970         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39971
39972         [BZ #13531]
39973         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39974         * stdlib/stdlib.h: Declare aligned_alloc.
39975         * Versions.def: Add GLIBC_2.16 for libc.
39976         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39977
39978         [BZ 13527]
39979         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39980         ISO C11.
39981
39982         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39983         code.
39984
39985         [BZ #13528]
39986         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39987
39988         [BZ #13529]
39989         * assert/assert.h (static_assert): Define.
39990
39991         * version.h: Update for 2.16 development version.
39992
39993         [BZ #13526]
39994         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39995         _ISOC11_SOURCE.
39996
39997         * version.h (RELEASE): Bump for 2.15 release.
39998         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39999
40000         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40001         Patch by Marek Polacek <mpolacek@redhat.com>.
40002
40003         * bits/byteswap.h: Protect long long constants with __extension__.
40004         * sysdeps/i386/bits/byteswap.h: Likewise.
40005         * sysdeps/ia64/bits/byteswap.h: Likewise.
40006         * sysdeps/s390/bits/byteswap.h: Likewise.
40007         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40008
40009 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40010
40011         [BZ #13540]
40012         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40013         destination buffer.
40014         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40015
40016 2011-12-23  Marek Polacek  <polacek@redhat.com>
40017
40018         * elf/dl-addr.c (determine_info): Add inline keyword.
40019         * elf/tst-auditmod4b.c (check_avx): Likewise.
40020         * elf/tst-auditmod6b.c (check_avx): Likewise.
40021         * elf/tst-auditmod6c.c (check_avx): Likewise.
40022         * elf/tst-auditmod7b.c (check_avx): Likewise.
40023
40024 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40025
40026         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40027         !__SSE_MATH__.
40028
40029 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40030
40031         [BZ #13540]
40032         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40033         processing for last bytes.
40034
40035 2011-08-06  Bruno Haible  <bruno@clisp.org>
40036
40037         [BZ #13061]
40038         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40039         U+0385, not to U+1FEE.
40040
40041         [BZ #13062]
40042         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40043         entry for U+00A5 U+0301.
40044
40045 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40046
40047         [BZ #13166]
40048         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40049         buffer for the output is too small.
40050
40051         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40052         optimization.
40053
40054         [BZ #13185]
40055         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40056         SSE flags if possible.
40057
40058 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40059
40060         [BZ #13540]
40061         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40062         processing for last bytes.
40063
40064 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40065
40066         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40067         (syscall-list-default-options, syscall-list-default-condition)
40068         (syscall-list-includes): Define.
40069         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40070         list of ABIs and options and #if conditions for each ABI.  Do not
40071         handle common syscalls between ABIs specially.
40072         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40073         Remove.
40074         (syscall-list-variants, syscall-list-32bit-options)
40075         (syscall-list-32bit-condition, syscall-list-64bit-options)
40076         (syscall-list-64bit-condition): Define.
40077         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40078         (syscall-list-variants, syscall-list-32bit-options)
40079         (syscall-list-32bit-condition, syscall-list-64bit-options)
40080         (syscall-list-64bit-condition): Define.
40081         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40082         Remove.
40083         (syscall-list-variants, syscall-list-32bit-options)
40084         (syscall-list-32bit-condition, syscall-list-64bit-options)
40085         (syscall-list-64bit-condition): Define.
40086         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40087         Remove.
40088         (syscall-list-variants, syscall-list-32bit-options)
40089         (syscall-list-32bit-condition, syscall-list-64bit-options)
40090         (syscall-list-64bit-condition): Define.
40091
40092 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40093
40094         * locale/iso-639.def: Add brx entry.
40095
40096         [BZ #13328]
40097         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40098         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40099
40100         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40101         __feraiseexcept_renamed.
40102
40103 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40104
40105         [BZ #13538]
40106         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40107         EPOLLET with unsigned values.
40108         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40109         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40110
40111         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40112         to large cancellation.
40113         * math/s_cacoshf.c: Likewise.
40114         * math/s_cacoshl.c: Likewise.
40115
40116 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40117
40118         [BZ #13305]
40119         [BZ #12786]
40120         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40121         * math/s_cacoshf.c: Likewise.
40122         * math/s_cacoshl.c: Likewise.
40123
40124 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40125
40126         [BZ #13439]
40127         * iconv/gconv.h: Define __GCONV_SWAP.
40128         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40129         * iconvdata/utf-16.c: Likewise.
40130         * iconvdata/utf-32.c: Likewise.
40131
40132 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40133
40134         [BZ #13524]
40135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40136         numerator after shifting it by one limb.
40137
40138 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40139
40140         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40141         under [__USE_EXTERN_INLINES].
40142
40143 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40144
40145         [BZ #13446]
40146         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40147
40148 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40149
40150         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40151         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40152         optimized code.
40153         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40154         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40155         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40156         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40157         for strncasecmp/strncasecmp_l compilation.
40158         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40159         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40160
40161 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40162
40163         [BZ #13484]
40164         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40165         of __asm__.
40166
40167 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40168
40169         [BZ #13506]
40170         * time/tzfile.c (__tzfile_read): Check values from file header.
40171
40172 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40173
40174         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40175         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40176         * powerpc/powerpc32/dl-start.S: Likewise.
40177         * powerpc/powerpc32/elf/start.S: Likewise.
40178         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40179         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40180         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40181         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40182         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40183         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40184         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40185         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40186         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40187         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40188         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40189         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40190         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40191         * powerpc/powerpc32/memset.S: Likewise.
40192         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40193         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40194         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40195         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40196         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40197         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40198         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40199         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40200         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40201         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40202         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40203         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40204         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40205
40206 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40207
40208         * math/libm-test.inc: Added more nearbyint tests.
40209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40210         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40211         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40212         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40213
40214 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40215
40216         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40217         FD_CLOEXEC.
40218
40219 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40220
40221         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40222         Add wcscpy-ssse3 wcscpy-c.
40223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40224         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40225         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40226         * sysdeps/x86_64/wcschr.S: New file.
40227         * sysdeps/x86_64/wcsrchr.S: New file.
40228         * string/test-strcmp.c: Remove checking of wcscmp function for
40229         wrong alignments.
40230         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40231         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40232         wcsrchr-sse2 wcsrchr-c.
40233         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40234         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40235         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40236         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40237         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40238         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40239         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40240         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40242         * wcsmbc/wcschr.c (WCSCHR): New macro.
40243
40244 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40245
40246         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40247         * wcsmbs/test-wcsrchr.c: New file.
40248         * string/test-strrchr.c: Add wcsrchr support.
40249         (WIDE): New macro.
40250         * wcsmbs/test-wcscpy.c: New file.
40251         * string/test-strcpy.c: Add wcscpy support.
40252         (WIDE): New macro.
40253
40254 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40255
40256         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40257         the inner loop.
40258
40259 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40260
40261         [BZ #13472]
40262         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40263
40264 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40265
40266         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40267         Minor optimizations.
40268
40269         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40270         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40271         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40272
40273 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40274
40275         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40276         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40277         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40278         for gcc to avoid warnings.
40279         * inet/Makefile (tests): Add tst-checks.
40280         * inet/tst-checks.c: New file.
40281
40282         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40283         warning.
40284
40285         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40286         __wmemcmp_sse2.
40287
40288         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40289         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40290
40291         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40292
40293 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40294
40295         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40296         problem.
40297
40298         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40299
40300 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40301
40302         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40303         conditional on GCC version.
40304         (__arch_compare_and_exchange_val_8_acq)
40305         (__arch_compare_and_exchange_val_16_acq)
40306         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40307         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40308         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40309
40310 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40311
40312         * sysdeps/sh/backtrace.c: New file.
40313
40314 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40315
40316         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40317         parenthesis.
40318
40319 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40320
40321         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40322         falling back to utime.
40323
40324 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40325
40326         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40327         expectations for float.
40328
40329 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40330
40331         * locale/weight.h (findidx): Add parameter len.
40332         * locale/weightwc.h (findidx): Likewise.
40333         * posix/fnmatch_loop.c (FCT): Adjust caller.
40334         * posix/regcomp.c (build_equiv_class): Likewise.
40335         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40336         * posix/regexec.c (check_node_accept_bytes): Likewise.
40337         * string/strcoll_l.c (STRCOLL): Likewise.
40338         * string/strxfrm_l.c (STRXFRM): Likewise.
40339
40340 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40341
40342         * Makefile.in: Remove CVSOPT handling.
40343         * configure.in: Remove use of AC_REVISION.
40344         * iconvdata/Makefile (distribute): No need to filter out CVS.
40345         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40346         handling.
40347
40348 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40349
40350         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40351         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40352         [USE_AS_STRNCASECMP_L]: Likewise.
40353         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40354         NO_TLS_DIRECT_SEG_REFS.
40355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40356         Fix argument offsets for non-PIC.
40357         [USE_AS_STRNCASECMP_L]: Likewise.
40358         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40359         NO_TLS_DIRECT_SEG_REFS.
40360
40361 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40362
40363         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40364         O_CLOEXEC.
40365         * locale/loadlocale.c (_nl_load_locale): Likewise.
40366
40367 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40368
40369         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40370         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40371         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40372         (SYSCALL_GETTIME): Set errno on error.
40373
40374         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40375         count references to noai6ai_cached.
40376
40377 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40378
40379         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40380
40381         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40382         FD_CLOEXEC for /proc/self/maps.
40383
40384         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40385         FD_CLOEXEC for /proc/meminfo.
40386
40387         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40388         gai.conf.
40389
40390         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40391         FD_CLOEXEC for given file.
40392
40393         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40394
40395         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40396         FD_CLOEXEC for /etc/hosts.
40397         (_gethtent): Likewise.
40398
40399         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40400
40401         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40402         cancellation and set FD_CLOEXEC for /etc/netgroup.
40403
40404         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40405         reading /etc/publickey.
40406
40407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40408         allow cancellation when reading /etc/group.
40409
40410         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40411         cancellation.
40412         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40413
40414         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40415         when using data file.
40416
40417         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40418
40419         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40420         (write_nis_obj): Use "c" and "e" in fopen.
40421
40422         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40423
40424         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40425
40426         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40427
40428         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40429
40430         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40431         locale.alias.
40432
40433         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40434
40435         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40436
40437         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40438
40439         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40440         file parsing and set FD_CLOEXEC.
40441
40442 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40443
40444         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40445
40446 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40447
40448         * malloc/arena.c (arena_get2): Don't call reused_arena when
40449         _int_new_arena failed.
40450
40451 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40452
40453         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40454         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40455         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40456         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40457         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40459         to compile strcasecmp and strncasecmp.
40460         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40461         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40462
40463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40464
40465 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40466
40467         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40468         locale-defines.sym to gen-as-const-headers.
40469         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40470         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40472         to compile strcasecmp and strncasecmp.
40473         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40474         strcasecmp_l and strncasecmp_l.
40475         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40476         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40477         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40478         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40479         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40481         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40482         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40483         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40484         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40485         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40486
40487 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40488
40489         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40490         result of SYSDEP_GETTIME_CPU to retval.
40491         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40492         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40493
40494         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40495         variable.
40496
40497         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40498         mantissa words.
40499         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40500
40501         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40502         from unused variable.
40503
40504         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40505         DWARF definitions.
40506         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40507         for assembling.
40508
40509         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40510         over namespaces.
40511
40512         * sunrpc/rpc_prot.c (rejected): Fix case value.
40513
40514         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40515         unsigned long long int to avoid warnings in shift.
40516
40517         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40518         of use of trans.
40519         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40520         variable tmp.
40521
40522         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40523         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40524         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40525
40526         * nis/nis_table.c (nis_list): Use variable of correct type for
40527         result of __follow_path call.
40528
40529 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40530
40531         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40532         of math functions ceil, trunc, floor, round, and sqrt, when
40533         avaliable on the platform.
40534         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40535         name clash.
40536         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40537         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40538         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40539
40540 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40541
40542         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40543         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40544
40545 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40546
40547         * include/unistd.h: Fix __readlink return type.
40548         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40549
40550 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40551
40552         * stdlib/ucontext.h: Undo last change for makecontext.
40553
40554 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40555
40556         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40557
40558         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40559         * setjmp/setjmp.h: Mark functions as non-leaf.
40560         * setjmp/bits/setjmp2.h: Likewise.
40561         * stdlib/ucontext.h: Likewise.
40562
40563 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40564
40565         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40566         (reused_arena): Don't check arena limit.
40567         (arena_get2): Atomically check arena limit.
40568
40569 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40570
40571         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40572         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40573
40574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40575         instructions.
40576
40577 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40578
40579         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40580         handler when locking.
40581
40582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40583         Fix size of allocated buffer.
40584
40585 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40586
40587         [BZ #10103]
40588         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40589         declarations for long double functions.
40590         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40591
40592         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40593
40594 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40595
40596         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40597         installed.
40598
40599         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40600         is disabled.
40601
40602 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40603
40604         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40605
40606 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40607
40608         * include/alloca.h (stackinfo_alloca_round): Define.
40609         (extend_alloca): Use it.
40610         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40611         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40612         here.
40613
40614         * scripts/check-local-headers.sh: Ignore libaudit.h.
40615
40616         * nscd/Makefile (extra-objs): Make recursively expanded.
40617
40618 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40619
40620         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40622
40623         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40624         * posix/tst-rfc3484-2.c: Likewise.
40625         * posix/tst-rfc3484-3.c: Likewise.
40626
40627         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40628         process_vm_writev.
40629         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40630         process_vm_writev.
40631         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40632         process_vm_writev from libc using GLIBC_2.15 version.
40633
40634         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40635
40636 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40637
40638         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40639         stack usage.
40640
40641 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40642
40643         [BZ #13367]
40644         * nss/getent.c (initgroups_keys): Show error message in case no group
40645         names are given.
40646
40647         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40648         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40649         __bump_nl_timestamp.
40650         * nscd/connections (nscd_init): When host database is served open
40651         netlink socket and request notification about configuration changes.
40652         (main_loop_poll): Track netlink file descriptor and bump timestamp
40653         in case data becomes available.
40654         (main_loop_epoll): Likewise.
40655         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40656         (database_pers_head): Add extra_data fileds.
40657         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40658         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40659         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40660         Adjust caller.
40661         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40662         in6ai data, call __free_in6ai.
40663         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40664         Add -DHAVE_NETLINK.
40665         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40666         interface information.  Reuse previous data if netlink timestamp
40667         is not changed.
40668         (__bump_nl_timestamp): New function.
40669         (__free_in6ai): New function.
40670
40671 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40672
40673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40674         close_not_cancel_no_status here.
40675         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40676
40677 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40678
40679         [BZ #13276]
40680         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40681         return value.
40682
40683         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40684         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40685         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40686
40687 2011-07-03  Andreas Jaeger  <aj@suse.de>
40688
40689         [BZ #10709]
40690         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40691         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40692         * math/libm-test.inc (sin_test): Add test case.
40693
40694 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40695
40696         [BZ #13337]
40697         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40698         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40699
40700         * elf/chroot_canon.c (chroot_canon): Cleanups.
40701
40702         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40703
40704         [BZ #13335]
40705         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40706         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40707
40708         * string/test-strchr.c: Make usable for strchrnul testing.
40709         * string/test-strchrnul.c: New file.
40710         * string/Makefile (strop-tests): Add strchrnul.
40711
40712         * po/it.po: Update from translation team.
40713         * po/es.po: Likewise.
40714
40715 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40716
40717         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40718         the three constants needed as parameters.  Drop the others.
40719         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40720         __m128i_strloadu_tolower.
40721         Create and initialize variable zero and use it in all the places
40722         where _mm_setzero_si128 was used.
40723
40724         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40725         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40726         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40727         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40728         anymore.
40729         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40730         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40731         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40732         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40733         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40734         __mpranred, __mptan.
40735         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40736         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40737         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40738         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40739         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40740         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40741         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40742         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40743         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40744
40745 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40746
40747         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40748         redefine if SHARED.
40749         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40750
40751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40752         wide char related routines to wcsmbs subdir.
40753
40754 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40755
40756         [BZ #13344]
40757         * misc/sys/cdefs.h (__THROWNL): Define.
40758         * posix/unistd.h: Use __THREADNL instead of __THREAD
40759         for memory synchronization functions.
40760
40761 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40762
40763         [BZ #13349]
40764         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40765         doesn't exist.
40766         * manual/stdio.texi (Obstack Streams): Node removed.
40767
40768 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40769
40770         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40771         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40773
40774         * math/math_private.h (math_force_eval): Allow non-addressable
40775         arguments.
40776         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40777
40778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40779
40780         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40781         file is not needed.
40782
40783         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40784         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40785         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40786         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40787         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40788         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40789         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40790         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40791         Add AVX variants.
40792         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40793         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40794         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40795         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40796         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40797         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40798         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40799         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40800         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40801         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40802         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40803         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40805         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40806         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40807         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40808         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40809         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40810         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40811
40812         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40813         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40814
40815         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40816         place.  Use VEX encoding when compiling for AVX.
40817
40818 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40819
40820         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40821         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40822
40823         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40824
40825 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40826
40827         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40828         useless if() expression.
40829         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40830         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40831         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40832         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40833         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40834         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40835         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40837         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40838         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40839         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40840         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40841         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40842         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40843         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40844         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40845         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40846         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40847         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40848
40849         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40850
40851 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40852
40853         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40854         condition.
40855         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40856
40857 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40858
40859         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40860         .text section.  Avoid duplicate constants.
40861         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40863         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40864         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40865         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40866         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40867         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40869         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40870         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40871         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40872         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40873         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40874         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40875         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40877         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40878         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40879         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40880         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40884         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40885         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40886         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40887         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40888         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40889         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40890         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40891         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40892         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40893         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40894         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40895         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40896         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40897         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40898         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40899         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40900         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40902         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40903         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40904         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40905         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40906
40907 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40908
40909         * sysdeps/x86_64/dla.h: Move to ...
40910         * sysdeps/x86_64/fpu/dla.h: ...here.
40911         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40912         situations.  Use __builtin_fma only for gcc 4.6 and up.
40913
40914         * config.make.in: Add have-mfma4 entry.
40915         * configure.in: Substitute libc_cv_cc_fma4.
40916         * math/Makefile (dbl-only-routines): Add sincostab.
40917         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40918         Use __sincostab not sincos.
40919         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40920         name is a macro.
40921         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40922         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40923         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40925         using __copysign.
40926         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40927         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40928         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40929         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40930         and __inv.
40931         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40932         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40933         __copysign.
40934         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40935         define aliases when function name is a macro.
40936         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40937         sysdeps/ieee754/dbl-64/sincos.tbl.
40938         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40939         fma4-enabled routines.
40940         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40941         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40942         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40943         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40944         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40945         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40946         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40947         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40948         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40949         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40950         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40951         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40952         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40953         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40954         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40955         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40956         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40957         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40958         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40959         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40960         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40961         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40962         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40963         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40964         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40965         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40966         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40967         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40968         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40969         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40970
40971         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40972         rename.
40973         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40981
40982 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40983
40984         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40985
40986 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40987
40988         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40989
40990         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40991         prediction.
40992         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40993
40994         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40995         Remove unused variable magic_bits.
40996         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40997
40998         * string/strnlen.c: Define and use STRNLEN macro.
40999         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41000         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41002         * wcsmbs/wcslen.c: Define and use WCSLEN.
41003         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41004         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41005         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41006         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41007         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41008         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41009         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41010
41011 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41012
41013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41014         strnlen-sse2-no-bsf.
41015         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41017         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41018         Add strnlen support.
41019         (USE_AS_STRNLEN): New macro.
41020         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41021         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41022         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41023         * sysdeps/x86_64/wcslen.S: New file.
41024
41025 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41026
41027         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41028         XMM-moves are used for copying on small sizes.
41029
41030 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41031
41032         * wcsmbs/Makefile (strop-tests): Add wcschr.
41033         * wcsmbs/test-wcschr.c: New file.
41034         * string/test-strchr.c: Update.
41035         Add wcschr support.
41036         (WIDE): New macro.
41037
41038 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41039
41040         * wcsmbs/Makefile (strop-tests): Add wcslen.
41041         * wcsmbs/test-wcslen.c: New file.
41042         * string/test-strlen.c: Update.
41043         Add wcslen support.
41044         (WIDE): New macro.
41045
41046 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41047
41048         * po/it.po: Update from translation team.
41049
41050 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41051
41052         * sysdeps/x86_64/wcscmp.S: Update.
41053         Fix wrong comparison semantics.
41054         wcscmp shall use signed comparison not unsigned.
41055         Don't use substraction to avoid overflow bug.
41056         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41057         * wcsmbc/wcscmp.c: Likewise.
41058         * string/test-strcmp.c: Likewise.
41059         Add new tests to check cases with negative values.
41060
41061 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41062
41063         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41064         * sysdeps/x86_64/dla.h: ...here.  New file.
41065         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41067         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41068         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41069         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41072         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41073         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41074
41075 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41076
41077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41078         __ynl_finite aliases.
41079
41080 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41081
41082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41083
41084         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41085         define DLA_FMA.
41086         [DLA_FMA] (EMULV): Use DLA_FMA.
41087         [DLA_FMA] (MUL12): Use EMULV.
41088         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41089         that are not needed.
41090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41097
41098 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41099
41100         * math/s_nan.c: Undef __nan.
41101         * math/s_nanf.c: Undef __nanf.
41102         * math/s_nanl.c: Undef __nanl.
41103         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41104         "math_private.h".
41105
41106 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41107
41108         * math/s_catan.c: Add branch predictions.
41109         * math/s_catanf.c: Likewise.
41110         * math/s_catanh.c: Likewise.
41111         * math/s_catanhf.c: Likewise.
41112         * math/s_catanhl.c: Likewise.
41113         * math/s_catanl.c: Likewise.
41114         * math/s_cexp.c: Likewise.
41115         * math/s_cexpf.c: Likewise.
41116         * math/s_cexpl.c: Likewise.
41117         * math/s_clog.c: Likewise.
41118         * math/s_clog10.c: Likewise.
41119         * math/s_clog10f.c: Likewise.
41120         * math/s_clog10l.c: Likewise.
41121         * math/s_clogf.c: Likewise.
41122         * math/s_clogl.c: Likewise.
41123         * math/s_csqrt.c: Likewise.
41124         * math/s_csqrtf.c: Likewise.
41125         * math/s_csqrtl.c: Likewise.
41126         * math/s_ctanf.c: Likewise.
41127         * math/s_ctanh.c: Likewise.
41128         * math/s_ctanhf.c: Likewise.
41129         * math/s_ctanhl.c: Likewise.
41130         * math/s_ctanl.c: Likewise.
41131
41132         * math/math_private.h: Define __nan, __nanf, __nanl.
41133         * math/s_cacosh.c: Include <math_private.h>.
41134         * math/s_cacoshl.c: Likewise.
41135         * math/s_casinh.c: Likewise.
41136         * math/s_casinhf.c: Likewise.
41137         * math/s_casinhl.c: Likewise.
41138         * math/s_ccos.c: Rely entire on ccosh.
41139         * math/s_ccosf.c: Rely entire on ccoshf.
41140         * math/s_ccosl.c: Rely entirely on ccoshl.
41141         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41142         Remove tests for FE_INVALID.
41143         * math/s_ccoshf.c: Likewise.
41144         * math/s_ccoshl.c: Likewise.
41145         * math/s_csin.c: Likewise.
41146         * math/s_csinf.c: Likewise.
41147         * math/s_csinh.c Likewise.
41148         * math/s_csinhf.c: Likewise.
41149         * math/s_csinhl.c: Likewise.
41150         * math/s_csinl.c: Likewise.
41151         * math/s_ctan.c: Likewise.
41152         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41153         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41154         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41155
41156 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41157
41158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41159         compilation problems.
41160
41161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41162         __builtin_expect.
41163
41164 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41165
41166         * sysdeps/i386/configure.in: Test for -mfma4 option.
41167         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41168         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41169         COMMON_CPUID_INDEX_80000001.
41170         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41171         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41172         use it if FMA3 is not supported.
41173         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41174
41175         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41176         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41177
41178 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41179
41180         [BZ #12892]
41181         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41182         it would create a cycle with a link time dependency.
41183
41184 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41185
41186         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41187         instruction.
41188         * string/Makefile (strop-tests): Add rawmemchr.
41189         * string/test-rawmemchr.c: New file.
41190
41191         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41192         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41193         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41194         when compiling str{,n}casecmp and when AVX is available.  Hook up
41195         new optimized code in initializers.
41196
41197 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41198
41199         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41200         __feraiseexcept instead of feraiseexcept.
41201
41202 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41203
41204         * math/math_private.h: Define defaults for libc_fetestexcept and
41205         libc_feupdateenv.
41206         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41207         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41208         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41209         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41210         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41211         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41212         libc_fetestexcept and libc_feupdateenv.
41213
41214         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41215         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41216         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41217         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41218         libc_feholdexcept_setround.
41219
41220         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41221         Add s_nearbyint-c and s_nearbyintf-c.
41222         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41223         nearbyintf inlines.
41224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41225         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41226         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41228
41229         * math/math_private.h: Define defaults for libc_fegetround,
41230         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41231         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41232         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41233         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41234         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41235         standard functions.
41236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41237         Remove comments and hacks for old compiler versions.
41238         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41239         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41240         libc_feholdexceptl.
41241
41242 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41243
41244         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41245         (__feraiseexcept_renamed): Add __NTH.
41246         (feraiseexcept): Add __NTH.  Rename local variables to fix
41247         namespace violations.
41248
41249 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41250
41251         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41252
41253         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41254
41255         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41256         recently added interfaces.
41257         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41258
41259         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41260         about macro parameter expansion.
41261
41262         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41263         __NO_MATH_INLINES is defined.  Cleanups.
41264
41265         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41266         and __floorf is target has SSE4.1.
41267         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41268         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41269         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41270         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41271
41272         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41273         name.
41274         (floorf): Likewise.
41275
41276         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41277
41278 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41279
41280         * misc/sys/cdefs.h: Fix last change.
41281
41282         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41283         database lookup.
41284
41285 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41286
41287         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41288
41289         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41290         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41292         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41294         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41295         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41296         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41297         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41298         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41299         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41300         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41301         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41302         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41303         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41304         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41305         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41306         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41307         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41308         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41309         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41310         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41311
41312         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41313         ceil, ceilf, floor, floorf.
41314
41315         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41316         Perform IRELATIVE relocations last.
41317
41318         * elf/do-rel.h: Add another parameter nrelative, replacing the
41319         local variable with the same name.  Change name of the function
41320         to end in Rel or Rela (uppercase).
41321         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41322         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41323         elf_dynamic_do_##reloc function.
41324
41325 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41326
41327         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41328         is sufficient, at least on modern CPUs.
41329
41330         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41331
41332         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41333         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41334
41335         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41336         __expl_finite.
41337         * math/bits/math-finite.h: Add entries for exp.
41338         * math/e_expl.c: Add __*_finite alias.
41339         * sysdeps/i386/fpu/e_exp.S: Likewise.
41340         * sysdeps/i386/fpu/e_expf.S: Likewise.
41341         * sysdeps/i386/fpu/e_expl.c: Likewise.
41342         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41344         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41345         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41346         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41349
41350         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41351         is sufficient, at least on modern CPUs.
41352
41353         * ctype/ctype-info.c (__ctype_init): Define.
41354         * include/ctype.h (__ctype_init): Declare.
41355         (__ctype_b_loc): The variable is always initialized.
41356         (__ctype_toupper_loc): Likewise.
41357         (__ctype_tolower_loc): Likewise.
41358         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41359         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41360
41361 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41362
41363         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41364
41365         * configure.in: Also look in $cxxmachine/include for C++ system
41366         headers.
41367
41368 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41369
41370         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41371         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41372         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41373         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41374         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41375         (USE_AS_WMEMCMP): New macro.
41376         Fixing indents.
41377         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41378         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41379         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41380         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41382         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41383         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41384         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41385         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41386         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41387         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41388         (USE_AS_WMEMCMP): New macro.
41389         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41390         * sysdeps/string/test-memcmp.c: Update.
41391         Fix simple_wmemcmp.
41392         Add new tests.
41393         * wcsmbs/wmemcmp.c: Update.
41394         (WMEMCMP): New macro.
41395         Fix overflow bug.
41396
41397 2011-10-12  Andreas Jaeger  <aj@suse.de>
41398
41399         [BZ #13268]
41400         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41401
41402 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41403
41404         * libio/iofwide.c (do_length): Avoid warning.
41405
41406         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41407
41408 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41409
41410         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41411
41412         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41413         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41414         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41415         * sysdeps/i386/i686/fpu/e_log.S: New file.
41416         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41417         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41418
41419         * ctype/ctype.h: Add support for inlined isXXX functions when
41420         compiling C++ code.
41421
41422 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41423
41424         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41425
41426         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41427
41428 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41429
41430         [BZ #13291]
41431         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41432
41433 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41434
41435         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41436         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41437         feraiseexcept.
41438
41439         * sysdeps/x86_64/memrchr.S: Check for zero size.
41440
41441         * string/stratcliff.c: Add memrchr tests.
41442
41443 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41444
41445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41446         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41447         rawmemchr-sse2 rawmemchr-sse2-bsf.
41448         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41449         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41450         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41451         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41452         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41453         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41454         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41455         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41456         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41457         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41458         * string/memrchr.c (MEMRCHR): New macro.
41459
41460 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41461
41462         Add integration with gcc's -ffinite-math-only and optimize wrapper
41463         functions in libm.
41464         * Versions.def: Define GLIBC_2.15 version for libm.
41465         * math/Makefile (headers): Add bits/math-finite.h.
41466         * math/bits/math-finite.h: New file.
41467         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41468         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41469         * math/e_acoshl.c: Add __*_finite alias.
41470         * math/e_acosl.c: Likewise.
41471         * math/e_asinl.c: Likewise.
41472         * math/e_atan2l.c: Likewise.
41473         * math/e_atanhl.c: Likewise.
41474         * math/e_coshl.c: Likewise.
41475         * math/e_exp10.c: Likewise.
41476         * math/e_exp10f.c: Likewise.
41477         * math/e_exp10l.c: Likewise.
41478         * math/e_exp2l.c: Likewise.
41479         * math/e_fmodl.c: Likewise.
41480         * math/e_gammal_r.c: Likewise.
41481         * math/e_hypotl.c: Likewise.
41482         * math/e_j0l.c: Likewise.
41483         * math/e_j1l.c: Likewise.
41484         * math/e_jnl.c: Likewise.
41485         * math/e_lgammal_r.c: Likewise.
41486         * math/e_log10l.c: Likewise.
41487         * math/e_log2l.c: Likewise.
41488         * math/e_logl.c: Likewise.
41489         * math/e_powl.c: Likewise.
41490         * math/e_sinhl.c: Likewise.
41491         * math/e_sqrtl.c: Likewise.
41492         * math/e_scalb.c: Completely rewritten and optimized.
41493         * math/e_scalbf.c: Likewise.
41494         * math/e_scalbl.c: Likewise.
41495         * math/w_acos.c: Likewise.
41496         * math/w_acosf.c: Likewise.
41497         * math/w_acosl.c: Likewise.
41498         * math/w_acosh.c: Likewise.
41499         * math/w_acoshf.c: Likewise.
41500         * math/w_acoshl.c: Likewise.
41501         * math/w_asin.c: Likewise.
41502         * math/w_asinf.c: Likewise.
41503         * math/w_asinl.c: Likewise.
41504         * math/w_atan2.c: Likewise.
41505         * math/w_atan2f.c: Likewise.
41506         * math/w_atan2l.c: Likewise.
41507         * math/w_atanh.c: Likewise.
41508         * math/w_atanhf.c: Likewise.
41509         * math/w_atanhl.c: Likewise.
41510         * math/w_exp10.c: Likewise.
41511         * math/w_exp10f.c: Likewise.
41512         * math/w_exp10l.c: Likewise.
41513         * math/w_fmod.c: Likewise.
41514         * math/w_fmodf.c: Likewise.
41515         * math/w_fmodl.c: Likewise.
41516         * math/w_j0.c: Likewise.
41517         * math/w_j0f.c: Likewise.
41518         * math/w_j0l.c: Likewise.
41519         * math/w_j1.c: Likewise.
41520         * math/w_j1f.c: Likewise.
41521         * math/w_j1l.c: Likewise.
41522         * math/w_jn.c: Likewise.
41523         * math/w_jnf.c: Likewise.
41524         * math/w_log.c: Likewise.
41525         * math/w_logf.c: Likewise.
41526         * math/w_logl.c: Likewise.
41527         * math/w_log10.c: Likewise.
41528         * math/w_log10f.c: Likewise.
41529         * math/w_log10l.c: Likewise.
41530         * math/w_log2.c: Likewise.
41531         * math/w_log2f.c: Likewise.
41532         * math/w_log2l.c: Likewise.
41533         * math/w_pow.c: Likewise.
41534         * math/w_powf.c: Likewise.
41535         * math/w_powl.c: Likewise.
41536         * math/w_remainder.c: Likewise.
41537         * math/w_remainderf.c: Likewise.
41538         * math/w_remainderl.c: Likewise.
41539         * math/w_scalb.c: Likewise.
41540         * math/w_scalbf.c: Likewise.
41541         * math/w_scalbl.c: Likewise.
41542         * math/w_sqrt.c: Likewise.
41543         * math/w_sqrtf.c: Likewise.
41544         * math/w_sqrtl.c: Likewise.
41545         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41546         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41547         used.
41548         * math/math_private.h: Declare __kernel_standard_f.
41549         * math/w_cosh.c: Remove cruft and optimize a bit.
41550         * math/w_coshf.c: Likewise.
41551         * math/w_coshl.c: Likewise.
41552         * math/w_exp2.c: Likewise.
41553         * math/w_exp2f.c: Likewise.
41554         * math/w_exp2l.c: Likewise.
41555         * math/w_hypot.c: Likewise.
41556         * math/w_hypotf.c: Likewise.
41557         * math/w_hypotl.c: Likewise.
41558         * math/w_lgamma.c: Likewise.
41559         * math/w_lgamma_r.c: Likewise.
41560         * math/w_lgammaf.c: Likewise.
41561         * math/w_lgammaf_r.c: Likewise.
41562         * math/w_lgammal.c: Likewise.
41563         * math/w_lgammal_r.c: Likewise.
41564         * math/w_sinh.c: Likewise.
41565         * math/w_sinhf.c: Likewise.
41566         * math/w_sinhl.c: Likewise.
41567         * math/w_tgamma.c: Likewise.
41568         * math/w_tgammaf.c: Likewise.
41569         * math/w_tgammal.c: Likewise.
41570         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41571         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41572         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41573         Minor optimizations.  Pretty printing.  Remove cruft.
41574         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41575         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41576         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41577         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41578         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41579         * sysdeps/i386/fpu/e_asin.S: Likewise.
41580         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41581         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41582         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41583         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41585         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41586         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41587         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41588         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41589         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41590         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41591         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41592         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41593         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41594         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41595         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41596         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41597         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41598         * sysdeps/i386/fpu/e_log.S: Likewise.
41599         * sysdeps/i386/fpu/e_log10.S: Likewise.
41600         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41601         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41602         * sysdeps/i386/fpu/e_log2.S: Likewise.
41603         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41604         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41605         * sysdeps/i386/fpu/e_logf.S: Likewise.
41606         * sysdeps/i386/fpu/e_logl.S: Likewise.
41607         * sysdeps/i386/fpu/e_pow.S: Likewise.
41608         * sysdeps/i386/fpu/e_powf.S: Likewise.
41609         * sysdeps/i386/fpu/e_powl.S: Likewise.
41610         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41611         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41612         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41613         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41615         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41616         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41617         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41618         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41619         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41620         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41622         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41623         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41624         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41625         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41626         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41627         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41629         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41630         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41632         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41633         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41634         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41635         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41636         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41639         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41640         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41641         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41642         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41643         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41644         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41645         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41646         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41647         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41648         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41649         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41650         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41651         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41652         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41653         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41654         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41655         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41656         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41657         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41658         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41659         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41660         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41661         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41662         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41663         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41664         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41665         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41666         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41667         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41668         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41669         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41670         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41671         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41673         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41674         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41675         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41676         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41677         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41678         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41679         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41680         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41681         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41682         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41683         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41684         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41687         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41690         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41691         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41692         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41693         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41694         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41696         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41697         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41698         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41699         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41703         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41704         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41707         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41710         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41711         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41712         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41713         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41714         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41715         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41716         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41717         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41718         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41719         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41720         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41721         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41722         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41724         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41725         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41726         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41727         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41728         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41729         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41730         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41731         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41732         (__isnanf): Likewise.
41733         (__isinf_ns): Likewise.
41734         (__isinf_nsf): Likewise.
41735         (__finite): Likewise.
41736         (__finitef): Likewise.
41737         (__ieee754_sqrt): Define as macro.
41738         (__ieee754_sqrtf): Define as macro.
41739         (__ieee754_sqrtl): Define as macro.
41740         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41741         inlined copy.
41742         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41743         __FINITE_MATH_ONLY__ consistent.
41744         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41745
41746 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41747
41748         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41749         of rawmemchr.
41750
41751         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41752
41753 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41754
41755         * po/ja.po: Update from translation team.
41756
41757 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41758
41759         * locale/programs/locarchive.c (prepare_address_space): New function.
41760         (create_archive, enlarge_archive, open_archive): Use it.
41761
41762         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41763         inside [SHARED], where it is used.
41764
41765         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41766
41767         * nss/getent.c (netgroup_keys): Remove unused variable.
41768         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41769
41770 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41771
41772         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41773         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41775         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41776         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41777         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41778         * math/Makefile (libm-calls): Add s_isinf_ns.
41779         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41780         * math/multc3.c: Likewise.
41781         * math/s_casin.c: Likewise.
41782         * math/s_casinf.c: Likewise.
41783         * math/s_casinl.c: Likewise.
41784         * math/s_ccos.c: Likewise.
41785         * math/s_ccosf.c: Likewise.
41786         * math/s_ccosl.c: Likewise.
41787         * math/s_ctan.c: Likewise.
41788         * math/s_ctanf.c: Likewise.
41789         * math/s_ctanh.c: Likewise.
41790         * math/s_ctanhf.c: Likewise.
41791         * math/s_ctanhl.c: Likewise.
41792         * math/s_ctanl.c: Likewise.
41793         * math/w_fmod.c: Likewise.
41794         * math/w_fmodf.c: Likewise.
41795         * math/w_fmodl.c: Likewise.
41796         * math/w_remainder.c: Likewise.
41797         * math/w_remainderf.c: Likewise.
41798         * math/w_remainderl.c: Likewise.
41799         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41800         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41801         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41803         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41804         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41805         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41806         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41807
41808         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41809         of the number.
41810         * stdio-common/printf_fphex.c: Likewise.
41811         * stdio-common/printf_size.c: Likewise.
41812
41813         * math/e_exp10.c: Include math_private.h using <...> not "...".
41814         * math/e_exp10f.c: Likewise.
41815         * math/e_exp10l.c: Likewise.
41816         * math/e_exp2l.c: Likewise.
41817         * math/e_j0l.c: Likewise.
41818         * math/e_j1l.c: Likewise.
41819         * math/e_jnl.c: Likewise.
41820         * math/e_lgammal_r.c: Likewise.
41821         * math/e_rem_pio2l.c: Likewise.
41822         * math/e_scalb.c: Likewise.
41823         * math/e_scalbf.c: Likewise.
41824         * math/e_scalbl.c: Likewise.
41825         * math/k_cosl.c: Likewise.
41826         * math/k_sinl.c: Likewise.
41827         * math/k_tanl.c: Likewise.
41828         * math/s_cacoshf.c: Likewise.
41829         * math/s_catan.c: Likewise.
41830         * math/s_catanf.c: Likewise.
41831         * math/s_catanh.c: Likewise.
41832         * math/s_catanhf.c: Likewise.
41833         * math/s_catanhl.c: Likewise.
41834         * math/s_catanl.c: Likewise.
41835         * math/s_ccosh.c: Likewise.
41836         * math/s_ccoshf.c: Likewise.
41837         * math/s_ccoshl.c: Likewise.
41838         * math/s_cexp.c: Likewise.
41839         * math/s_cexpf.c: Likewise.
41840         * math/s_cexpl.c: Likewise.
41841         * math/s_clog.c: Likewise.
41842         * math/s_clog10.c: Likewise.
41843         * math/s_clog10f.c: Likewise.
41844         * math/s_clog10l.c: Likewise.
41845         * math/s_clogf.c: Likewise.
41846         * math/s_clogl.c: Likewise.
41847         * math/s_csin.c: Likewise.
41848         * math/s_csinf.c: Likewise.
41849         * math/s_csinh.c: Likewise.
41850         * math/s_csinhf.c: Likewise.
41851         * math/s_csinhl.c: Likewise.
41852         * math/s_csinl.c: Likewise.
41853         * math/s_csqrt.c: Likewise.
41854         * math/s_csqrtf.c: Likewise.
41855         * math/s_csqrtl.c: Likewise.
41856         * math/s_ctan.c: Likewise.
41857         * math/s_ctanf.c: Likewise.
41858         * math/s_ctanh.c: Likewise.
41859         * math/s_ctanhf.c: Likewise.
41860         * math/s_ctanhl.c: Likewise.
41861         * math/s_ctanl.c: Likewise.
41862         * math/s_ldexp.c: Likewise.
41863         * math/s_ldexpf.c: Likewise.
41864         * math/s_ldexpl.c: Likewise.
41865         * math/s_significand.c: Likewise.
41866         * math/s_significandf.c: Likewise.
41867         * math/s_significandl.c: Likewise.
41868         * math/w_acos.c: Likewise.
41869         * math/w_acosf.c: Likewise.
41870         * math/w_acosh.c: Likewise.
41871         * math/w_acoshf.c: Likewise.
41872         * math/w_acoshl.c: Likewise.
41873         * math/w_acosl.c: Likewise.
41874         * math/w_asin.c: Likewise.
41875         * math/w_asinf.c: Likewise.
41876         * math/w_asinl.c: Likewise.
41877         * math/w_atan2.c: Likewise.
41878         * math/w_atan2f.c: Likewise.
41879         * math/w_atan2l.c: Likewise.
41880         * math/w_atanh.c: Likewise.
41881         * math/w_atanhf.c: Likewise.
41882         * math/w_atanhl.c: Likewise.
41883         * math/w_cosh.c: Likewise.
41884         * math/w_coshf.c: Likewise.
41885         * math/w_coshl.c: Likewise.
41886         * math/w_dremf.c: Likewise.
41887         * math/w_exp10.c: Likewise.
41888         * math/w_exp10f.c: Likewise.
41889         * math/w_exp10l.c: Likewise.
41890         * math/w_exp2.c: Likewise.
41891         * math/w_exp2f.c: Likewise.
41892         * math/w_fmod.c: Likewise.
41893         * math/w_fmodf.c: Likewise.
41894         * math/w_fmodl.c: Likewise.
41895         * math/w_hypot.c: Likewise.
41896         * math/w_hypotf.c: Likewise.
41897         * math/w_hypotl.c: Likewise.
41898         * math/w_j0.c: Likewise.
41899         * math/w_j0f.c: Likewise.
41900         * math/w_j0l.c: Likewise.
41901         * math/w_j1.c: Likewise.
41902         * math/w_j1f.c: Likewise.
41903         * math/w_j1l.c: Likewise.
41904         * math/w_jn.c: Likewise.
41905         * math/w_jnf.c: Likewise.
41906         * math/w_jnl.c: Likewise.
41907         * math/w_lgamma.c: Likewise.
41908         * math/w_lgamma_r.c: Likewise.
41909         * math/w_lgammaf.c: Likewise.
41910         * math/w_lgammaf_r.c: Likewise.
41911         * math/w_lgammal.c: Likewise.
41912         * math/w_lgammal_r.c: Likewise.
41913         * math/w_log.c: Likewise.
41914         * math/w_log10.c: Likewise.
41915         * math/w_log10f.c: Likewise.
41916         * math/w_log10l.c: Likewise.
41917         * math/w_log2.c: Likewise.
41918         * math/w_log2f.c: Likewise.
41919         * math/w_log2l.c: Likewise.
41920         * math/w_logf.c: Likewise.
41921         * math/w_logl.c: Likewise.
41922         * math/w_pow.c: Likewise.
41923         * math/w_powf.c: Likewise.
41924         * math/w_powl.c: Likewise.
41925         * math/w_remainder.c: Likewise.
41926         * math/w_remainderf.c: Likewise.
41927         * math/w_remainderl.c: Likewise.
41928         * math/w_scalb.c: Likewise.
41929         * math/w_scalbf.c: Likewise.
41930         * math/w_scalbl.c: Likewise.
41931         * math/w_sinh.c: Likewise.
41932         * math/w_sinhf.c: Likewise.
41933         * math/w_sinhl.c: Likewise.
41934         * math/w_sqrt.c: Likewise.
41935         * math/w_sqrtf.c: Likewise.
41936         * math/w_sqrtl.c: Likewise.
41937         * math/w_tgamma.c: Likewise.
41938         * math/w_tgammaf.c: Likewise.
41939         * math/w_tgammal.c: Likewise.
41940
41941         * po/ja.po: Update from translation team.
41942
41943 2011-09-29  Andreas Jaeger  <aj@suse.de>
41944
41945         [BZ #13179]
41946         * sunrpc/netname.c (netname2host): Fix logic.
41947
41948         [BZ #6779]
41949         [BZ #6783]
41950         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41951         correctly.
41952         * math/w_remainder.c (__remainder): Likewise.
41953         * math/w_remainderf.c (__remainderf): Likewise.
41954         * math/libm-test.inc (remainder_test): Add test cases.
41955
41956 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41957
41958         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41959         sdiv_qrnnd.
41960
41961 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41962
41963         * string/test-memcmp.c: Avoid unncessary #defines.
41964         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41965
41966 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41967
41968         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41969         Use new sse2 version for core i3 - i7 as it's faster
41970         than sse42 version.
41971         (bit_Prefer_PMINUB_for_stringop): New.
41972         * sysdeps/x86_64/rawmemchr.S: Update.
41973         Replace with faster SSE2 version.
41974         * sysdeps/x86_64/memrchr.S: New file.
41975         * sysdeps/x86_64/memchr.S: Update.
41976         Replace with faster SSE2 version.
41977
41978 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41979
41980         * elf/dl-load.c (lose): Add cast to avoid warning.
41981
41982 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41983
41984         * po/ca.po: Update from translation team.
41985
41986         * inet/getnetgrent_r.c: Hook up nscd.
41987         * nscd/Makefile (routines): Add nscd_netgroup.
41988         (nscd-modules): Add netgroupcache.
41989         (CFLAGS-netgroupcache.c): Define.
41990         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41991         (cache_search): Add const to second parameter.
41992         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41993         INNETGR.
41994         (dbs): Add netgrdb entry.
41995         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41996         (verify_persistent_db): Handle netgrdb.
41997         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41998         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41999         GETFDNETGR.
42000         (netgroup_response_header): Define.
42001         (innetgroup_response_header): Define.
42002         (datahead): Add netgroup_response_header and innetgroup_response_header
42003         elements.
42004         * nscd/nscd.conf: Add entries for netgroup cache.
42005         * nscd/nscd.h (dbtype): Add netgrdb.
42006         (_PATH_NSCD_NETGROUP_DB): Define.
42007         (netgroup_iov_disabled): Declare.
42008         (xmalloc, xcalloc, xrealloc): Move declarations here.
42009         (cache_search): Adjust prototype.
42010         Add netgroup-related prototypes.
42011         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42012         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42013         (__nscd_innetgr): Declare.
42014         * nscd/selinux.c (perms): Use access_vector_t as element type and
42015         add netgroup-related initializers.
42016         * nscd/netgroupcache.c: New file.
42017         * nscd/nscd_netgroup.c: New file.
42018         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42019         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42020         For four parameters use innetgr.
42021         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42022         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42023         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42024         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42025
42026         * nscd/connections.c (register_traced_file): Don't register file
42027         for disabled databases.
42028
42029 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42030
42031         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42032
42033         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42034         from tree and freeing node.
42035
42036 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42037
42038         * nss/nsswitch.c (__nss_database_lookup): Handle
42039         nss_parse_service_list out of memory case.
42040
42041 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42042
42043         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42044         out of memory case.
42045
42046 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42047
42048         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42049         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42050         pass it down.
42051         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42052         elf_machine_rela, elf_machine_lazy_rel.
42053         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42054         (ELF_DYNAMIC_DO_REL): Likewise.
42055         (ELF_DYNAMIC_DO_RELA): Likewise.
42056         (ELF_DYNAMIC_RELOCATE): Likewise.
42057         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42058         to ELF_DYNAMIC_DO_REL.
42059         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42060         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42061         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42062         elf_machine_rela.
42063         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42064         skip_ifunc, don't call ifunc function if non-zero.
42065         (elf_machine_rela): Likewise.
42066         (elf_machine_lazy_rel): Likewise.
42067         (elf_machine_lazy_rela): Likewise.
42068         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42069         (elf_machine_lazy_rel): Likewise.
42070         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42071         Likewise.
42072         (elf_machine_lazy_rel): Likewise.
42073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42074         Likewise.
42075         (elf_machine_lazy_rel): Likewise.
42076         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42077         (elf_machine_lazy_rel): Likewise.
42078         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42079         (elf_machine_lazy_rel): Likewise.
42080         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42081         (elf_machine_lazy_rel): Likewise.
42082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42083         (elf_machine_lazy_rel): Likewise.
42084         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42085         (elf_machine_lazy_rel): Likewise.
42086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42087         (elf_machine_lazy_rel): Likewise.
42088
42089 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42090
42091         * nss/nss_files/files-init.c (_nss_files_init): Use static
42092         initialization for all the *_traced_file variables.
42093
42094 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42095
42096         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42097
42098 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42099
42100         [BZ #13226]
42101         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42102
42103 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42104
42105         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42106         Reread the line before reparsing it.
42107
42108 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42109
42110         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42111
42112 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42113             Maxim Kuvyrkov  <maxim@codesourcery.com>
42114             Joseph Myers  <joseph@codesourcery.com>
42115
42116         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42117         if needed for __stack_chk_guard.
42118
42119 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42120
42121         * sysdeps/posix/spawni.c (script_execute): Always define it.
42122         It will be optimized away if unused.
42123         (maybe_script_execute): New function.
42124         (__spawni): Call it.
42125
42126         * Makerules: Don't include tls.make.
42127         (config-tls): Always set to thread.
42128         * tls.make.c: File removed.
42129
42130 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42131
42132         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42133         * config.make.in (CPPFLAGS-config): New substituted variable.
42134
42135 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42136
42137         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42138
42139         [BZ #13192]
42140         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42141         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42142
42143 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42144
42145         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42146         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42147         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42148         (CALL_FAIL): Likewise.
42149         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42150         (CALL_FAIL): Macro removed.
42151         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42152
42153 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42154
42155         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42156         for __FINITE_MATH_ONLY__ == 1.
42157
42158 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42159
42160         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42161         __ieee754_sqrt instead of sqrt.
42162         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42163         __ieee754_sqrtf instead of sqrtf.
42164         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42165         __floorf instead of floorf.
42166         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42167         __floorf, __truncf instead of floorf, truncf.
42168
42169 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42170
42171         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42172
42173         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42174         __extern_always_inline.
42175         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42176         32-bit.
42177
42178 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42179
42180         * elf/rtld.c (dl_main): Also relocate in dependency order when
42181         doing symbol dependency testing.
42182
42183 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42184
42185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42186         Always define `refsym'.
42187
42188 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42189
42190         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42191         (__FD_ELT): Renamed from __FDELT.
42192         * misc/bits/select2.h (__FD_ELT): Likewise.
42193         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42194         __FD_MASK instead of __FDELT, __FDMASK.
42195         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42196         Likewise.
42197         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42198         Likewise.
42199
42200         * elf/Makefile (gen-ldd): Fix pattern.
42201
42202         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42203         (init_tls): Likewise.
42204
42205 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42206
42207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42208
42209 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42210
42211         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42212         `struct cmsghdr *' instead of `void *'.
42213         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42214         Likewise.
42215
42216 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42217
42218         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42219         if non-absolute.
42220         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42221         ldd_rewrite_script.
42222
42223 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42224
42225         * configure.in: Remove --with-tls option.
42226         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42227         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42228         out in case it is missing.
42229         * sysdeps/ia64/elf/configure.in: Likewise.
42230         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42231         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42232         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42233         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42234         * sysdeps/sh/elf/configure.in: Likewise.
42235         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42236         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42237         * sysdeps/x86_64/elf/configure.in: Likewise.
42238         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42239         * sysdeps/mach/hurd/tls.h: Likewise.
42240
42241         [BZ #13067]
42242         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42243
42244         [BZ #13090]
42245         * configure.in: Fix use of AC_INIT.
42246
42247         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42248
42249 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42250
42251         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42252         __set_errno.
42253         * malloc/hooks.c: Likewise.
42254
42255         [BZ #11929]
42256         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42257         variables statically.
42258         (narenas): Initialize.
42259         (list_lock): Initialize.
42260         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42261         initializtion of main_arena and list_lock.  Small cleanups.
42262         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42263         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42264         Add initializers to main_arena and mp_.
42265         (malloc_state): Remove pagesize member.  Change all users to use
42266         GLRO(dl_pagesize).
42267
42268         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42269         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42270         is always initialized.
42271
42272         * malloc/malloc.c: Removed unused configurations and dead code.
42273         * malloc/arena.c: Likewise.
42274         * malloc/hooks.c: Likewise.
42275         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42276
42277         * include/tls.h: Removed.  USE___THREAD must always be defined.
42278         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42279         * elf/dl-libc.c: Likewise.
42280         * elf/dl-tsd.c: Likewise.
42281         * include/errno.h: Likewise.
42282         * include/netdb.h: Likewise.
42283         * include/resolv.h: Likewise.
42284         * inet/herrno-loc.c: Likewise.
42285         * inet/herrno.c: Likewise.
42286         * malloc/arena.c: Likewise.
42287         * malloc/hooks.c: Likewise.
42288         * malloc/malloc.c: Likewise.
42289         * resolv/res-state.c: Likewise.
42290         * resolv/res_libc.c: Likewise.
42291         * sysdeps/i386/dl-machine.h: Likewise.
42292         * sysdeps/ia64/dl-machine.h: Likewise.
42293         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42294         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42295         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42296         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42297         * sysdeps/sh/dl-machine.h: Likewise.
42298         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42299         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42300         * sysdeps/unix/i386/sysdep.S: Likewise.
42301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42302         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42311         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42312         * sysdeps/x86_64/dl-machine.h: Likewise.
42313         * tls.make.c: Likewise.
42314
42315         * configure.in: Remove --with-__thread option.  Make tests for
42316         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42317         tls_model attribute fail if no support is available.  Remove
42318         USE_IN_LIBIO.
42319         * Makeconfig: Adjust for dropped configure option.  All features are
42320         now mandatory.
42321         * Makerules: Likewise.
42322         * Versions.def: Likewise.
42323         * argp/argp-fmtstream.c: Likewise.
42324         * argp/argp-fmtstream.h: Likewise.
42325         * argp/argp-help.c: Likewise.
42326         * assert/assert.c: Likewise.
42327         * config.h.in: Likewise.
42328         * config.make.in: Likewise.
42329         * configure: Likewise.
42330         * configure.in: Likewise.
42331         * csu/Versions: Likewise.
42332         * csu/init.c: Likewise.
42333         * elf/tst-audit2.c: Likewise.
42334         * elf/tst-tls10.c: Likewise.
42335         * elf/tst-tls10.h: Likewise.
42336         * elf/tst-tls11.c: Likewise.
42337         * elf/tst-tls12.c: Likewise.
42338         * elf/tst-tls14.c: Likewise.
42339         * elf/tst-tlsmod11.c: Likewise.
42340         * elf/tst-tlsmod12.c: Likewise.
42341         * elf/tst-tlsmod13.c: Likewise.
42342         * elf/tst-tlsmod13a.c: Likewise.
42343         * elf/tst-tlsmod14a.c: Likewise.
42344         * elf/tst-tlsmod15b.c: Likewise.
42345         * elf/tst-tlsmod16a.c: Likewise.
42346         * elf/tst-tlsmod16b.c: Likewise.
42347         * elf/tst-tlsmod7.c: Likewise.
42348         * elf/tst-tlsmod8.c: Likewise.
42349         * elf/tst-tlsmod9.c: Likewise.
42350         * gmon/gmon.c: Likewise.
42351         * grp/fgetgrent_r.c: Likewise.
42352         * grp/putgrent.c: Likewise.
42353         * hurd/fopenport.c: Likewise.
42354         * include/libc-symbols.h: Likewise.
42355         * include/tls.h: Likewise.
42356         * intl/gettextP.h: Likewise.
42357         * intl/loadinfo.h: Likewise.
42358         * locale/global-locale.c: Likewise.
42359         * locale/localeinfo.h: Likewise.
42360         * mach/devstream.c: Likewise.
42361         * malloc/arena.c: Likewise.
42362         * malloc/set-freeres.c: Likewise.
42363         * misc/err.c: Likewise.
42364         * misc/getttyent.c: Likewise.
42365         * misc/mntent_r.c: Likewise.
42366         * posix/getopt.c: Likewise.
42367         * posix/wordexp.c: Likewise.
42368         * pwd/fgetpwent_r.c: Likewise.
42369         * resolv/Versions: Likewise.
42370         * resolv/res_hconf.c: Likewise.
42371         * shadow/fgetspent_r.c: Likewise.
42372         * shadow/putspent.c: Likewise.
42373         * stdio-common/printf_fphex.c: Likewise.
42374         * stdio-common/tmpfile.c: Likewise.
42375         * stdlib/abort.c: Likewise.
42376         * stdlib/fmtmsg.c: Likewise.
42377         * sunrpc/auth_unix.c: Likewise.
42378         * sunrpc/clnt_perr.c: Likewise.
42379         * sunrpc/clnt_tcp.c: Likewise.
42380         * sunrpc/clnt_udp.c: Likewise.
42381         * sunrpc/clnt_unix.c: Likewise.
42382         * sunrpc/openchild.c: Likewise.
42383         * sunrpc/svc_simple.c: Likewise.
42384         * sunrpc/svc_tcp.c: Likewise.
42385         * sunrpc/svc_udp.c: Likewise.
42386         * sunrpc/svc_unix.c: Likewise.
42387         * sunrpc/xdr.c: Likewise.
42388         * sunrpc/xdr_array.c: Likewise.
42389         * sunrpc/xdr_rec.c: Likewise.
42390         * sunrpc/xdr_ref.c: Likewise.
42391         * sunrpc/xdr_stdio.c: Likewise.
42392
42393 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42394
42395         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42396
42397 2011-07-03  Andreas Jaeger  <aj@suse.de>
42398
42399         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42400         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42401         regenerate with gen-libm-tests.pl.
42402
42403 2010-05-12  Petr Baudis  <pasky@suse.cz>
42404
42405         [BZ #11589]
42406         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42407         around j0() zero points by switching to j1().
42408         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42409         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42410         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42411         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42412
42413 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42414
42415         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42416         instead of 0.
42417         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42418         instead of 0.
42419         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42420         Patch in part by Pavel Roskin <proski@gnu.org>.
42421
42422         [BZ #13138]
42423         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42424         realloc.
42425         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42426         Free memory block if necessary.
42427
42428         [BZ #12847]
42429         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42430         be NULL.  Don't lock in this case.
42431
42432 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42433
42434         * elf/elf.h (ELFOSABI_GNU): New macro.
42435         (ELFOSABI_LINUX): Define to that.
42436
42437 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42438
42439         * string/strncat.c (strncat): Undef the symbol in case it has been
42440         defined in bits/string.h.
42441
42442 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42443
42444         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42445
42446         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42447         link map.
42448
42449 2011-08-17  Andreas Jaeger  <aj@suse.de>
42450
42451         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42452
42453 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42454             Ian Lance Taylor  <iant@google.com>
42455
42456         * math/libm-test.inc (lround_test): New testcase.
42457         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42458
42459 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42460
42461         * Makefile: Remove support for automatic cvs check-ins.
42462         * Makerules: Likewise.
42463         * config.make.in: Likewise.
42464         * configure.in: Likewise.
42465         * intl/Makefile: Likewise.
42466         * locale/Makefile: Likewise.
42467         * po/Makefile: Likewise.
42468         * posix/Makefile: Likewise.
42469         * sysdeps/gnu/Makefile: Likewise.
42470         * sysdeps/mach/hurd/Makefile: Likewise.
42471         * sysdeps/sparc/sparc32/Makefile: Likewise.
42472
42473         [BZ #13118]
42474         * posix/Makefile (bug-regex32-ENV): Define.
42475         Patch by John Stanley <jpsinthemix@verizon.net>.
42476
42477         * misc/Makefile (headers): Add bits/select2.h.
42478         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42479         * misc/bits/select2.h: New file.
42480         * include/bits/select2.h: New file.
42481         * debug/Makefile (routines): Add fdelt_chk.
42482         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42483         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42484         FD_ISSET.
42485         * debug/fdelt_chk.c: New file.
42486
42487         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42488         * wcsmbs/test-wmemcmp.c: Likewise.
42489         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42490         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42491
42492 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42493
42494         * string/Makefile (strop-tests): Add memcmp.
42495         * string/test-wmemcmp.c: New file.
42496         * string/test-memcmp.c: Add wmemcmp support.
42497
42498 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42499
42500         [BZ #13153]
42501         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42502         2011-07-19 change.
42503
42504         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42505         garbage value in a __mach_port_mod_refs call in the cases of the
42506         task-self and thread-self ports.
42507
42508 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42509
42510         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42511
42512 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42513
42514         * elf/dl-load.c (lose): Check for non-null L.
42515
42516 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42517
42518         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42519
42520         * elf/dl-libc.c (dlerror_run): Pass back error code from
42521         dl_catch_error.
42522
42523         [BZ #13123]
42524         * elf/dl-load.c (lose): Free l_origin if it is valid.
42525
42526         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42527         names.
42528         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42531         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42533         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42534
42535 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42536
42537         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42538         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42539         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42540         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42541         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42542         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42543         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42544         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42545         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42546         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42547
42548 2011-08-15  Alan Modra  <amodra@gmail.com>
42549
42550         [BZ #13092]
42551         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42552         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42553         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42554         ppc_mcount to static-only-routines.
42555         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42556         __mcount_internal.
42557         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42558         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42559
42560 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42561
42562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42563         for finite and infinity parameters.
42564
42565 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42566
42567         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42568         and add nop instructions for throughput optimization.
42569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42570
42571 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42572
42573         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42574         aligned copy for power7 with vector-scalar instructions.
42575         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42576
42577 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42578
42579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42580         AVX check.
42581
42582 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42583
42584         [BZ #13144]
42585         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42586         last change.
42587
42588 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42589
42590         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42591         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42592         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42594         clock_gettime.
42595
42596 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42597
42598         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42599         Forgot to demangle the pointer.
42600
42601         * sysdeps/i386/sysdep.h: Define atom_text_section.
42602         * sysdeps/x86_64/sysdep.h: Likewise.
42603         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42604         section with atom_text_section.
42605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42609         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42610
42611         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42612         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42613         already be defined.  Change to take two parameters and don't assign
42614         result to variable.  Adjust all users.
42615         Define INTERNAL_GETTIME if not already defined.
42616         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42617         call.
42618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42619         HAVE_CLOCK_GETTIME_VSYSCALL.
42620         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42621
42622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42623         gettimeofday vsyscall, just use time.
42624
42625 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42626
42627         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42628         <errno.h>.
42629
42630 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42631
42632         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42633         syscall on x86-64.
42634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42635         syscall.
42636         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42637         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42638         syscall if possible.
42639
42640 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42641
42642         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42643         e_ident.  Don't pass to find_mapsXX.
42644         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42645
42646 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42647
42648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42649         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42650         * sysdeps/x86_64/multiarch/strchr.S: Update.
42651         Check bit_slow_BSF bit.
42652         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42653         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42654         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42655
42656 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42657
42658         [BZ #13134]
42659         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42660         before glibc 2.15.
42661         (tryshell): Define.
42662         (__spawni): Change last parameter to be flag.  Test
42663         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42664         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42665         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42666         * posix/spawni.c: Likewise.
42667         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42668         * posix/spawnp.c: Likewise.  Change normal version to use
42669         SPAWN_XFLAGS_USE_PATH.
42670         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42671         SPAWN_XFLAGS_TRY_SHELL.
42672
42673         [BZ #13150]
42674         * posix/glob.h: Remove gcc 1.x support.
42675
42676         [BZ #13068]
42677         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42678
42679 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42680
42681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42682         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42683         strrchr-sse2-bsf
42684         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42685         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42686         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42687         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42688         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42689         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42690
42691 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42692
42693         * sysdeps/x86_64/wcscmp.S: New file.
42694
42695         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42696         wcscmp-c wcscmp-sse2
42697         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42698         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42699         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42700         * wcsmbs/wcscmp.c: Allow renaming.
42701
42702 2011-09-05  David S. Miller  <davem@davemloft.net>
42703
42704         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42705         stack slot, rather than the struct return pointer slot.
42706         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42707         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42709         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42710
42711 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42712
42713         * po/ja.po: Update from translation team.
42714
42715         [BZ #13144]
42716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42717         kernel in 64-bit binaries.
42718
42719 2011-09-01  David S. Miller  <davem@davemloft.net>
42720
42721         * elf/elf.h (HWCAP_SPARC_*): Move to..
42722         * sysdeps/sparc/sysdep.h: this new file and add new values.
42723         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42724         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42725         _DL_HWCAP_COUNT to 24.
42726         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42727         entries.
42728         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42729         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42730         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42732         instead of magic constants.
42733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42734
42735 2011-08-31  David S. Miller  <davem@davemloft.net>
42736
42737         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42738         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42739         Reimplement to do errno handling inline.
42740         (SYSCALL_ERROR_HANDLER): New macro.
42741         (__SYSCALL_STRING): Do not do errno handling in asm.
42742         (__CLONE_SYSCALL_STRING): Delete.
42743         (__INTERNAL_SYSCALL_STRING): Delete.
42744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42745         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42746         (PSEUDO): Reimplement to do errno handling inline.
42747         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42748         (SYSCALL_ERROR_HANDLER): New macro.
42749         (__SYSCALL_STRING): Do not do errno handling in asm.
42750         (__CLONE_SYSCALL_STRING): Delete.
42751         (__INTERNAL_SYSCALL_STRING): Delete.
42752         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42753         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42754         i386.
42755         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42756         (inline_syscall*): Add 'err' argument.
42757         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42758         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42759         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42760         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42761
42762         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42763         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42764
42765 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42766
42767         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42768
42769 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42770
42771         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42772         directive.
42773
42774 2011-08-24  David S. Miller  <davem@davemloft.net>
42775
42776         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42777
42778 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42779
42780         * elf/Makefile: Add rules to build and run unload8 test.
42781         * elf/unload8.c: New file.
42782         * elf/unload8mod1.c: New file.
42783         * elf/unload8mod1x.c: New file.
42784         * elf/unload8mod2.c: New file.
42785         * elf/unload8mod3.c: New file.
42786
42787         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42788         it wasn't used.
42789
42790 2011-08-23  David S. Miller  <davem@davemloft.net>
42791
42792         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42793         subtract stack bias.
42794         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42795         %sp not %fp in calculations.
42796         (_JMPBUF_UNWINDS_ADJ): Likewise.
42797
42798         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42799         (aio_suspend): Call it to force an exception region around the
42800         AIO_MISC_WAIT() invocation.
42801
42802 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42803
42804         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42805         backslash.
42806
42807 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42808
42809         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42810         protection macro.
42811         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42812         and <dl-machine.h>.
42813         (Elf64_FuncDesc): Remove.
42814
42815 2011-08-22  David S. Miller  <davem@davemloft.net>
42816
42817         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42818         sigaltstack check, add missing cfi directives.
42819         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42820         missing cfi directives, and sigaltstack handling.
42821
42822 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42823
42824         [BZ #11724]
42825         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42826         object is seen twice.
42827         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42828
42829         * elf/Makefile (distribute): Add tst-initorder2.c.
42830         (tests): Add tst-initorder2.
42831         (modules-names): Add tst-initorder2a tst-initorder2b
42832         tst-initorder2c tst-initorder2d.  Add rules to build them.
42833         ($(objpfx)tst-initorder2.out): New rule.
42834         * elf/tst-initorder2.c: New file.
42835         * elf/tst-initorder2.exp: New file.
42836
42837 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42838
42839         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42840
42841         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42842         dependencies back to end of function.
42843
42844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42845         $(elfobjdir)/ld.so.
42846
42847 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42848
42849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42850         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42852         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42853         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42854         of __vdso_gettimeofday.
42855         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42856         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42857         attribute_hidden.
42858         (_libc_vdso_platform_setup): Remove initialization of
42859         __vdso_gettimeofday and __vdso_time.
42860
42861 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42862
42863         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42864         and fgetc_unlocked.
42865         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42866         getc_unlocked.
42867
42868         * elf/dl-open.c (add_to_global): Report additions to the global scope
42869         for LD_DEBUG=scopes.
42870         (dl_open_worker): Also print scope of newly loaded dependencies.
42871         (_dl_show_scope): Indicate if there is no scope.
42872
42873         [BZ #13114]
42874         * stdio-common/Makefile (tests): Add bug24.
42875         * stdio-common/bug24.c: New file.
42876
42877 2011-08-19  Andreas Jaeger  <aj@suse.de>
42878
42879         [BZ #13114]
42880         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42881         non-existant file when using close-on-exec mode.
42882
42883 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42884
42885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42886         the very first instruction.
42887
42888         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42889         the CFI state in the end.
42890         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42891         inclusion of dl-trampoline.h.
42892         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42893
42894 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42895
42896         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42897         expectations for long double.
42898
42899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42900         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42901
42902 2011-08-14  David S. Miller  <davem@davemloft.net>
42903
42904         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42905         artificual limit depends upon the system page size.
42906
42907 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42908
42909         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42910         * resolv/Makefile: Define CFLAGS-libresolv.
42911
42912 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42913
42914         * nss/makedb.c (compute_tables): Make variables used in nested
42915         function static.
42916
42917 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42918
42919         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42920         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42921         if buffer was too small.
42922
42923         * elf/pldd.c (main): Attach to all threads in the process.
42924         Rewrite /proc handling to use *at functions.
42925
42926 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42927
42928         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42929         specifies first scope to show.
42930         (dl_open_worker): Update callers.  Move printing scope of new
42931         object to before the relocation.
42932         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42933         * sysdeps/generic/ldsodefs.h: Update declaration.
42934
42935         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42936         string for the scope number.
42937
42938 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42939
42940         * nscd/servicescache.c (cache_addserv): Make sure written is always
42941         initialized.
42942
42943 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42944
42945         * sysdeps/i386/i486/bits/atomic.h
42946         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42947         statement expression, so as to suppress "set but not used" warning.
42948         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42949
42950         * string/strncat.c (STRNCAT): Use prototype definition.
42951
42952         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42953         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42954         -Iprograms here.
42955         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42956         (localedef-modules): Add localedef.
42957         (locale-modules): Add locale.
42958
42959         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42960         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42961         to avoid a warning.
42962
42963 2011-08-14  David S. Miller  <davem@davemloft.net>
42964
42965         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42966         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42967
42968 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42969
42970         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42971         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42972         * elf/rtld.c (dl_main): Set l_name of vDSO.
42973         Call _dl_show_scope when DL_DEBUG_SCOPES.
42974         (process_dl_debug): Recognize scopes flag and also set it for all.
42975         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42976         Declare _dl_show_scope.
42977
42978         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42979         (do_dlopen): Pass caller_dlopen to dl_open.
42980         (__libc_dlopen_mode): Initialize caller_dlopen.
42981
42982         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42983         of libc.  Make tolower call locale-independent.  Optimize a bit by
42984         using isdigit instead of isalnum.
42985         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42986
42987 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42988
42989         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42990         was a dependency or dynamically loaded.
42991
42992 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42993
42994         * intl/l10nflist.c: Allow architecture-specific pop function.
42995         * sysdeps/x86_64/l10nflist.c: New file.
42996
42997         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42998         classification.
42999
43000 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43001
43002         * include/dirent.h: Add libc_hidden_proto for scandirat and
43003         scandirat64.  Don't declare __scandirat64.
43004         * dirent/scandirat.c: Add libc_hidden_def.
43005         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43006         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43007
43008 2011-08-10  David S. Miller  <davem@davemloft.net>
43009
43010         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43011         enum.
43012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43013         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43014         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43015
43016 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43017
43018         * Versions.def [libc]: Add GLIBC_2.15.
43019         * dirent/Makefile (routines): Add scandirat and scandirat64.
43020         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43021         GLIBC_2.15.
43022         * dirent/dirent.h: Declare scandirat and scandirat64.
43023         * dirent/scandirat.c: New file.
43024         * dirent/scandirat64.c: New file.
43025         * sysdeps/wordsize-64/scandirat.c: New file.
43026         * sysdeps/wordsize-64/scandirat64.c: New file.
43027         * dirent/opendir.c: Define opendirat.
43028         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43029         using scandirat.
43030         * dirent/scandir64.c: Adjust for scandir.c change.
43031         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43032         __scandirat64, and __scandir_cancel_handler.
43033         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43034         additional parameter and use openat instead of open (outside of ld.so).
43035         Add new __opendir as wrapper around __opendirat.
43036         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43037         here without requiring old scandirat implementation.
43038
43039 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43040
43041         * dirent/scandir.c (cancel_handler): Renamed to
43042         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43043         defined.  Adjust users.
43044         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43045         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43046
43047 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43048
43049         * string/test-string.h (IMPL): Use __STRING to expand name and then
43050         stringify it.
43051
43052         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43053         of cleanups.
43054
43055 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43056
43057         * string/Makefile: Update.
43058         (strop-tests): Append strncat.
43059         * string/test-wcscmp.c: New file.
43060         New comprehensive test for wcscmp.
43061         * string/test-strcmp.c: Update.
43062         (WIDE): New define.
43063
43064 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43065
43066         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43067         line.
43068
43069 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43070
43071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43072         encoding to ACE if AI_IDN.
43073
43074 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43075
43076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43077         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43078
43079 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43080
43081         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43082         Fix overflow bug in strncat.
43083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43084
43085         * string/test-strncat.c: Update.
43086         Add new tests for checking overflow bugs.
43087
43088 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43089
43090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43091         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43092         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43093         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43095         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43096         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43097         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43098         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43099
43100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43101         (USE_AS_STRCAT): Define.
43102         Add strcat and strncat support.
43103         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43104
43105 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43106
43107         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43108         __n bigger than INT_MAX+1.
43109         (__strncmp_g): Likewise.
43110
43111 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43112
43113         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43114         * libio/stido.h: Likewise.
43115
43116         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43117         (AF_NFC): Define.
43118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43119         (AF_NFC): Define.
43120
43121         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43122         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43124         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43126
43127         [BZ #13021]
43128         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43129         installed.
43130
43131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43132         typo.
43133         (_dl_x86_64_save_sse): Likewise.
43134
43135 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43136
43137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43138         OSXSAVE.
43139         (_dl_x86_64_save_sse): Likewise.
43140
43141         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43142
43143         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43144
43145 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43146
43147         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43148         change.
43149         (_dl_x86_64_save_sse): Use correct AVX check.
43150
43151 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43152
43153         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43154         bug in strncpy/strncat.
43155         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43156
43157 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43158
43159         * string/tester.c (test_strcat): Add tests for different alignments
43160         of source and destination.
43161         (test_strncat): Likewise.
43162
43163 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43164
43165         [BZ #12852]
43166         * posix/glob.c (glob): Check passed in values before using them in
43167         expressions to avoid some overflows.
43168         (glob_in_dir): Likewise.
43169
43170         [BZ #13007]
43171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43172         check for AVX enablement so that we don't crash with old kernels and
43173         new hardware.
43174         * elf/tst-audit4.c: Add same checks here.
43175         * elf/tst-audit6.c: Likewise.
43176
43177         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43178
43179 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43180
43181         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43182
43183 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43184
43185         * po/cs.po: Update from translation team.
43186         * po/bg.po: Likewise.
43187
43188 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43189
43190         * misc/sys/cdefs.h: Add support for const attribute.
43191         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43192         to gnu_dev_{major,minor,makedev} functions.
43193
43194 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43195
43196         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43197
43198 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43199
43200         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43201         strlen results.
43202
43203 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43204
43205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43206         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43207         register in order to avoid conflicts with the soft frame pointer
43208         being held in r11 when necessary.
43209         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43210         (INTERNAL_VSYSCALL_NCS): Likewise.
43211
43212 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43213
43214         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43215         * elf/dl-fini.c (_dl_fini): Adjust caller.
43216         * elf/dl-close.c (_dl_close_worker): Likewise.
43217         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43218
43219 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43220
43221         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43222         "aux_cache->nlibs < 0".
43223
43224         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43225         in the reload-count case.
43226
43227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43228
43229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43230         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43231         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43232         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43233         * sysdeps/x86_64/multiarch/strcat.S: New file.
43234         * sysdeps/x86_64/multiarch/strncat.S: New file.
43235         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43236         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43237         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43238         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43239         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43240         (USE_AS_STRCAT): Define.
43241         Add strcat and strncat support.
43242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43243         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43244         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43245         * string/strncat.c: Update.
43246         (USE_AS_STRNCAT): Define.
43247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43248         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43249         and i7.
43250         * sysdeps/x86_64/multiarch/init-arch.h
43251         (bit_Prefer_PMINUB_for_stringop): New.
43252         (index_Prefer_PMINUB_for_stringop): Likewise.
43253         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43254         bit_Prefer_PMINUB_for_stringop.
43255
43256 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43257
43258         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43259         buffer64.
43260         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43261         of casting of buffer.
43262         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43263         buffer32 and buffer64.
43264         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43265         writes instead of casting of buffer.
43266         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43267         buffer32.
43268         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43269         casting of buffer.
43270
43271 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43272
43273         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43274
43275 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43276
43277         * nscd/nscd.c (termination_handler): Don't do anything for a database
43278         if it has not yet been initialized.
43279
43280 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43281
43282         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43283
43284 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43285
43286         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43287
43288 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43289
43290         * po/nl.po: Update from translation team.
43291         * po/sv.po: Likewise.
43292
43293 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43294
43295         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43296         now disallowed by GCC.
43297
43298         * configure.in (use-default-link): Default to yes if a test -shared
43299         link meets our qualifications.
43300         * configure: Regenerated.
43301
43302         * config.make.in (output-format): New variable.
43303         * configure.in: Check for ld --print-output-format support.
43304         * configure: Regenerated.
43305         * Makerules ($(common-objpfx)format.lds)
43306         [$(output-format) != unknown]: Just use $(output-format),
43307         instead of the linker-script munging.
43308
43309 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43310
43311         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43312         of $(common-objpfx)shlib.lds.
43313         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43314
43315         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43316         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43317
43318         * configure.in (-z relro check): Adjust test code to add a large
43319         writable data section after it.
43320         * configure: Regenerated.
43321
43322 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43323
43324         * configure.in (-z relro check): Fix test code to make the variable
43325         truly const.
43326         * configure: Regenerated.
43327
43328 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43329
43330         * nscd/nscd.h (struct traced_file): Define.
43331         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43332         elements.  Add traced_files.
43333         (inotify_fd): Declare.
43334         (register_traced_file): Declare.
43335         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43336         (inotify_fd): Export.
43337         (resolv_conf_descr): Remove.
43338         (nscd_init): Move inotify descriptor creation to main.
43339         Don't register files for notification here.
43340         (register_traced_file): New function.
43341         (invalidate_cache): Don't use reset_res to determine whether to call
43342         res_init, go through the list of registered files.
43343         (main_loop_poll): The inotify descriptors are now stored in the
43344         structures for the traced files.
43345         (main_loop_epoll): Likewise
43346         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43347         to __nss_disable_nscd.
43348         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43349         for a database anymore.  Check the records for all the registered
43350         files instead.
43351         * nss/Makefile (libnss_files-routines): Add files-init.
43352         (libnss_db-routines): Add db-init.
43353         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43354         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43355         * nss/nss_db/db-init.c: New file.
43356         * nss/nss_files/files-init.c: New file.
43357         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43358         __nss_lookup_function.
43359         (__nss_lookup_function): Call nss_load_library.
43360         (nss_load_all_libraries): New function.
43361         (__nss_disable_nscd): Take parameter with callback function for files
43362         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43363         used for the cached services.
43364         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43365         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43366         options for features to all the files in nscd.
43367
43368         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43369
43370 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43371
43372         * csu/elf-init.c (__libc_csu_init): Comment typo.
43373
43374 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43375
43376         * po/pl.po: Update from translation team.
43377         * po/ja.po: Likewise.
43378         * po/ru.po: Likewise.
43379         * po/ko.po: Likewise.
43380         * po/fr.po: Likewise.
43381
43382 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43383
43384         * configure.in (.ctors/.dtors header and trailer check):
43385         Use an empirical test on a built program.
43386         * configure: Regenerated.
43387
43388         * configure.in (-z relro check): Use an empirical test on a built DSO.
43389         Detect, but do not require, on ia64.
43390         * configure: Regenerated.
43391
43392         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43393         Update tests that use readelf to use $READELF instead.
43394         * configure: Regenerated.
43395
43396 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43397
43398         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43399         if the result is not used.
43400
43401 2011-07-05  Andreas Jaeger  <aj@suse.de>
43402
43403         [BZ#9696]
43404         * stdlib/tst-strtod.c: Add testcase.
43405
43406 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43407
43408         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43409         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43410         The latter has a higher limit.  Take additional parameter to pass to
43411         the new function.
43412         (__pathconf): Pass file to __statfs_link_max.
43413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43414         __statfs_link_max.
43415         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43416         __statfs_link_max.
43417
43418         [BZ #12868]
43419         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43420         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43421         Handle Lustre.
43422         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43423         (__statfs_filesize_max): Likewise.
43424         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43425
43426 2011-07-05  Andreas Jaeger  <aj@suse.de>
43427
43428         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43429
43430 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43431
43432         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43433         `status' variable.
43434         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43435         Likewise.
43436
43437 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43438
43439         * Makefile (strop-tests): Add strncat.
43440         * string/test-strncat.c: New file.
43441
43442 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43443
43444         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43445
43446 2011-06-21  Andreas Jaeger  <aj@suse.de>
43447
43448         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43449         Copy rule from iconvdata/Makefile.
43450
43451 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43452
43453         [BZ #12922]
43454         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43455         but no long options are defined, just return 'W'.
43456
43457 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43458
43459         [BZ #9696]
43460         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43461
43462 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43463
43464         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43465         netgroups to read.
43466         (innetgr): Likewise.
43467
43468 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43469
43470         * config.make.in (install_root): Default to $(DESTDIR).
43471
43472 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43473
43474         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43475
43476 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43477
43478         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43479
43480         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43481         containing directory rather than embedding absolute directory names.
43482
43483         * scripts/check-local-headers.sh: Rewritten using awk.
43484         Match by word, not by line.  Print error messages for matches.
43485         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43486
43487         * Makerules [shlib-lds-flags empty]:
43488         ($(common-objpfx)libc_pic.opts): New target.
43489         ($(common-objpfx)libc_pic.os.clean): New target.
43490         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43491
43492         * config.make.in (OBJCOPY): New variable.
43493         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43494         * configure: Regenerated.
43495
43496         * config.make.in (use-default-link): New variable.
43497         * configure.in (use_default_link): Grok --with-default-link to set it.
43498         * configure: Regenerated.
43499         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43500         (shlib-lds, shlib-lds-flags): Define to empty.
43501
43502         * Makerules (shlib-lds): New variable.
43503         (shlib-lds-flags): New variable.
43504         (build-shlib, build-moduile, build-module-asneeded): Use it.
43505         ($(common-objpfx)libc.so): Use $(shlib-lds).
43506         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43507         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43508
43509         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43510         DT_FLAGS/DT_FLAGS_1 with zero flags.
43511
43512         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43513         linker script munging.
43514
43515 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43516
43517         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43518         as 128-bit value.
43519         * crypt/sha512.c (sha512_process_block): Perform total addition using
43520         128-bit if possible.
43521         (__sha512_finish_ctx): Likewise.
43522         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43523         as 64-bit value.
43524         * crypt/sha256.c (SWAP64): Define.
43525         (sha256_process_block): Perform total addition using 64-bit if
43526         possible.
43527         (__sha256_finish_ctx): Likewise.
43528
43529 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43530
43531         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43532         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43533         * nscd/hstcache.c (cache_addhst): Likewise.
43534         * nscd/grpcache.c (cache_addgr): Likewise.
43535         * nscd/aicache.c (addhstaiX): Likewise
43536         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43537
43538 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43539
43540         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43541         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43542         * nscd/hstcache.c (cache_addhst): Likewise.
43543         * nscd/grpcache.c (cache_addgr): Likewise.
43544         * nscd/aicache.c (addhstaiX): Likewise
43545
43546 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43547
43548         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43549         domain only when needed.
43550
43551 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43552
43553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43554         is always restored.
43555
43556 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43557
43558         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43559         are re-adding the entry.
43560         * nscd/servicescache.c (cache_addserv): Likewise.
43561
43562 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43563
43564         * sysdeps/generic/dl-irel.h: fix protection against multiple
43565         inclusions.
43566         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43567
43568 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43569
43570         [BZ #12935]
43571         * malloc/memusage.sh: Fix quoting in message.
43572         * debug/xtrace.sh: Likewise.
43573
43574         * configure.in: Remove support for --experimental-malloc option, make
43575         it the default.
43576         * config.make.in: Likewise.
43577         * malloc/Makefile: Likewise.
43578
43579 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43580
43581         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43582         two-byte characters.
43583
43584 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43585
43586         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43587         AC_CACHE_CHECK invocation.
43588         * configure: Regenerated.
43589
43590         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43591
43592 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43593
43594         [BZ #12350]
43595         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43596         bit from old_res_options.
43597
43598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43599
43600         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43601         value type for setfct.
43602
43603 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43604
43605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43606         __gettimeofday instead of gettimeofday.
43607
43608 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43609
43610         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43611
43612 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43613
43614         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43615
43616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43617         info.
43618
43619 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43620
43621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43622         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43623         strcpy-sse2-unaligned strncpy-sse2-unaligned
43624         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43625         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43626         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43627         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43628         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43629         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43630         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43631         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43632         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43633         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43634         (STRCPY): Support SSE2 and SSSE3 versions.
43635
43636 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43637
43638         [BZ #12874]
43639         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43640         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43641         kernels which artificially limit size of requests.
43642
43643 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43644
43645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43646         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43647         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43648         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43649         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43650         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43651         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43652         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43653         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43654         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43655         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43656         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43657         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43658         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43659         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43661         Enable unaligned load optimization for Intel Core i3, i5 and i7
43662         processors.
43663         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43664         Define.
43665         (index_Fast_Unaligned_Load): Define.
43666         (HAS_FAST_UNALIGNED_LOAD): Define.
43667
43668 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43669
43670         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43671
43672 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43673
43674         [BZ #12907]
43675         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43676         until it is clear that the information is realy needed.
43677         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43678
43679 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43680
43681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43682
43683 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43684
43685         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43686         /sys/devices/system/cpu/online if it is usable.
43687
43688         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43689         reading the information from the /proc filesystem to once a second.
43690
43691 2011-06-21  Andreas Jaeger  <aj@suse.de>
43692
43693         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43694         NULL after inclusion of kernel headers.
43695
43696 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43697
43698         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43699         calls to internal_setent.
43700
43701         [BZ #12885]
43702         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43703         addresses using gethostbyname4_r ignore IPv4 addresses.
43704
43705         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43706         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43707
43708         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43709
43710 2011-06-20  David S. Miller  <davem@davemloft.net>
43711
43712         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43713         inclusions.
43714         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43715
43716         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43717         (elf_irel): Use it.
43718         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43719         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43720         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43721         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43722         * sysdeps/x86_64/dl-irel.h: Likewise.
43723
43724         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43725         * elf/dl-sym.c: Likewise.
43726
43727 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43728
43729         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43730         need to dereference resplen2.
43731
43732 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43733
43734         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43735
43736 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43737
43738         * Makeconfig: Define vardbdir and inst_vardbdir.
43739         * nss/Makefile: Add rules to install db-Makefile.
43740
43741         * nss/nss_db/db-XXX.c: Cleanup.
43742
43743         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43744         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43745         GLIBC_PRIVATE.
43746         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43747         * nss/makedb.c: Implement -g option to specify that value strings
43748         are generated and should not be added to table iterated over for
43749         get*ent calls.
43750         * nss/nss_db/db-initgroups.c: New file.
43751
43752         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43753         interface.
43754
43755         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43756         (internal_getgrouplist): Adjust to name change.
43757         Update use_initgroups_entry if this is not the first call.
43758         * nss/databases.def: Add initgroups entry.
43759
43760         * nss/makedb.c (compute_tables): Check result of multiple hash table
43761         sizes to minimize maximum chain length.
43762
43763 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43764
43765         * Versions.def: Add entry for libnss_db.
43766         * shlib-versions: Likewise.
43767         * nss/Makefile: Add rules to build libnss_db.
43768         * nss/Versions: Add libnss_db information.  Organize libnss_files
43769         entries better.
43770         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43771         makedb progra.  Some minor improvements to generate smaller files.
43772         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43773         here from...
43774         * nss/makedb.c: ...here.
43775         Improve database format to be smaller and require less memory at
43776         runtime.
43777         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43778         db anymore.
43779         * nss/nss_db/db-netgrp.c: Likewise.
43780         * nss/nss_db/db-open.c: Likewise.
43781         * nss/nss_files/flies-XXX.x: Adjust comments.
43782         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43783         * nss/nss_files/files-grp.c: Likewise.
43784         * nss/nss_files/files-hosts.c: Likewise.
43785         * nss/nss_files/files-network.c: Likewise.
43786         * nss/nss_files/files-proto.c: Likewise.
43787         * nss/nss_files/files-pwd.c: Likewise.
43788         * nss/nss_files/files-rpc.c: Likewise.
43789         * nss/nss_files/files-service.c: Likewise.
43790         * nss/nss_files/files-sgrp.c: Likewise.
43791         * nss/nss_files/files-spwd.c: Likewise.
43792         * nss/nss_db/db-alias.c: Removed.
43793         * nss/nss_db/dummy-db.h: Removed.
43794
43795 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43796
43797         * nss/makedb.c: Rewritten to not use database library.
43798         * nss/Makefile: Update to build new makedb program.
43799
43800 2011-06-14  Andreas Jaeger  <aj@suse.de>
43801
43802         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43803         memset declaration.
43804
43805 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43806
43807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43808         tmpbuf.
43809
43810 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43811
43812         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43813         * elf/Makefile ($(objpfx)ld.so): Likewise.
43814
43815         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43816         Don't list ld.so twice in dependencies.
43817
43818         * posix/bug-regex31.c: Include <stdlib.h>.
43819
43820         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43821
43822         * nis/nss_compat/compat-spwd.c
43823         (getspent_next_nss_netgr): Remove unused variable.
43824         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43825
43826         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43827         nonmembers" output to use the right array.
43828
43829         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43830
43831         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43832
43833         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43834         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43835         * catgets/gencat.c (read_input_file): Likewise.
43836         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43837
43838         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43839         variable definition inside #if's controlling its use.
43840
43841         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43842
43843         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43844
43845         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43846
43847         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43848         unreachable code.
43849
43850         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43851
43852         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43853         * configure: Regenerated.
43854
43855         * Makerules: Revert last change.
43856         * elf/Makefile: Likewise.
43857
43858 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43859
43860         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43861         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43862         (reloc-link): Likewise.
43863
43864 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43865
43866         * elf/Makefile: Add rules to build pldd.
43867         * elf/pldd.c: New file.
43868         * elf/pldd-xx.c: New file.
43869
43870 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43871
43872         * version.h: Update for 2.15 development version.
43873
43874 2011-06-07  David S. Miller  <davem@davemloft.net>
43875
43876         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43877         ifuncs.
43878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43879         elf_machine_lazy_rel): Likewise.
43880         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43882         elf_machine_lazy_rel): Likewise.
43883         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43884         dl_hwcap via passed in argument.
43885         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43886         Likewise.
43887
43888 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43889
43890         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43891
43892 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43893
43894         [BZ #12849]
43895         * manual/fdl-1.1.texi: New file, verbatim from:
43896         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43897         * manual/lgpl-2.1.texi: New file, verbatim from:
43898         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43899         * manual/Makefile (licenses): New variable, list those new file names.
43900         (texis): Use it.
43901         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43902
43903         * manual/fdl.texi: File removed.
43904         * manual/lesser.texi: File removed.
43905         * manual/libc.texinfo (Copying, Documentation License):
43906         Use new @include file names, put @appendix directive before @include.
43907
43908 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43909
43910         [BZ #12841]
43911         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43912         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43913         (mq_open): Add __NTH.
43914
43915 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43916
43917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43918         Assume Intel Core i3/i5/i7 processor if AVX is available.
43919
43920 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43921
43922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43923         typo.
43924
43925 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43926
43927         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43928         memory.  Use alloca_account.  Fix memory leak when retrying.
43929
43930 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43931
43932         * version.h (RELEASE): Bump for 2.14 release.
43933         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43934
43935         * config.make.in (RANLIB): Remove entry.
43936
43937 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43938
43939         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43940         (libc.pot): Work around missing support for .ksh extension in xgettext.
43941
43942         [BZ #12684]
43943         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43944         if both request failed.
43945         (send_dg): In case of server errors clear resplen or *resplen2.
43946
43947         [BZ #12454]
43948         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43949         when there are multiple maps.
43950         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43951         (_dl_fini): Remove test here.
43952
43953         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43954
43955 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43956
43957         [BZ #12350]
43958         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43959         bit from old_res_options.
43960         (gaih_inet): Likewise.
43961
43962         [BZ #11099]
43963         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43964         as signed.
43965
43966         * resolv/res_init.c (res_setoptions): Make the code more compact.
43967
43968         [BZ #11558]
43969         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43970         set RES_USEVC.
43971
43972         [BZ #11634]
43973         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43974
43975         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43976
43977         [BZ #11781]
43978         * malloc/malloc.h: Declare malloc hook variables as volatile.
43979
43980         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43981         in last patch.
43982
43983         [BZ #11799]
43984         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43985         raise in the comment.
43986         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43989
43990 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43991
43992         [BZ #12811]
43993         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43994         grow the buffers more if it already has to be sufficient.
43995         (build_wcs_upper_buffer): Likewise.
43996         * posix/regexec.c (check_matching): Likewise.
43997         (clean_state_log_if_needed): Likewise.
43998         (extend_buffers): Don't enlarge buffers beyond size of the input
43999         buffer.
44000         Patches mostly by Emil Wojak <emil@wojak.eu>.
44001         * posix/bug-regex32.c: New file.
44002         * posix/Makefile (tests): Add bug-regex32.
44003
44004         * locale/findlocale.c (_nl_find_locale): Return right away if
44005         _nl_explode_name failed.
44006         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44007
44008         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44009
44010         * debug/xtrace.sh: Unify messages.
44011         * malloc/memusage.sh: Likewise.
44012
44013         [BZ #12813]
44014         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44015         time symbol from vDSO.  Substitute with vsyscall if not available.
44016         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44017         __vdso_time.
44018
44019         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44020         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44021         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44022         Add sendmmsg and internal_sendmmsg.
44023         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44024         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44025         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44026
44027         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44028         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44030
44031 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44032
44033         [BZ #12813]
44034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44035         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44036         available.
44037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44038         __vdso_getcpu.
44039
44040         [BZ #12814]
44041         * iconvdata/Makefile (tests): Add bug-iconv9.
44042         * iconvdata/bug-iconv9.c: New file.
44043
44044 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44045
44046         [BZ #12814]
44047         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44048
44049 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44050
44051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44052         (struct user_regs_struct): Change intcs field back to cs.
44053
44054 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44055
44056         * po/ja.po: Update from translation team.
44057
44058 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44059
44060         [BZ #12795]
44061         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44062         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44063
44064 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44065
44066         * stdlib/longlong.h: Update from GCC.
44067
44068 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44069
44070         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44071         parameter name.
44072         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44073         Add parameter name.
44074         (__sysconf): Pass it down.
44075
44076 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44077
44078         [BZ #12671]
44079         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44080         some situations.
44081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44082         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44083         add in in __libc_use_alloca calls.  Adjust callers.
44084         (glob): Use malloc in some situations.
44085
44086         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44087         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44088         pltexit.
44089
44090 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44091
44092         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44093         and CLOCK_BOOTTIME_ALARM.
44094
44095         [BZ #12782]
44096         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44097         is returned.
44098
44099         * string/_strerror.c (__strerror_r): Print negative errors as signed
44100         numbers.
44101
44102         [BZ #12777]
44103         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44104         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44105         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44106
44107         * configure.in: Fix typo in redirection and correct removal of test
44108         files in two cases.
44109
44110         [BZ #12788]
44111         * locale/setlocale.c (new_composite_name): Fix test to check for
44112         identical name of all categories.
44113
44114         [BZ #12792]
44115         * libio/filedoalloc.c (local_isatty): New function.
44116         (_IO_file_doallocate): Use local_isatty.
44117         * stdio-common/perror.c (perror): In case a new stream is used
44118         forward the stream error.
44119         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44120         error flag.
44121
44122 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44123
44124         [BZ #11869]
44125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44126         alloca.
44127         * include/alloca.h (extend_alloca_account): Define.
44128
44129         [BZ #11857]
44130         * posix/regex.h: Fix comments with documentation of user-accessible
44131         fields after compilation and describe correct free'ing of pattern
44132         after re_compile_pattern.
44133         Patch by Reuben Thomas <rrt@sc3d.org>.
44134
44135 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44136
44137         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44138         and -mno-altivec to prevent the compiler from using Altivec and/or
44139         VSX instructions when the corresponding registers are not available.
44140
44141 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44142
44143         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44144
44145 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44146
44147         * libio/freopen.c (freopen): Use __dup2, not dup2.
44148         * libio/freopen64.c (freopen64): Likewise.
44149
44150 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44151
44152         [BZ #12775]
44153         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44154         * math/Makefile (tests): Add test-powl.
44155         (CFLAGS-test-powl.c): Define.
44156         * math/test-powl.c: New file.
44157
44158 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44159
44160         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44161
44162 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44163
44164         [BZ #11837]
44165         * iconvdata/gb18030.c: Update to GB18020-2005.
44166
44167 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44168
44169         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44170         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44171         Patch by Aharon Robbins <arnold@skeeve.com>.
44172
44173         [BZ #11892]
44174         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44175         on the stack.
44176
44177         [BZ #11895]
44178         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44179         through underflows.
44180
44181         [BZ #12766]
44182         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44183         point to strings before performing equality test for error_one_per_line
44184         mode.
44185
44186         [BZ #11697]
44187         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44188
44189         [BZ #11820]
44190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44191         (struct user_fpregs_struct): Avoid __uint*_t types.
44192
44193         [BZ #6420]
44194         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44195         symbol info.  Use it instead of calling _dl_addr locally.
44196         (lock_and_info): New function.
44197         (tr_freehook): Call lock_and_info and pass symbol info as additional
44198         parameter to tr_where.
44199         (tr_mallochook): Likewise.
44200         (tr_reallochook): Likewise.
44201         (tr_memalignhook): Likewise.
44202
44203         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44204         used and couldn't be at all thread-safe.
44205
44206 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44207
44208         * libio/freopen.c (freopen): Don't close old file descriptor
44209         before the new one is opened.  Instead dup the new file descriptor
44210         to the old one after the new stream is created.
44211         * libio/freopen64.c (freopen64): Likewise.
44212         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44213         * libio/fileops.c (_IO_new_file_close_it): Handle new
44214         _IO_FLAGS2_NOCLOSE flag.
44215         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44216         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44217         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44218         _IO_FLAGS2_NOCLOSE flag.
44219         * include/unistd.h: Add hidden_proto for dup3.
44220         Define __have_dup3.
44221         * io/dup3.c: Define hidden symbol.
44222         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44223
44224         [BZ #7101]
44225         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44226         when an incomplete long option is used.
44227         * posix/tst-getopt_long1.c: New file.
44228         * posix/Makefile (tests): Add tst-getopt_long1.
44229
44230         [BZ #10138]
44231         * scripts/config.guess: Update from autoconf-2.68.
44232         * scripts/config.sub: Likewise.
44233
44234         [BZ #10157]
44235         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44236         tests into ...
44237         (has_cpuclock): ...this.  New function.
44238         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44239         macro here based on has_cpuclock code.
44240
44241         [BZ #10149]
44242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44243         First byte (not low byte) is now always NUL.
44244         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44245
44246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44247         Use non-cancelable interfaces.
44248
44249         [BZ #9809]
44250         * locale/iso-639.def: Add entry for Sorani.
44251
44252         [BZ #11901]
44253         * include/stdlib.h: Move include protection to the right place.
44254         Define abort_msg_s.  Declare __abort_msg with it.
44255         * stdlib/abort.c (__abort_msg): Adjust type.
44256         * assert/assert.c (__assert_fail_base): New function.  Majority
44257         of code from __assert_fail.  Allocate memory for __abort_msg with
44258         mmap.
44259         (__assert_fail): Now call __assert_fail_base.
44260         * assert/assert-perr.c: Remove bulk of implementation.  Use
44261         __assert_fail_base.
44262         * include/assert.hL Declare __assert_fail_base.
44263         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44264         mmap.
44265         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44266
44267 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44268
44269         [BZ #11952]
44270         [BZ #12453]
44271         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44272         until all modules are registered in the DTV.
44273         * elf/Makefile: Add rules to build and run tst-tls19.
44274         * elf/tst-tls19.c: New file.
44275         * elf/tst-tls19mod1.c: New file.
44276         * elf/tst-tls19mod2.c: New file.
44277         * elf/tst-tls19mod3.c: New file.
44278         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44279
44280         [BZ #12083]
44281         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44282         correctly.
44283
44284         [BZ #12601]
44285         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44286         two-byte sequence errors.
44287         * iconvdata/Makefile (tests): Add bug-iconv8.
44288         * iconvdata/bug-iconv8.c: New file.
44289
44290         [BZ #12626]
44291         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44292         buf2 definition.
44293
44294         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44295
44296         [BZ #12432]
44297         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44298         (dummy_getcfa): New function.
44299         (init): Get _Unwind_GetCFA address, use dummy if not found.
44300         (backtrace_helper): In recursion check, also check whether CFA changes.
44301         (__backtrace): Completely initialize arg.
44302
44303         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44304         storing incomplete byte sequence in state object.  Avoid testing for
44305         guaranteed too small input if we know there is enough data available.
44306
44307 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44308
44309         * Makeconfig (+link-pie): Indent.
44310         * Rules (binaries-pie): Define if $(have-fpie) and
44311         $(build-shared).
44312         (binaries-shared): Also filter out $(binaries-pie).
44313         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44314         * nscd/Makefile (others-pie): Add nscd.
44315         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44316         ($(objpfx)nscd): Remove command override.
44317         * login/Makefile (others-pie): Add pt_chown.
44318         ($(objpfx)pt_chown): Remove command override.
44319         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44320         remove command overrides.
44321
44322 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44323
44324         * libio/tst_putwc.c: Fix error messages.
44325
44326         [BZ #12724]
44327         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44328         currently writing and seek to current position when not.
44329         * libio/Makefile (tests): Add bug-fclose1.
44330         * libio/bug-fclose1.c: New file.
44331
44332 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44333
44334         [BZ #12511]
44335         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44336         don't set DF_1_NODELETE here.
44337         (do_lookup_x): When entering new entry test for copy relocation
44338         and if necessary set DF_1_NODELETE flag.
44339         * elf/tst-unique4.cc: New file.
44340         * elf/tst-unique4.h: New file.
44341         * elf/tst-unique4lib.cc: New file.
44342         * elf/Makefile: Add rules to build and run tst-unique4.
44343         Patch by Piotr Bury <pbury@goahead.com>.
44344
44345 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44346
44347         [BZ #12052]
44348         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44349
44350         [BZ #12625]
44351         * misc/mntent_r.c (addmntent): Flush the stream after the output
44352
44353         [BZ #12393]
44354         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44355         (is_trusted_path_normalize): Skip initial colon.  Append slash
44356         to empty buffer.  Duplicate is_trusted_path code but allow
44357         constructed patch to be prefix.
44358         (is_dst): Allow $ORIGIN followed by /.
44359         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44360         Correct testing of result of is_trusted_path_normalize
44361         (decompose_rpath): Fix warning.
44362
44363 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44364
44365         [BZ #11257]
44366         * grp/initgroups.c (internal_getgrouplist): When we found the service
44367         list through the initgroups entry in nsswitch.conf do not always
44368         continue on a successful lookup.  Don't always use the
44369         __nss_group_database value if it is set.
44370         * nss/nsswitch.conf (initgroups): Change action for successful db
44371         lookup to continue for compatibility.
44372
44373 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44374
44375         [BZ #11532]
44376         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44377         and CP774 modules.
44378         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44379         and CP774 modules.
44380         * iconvdata/tst-tables.sh: Likewise.
44381         * iconvdata/cp770.c: New file.
44382         * iconvdata/cp771.c: New file.
44383         * iconvdata/cp772.c: New file.
44384         * iconvdata/cp773.c: New file.
44385         * iconvdata/cp774.c: New file.
44386         * iconvdata/testdata/CP770: New file.
44387         * iconvdata/testdata/CP770..UTF8: New file.
44388         * iconvdata/testdata/CP771: New file.
44389         * iconvdata/testdata/CP771..UTF8: New file.
44390         * iconvdata/testdata/CP772: New file.
44391         * iconvdata/testdata/CP772..UTF8: New file.
44392         * iconvdata/testdata/CP773: New file.
44393         * iconvdata/testdata/CP773..UTF8: New file.
44394         * iconvdata/testdata/CP774: New file.
44395         * iconvdata/testdata/CP774..UTF8: New file.
44396
44397         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44398         END CHARMAP line.
44399         * iconvdata/gen-8bit-gap.sh: Likewise.
44400         * iconvdata/gen-8bit.sh: Likewise.
44401
44402         * locale/iso-639.def: Add ary entry.
44403
44404         [BZ #11258]
44405         * locale/C-translit.h.in: Add U20A1 transliteration.
44406
44407         [BZ #12178]
44408         * locale/iso-639.def: Add wae entry.
44409         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44410
44411         [BZ #12545]
44412         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44413         for n.
44414
44415         [BZ #12711]
44416         * locale/C-translit.h.in: Add entry for U20B9.
44417         Patch by pravin.d.s@gmail.com.
44418
44419 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44420
44421         [BZ #12713]
44422         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44423         ENAMETOOLONG use generic getcwd.
44424         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44425         in rtld.  Use *stat64.
44426         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44427         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44428         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44429         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44430         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44431         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44432         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44433         __fstatat64 macros.
44434         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44435         * dirent/rewinddir.c: Add libc_hidden_def.
44436         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44437         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44438
44439         * include/dirent.h (__alloc_dir): Add flags parameter.
44440         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44441         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44442         __alloc_dir.
44443         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44444         from fdopendir if O_CLOEXEC is already set.
44445
44446 2011-03-15  Alan Modra  <amodra@gmail.com>
44447
44448         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44449         l_tls_firstbyte_offset non-zero.  Save padding offset in
44450         l_tls_firstbyte_offset for later use.
44451         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44452         freeing static tls block.
44453
44454 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44455
44456         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44457         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44458         being defined by the kernel headers.
44459
44460 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44461
44462         [BZ #12734]
44463         * resolv/resolv.h: Define RES_NOTLDQUERY.
44464         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44465         no-tld-query and set RES_NOTLDQUERY.
44466         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44467         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44468         modern BIND to search name as TLD unless forbidden.
44469
44470 2011-05-07  Petr Baudis  <pasky@suse.cz>
44471             Ulrich Drepper  <drepper@gmail.com>
44472
44473         [BZ #12393]
44474         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44475         (is_trusted_path): ...to here.
44476         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44477         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44478         using is_trusted_path_normalize() in setuid scripts.
44479
44480 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44481
44482         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44483         __BEGIN/__END_DECLS.
44484
44485 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44486
44487         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44488         NSS_STATUS_NOTFOUND if no record was found.
44489
44490 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44491
44492         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44493         (headers-not-in-tirpc): Remove rpc/netdb.h
44494         * resolv/netdb.h: Revert last change.
44495
44496 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44497
44498         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44499         circular dependency between libgcc.a and libc.a.
44500
44501 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44502
44503         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44504         * nis/Makefile: Don't install rpcsvc/*.
44505         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44506         instead of <rpc/types.h>.
44507         (MAXHOSTNAMELEN): Define.
44508
44509 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44510
44511         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44512
44513 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44514
44515         [BZ #12714]
44516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44517         gethostbyname4_r when IPv6 results are possible.
44518
44519 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44520
44521         [BZ #12723]
44522         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44523         _PC_PIPE_BUF handling.
44524
44525 2011-04-30  Bruno Haible  <bruno@clisp.org>
44526
44527         [BZ #12717]
44528         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44529         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44530         to 'int'.
44531         * inet/getnameinfo.c (getnameinfo): Likewise.
44532
44533 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44534
44535         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44536         to groups setting in database lookup.
44537         * nss/nsswitch.conf: Add initgroups entry.
44538
44539 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44540
44541         [BZ #12685]
44542         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44543         mode string.
44544         Patch by Eric Blake <eblake@redhat.com>.
44545
44546 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44547
44548         * sunrpc/Makefile (need-export-routines): Add svc_run.
44549         (routines): Remove svc_run.
44550         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44551         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44552         * sunrpc/svc_run.c (svc_run): Likewise.
44553         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44554
44555 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44556
44557         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44558         problem in reallocation in last patch.
44559
44560 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44561
44562         * sunrpc/Makefile: Move inclusion of Rules.
44563
44564 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44565
44566         * nss/nss_files/files-initgroups.c: New file.
44567         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44568         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44569         _nss_files_initgroups_dyn.
44570
44571 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44572
44573         * elf/elf.h (R_ARM_IRELATIVE): Define.
44574
44575 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44576
44577         * po/ru.po: Update from translation team.
44578
44579 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44580
44581         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44582         dependencies.
44583
44584 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44585
44586         [BZ #12653]
44587         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44588         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44589         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44591         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44592
44593 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44594
44595         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44596         differing bytes.
44597         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44598         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44600
44601 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44602
44603         [BZ #12420]
44604         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44605         storing it.
44606         * stdlib/bug-getcontext.c: New file.
44607         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44608
44609 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44610
44611         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44612         instructions into .machine "z9-109".
44613         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44614         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44615
44616 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44617
44618         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44619         between environment variables and auxiliary vector.
44620
44621 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44622
44623         * Makefile: Add rules to build linkobj/libc.so.
44624         * include/libc-symbols.h: Define libc_hidden_nolink.
44625         * include/rpc/auth.h: Mark functions which are to be hidden.
44626         * include/rpc/auth_des.h: Likewise.
44627         * include/rpc/auth_unix.h: Likewise.
44628         * include/rpc/clnt.h: Likewise.
44629         * include/rpc/des_crypt.h: Likewise.
44630         * include/rpc/key_prot.h: Likewise.
44631         * include/rpc/pmap_clnt.h: Likewise.
44632         * include/rpc/pmap_prot.h: Likewise.
44633         * include/rpc/pmap_rmt.h: Likewise.
44634         * include/rpc/rpc_msg.h: Likewise.
44635         * include/rpc/svc.h: Likewise.
44636         * include/rpc/svc_auth.h: Likewise.
44637         * include/rpc/xdr.h: Likewise.
44638         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44639         * nss/Makefile: Likewise.
44640         * sunrpc/Makefile: Don't install headers.  Build library with normal
44641         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44642         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44643         for the compat linking library.  Remove use of INTDEF/INTUSE.
44644         * sunrpc/auth_none.c: Likewise.
44645         * sunrpc/auth_unix.c: Likewise.
44646         * sunrpc/authdes_prot.c: Likewise.
44647         * sunrpc/authuxprot.c: Likewise.
44648         * sunrpc/clnt_gen.c: Likewise.
44649         * sunrpc/clnt_perr.c: Likewise.
44650         * sunrpc/clnt_raw.c: Likewise.
44651         * sunrpc/clnt_simp.c: Likewise.
44652         * sunrpc/clnt_tcp.c: Likewise.
44653         * sunrpc/clnt_udp.c: Likewise.
44654         * sunrpc/clnt_unix.c: Likewise.
44655         * sunrpc/des_crypt.c: Likewise.
44656         * sunrpc/des_soft.c: Likewise.
44657         * sunrpc/get_myaddr.c: Likewise.
44658         * sunrpc/key_call.c: Likewise.
44659         * sunrpc/key_prot.c: Likewise.
44660         * sunrpc/netname.c: Likewise.
44661         * sunrpc/pm_getmaps.c: Likewise.
44662         * sunrpc/pm_getport.c: Likewise.
44663         * sunrpc/pmap_clnt.c: Likewise.
44664         * sunrpc/pmap_prot.c: Likewise.
44665         * sunrpc/pmap_prot2.c: Likewise.
44666         * sunrpc/pmap_rmt.c: Likewise.
44667         * sunrpc/publickey.c: Likewise.
44668         * sunrpc/rpc_cmsg.c: Likewise.
44669         * sunrpc/rpc_common.c: Likewise.
44670         * sunrpc/rpc_dtable.c: Likewise.
44671         * sunrpc/rpc_prot.c: Likewise.
44672         * sunrpc/rpc_thread.c: Likewise.
44673         * sunrpc/rtime.c: Likewise.
44674         * sunrpc/svc.c: Likewise.
44675         * sunrpc/svc_auth.c: Likewise.
44676         * sunrpc/svc_authux.c: Likewise.
44677         * sunrpc/svc_raw.c: Likewise.
44678         * sunrpc/svc_run.c: Likewise.
44679         * sunrpc/svc_simple.c: Likewise.
44680         * sunrpc/svc_tcp.c: Likewise.
44681         * sunrpc/svc_udp.c: Likewise.
44682         * sunrpc/svc_unix.c: Likewise.
44683         * sunrpc/svcauth_des.c: Likewise.
44684         * sunrpc/xcrypt.c: Likewise.
44685         * sunrpc/xdr.c: Likewise.
44686         * sunrpc/xdr_array.c: Likewise.
44687         * sunrpc/xdr_float.c: Likewise.
44688         * sunrpc/xdr_intXX_t.c: Likewise.
44689         * sunrpc/xdr_mem.c: Likewise.
44690         * sunrpc/xdr_rec.c: Likewise.
44691         * sunrpc/xdr_ref.c: Likewise.
44692         * sunrpc/xdr_sizeof.c: Likewise.
44693         * sunrpc/xdr_stdio.c: Likewise.
44694
44695 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44696
44697         [BZ #12650]
44698         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44699         * sysdeps/ia64/dl-tls.h: Likewise.
44700         * sysdeps/powerpc/dl-tls.h: Likewise.
44701         * sysdeps/s390/dl-tls.h: Likewise.
44702         * sysdeps/sh/dl-tls.h: Likewise.
44703         * sysdeps/sparc/dl-tls.h: Likewise.
44704         * sysdeps/x86_64/dl-tls.h: Likewise.
44705         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44706
44707 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44708
44709         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44710         rpath element also skip the following colon.
44711         (expand_dynamic_string_token): Add is_path parameter and pass
44712         down to DL_DST_REQUIRED and _dl_dst_substitute.
44713         (decompose_rpath): Call expand_dynamic_string_token with
44714         non-zero is_path.  Ignore empty rpaths.
44715         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44716         with zero is_path.
44717
44718 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44719
44720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44721         Make cancelable.
44722
44723 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44724
44725         [BZ #12655]
44726         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44727         Patch by Filipe David Manana <fdmanana@apache.org>.
44728
44729 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44730
44731         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44732         Maintain aligned stack.
44733         (CHECK_RSP): Remove unused macro.
44734
44735 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44736
44737         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44738         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44739
44740 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44741
44742         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44743
44744         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44745
44746 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44747
44748         [BZ #12518]
44749         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44750         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44751         * sysdeps/x86_64/memmove.c: New file.
44752         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44753         (memcpy): Renamed to ...
44754         (__new_memcpy): This.
44755         (memcpy): Provide GLIBC_2_14 memcpy.
44756         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44757         (memcpy): Provide GLIBC_2_2_5 memcpy.
44758
44759 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44760
44761         [BZ #12631]
44762         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44763
44764 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44765
44766         * misc/syncfs.c: New file.
44767         * misc/Makefile (routines): Add syncfs.
44768         * posix/unistd.h: Declare syncfs.
44769         * sysdeps/unix/syscalls.list: Add syncfs.
44770
44771 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44772
44773         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44774         open_by_handle_at.
44775         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44776         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44777         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44778         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44780         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44782
44783 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44784
44785         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44787         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44788         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44789         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44792
44793         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44794         sync_file_range.c with -fexceptions.
44795         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44796         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44797         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44798         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44799         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44800         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44801         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44802         sync_file_range as cancellation point
44803         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44804         now a wrapper around __call_sync_file_range with cancellation handling.
44805         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44806         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44807         function name to __call_sync_file_range.
44808         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44809         Add call_sync_file_range.
44810
44811 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44812
44813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44814         bits/timex.h.
44815
44816 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44817
44818         * iconv/iconv.h: Fix typo in comment.
44819         * io/fcntl.h: Likewise.
44820         * libio/stdio.h: Likewise.
44821         * posix/spawn.h: Likewise.
44822         * posix/unistd.h: Likewise.
44823         * stdlib/stdlib.h: Likewise.
44824         * time/time.h: Likewise.
44825         * wcsmbs/wchar.h: Likewise.
44826
44827         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44828         open_by_handle): Add.
44829         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44830         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44831         Augment a few comments.
44832         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44837         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44838         open_by_handle.
44839
44840         * io/fcntl.h (AT_EMPTY_PATH): Define.
44841
44842 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44843
44844         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44845         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44846         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44847         to...
44848         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44849         * Versions.def: Add GLIBC_2.14.
44850         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44851         Export.
44852
44853 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44854
44855         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44856         round counter.
44857         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44858
44859 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44860
44861         [BZ #12597]
44862         * string/test-strncmp.c (do_page_test): New function.
44863         (check2): Likewise.
44864         (test_main): Call check2.
44865         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44866
44867 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44868
44869         [BZ #12587]
44870         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44871         Handle cache information in CPU leaf 4.
44872         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44873
44874 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44875
44876         [BZ #12583]
44877         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44878         character representation.
44879         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44880
44881 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44882
44883         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44884         END(__isnan) to END(__isnanf) to match function entry point/label
44885         EALIGN(__isnanf,...).
44886
44887 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44888
44889         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44890
44891 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44892
44893         [BZ #12510]
44894         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44895         copy from the symbol referenced in the relocation to initialize the
44896         used variable.
44897         Patch by Piotr Bury <pbury@goahead.com>.
44898         * elf/Makefile: Add rules to build and tst-unique3.
44899         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44900         * elf/tst-unique3.cc: New file.
44901         * elf/tst-unique3.h: New file.
44902         * elf/tst-unique3lib.cc: New file.
44903         * elf/tst-unique3lib2.cc: New file.
44904
44905         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44906
44907 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44908
44909         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44910         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44911         to _start.
44912
44913 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44914
44915         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44916         to-be-loaded object along a path to loader is ld.so.
44917
44918 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44919             Ulrich Drepper  <drepper@gmail.com>
44920
44921         * sysdeps/x86_64/memset.S: After aligning destination, code
44922         branches to different locations depending on the value of
44923         misalignment, when multiarch is enabled. Fix this.
44924
44925 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44926
44927         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44928         Set _x86_64_preferred_memory_instruction for AMD processsors.
44929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44930         Set bit_Prefer_SSE_for_memop for AMD processors.
44931
44932 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44933
44934         * libio/fmemopen.c (fmemopen): Optimize a bit.
44935
44936 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44937
44938         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44939
44940 2011-03-03  Roland McGrath  <roland@redhat.com>
44941
44942         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44943
44944 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44945
44946         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44947         __bzero_ultra1 instead of __memset_ultra1.
44948
44949 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44950             Ulrich Drepper  <drepper@gmail.com>
44951
44952         [BZ #12509]
44953         * include/link.h (struct link_map): Add l_orig_initfini.
44954         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44955         returning unsuccessfully.
44956         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44957         close of a file loaded at startup, restore the original l_initfini
44958         list.
44959         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44960         list, store the pointer.
44961         * elf/Makefile ($(objpfx)noload-mem): New rule.
44962         (noload-ENV): Define.
44963         (tests): Add $(objpfx)noload-mem.
44964         * elf/noload.c: Include <memcheck.h>.
44965         (main): Call mtrace.  Close all opened handles.
44966
44967 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44968
44969         [BZ #12454]
44970         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44971         dependencies are missing.
44972
44973 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44974
44975         Fix __if_freereq crash: Unlike the generic version which uses free,
44976         Hurd needs munmap.
44977         * sysdeps/mach/hurd/ifreq.h: New file.
44978
44979 2011-01-27  Petr Baudis  <pasky@suse.cz>
44980             Ulrich Drepper  <drepper@gmail.com>
44981
44982         [BZ 12445]#
44983         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44984         to extend_alloca().
44985         * stdio-common/bug23.c: New file.
44986         * stdio-common/Makefile (tests): Add bug23.
44987
44988 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44989             Ulrich Drepper  <drepper@gmail.com>
44990
44991         [BZ #12489]
44992         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44993         before performing relro protection.  At old place add assertion
44994         to make sure nothing changed.
44995
44996 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44997             Glauber de Oliveira Costa  <glommer@gmail.com>
44998
44999         * elf/elf.h: Add new ARM TLS relocs.
45000
45001 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45002
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45004         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45005         cast from r3.
45006         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45007         'tests' variable.
45008         * sysdeps/wordsize-64/tst-writev.c: New file.
45009
45010 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45011
45012         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45013         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45014         insns in _dl_start to prevent a TOC reference before relocs are
45015         resolved.
45016
45017 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45018
45019         [BZ #12469]
45020         * Makeconfig: Remove RANLIB definition.
45021         * Makerules: Don't use RANLIB.
45022         * aclocal.m4: Remove ranlib test.
45023         * configure.in: No need to check for ranlib.
45024         * elf/rtld-Rules: Don't use RANLIB.
45025
45026 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45027
45028         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45029         protection macro.
45030         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45031         inclusion protection macro.
45032
45033         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45034         SIGRTMIN and SIGRTMAX and print information in that case only when
45035         SIGRTMIN is defined.
45036
45037 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45038
45039         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45040         arginfo fn returning -1.
45041
45042         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45043         and thousands string is zero terminated.
45044
45045 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45046
45047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45048         sysdeps/unix/sysv/linux/bits/socket.h.
45049
45050 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45051
45052         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45053         (__CPU_COUNT): Remove old macros.
45054         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45055         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45056         (__CPU_ALLOC, __CPU_FREE): Add macros.
45057         (__sched_cpualloc, __sched_cpufree): Add declarations.
45058
45059 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45060
45061         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45062         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45063         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45064         (readdhstai): Return value of addhstaiX call.
45065         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45066         (addgrbyX): Return value returned by cache_addgr.
45067         (readdgrbyname): Return value returned by addgrbyX.
45068         (readdgrbygid): Likewise.
45069         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45070         (addpwbyX): Return value returned by cache_addpw.
45071         (readdpwbyname): Return value returned by addhstbyX.
45072         (readdpwbyuid): Likewise.
45073         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45074         (addservbyX): Return value returned by cache_addserv.
45075         (readdservbyname): Return value returned by addservbyX:
45076         (readdservbyport): Likewise.
45077         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45078         (addhstbyX): Return value returned by cache_addhst.
45079         (readdhstbyname): Return value returned by addhstbyX.
45080         (readdhstbyaddr): Likewise.
45081         (readdhstbynamev6): Likewise.
45082         (readdhstbyaddrv6): Likewise.
45083         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45084         (readdinitgroups): Return value returned by addinitgroupsX.
45085         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45086         (prune_cache): Keep track of timeout value of re-added entries.
45087         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45088         * nscd/nscd.h: Adjust prototypes of readd* functions.
45089
45090 2011-02-04  Roland McGrath  <roland@redhat.com>
45091
45092         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45093         (nis_stats): Likewise.
45094         * nis/nis_modify.c (nis_modify): Likewise.
45095         * nis/nis_remove.c (nis_remove): Likewise.
45096         * nis/nis_add.c (nis_add): Likewise.
45097
45098         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45099
45100         * posix/fnmatch_loop.c: Add some consts.
45101
45102         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45103
45104 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45105
45106         [BZ #12460]
45107         * config.make.in (config-cflags-novzeroupper): Define.
45108         * configure.in: Substitute libc_cv_cc_novzeroupper.
45109         * elf/Makefile (AVX-CFLAGS): Define.
45110         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45111         (CFLAGS-tst-auditmod4a.c): Likewise.
45112         (CFLAGS-tst-auditmod4b.c): Likewise.
45113         (CFLAGS-tst-auditmod6b.c): Likewise.
45114         (CFLAGS-tst-auditmod6c.c): Likewise.
45115         (CFLAGS-tst-auditmod7b.c): Likewise.
45116         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45117
45118 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45119
45120         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45121         function to the callback.
45122         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45123
45124 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45125
45126         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45127         of errno.
45128
45129 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45130
45131         [BZ #11724]
45132         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45133         of constructors.
45134         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45135         of destructors.
45136         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45137
45138         [BZ #11724]
45139         * elf/Makefile: Add rules to build and run new test.
45140         * elf/tst-initorder.c: New file.
45141         * elf/tst-initorder.exp: New file.
45142         * elf/tst-initordera1.c: New file.
45143         * elf/tst-initordera2.c: New file.
45144         * elf/tst-initordera3.c: New file.
45145         * elf/tst-initordera4.c: New file.
45146         * elf/tst-initorderb1.c: New file.
45147         * elf/tst-initorderb2.c: New file.
45148         * elf/tst-order-a1.c: New file.
45149         * elf/tst-order-a2.c: New file.
45150         * elf/tst-order-a3.c: New file.
45151         * elf/tst-order-a4.c: New file.
45152         * elf/tst-order-b1.c: New file.
45153         * elf/tst-order-b2.c: New file.
45154         * elf/tst-order-main.c: New file.
45155         New test case by George Gensure <werkt0@gmail.com>.
45156
45157 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45158
45159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45160         decoding ACE if AI_CANONIDN.
45161
45162 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45163
45164         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45165
45166 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45167
45168         * version.h (RELEASE): Bump for 2.13 release.
45169         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45170
45171         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45172
45173         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45174         MADV_NOHUGEPAGE.
45175         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45176         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45177         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45178         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45179         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45180         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45181
45182         * posix/getconf.c: Update copyright year.
45183         * catgets/gencat.c: Likewise.
45184         * csu/version.c: Likewise.
45185         * debug/catchsegv.sh: Likewise.
45186         * debug/xtrace.sh: Likewise.
45187         * elf/ldconfig.c: Likewise.
45188         * elf/ldd.bash.in: Likewise.
45189         * elf/sprof.c (print_version): Likewise.
45190         * iconv/iconv_prog.c: Likewise.
45191         * iconv/iconvconfig.c: Likewise.
45192         * locale/programs/locale.c: Likewise.
45193         * locale/programs/localedef.c: Likewise.
45194         * malloc/memusage.sh: Likewise.
45195         * malloc/mtrace.pl: Likewise.
45196         * nscd/nscd.c (print_version): Likewise.
45197         * nss/getent.c: Likewise.
45198
45199         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45200         PF_CAIF, and PF_ALG.
45201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45202
45203 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45204
45205         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45206         (modules-names): Use them.
45207         (ifunc-test-modules, ifunc-pie-tests): Define.
45208         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45209         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45210         (test-extras): Likewise.
45211         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45212         $(compile-command.c).
45213         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45214         (all-built-dso): Define.
45215         (check-textrel.out, check-execstack.out): Depend on it.
45216
45217         * configure.in: Don't override --enable-multi-arch.
45218
45219 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45220
45221         [BZ #6812]
45222         * nscd/hstcache.c (tryagain): Define.
45223         (cache_addhst): Return tryagain not notfound for temporary errors.
45224         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45225         failed.
45226
45227 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45228
45229         [BZ #10563]
45230         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45231         to make the syscall.
45232         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45233
45234         [BZ #12378]
45235         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45236         and fall back to matching as normal character if the string ends before
45237         the matching ']' is found.  This is what POSIX requires.
45238         * posix/testfnm.c: Adjust test result.
45239         * posix/globtest.sh: Adjust test result.  Add new test.
45240         * posix/tst-fnmatch.input: Likewise.
45241         * posix/tst-fnmatch2.c: Add new test.
45242
45243 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45244
45245         * elf/Makefile (check-execstack): Revert last change.  Depend on
45246         check-execstack.h.
45247         (check-execstack.h): New target.
45248         (generated): Add check-execstack.h.
45249         * elf/check-execstack.c: Include "check-execstack.h".
45250         (main): Revert last change.
45251         (handle_file): Return zero if GNU_STACK is absent and
45252         DEFAULT_STACK_PERMS doesn't include PF_X.
45253
45254 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45255
45256         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45257         in child fails because the descriptor is already closed.
45258         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45259         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45260         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45261
45262         [BZ #12397]
45263         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45264         syscall.
45265
45266         [BZ #10484]
45267         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45268         temporary buffer used to handle multi lookups locally.
45269         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45270
45271 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45272
45273         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45274         loader is ld.so.
45275
45276 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45277
45278         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45279         alignment for SSE2.
45280
45281 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45282
45283         [BZ #12394]
45284         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45285         characters.  When rounding increased number of integer digits recompute
45286         number of groups.
45287         * stdio-common/tst-grouping.c: New file.
45288         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45289
45290 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45291
45292         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45293         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45294
45295         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45296         void.
45297         * bits/select.h: Likewise.
45298
45299 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45300
45301         * po/ja.po: Update from translation team.
45302
45303 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45304
45305         [BZ #11155]
45306         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45307         implementation just like for lxstat, fxstatat, et al.
45308
45309 2010-12-27  Jim Meyering  <meyering@redhat.com>
45310
45311         [BZ #12348]
45312         * posix/regexec.c (build_trtable): Return failure indication upon
45313         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45314
45315 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45316
45317         [BZ #12201]
45318         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45319         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45320         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45322
45323         [BZ #12207]
45324         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45325
45326         [BZ #12204]
45327         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45328         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45329
45330 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45331
45332         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45333         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45334         script has SORT_BY_INIT_PRIORITY.
45335         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45336         NO_CTORS_DTORS_SECTIONS is defined.
45337         * elf/soinit.c: Likewise.
45338         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45339         NO_CTORS_DTORS_SECTIONS is defined.
45340         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45341         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45342         * sysdeps/sh/init-first.c: Likewise.
45343         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45344
45345 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45346
45347         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45348         always use the slow path.
45349
45350 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45351
45352         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45353         similar rule which adds the sysdep directories to the header search in
45354         order to pick up the correct platform stackinfo.h.
45355         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45356         perform test if it is, otherwise return successfully without testing.
45357         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45358         DEFAULT_STACK_PERMS define in stackinfo.h.
45359         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45360         defined in stackinfo.h.
45361         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45362         DEFAULT_STACK_PERMS defined in stackinfo.h.
45363         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45364         * sysdeps/ia64/stackinfo.h: Likewise.
45365         * sysdeps/s390/stackinfo.h: Likewise.
45366         * sysdeps/sh/stackinfo.h: Likewise.
45367         * sysdeps/sparc/stackinfo.h: Likewise.
45368         * sysdeps/x86_64/stackinfo.h: Likewise.
45369         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45370         PF_X for powerpc64.  Retain PF_X for powerpc32.
45371
45372 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45373
45374         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45375         accurately.
45376         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45377         GETDENTS_64BIT_ALIGNED.
45378
45379 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45380
45381         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45382
45383 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45384
45385         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45386         _GNU_SOURCE.
45387
45388         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45389         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45390         Remove __restrict.
45391         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45392         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45393
45394 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45395
45396         [BZ #11655]
45397         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45398         are initialized.
45399
45400 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45401
45402         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45403
45404 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45405
45406         * po/it.po: Update from translation team.
45407
45408 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45409
45410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45411         unused codes.
45412
45413 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45414
45415         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45416
45417 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45418
45419         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45420         specially.
45421         (gaih_getanswer_slice): Likewise.
45422
45423 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45424
45425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45426
45427 2010-05-31  Petr Baudis  <pasky@suse.cz>
45428
45429         [BZ #11149]
45430         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45431         silently even in the chroot mode.
45432
45433 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45434
45435         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45436         last patch a bit.  Pretty printing
45437
45438 2010-05-31  Petr Baudis <pasky@suse.cz>
45439
45440         [BZ #10085]
45441         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45442         initialization of skip_initgroups_dyn.
45443
45444 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45445
45446         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45447         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45448
45449 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45450
45451         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45452
45453 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45454
45455         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45456         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45457         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45458         ($(objpfx)tst-fnmatch-mem): New rule.
45459         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45460         * posix/tst-fnmatch.c (main): Call mtrace.
45461
45462 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45463
45464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45465         Support Intel processor model 6 and model 0x2c.
45466
45467 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45468
45469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45470           signed comparison.
45471
45472 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45473
45474         [BZ #12205]
45475         * string/test-strncasecmp.c (check_result): New function.
45476         (do_one_test): Use it.
45477         (check1): New function.
45478         (test_main): Use it.
45479         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45480         Support strcasecmp and strncasecmp.
45481
45482 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45483
45484         [BZ #12194]
45485         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45486         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45487
45488 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45489
45490         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45491         IFUNC support.
45492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45493         memset-x86-64.
45494         * sysdeps/x86_64/multiarch/bzero.S: New file.
45495         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45496         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45497         * sysdeps/x86_64/multiarch/memset.S: New file.
45498         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45500         Set bit_Prefer_SSE_for_memop for Intel processors.
45501         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45502         Define.
45503         (index_Prefer_SSE_for_memop): Define.
45504         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45505
45506 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45507
45508         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45509         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45510
45511 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45512
45513         [BZ #12191]
45514         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45515         (__x86_64_raw_data_cache_size_half): Likewise.
45516         (__x86_64_raw_shared_cache_size): Likewise.
45517         (__x86_64_raw_shared_cache_size_half): Likewise.
45518
45519         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45520         (__x86_64_raw_data_cache_size_half): Likewise.
45521         (__x86_64_raw_shared_cache_size): Likewise.
45522         (__x86_64_raw_shared_cache_size_half): Likewise.
45523         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45524         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45525         and __x86_64_raw_shared_cache_size_half.  Round
45526         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45527         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45528         to multiple of 256 bytes.
45529
45530 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45531
45532         [BZ #12167]
45533         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45534         of inacessible symlinks.  Verify result of symlink before returning it.
45535         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45536         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45537
45538 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45539
45540         * math/math.h (isinf): Fix typo in comment.
45541
45542 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45543
45544         * po/da.po: Update from translation team.
45545
45546 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45547
45548         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45549         is added to the list.
45550
45551 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45552             Ulrich Drepper  <drepper@gmail.com>
45553
45554         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45555         the global list here.  Move code to...
45556         (_dl_add_to_namespace_list): ...here.  New function.
45557         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45558         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45559         * elf/dl-load.c (lose): Don't remove the element from the list.
45560         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45561         (_dl_map_object): Likewise.
45562
45563 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45564
45565         [BZ #12159]
45566         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45567         into all bytes of SSE register.
45568         Patch by Richard Li <richardpku@gmail.com>.
45569
45570 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45571
45572         [BZ #12140]
45573         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45574         perturbing.
45575
45576 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45577
45578         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45579         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45580         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45581         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45583         submachine.
45584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45585
45586 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45587
45588         * include/dlfcn.h (__RTLD_SECURE): Define.
45589         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45590         mode & __RTLD_SECURE instead.
45591         (open_path): Rename preloaded parameter to secure.
45592         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45593         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45594         * elf/dl-deps.c (openaux): Likewise.
45595         * elf/rtld.c (struct map_args): Remove is_preloaded.
45596         (map_doit): Don't use it.
45597         (dl_main): Likewise.
45598         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45599         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45600
45601 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45602
45603         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45604         (sysd-rules-targets): Remove duplicates.
45605         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45606         rtld-%.$o dependency.
45607
45608 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45609
45610         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45611         _dl_map_object do it.
45612
45613 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45614
45615         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45616         fast fma builtins, define the macros in the C99 standard.
45617         (FP_FAST_FMAF): Likewise.
45618         (FP_FAST_FMAL): Likewise.
45619         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45620
45621         * bits/mathdef.h: Update copyright year.
45622         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45623
45624 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45625
45626         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45627         builtins, define the macros in the C99 standard.
45628         (FP_FAST_FMAF): Likewise.
45629         (FP_FAST_FMAL): Likewise.
45630         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45631         multiply/add.
45632         (FP_FAST_FMAF): Likewise.
45633
45634 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45635
45636         [BZ #3268]
45637         * math/libm-test.inc (fma_test): Some new testcases.
45638         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45639         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45640         y and infinite z.  Do multiplication by C already in long double.
45641         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45643         y and infinite z.  Do bitwise or of inexact bit into u.d.
45644         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45645         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45646         * sysdeps/i386/fpu/s_fma.S: Removed.
45647         * sysdeps/i386/fpu/s_fmal.S: Removed.
45648
45649 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45650
45651         [BZ #3268]
45652         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45654         computation is not scheduled after fetestexcept.  Fix value
45655         of minimum denormal long double.
45656
45657 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45658
45659         [BZ #3268]
45660         * math/libm-test.inc (fma_test): Add some more tests.
45661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45662         correctly.
45663
45664 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45665
45666         * scripts/data/localplt-s390-linux-gnu.data: New file.
45667         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45668
45669 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45670
45671         [BZ #3268]
45672         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45673         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45674         instead of dbl-64.
45675         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45676         inlines.
45677         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45679         if one of x and y is very large and the other is subnormal.
45680         * sysdeps/s390/fpu/s_fmaf.c: New file.
45681         * sysdeps/s390/fpu/s_fma.c: New file.
45682         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45683         * sysdeps/powerpc/fpu/s_fma.S: New file.
45684         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45685         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45686         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45687
45688 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45689
45690         [BZ #3268]
45691         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45692         fma tests.
45693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45694         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45695         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45696         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45697         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45698         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45700
45701 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45702
45703         [BZ #12078]
45704         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45705         * posix/bug-regex31.input: Add test case.
45706
45707 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45708
45709         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45710         * posix/bug-regex31.input: New file.
45711
45712         [BZ #12078]
45713         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45714         (parse_sub_exp): Fix last change, use postorder.
45715
45716         * posix/bug-regex31.c: New file.
45717         * posix/Makefile: Add rules to build and run bug-regex31.
45718
45719         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45720
45721         [BZ #12078]
45722         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45723
45724         [BZ #12108]
45725         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45726         to have entries in sys_siglist.
45727
45728         [BZ #12093]
45729         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45730         be NULL.
45731
45732 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45733
45734         [BZ #3268]
45735         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45736         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45737         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45738         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45739         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45740         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45741         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45742         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45743         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45744         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45745         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45746         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45747         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45748         * math/ftestexcept.c (fetestexcept): Likewise.
45749         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45750         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45751         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45752         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45753         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45754         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45755         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45756
45757 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45758
45759         [BZ #12107]
45760         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45761         newline.
45762
45763 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45764
45765         * string/bug-strstr1.c: New file.
45766         * string/Makefile: Add rules to build and run bug-strstr1.
45767
45768 2010-10-05  Eric Blake  <eblake@redhat.com>
45769
45770         [BZ #12092]
45771         * string/str-two-way.h (two_way_long_needle): Always clear memory
45772         when skipping input due to the shift table.
45773
45774 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45775
45776         [BZ #12005]
45777         * malloc/mcheck.c: Handle large requests.
45778
45779         [BZ #12077]
45780         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45781         for strncmp and strncasecmp.
45782         * string/stratcliff.c: Add tests for strcmp and strncmp.
45783         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45784
45785 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45786
45787         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45788         __set_fpscr.
45789
45790 2010-09-30  Andreas Jaeger  <aj@suse.de>
45791
45792         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45793         (CGROUP_SUPER_MAGIC): Define.
45794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45795         Handle btrfs and cgroup file systems.
45796         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45797         Likewise.
45798
45799 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45800
45801         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45802         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45803
45804 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45805
45806         [BZ #12067]
45807         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45808         trying to locate the ELF header.
45809
45810 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45811
45812         [BZ #11611]
45813         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45814         Mask out sign-bit copies when constructing f_fsid.
45815
45816 2010-09-24  Petr Baudis <pasky@suse.cz>
45817
45818         * debug/stack_chk_fail_local.c: Add missing licence exception.
45819         * debug/warning-nop.c: Likewise.
45820
45821 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45822
45823         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45824         implementing getdents64 using getdents syscall, set d_type if
45825         __ASSUME_GETDENTS32_D_TYPE.
45826
45827 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45828
45829         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45830         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45831
45832 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45833
45834         [BZ #12037]
45835         * posix/unistd.h: Undo change of feature selection for ftruncate from
45836         2010-01-11.
45837
45838 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45839
45840         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45841         detection.
45842
45843 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45844
45845         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45846         fanotify_mark.
45847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45848
45849 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45850
45851         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45852         variables after CHECK_SP call.
45853         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45854
45855 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45856             Ulrich Drepper  <drepper@redhat.com>
45857
45858         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45859         re-relocationg ld.so.
45860         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45861         _dl_init_paths call.
45862         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45863         here anymore.
45864
45865 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45866
45867         * resolv/res_init.c (__res_vinit): Count the default server we added.
45868
45869 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45870             Ulrich Drepper  <drepper@redhat.com>
45871
45872         [BZ #11968]
45873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45874         (____longjmp_chk): Use %ebx for saving value across system call.
45875         Add unwind info.
45876
45877 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45878
45879         * manual/Makefile: Don't mix pattern rules with normal rules.
45880
45881 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45882
45883         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45884         operation.
45885         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45886         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45887         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45888         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45890         Likewise.
45891
45892 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45893
45894         [BZ #11979]
45895         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45896         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45897
45898 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45899
45900         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45901         * sysdeps/x86_64/addmul_1.S: Likewise.
45902         * sysdeps/x86_64/lshift.S: Likewise.
45903         * sysdeps/x86_64/mul_1.S: Likewise.
45904         * sysdeps/x86_64/rshift.S: Likewise.
45905         * sysdeps/x86_64/sub_n.S: Likewise.
45906         * sysdeps/x86_64/submul_1.S: Likewise.
45907
45908 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45909
45910         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45911         Define __sched_param instead of SCHED_* and sched_param when
45912         <bits/sched.h> is included with __need_schedparam defined.
45913         * bits/sched.h [__need_schedparam]
45914         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45915         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45916         (__defined_schedparam): Define to 1.
45917         (__sched_param): New structure, identical to sched_param.
45918         (__need_schedparam): Undefine.
45919
45920 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45921
45922         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45923         (epoll_create1): Declare.
45924
45925         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45926
45927 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45928
45929         [BZ #7066]
45930         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45931         shifting retval into place.
45932
45933 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45934
45935         * nis/rpcsvc/nis.h: Update copyright notice.
45936         * nis/rpcsvc/nis.x: Likewise.
45937         * nis/rpcsvc/nis_callback.h: Likewise.
45938         * nis/rpcsvc/nis_callback.x: Likewise.
45939         * nis/rpcsvc/nis_object.x: Likewise.
45940         * nis/rpcsvc/nis_tags.h: Likewise.
45941         * nis/rpcsvc/yp.h: Likewise.
45942         * nis/rpcsvc/yp.x: Likewise.
45943         * nis/rpcsvc/ypupd.h: Likewise.
45944         * nis/yp_xdr.c: Likewise.
45945         * nis/ypupdate_xdr.c: Likewise.
45946
45947         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45948         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45949         (pmap_getport): Use __libc_rpc_getport.
45950         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45951         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45952         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45953
45954 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45955
45956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45957         fanotify_mark.
45958
45959 2010-08-27  Roland McGrath  <roland@redhat.com>
45960
45961         * sysdeps/i386/i686/multiarch/Makefile
45962         (CFLAGS-varshift.c): New variable.
45963
45964 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45965
45966         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45967         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45968
45969         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45970
45971         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45972
45973 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45974
45975         * sysdeps/x86_64/strlen.S: Unroll the loop.
45976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45977         strlen-sse2 strlen-sse2-bsf.
45978         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45979         __strlen_no_bsf if bit_Slow_BSF is set.
45980         (__strlen_sse42): Removed.
45981         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45982         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45983
45984 2010-08-25  Roland McGrath  <roland@redhat.com>
45985
45986         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45987         * sysdeps/x86_64/multiarch/varshift.c: New file.
45988         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45989         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45990         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45991         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45992
45993 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45994
45995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45996         strlen-sse2 strlen-sse2-bsf.
45997         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45998         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45999         (__strlen_sse2): Removed.
46000         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46001         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46003         bit_Slow_BSF for Atom.
46004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46005         (index_Slow_BSF): Define.
46006         (HAS_SLOW_BSF): Define.
46007
46008 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46009
46010         [BZ #10851]
46011         * resolv/res_init.c (__res_vinit): When no server address at all
46012         is given default to loopback.
46013
46014 2010-08-24  Roland McGrath  <roland@redhat.com>
46015
46016         * configure.in: Remove config-name.h generation.
46017         * configure: Regenerated.
46018         * config-name.in: File removed.
46019         * scripts/config-uname.sh: New file.
46020         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46021         ($(objdir)config-name.h): New target.
46022
46023         * sunrpc/rpc_parse.h: Avoid nested comment.
46024
46025 2010-08-24  Richard Henderson  <rth@redhat.com>
46026             Ulrich Drepper  <drepper@redhat.com>
46027             H.J. Lu  <hongjiu.lu@intel.com>
46028
46029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46031         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46032         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46033         _mm_alignr_epi8 with _mm_loadu_si128.
46034         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46035         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46036         (__m128i_shift_right): Removed.
46037         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46038         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46039         * sysdeps/x86_64/multiarch/varshift.h: New file.
46040         * sysdeps/x86_64/multiarch/varshift.S: New file.
46041
46042 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46043
46044         * configure.in: Move assembler checks to before sysdep dir checking.
46045
46046 2010-08-20  Petr Baudis  <pasky@suse.cz>
46047
46048         * LICENSES: Sync the sunrpc license.
46049
46050 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46051
46052         * sunrpc/auth_des.c: Update copyright notice once again.
46053         * sunrpc/auth_none.c: Likewise.
46054         * sunrpc/auth_unix.c: Likewise.
46055         * sunrpc/authdes_prot.c: Likewise.
46056         * sunrpc/authuxprot.c: Likewise.
46057         * sunrpc/bindrsvprt.c: Likewise.
46058         * sunrpc/clnt_gen.c: Likewise.
46059         * sunrpc/clnt_perr.c: Likewise.
46060         * sunrpc/clnt_raw.c: Likewise.
46061         * sunrpc/clnt_simp.c: Likewise.
46062         * sunrpc/clnt_tcp.c: Likewise.
46063         * sunrpc/clnt_udp.c: Likewise.
46064         * sunrpc/clnt_unix.c: Likewise.
46065         * sunrpc/des_crypt.c: Likewise.
46066         * sunrpc/des_soft.c: Likewise.
46067         * sunrpc/get_myaddr.c: Likewise.
46068         * sunrpc/getrpcport.c: Likewise.
46069         * sunrpc/key_call.c: Likewise.
46070         * sunrpc/key_prot.c: Likewise.
46071         * sunrpc/openchild.c: Likewise.
46072         * sunrpc/pm_getmaps.c: Likewise.
46073         * sunrpc/pm_getport.c: Likewise.
46074         * sunrpc/pmap_clnt.c: Likewise.
46075         * sunrpc/pmap_prot.c: Likewise.
46076         * sunrpc/pmap_prot2.c: Likewise.
46077         * sunrpc/pmap_rmt.c: Likewise.
46078         * sunrpc/rpc/auth.h: Likewise.
46079         * sunrpc/rpc/auth_unix.h: Likewise.
46080         * sunrpc/rpc/clnt.h: Likewise.
46081         * sunrpc/rpc/des_crypt.h: Likewise.
46082         * sunrpc/rpc/key_prot.h: Likewise.
46083         * sunrpc/rpc/netdb.h: Likewise.
46084         * sunrpc/rpc/pmap_clnt.h: Likewise.
46085         * sunrpc/rpc/pmap_prot.h: Likewise.
46086         * sunrpc/rpc/pmap_rmt.h: Likewise.
46087         * sunrpc/rpc/rpc.h: Likewise.
46088         * sunrpc/rpc/rpc_des.h: Likewise.
46089         * sunrpc/rpc/rpc_msg.h: Likewise.
46090         * sunrpc/rpc/svc.h: Likewise.
46091         * sunrpc/rpc/svc_auth.h: Likewise.
46092         * sunrpc/rpc/types.h: Likewise.
46093         * sunrpc/rpc/xdr.h: Likewise.
46094         * sunrpc/rpc_clntout.c: Likewise.
46095         * sunrpc/rpc_cmsg.c: Likewise.
46096         * sunrpc/rpc_common.c: Likewise.
46097         * sunrpc/rpc_cout.c: Likewise.
46098         * sunrpc/rpc_dtable.c: Likewise.
46099         * sunrpc/rpc_hout.c: Likewise.
46100         * sunrpc/rpc_main.c: Likewise.
46101         * sunrpc/rpc_parse.c: Likewise.
46102         * sunrpc/rpc_parse.h: Likewise.
46103         * sunrpc/rpc_prot.c: Likewise.
46104         * sunrpc/rpc_sample.c: Likewise.
46105         * sunrpc/rpc_scan.c: Likewise.
46106         * sunrpc/rpc_scan.h: Likewise.
46107         * sunrpc/rpc_svcout.c: Likewise.
46108         * sunrpc/rpc_tblout.c: Likewise.
46109         * sunrpc/rpc_util.c: Likewise.
46110         * sunrpc/rpc_util.h: Likewise.
46111         * sunrpc/rpcinfo.c: Likewise.
46112         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46113         * sunrpc/rpcsvc/key_prot.x: Likewise.
46114         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46115         * sunrpc/rpcsvc/mount.x: Likewise.
46116         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46117         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46118         * sunrpc/rpcsvc/rex.x: Likewise.
46119         * sunrpc/rpcsvc/rstat.x: Likewise.
46120         * sunrpc/rpcsvc/rusers.x: Likewise.
46121         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46122         * sunrpc/rpcsvc/spray.x: Likewise.
46123         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46124         * sunrpc/rtime.c: Likewise.
46125         * sunrpc/svc.c: Likewise.
46126         * sunrpc/svc_auth.c: Likewise.
46127         * sunrpc/svc_authux.c: Likewise.
46128         * sunrpc/svc_raw.c: Likewise.
46129         * sunrpc/svc_run.c: Likewise.
46130         * sunrpc/svc_simple.c: Likewise.
46131         * sunrpc/svc_tcp.c: Likewise.
46132         * sunrpc/svc_udp.c: Likewise.
46133         * sunrpc/svc_unix.c: Likewise.
46134         * sunrpc/svcauth_des.c: Likewise.
46135         * sunrpc/xcrypt.c: Likewise.
46136         * sunrpc/xdr.c: Likewise.
46137         * sunrpc/xdr_array.c: Likewise.
46138         * sunrpc/xdr_float.c: Likewise.
46139         * sunrpc/xdr_mem.c: Likewise.
46140         * sunrpc/xdr_rec.c: Likewise.
46141         * sunrpc/xdr_ref.c: Likewise.
46142         * sunrpc/xdr_sizeof.c: Likewise.
46143         * sunrpc/xdr_stdio.c: Likewise.
46144
46145         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46146         handling.
46147
46148 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46149
46150         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46151
46152 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46153
46154         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46155         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46156         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46157         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46158         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46159         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46160         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46161         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46162         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46163         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46164         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46165         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46166         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46167         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46168
46169 2010-07-26  Anton Blanchard  <anton@samba.org>
46170
46171         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46172         * malloc/arena.c (heap_trim): Likewise.
46173
46174 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46175
46176         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46177         here.  Not...
46178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46179         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46180
46181 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46182
46183         * sysdeps/i386/elf/Makefile: New file.
46184
46185 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46186
46187         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46188         from fanotify_init.
46189         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46191
46192 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46193
46194         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46195         of strncasecmp_l.
46196         * sysdeps/multiarch/strcmp.S: Likewise.
46197
46198 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46199
46200         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46201         strncase_l-nonascii.
46202         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46203         Add strncase_l-ssse3.
46204         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46205         * sysdeps/x86_64/strcmp.S: Likewise.
46206         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46207         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46208         * sysdeps/x86_64/strncase.S: New file.
46209         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46210         * sysdeps/x86_64/strncase_l.S: New file.
46211         * string/Makefile (strop-tests): Add strncasecmp.
46212         * string/test-strncasecmp.c: New file.
46213
46214         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46215         warning.
46216
46217         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46218         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46219
46220 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46221
46222         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46223
46224 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46225
46226         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46227         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46228         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46229
46230 2010-05-01  Alan Modra  <amodra@gmail.com>
46231
46232         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46233         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46234         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46235         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46236         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46237         tidying.  Don't tail-call __sigjmp_save for static lib.
46238         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46239         save location.
46240         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46241         (CALL_MCOUNT): Add eh info, and nop after bl.
46242         (TAIL_CALL_SYSCALL_ERROR): New macro.
46243         (PSEUDO_RET): Use it.
46244         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46245         Correct save location of integer regs and cr.
46246         (_dl_profile_resolve): Correct cr save location.  Delete nops
46247         after bl when SHARED.  Reduce cfi size a little by better
46248         placement of cfi directives.
46249         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46250         make a stack frame.  Instead use parm save area as a temp.
46251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46252         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46254         Don't make a stack frame for parent, use parm save area.
46255         Increase child stack frame to 112 bytes.  Don't save unused reg,
46256         and adjust reg usage.  Set up cfi on error recovery and
46257         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46259         (__makecontext): Add dummy nop after jump to exit.
46260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46261         Use correct parm save area and cr save, reduce stack frame.
46262         Correct cfi for possible PSEUDO_RET frame setup.
46263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46264         Branch to local label emitted by PSEUDO_RET rather than
46265         __syscall_error.
46266
46267 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46268
46269         [BZ #11904]
46270         * locale/programs/locale.c (print_assignment): New function.
46271         (show_locale_vars): Use it.
46272
46273 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46274
46275         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46276         field.
46277         (struct statfs64): Likewise.
46278         (_STATFS_F_FLAGS): Define.
46279         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46280         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46281         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46282         (ST_VALID): Define locally.
46283         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46284         __statvfs_getflags, use the provided value.
46285         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46286         __ASSUME_STATFS_F_FLAGS.
46287
46288         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46289
46290         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46291         Add sys/fanotify.h.
46292         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46293         fanotify_mask for GLIBC_2.13.
46294         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46295         fanotify_init and fanotify_mark.
46296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46297         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46298
46299         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46300         Add prlimit.
46301         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46302         prlimit64 for GLIBC_2.13.
46303         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46304         prlimit64.
46305         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46306         syscall.
46307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46309         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46312         add prlimit alias.
46313         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46314
46315         [BZ #11903]
46316         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46317         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46318
46319         * nss/Makefile: Add rules to build and run tst-nss-test1.
46320         * shlib-versions: Add entry for libnss_test1.
46321         * nss/nss_test1.c: New file.
46322         * nss/tst-nss-test1.c: New file.
46323
46324         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46325         (__nss_configure_lookup): Set appropriate entry in
46326         __nss_configure_lookup to true.
46327         * nss/nsswitch.h: Define enum with indeces of databases in
46328         databases and __nss_database_custom arrays.  Declare
46329         __nss_database_custom.
46330         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46331         to avoid using nscd when custom rules are installed.
46332         * nss/getXXbyYY_r.c: Likewise.
46333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46334
46335         * nss/nss_files/files-parse.c: Whitespace fixes.
46336
46337 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46338
46339         [BZ #11883]
46340         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46341         * posix/fnmatch_loop.c: Likewise.
46342
46343 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46344
46345         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46346         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46347         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46348         * Versions.def [GLIBC_2.13]: Add.
46349
46350 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46351
46352         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46353         Also fail if tpwd after pwuid call is NULL.
46354
46355 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46356
46357         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46358         when converting to ms.
46359
46360 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46361
46362         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46363         EOPNOTSUPP errors with ENOTTY.
46364         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46365         EOPNOTSUPP errors with ENOTTY.
46366
46367 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46368
46369         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46370         Add strcasecmp_l-ssse3.
46371         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46372         strcasecmp.
46373         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46374         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46375         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46376
46377 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46378
46379         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46380
46381         * string/Makefile (strop-tests): Add strcasecmp.
46382         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46383         strcasecmp_l-nonascii.
46384         (gen-as-const-headers): Add locale-defines.sym.
46385         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46386         * sysdeps/x86_64/strcasecmp.S: New file.
46387         * sysdeps/x86_64/strcasecmp_l.S: New file.
46388         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46389         * sysdeps/x86_64/locale-defines.sym: New file.
46390         * string/test-strcasecmp.c: New file.
46391
46392         * string/test-strcasestr.c: Test both ends of the range of characters.
46393         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46394
46395 2010-07-29  Roland McGrath  <roland@redhat.com>
46396
46397         [BZ #11856]
46398         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46399
46400 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46401
46402         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46403         for ld.so.
46404
46405 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46406
46407         * manual/memory.texi (Malloc Tunable Parameters): Document
46408         M_PERTURB.
46409
46410 2010-07-26  Roland McGrath  <roland@redhat.com>
46411
46412         [BZ #11840]
46413         * configure.in (-fgnu89-inline check): Set and substitute
46414         gnu89_inline, not libc_cv_gnu89_inline.
46415         * configure: Regenerated.
46416         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46417
46418 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46419
46420         * string/test-strnlen.c: New file.
46421         * string/Makefile (strop-tests): Add strnlen.
46422         * string/tester.c (test_strnlen): Add a few more test cases.
46423         * string/tst-strlen.c: Better error reporting.
46424
46425         * sysdeps/x86_64/strnlen.S: New file.
46426
46427 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46428
46429         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46430         lower-latency instructions.
46431
46432 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46433
46434         * string/test-strcasestr.c: New file.
46435         * string/test-strstr.c: New file.
46436         * string/Makefile (strop-tests): Add strstr and strcasestr.
46437         * string/str-two-way.h: Don't undefine MAX.
46438         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46439
46440 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46441
46442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46443         strcasestr-nonascii.
46444         (CFLAGS-strcasestr-nonascii.c): Define.
46445         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46446         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46447         Remove unused attribute.
46448
46449 2010-07-20  Roland McGrath  <roland@redhat.com>
46450
46451         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46452         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46453         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46454         like LD_HWCAP_MASK can disable hwcaps.
46455
46456 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46457
46458         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46459
46460 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46461
46462         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46463         call in strcasestr.
46464         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46465         __strcasestr_sse42_nonascii.
46466         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46467         strcasestr-nonascii.c.
46468         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46469
46470 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46471
46472         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46473         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46474         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46475         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46476
46477 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46478
46479         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46480         fcntl.
46481
46482 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46483
46484         [BZ #11577]
46485         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46486         dl_signal_cerror.
46487
46488 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46489
46490         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46491         _PC_PIPE_BUF using F_GETPIPE_SZ.
46492
46493 2010-07-05  Roland McGrath  <roland@redhat.com>
46494
46495         * manual/arith.texi (Rounding Functions): Fix rint description
46496         implicit in round description.
46497
46498 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46499
46500         * elf/Makefile: Fix linking for a few tests to make recent linker
46501         happy.
46502
46503 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46504
46505         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46506         $(common-objpfx)libc_nonshared.a.
46507
46508 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46509
46510         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46511         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46512         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46513         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46514         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46515         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46516         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46517         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46532         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46533         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46534         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46535         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46536         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46537         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46538         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46539         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46540         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46541         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46542         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46543         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46558
46559 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46560
46561         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46562         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46563         * string/memmove.c (memmove): Renamed to ...
46564         (MEMMOVE): ...this.  Default to memmove.
46565         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46566         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46567         (END_CHK): Define.
46568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46569         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46570         mempcpy-ssse3-back memmove-ssse3-back.
46571         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46574         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46575         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46576         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46577         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46578         * sysdeps/x86_64/multiarch/memmove.c: New file.
46579         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46580         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46581         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46582         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46583         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46584         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46585         Define.
46586         (index_Fast_Copy_Backward): Define.
46587         (HAS_ARCH_FEATURE): Define.
46588         (HAS_FAST_REP_STRING): Define.
46589         (HAS_FAST_COPY_BACKWARD): Define.
46590
46591 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46592
46593         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46594         Restore proper fallback handling.
46595
46596 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46597
46598         [BZ #11701]
46599         * posix/group_member.c (__group_member): Correct checking loop.
46600
46601         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46602         OOM in getpwuid_r correctly.  Return error number when the caller
46603         should return, otherwise -1.
46604         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46605         call returning > 0 value.
46606         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46607
46608 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46609
46610         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46611         libc_nonshared.a from targets in modules-names.
46612
46613 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46614
46615         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46616         requires it.
46617
46618 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46619
46620         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46621         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46622         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46624
46625 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46626
46627         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46628
46629 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46630
46631         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46632         and F_GETPIPE_SZ.
46633         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46634         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46639
46640 2010-06-14  Roland McGrath  <roland@redhat.com>
46641
46642         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46643
46644 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46645
46646         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46647         __REDIRECT followed by __THROW.
46648         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46649         * posix/getopt.h (getopt): Likewise.
46650
46651 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46652
46653         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46654         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46655         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46656         in AT_FLAGS.
46657         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46658         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46659
46660 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46661
46662         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46663
46664 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46665
46666         [BZ #11640]
46667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46668         Properly check family and model.
46669
46670 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46671
46672         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46673
46674 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46675
46676         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46677
46678 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46679
46680         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46681         symbol reference.
46682
46683 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46684
46685         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46686         symbol reference.
46687
46688 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46689
46690         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46691         and internal_recvmmsg.
46692         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46693         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46694         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46695         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46696
46697         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46698         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46699         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46700
46701 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46702
46703         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46704
46705 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46706
46707         POWER7 optimizations.
46708         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46709         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46710
46711 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46712
46713         * version.h: Update for 2.13 development version.
46714
46715 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46716
46717         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46718         exceptions.  Return 0.
46719
46720 2010-05-07  Roland McGrath  <roland@redhat.com>
46721
46722         * elf/ldconfig.c (main): Add a const.
46723
46724 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46725
46726         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46727         (args_options): Add no-idn option.
46728         (ahosts_keys_int): Add idn_flags to ai_flags.
46729         (parse_option): Handle 'i' option to clear idn_flags.
46730
46731         * malloc/malloc.c (_int_free): Possible race in the most recently
46732         added check.  Only act on the data if no current modification
46733         happened.
46734
46735 See ChangeLog.17 for earlier changes.