Clean up stack-coloring macros.
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2
3         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4         * nptl/stack-aliasing.h: New file.
5         * sysdeps/i386/i686/stack-aliasing.h: New file.
6         * sysdeps/i386/i686/nptl/Makefile: File removed.
7         * sysdeps/x86_64/stack-aliasing.h: New file.
8         * sysdeps/x86_64/nptl/Makefile
9         (CFLAGS-pthread_create.c): Variable removed.
10
11         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13         old file.
14         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16         old file.
17
18 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
19
20         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21         (__ASSUME_SIGFRAME_V2): Remove macro.
22         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27         Declare as function.  Remove conditional macro definitions.
28         (__default_rt_sa_restorer): Likewise.
29         (__default_sa_restorer_v1): Remove declaration.
30         (__default_sa_restorer_v2): Likewise.
31         (__default_rt_sa_restorer_v1): Likewise.
32         (__default_rt_sa_restorer_v2): Likewise.
33         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36
37 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38
39         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40         (libpthread-routines): Add sysdep.
41         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42         * sysdeps/unix/sysv/linux/sparc/Versions
43         (libpthread: GLIBC_2.3.3): New version set.
44         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
45         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
50         Moved ...
51         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
52         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
53         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
54         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
55         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
56         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
57         * sysdeps/sparc/nptl/sem_init.c: ... here.
58         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
59         * sysdeps/sparc/nptl/sem_post.c: ... here.
60         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
61         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
62         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
63         * sysdeps/sparc/nptl/sem_wait.c: ... here.
64         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
65         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
66         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
67         (libpthread-routines): Add cpu_relax.
68         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
69         File removed.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
71         (librt: GLIBC_2.3.3): New version set.
72         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
73         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
74         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
75         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
76         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
77         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
78         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
79         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
80         Moved ...
81         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
82         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
83         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
84         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
85         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
86         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
87         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
88         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
89         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
90         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
91         Moved ...
92         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
93         Update #include.
94         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
95         Moved ...
96         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
97         Update #include.
98         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
99         Moved ...
100         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
101         Update #include.
102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
103         Moved ...
104         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
105         Update #include.
106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
107         Moved ...
108         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
109         Update #include.
110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
111         Moved ...
112         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
113         Update #include.
114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
115         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
117         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
119         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
121         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
123         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
125         Moved ...
126         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
128         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
130         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
131
132 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
133
134         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
135         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
136         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
137         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
138         * nscd/nscd.c: Likewise.
139         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
140         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
141         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
142         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
143
144         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
145         <kernel-features.h>.
146         (init_mq_netlink): Remove conditional have_sock_cloexec
147         definitions.  Remove code conditional on have_sock_cloexec < 0.
148         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
149         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
150         * sysdeps/unix/sysv/linux/opensock.c: Do not include
151         <kernel-features.h>.
152         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
153         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
154
155 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
156
157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
158         Add tests for memset_chk and memset.
159
160         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
161         with AVX2_Usable.
162
163 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
164
165         [BZ #16046]
166         * elf/tst-dl-iter-static.c: New file.
167         * elf/Makefile (tests-static): Add tst-dl-iter-static.
168
169         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
170         error.
171
172 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
173
174         * sysdeps/unix/sysv/linux/kernel-features.h
175         (__ASSUME_F_GETOWN_EX): Remove macro.
176         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
177         <kernel-features.h>.
178         (miss_F_GETOWN_EX): Remove variable or macro.
179         (do_fcntl): Do not check miss_F_GETOWN_EX.
180         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
181
182         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
183         Remove macro.
184         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
185         [!__ASSUME_AT_RANDOM]: Remove conditional code.
186         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
187
188         * sysdeps/unix/sysv/linux/kernel-features.h
189         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
190         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
191         [ADJ_OFFSET_SS_READ]: Make code unconditional.
192         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
193
194 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
195
196         [BZ #17075]
197         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
198         Fix calculation of the symbol's value.
199         * sysdeps/arm/tst-armtlsdescloc.c: New file.
200         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
201         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
202         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
203         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
204         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
205         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
206         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
207         (modules-names): Add `tst-armtlsdescmod',
208         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
209         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
210         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
211         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
212         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
213         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
214         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
215         ($(objpfx)tst-armtlsdescloc): New dependency.
216         ($(objpfx)tst-armtlsdescextnow): Likewise.
217         ($(objpfx)tst-armtlsdescextlazy): Likewise.
218         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
219         TLS scheme support.
220         * sysdeps/arm/configure: Regenerate.
221
222 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
223
224         * include/fcntl.h (__atfct_seterrno): Remove prototype.
225         (__atfct_seterrno_2): Likewise.
226         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
227         <kernel-features.h>.
228         (__ASSUME_ATFCTS): Do not undefine and redefine.
229         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
230         (__have_atfcts): Remove conditional definition.
231         (__fxstatat([__NR_fstatat64]: Make code unconditional.
232         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
233         unreachable if [__ASSUME_ATFCTS].
234         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
235         not undefine and redefine.
236         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
237         <kernel-features.h>.
238         (faccessat) [__NR_faccessat]: Make code unconditional.
239         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
240         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
241         <kernel-features.h>.
242         (fchmodat) [__NR_fchmodat]: Make code unconditional.
243         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
244         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
245         <kernel-features.h>.
246         (fchownat) [__NR_fchownat]: Make code unconditional.
247         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
248         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
249         <kernel-features.h>.
250         (futimesat) [__NR_futimesat]: Make code unconditional.
251         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
252         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
253         <kernel-features.h>.
254         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
255         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
256         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
257         <kernel-features.h>.
258         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
259         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
260         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
261         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
262         <kernel-features.h>.
263         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
264         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
265         * sysdeps/unix/sysv/linux/linkat.c: Do not include
266         <kernel-features.h>.
267         (linkat) [__NR_linkat]: Make code unconditional.
268         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
269         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
270         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
271         <kernel-features.h>.
272         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
273         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
274         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
275         <kernel-features.h>.
276         (mkdirat) [__NR_mkdirat]: Make code unconditional.
277         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
278         * sysdeps/unix/sysv/linux/openat.c: Do not include
279         <kernel-features.h>.
280         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
281         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
282         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
283         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
284         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
285         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
286         <kernel-features.h>.
287         (readlinkat) [__NR_readlinkat]: Make code unconditional.
288         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
289         result of INLINE_SYSCALL directly, not via int variable.
290         * sysdeps/unix/sysv/linux/renameat.c: Do not include
291         <kernel-features.h>.
292         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
293         (renameat) [__NR_renameat]: Make code unconditional.
294         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
295         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
296         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
297         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
298         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
299         (__ASSUME_ATFCTS): Do not undefine and redefine.
300         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
301         <kernel-features.h>.
302         (symlinkat) [__NR_symlinkat]: Make code unconditional.
303         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
304         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
305         <kernel-features.h>.
306         (unlinkat) [__NR_unlinkat]: Make code unconditional.
307         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
308         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
309         (__ASSUME_ATFCTS): Do not undefine and redefine.
310         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
311         <kernel-features.h>.
312         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
313         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
314         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
315         <kernel-features.h>.
316         (__xmknodat) [__NR_mknodat]: Make code unconditional.
317         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
318
319 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
320
321         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
322
323 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
324
325         [BZ #17069]
326         * posix/regcomp.c (parse_reg_exp): Deallocate partially
327         constructed tree before returning error.
328         * posix/bug-regexp36.c: Expand test case.
329
330 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
331
332         [BZ #6803]
333         * math/libm-test.inc (scalbln_test_date):
334         Add errno expectations.
335         * math/w_scalblnf.c: New File.
336         Add wrapper which checks for setting errno to ERANGE.
337         Add weak_alias for corresponding scalbln function.
338         * math/w_scalbln.c: Likewise.
339         * math/w_scalblnl.c: Likewise.
340         * math/Makefile (libm-calls): Add w_scalbln.
341         * sysdeps/ieee754/flt-32/s_scalblnf.c:
342         Remove weak_alias for corresponding scalbln function.
343         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
345         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
346         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
347         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
348         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
349         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
350         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
351         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
352         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
353         Remove long_double_symbol for scalblnl function in libm, libc.
354         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
355         Add wrapper which checks for setting errno to ERANGE.
356         Add long_double_symbol for scalblnl function in libm, libc.
357         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
358         Remove long_double_symbol for scalblnl in libm.
359         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
360         Add wrapper which checks for setting errno to ERANGE.
361         Add long_double_symbol for scalblnl function in libm.
362         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
363         Do not use wrapper because of own implementation.
364
365 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
366
367         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
368         3 bytes for __pad1 for x32.
369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
370
371 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
372             H.J. Lu  <hongjiu.lu@intel.com>
373
374         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
375         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
376         * sysdeps/x86_64/multiarch/memset.S: Likewise.
377         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
378         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
379
380 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
381
382         [BZ #17069]
383         * posix/regcomp.c (parse_expression): Deallocate partially
384         constructed tree before returning error.
385         * posix/Makefile.c (tests): Add bug-regex36.
386         (generated): Add bug-regex36.mtrace.
387         (tests-special): Add $(objpfx)bug-regex36-mem.out
388         (bug-regex36-ENV): New variable.
389         ($(objpfx)bug-regex36-mem.out): New rule.
390         * posix/bug-regex36.c: New file.
391
392 2014-06-19  Will Newton  <will.newton@linaro.org>
393
394         * malloc/malloc.c (systrim): If extra is zero then return
395         early.
396
397 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
398
399         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
400
401 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
402
403         * sysdeps/aarch64/strchr.S: New file.
404
405 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
406
407         [BZ #17022]
408         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
409         from arguments -2 or below.
410         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
411         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
412
413 2014-06-18  Andreas Schwab  <schwab@suse.de>
414
415         [BZ #17062]
416         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
417         of a bracket expr not to run off the end of the string.
418         * posix/Makefile (tests): Add tst-fnmatch3.
419         * posix/tst-fnmatch3.c: New file.
420
421 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
422
423         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
424         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
425         [$(cross-compiling) = no]: Likewise.
426         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
427         [$(cross-compiling) = no]: Likewise.
428
429 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
430
431         [BZ #17031]
432         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
433         double, adjusted for any remainder from the high double.
434         * math/libm-test.inc (nearbyint): Add tests.
435         (rint): Likewise.
436
437 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
438
439         * nptl/sysdeps/powerpc/Makefile: Moved ...
440         * sysdeps/powerpc/nptl/Makefile: ... here.
441         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
442         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
443         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
444         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
445         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
446         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
447         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
448         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
449         * nptl/sysdeps/powerpc/tls.h: Moved ...
450         * sysdeps/powerpc/nptl/tls.h: ... here.
451
452 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
453
454         [BZ #16681]
455         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
456         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
457         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
458         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
459         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
460         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
461         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
462         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
463         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
464
465 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
466
467         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
468
469 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
470
471         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
472         defined operator.
473
474         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
475         $TIMEOUTFACTOR.
476
477 2014-06-16  Florian Weimer  <fweimer@redhat.com>
478
479         [BZ #17058]
480         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
481         non-executed part of the test.
482
483 2014-06-16  Andreas Schwab  <schwab@suse.de>
484
485         * string/bits/string2.h (strdup, strndup): Update feature guard.
486
487 2014-06-14  David S. Miller  <davem@davemloft.net>
488
489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
490
491 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
492
493         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
494         that was previously under [RESET_PID].
495         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
496
497         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
498         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
499         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
500         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
501         (__libc_vfork): New strong alias.
502         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
503
504 2014-06-14 Andi Kleen  <ak@linux.intel.com>
505
506         * sysdeps/generic/elide.h: New file.
507
508 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
509
510         * Makefile (installed-headers): Adjust path of pthread.h header.
511
512 2014-06-13  Roland McGrath  <roland@hack.frob.com>
513
514         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
515         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
516         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
517         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
518
519         * nptl/sysdeps/s390/Makefile: Moved ...
520         * sysdeps/s390/nptl/Makefile: ... here.
521         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
522         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
523         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
524         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
525         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
526         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
527         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
528         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
529         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
530         * sysdeps/s390/nptl/pthreaddef.h: ... here.
531         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
532         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
533         * nptl/sysdeps/s390/tls.h: Moved ...
534         * sysdeps/s390/nptl/tls.h: ... here.
535
536         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
537         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
538
539 2014-06-13  David S. Miller  <davem@davemloft.net>
540
541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
544         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
548         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
549         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
550         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
551         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
552         Remove RESET_PID cpp guards.
553         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
554         Remove RESET_PID cpp guards.
555         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
556
557 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
558
559         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
560         __sp to uintptr_t.
561
562 2014-06-13  Andi Kleen  <ak@linux.intel.com>
563
564         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
565         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
566         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
567         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
568         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
569         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
570         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
571         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
572         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
573         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
574         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
575         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
576         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
577         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
578         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
582         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
584
585         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
586         (pthread_rwlock_rdlock): Add elision.
587         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
588         (pthread_rwlock_wrlock): Add elision.
589         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
590         (pthread_rwlock_trywrlock): Add elision.
591         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
592         (pthread_rwlock_tryrdlock): Add elision.
593         * nptl/pthread_rwlock_unlock.c: Include elide.h.
594         (pthread_rwlock_tryrdlock): Add elision unlock.
595         * nptl/sysdeps/pthread/pthread.h:
596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
597         (PTHREAD_RWLOCK_INITIALIZER,
598         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
599         Handle new elision field.
600         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
601         * sysdeps/arm/nptl/bits/pthreadtypes.h
602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
603         * sysdeps/sh/nptl/bits/pthreadtypes.h
604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
605         * sysdeps/tile/nptl/bits/pthreadtypes.h
606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
607         * sysdeps/a/nptl/bits/pthreadtypes.h
608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
609         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
611         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
613         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
615         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
617         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
619         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
621         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
623         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
625         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
626         (elision_init): Set try_xbegin to zero when no RTM.
627         * sysdeps/x86/nptl/bits/pthreadtypes.h
628         (pthread_rwlock_t): Change __pad1 to __rwelision.
629         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
630
631 2014-06-13  Andi Kleen  <ak@linux.intel.com>
632
633         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
634         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
635         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
636         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
637
638 2014-06-13  Meador Inge  <meadori@codesourcery.com>
639
640         [BZ #16996]
641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
642         that the cached result has been set before returning it.
643
644 2014-06-12  Roland McGrath  <roland@hack.frob.com>
645
646         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
647         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
648         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
649         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
650         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
651         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
652
653         * nptl/sysdeps/sparc/Makefile: Moved ...
654         * sysdeps/sparc/nptl/Makefile: ... here.
655         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
656         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
657         * nptl/sysdeps/sparc/tls.h: Moved ...
658         * sysdeps/sparc/nptl/tls.h: ... here.
659         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
660         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
661         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
662         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
663         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
664         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
665         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
666         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
667         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
668         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
669         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
670         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
671         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
672         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
673         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
674         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
675         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
677         Update #include.
678         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
680         Update #include.
681         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
682         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
683         Update #include.
684         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
685         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
686         Update #include.
687
688         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
689
690         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
691         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
692
693         * sysdeps/pthread/posix-timer.h: Include <list.h>.
694         (struct list_links): Type removed.
695         (struct thread_node, struct timer_node): Replace struct list_links
696         with struct list_head.
697         (list_unlink_ip): Likewise.
698         * sysdeps/pthread/timer_routines.c
699         (timer_free_list, thread_free_list, thread_active_list): Likewise.
700         (list_append, list_insbefore): Likewise.
701         (list_init): Function removed.
702         (thread_init, init_module): Use INIT_LIST_HEAD instead.
703         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
704         * sysdeps/pthread/Makefile: ... here, new file.
705
706         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
707         * sysdeps/nptl/Implies: ... here.
708         * sysdeps/unix/sysv/linux/Implies: Add nptl.
709         * nptl/sysdeps/pthread/list.h: Moved ...
710         * include/list.h: ... here.
711         * nptl/sysdeps/pthread/createthread.c: Moved ...
712         * nptl/createthread.c: ... here.
713         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
714         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
715         * nptl/pt-longjmp.c: ... here.
716         * nptl/sysdeps/pthread/Makefile: Moved ...
717         * sysdeps/nptl/Makefile: ... here.
718         * nptl/sysdeps/pthread/Subdirs: Moved ...
719         * sysdeps/nptl/Subdirs: ... here.
720         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
721         * sysdeps/nptl/aio_misc.h: ... here.
722         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
723         * sysdeps/nptl/bits/libc-lock.h: ... here.
724         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
725         * sysdeps/nptl/bits/libc-lockP.h: ... here.
726         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
727         * sysdeps/nptl/bits/stdio-lock.h: ... here.
728         * nptl/sysdeps/pthread/configure: Moved ...
729         * sysdeps/nptl/configure: ... here.
730         * nptl/sysdeps/pthread/configure.ac: Moved ...
731         * sysdeps/nptl/configure.ac: ... here.
732         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
733         * sysdeps/nptl/gai_misc.h: ... here.
734         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
735         * sysdeps/nptl/librt-cancellation.c: ... here.
736         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
737         * sysdeps/nptl/malloc-machine.h: ... here.
738         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
739         * sysdeps/nptl/pthread-functions.h: ... here.
740         * nptl/sysdeps/pthread/pthread.h: Moved ...
741         * sysdeps/nptl/pthread.h: ... here.
742         * nptl/sysdeps/pthread/setxid.h: Moved ...
743         * sysdeps/nptl/setxid.h: ... here.
744         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
745         * sysdeps/nptl/sigfillset.c: ... here.
746         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
747         * sysdeps/nptl/tcb-offsets.h: ... here.
748         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
749         * sysdeps/nptl/tst-mqueue8x.c: ... here.
750         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
751         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
752         * nptl/sysdeps/pthread/allocalim.h: Moved ...
753         * sysdeps/pthread/allocalim.h: ... here.
754         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
755         * sysdeps/pthread/bits/sigthread.h: ... here.
756         * nptl/sysdeps/pthread/flockfile.c: Moved ...
757         * sysdeps/pthread/flockfile.c: ... here.
758         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
759         * sysdeps/pthread/ftrylockfile.c: ... here.
760         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
761         * sysdeps/pthread/funlockfile.c: ... here.
762         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
763         * sysdeps/pthread/posix-timer.h: ... here.
764         * nptl/sysdeps/pthread/timer_create.c: Moved ...
765         * sysdeps/pthread/timer_create.c: ... here.
766         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
767         * sysdeps/pthread/timer_delete.c: ... here.
768         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
769         * sysdeps/pthread/timer_getoverr.c: ... here.
770         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
771         * sysdeps/pthread/timer_gettime.c: ... here.
772         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
773         * sysdeps/pthread/timer_routines.c: ... here.
774         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
775         * sysdeps/pthread/timer_settime.c: ... here.
776         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
777         * sysdeps/pthread/tst-timer.c: ... here.
778         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
779         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
780
781         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
782         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
783
784         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
785         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
786         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
787         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
788         Update #include target.
789         * nptl/sysdeps/i386/i686/Makefile: Moved ...
790         * sysdeps/i386/i686/nptl/Makefile: ... here.
791         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
792         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
793         Update #include target.
794         * nptl/sysdeps/i386/i686/tls.h: Moved ...
795         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
796         * nptl/sysdeps/i386/Makefile: Moved ...
797         * sysdeps/i386/nptl/Makefile: ... here.
798         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
799         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
800         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
801         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
802         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
803         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
804         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
805         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
806         * sysdeps/i386/nptl/pthreaddef.h: ... here.
807         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
808         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
809         * nptl/sysdeps/i386/tls.h: Moved ...
810         * sysdeps/i386/nptl/tls.h: ... here.
811
812         * sysdeps/sh/Makefile [$(subdir) = csu]
813         (gen-as-const-headers): Add tcb-offsets.sym.
814         * nptl/sysdeps/sh/Makefile: File removed.
815         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
816         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
817         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
818         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
819         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
820         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
821         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
822         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
823         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
824         * sysdeps/sh/nptl/pthreaddef.h: ... here.
825         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
826         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
827         * nptl/sysdeps/sh/tls.h: Moved ...
828         * sysdeps/sh/nptl/tls.h: ... here.
829         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
830         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
831         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
832         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
833         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
834         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
835         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
836         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
837         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
838         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
840         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
841         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
842         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
843         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
844         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
845         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
846         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
847         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
848         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
850         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
852         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
854         Moved ...
855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
856         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
857         Moved ...
858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
860         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
862         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
863         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
864         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
865         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
866         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
867         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
868         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
869         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
870         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
871         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
872         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
873         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
874         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
875         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
876         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
877
878 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
879
880         * posix/spawn_faction_addopen.c: Include string.h.
881
882 2014-06-11  Roland McGrath  <roland@hack.frob.com>
883
884         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
885         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
886         * nptl/sysdeps/x86_64/Makefile: Moved ...
887         * sysdeps/x86_64/nptl/Makefile: ... here.
888         * nptl/sysdeps/x86_64/configure: Moved ...
889         * sysdeps/x86_64/nptl/configure: ... here.
890         * nptl/sysdeps/x86_64/configure.ac: Moved ...
891         * sysdeps/x86_64/nptl/configure.ac: ... here.
892         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
893         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
894         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
895         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
896         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
897         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
898         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
899         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
900         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
901         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
902         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
903         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
904         * nptl/sysdeps/x86_64/tls.h: Moved ...
905         * sysdeps/x86_64/nptl/tls.h: ... here.
906         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
907         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
908         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
909         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
910
911         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
912
913 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
914
915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
916
917 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
918
919         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
920         type.
921         [POSIX] (off_t): Likewise.
922         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
923         [POSIX] (S_ISBLK): Require macro.
924         [POSIX] (S_ISCHR): Likewise.
925         [POSIX] (S_ISDIR): Likewise.
926         [POSIX] (S_ISFIFO): Likewise.
927         [POSIX] (S_ISREG): Likewise.
928         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
929         optional-macro.
930         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
931         type.
932         [POSIX] (time_t): Likewise.
933         [POSIX] (timer_t): Likewise.
934
935 2014-06-11  Florian Weimer  <fweimer@redhat.com>
936
937         [BZ #17048]
938         * posix/spawn_int.h (struct __spawn_action): Make the path string
939         non-const to support deallocation.
940         * posix/spawn_faction_addopen.c
941         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
942         * posix/spawn_faction_destroy.c
943         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
944         path in all spawn_do_open actions.
945         * posix/tst-spawn.c (do_test): Exercise the copy operation in
946         posix_spawn_file_actions_addopen.
947
948 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
949
950         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
951         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
952         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
953         conditional code always true.
954         (__libc_vfork): New alias.
955
956 2014-06-11  Roland McGrath  <roland@hack.frob.com>
957
958         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
959         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
960
961         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
962
963         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
964         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
965
966         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
967         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
968
969         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
970         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
971
972 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
973
974         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
975         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
976         multiarch strcmp for PPC64.
977         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
978         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
980         multiarch optimizations.
981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
982         (__libc_ifunc_impl_list): Likewise.
983
984 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
985
986         * benchtests/scripts/validate_benchout.py: New script.
987         * benchtests/Makefile (bench-func): Call it.
988         * benchtests/scripts/benchout.schema.json: New file.
989
990 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
991
992         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
993         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
994         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
995         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
996         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
997         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
998         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
999         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1000         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1001         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1002         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1003         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1004         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1005         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1006         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1007         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1009         Moved ...
1010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1011         ... here.
1012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1013         Moved ...
1014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1016         Moved ...
1017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1018         ... here.
1019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1020         Moved ...
1021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1022         ... here.
1023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1024         Moved ...
1025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1027         Moved ...
1028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1029         ... here.
1030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1031         Moved ...
1032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1033         ... here.
1034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1035         Moved ...
1036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1038         Moved ...
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1040         ... here.
1041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1042         Moved ...
1043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1044         ... here.
1045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1046         Moved ...
1047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1048         ... here.
1049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1050         Moved ...
1051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1053         Moved ...
1054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1055         ... here.
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1057         Moved ...
1058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1059         ... here.
1060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1061         Moved ...
1062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1063         ... here.
1064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1065         Moved ...
1066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1068         Moved ...
1069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1070         ... here.
1071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1072         Moved ...
1073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1074         ... here.
1075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1076         Moved ...
1077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1079         Moved ...
1080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1081         ... here.
1082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1083         Moved ...
1084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1086         Moved ...
1087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1089         Moved ...
1090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1091         ... here.
1092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1093         Moved ...
1094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1095         ... here.
1096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1097         Moved ...
1098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1099         ... here.
1100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1101         Moved ...
1102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1104         Moved ...
1105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1106         ... here.
1107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1108         Moved ...
1109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1110         ... here.
1111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1112         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1114         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1116         Moved ...
1117         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1118         ... here.
1119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1130         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1132         Moved ...
1133         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1135         Moved ...
1136         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1138         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1140         Moved ...
1141         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1143         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1144         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1145         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1146         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1147         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1148
1149 2014-06-10  Wilco  <wdijkstr@arm.com>
1150
1151         * math/test-fenv-return.c: New file.
1152         * math/Makefile: Add new test test-fenv-return.
1153
1154 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1155
1156         [BZ #17042]
1157         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1158         when x - 1 is zero.
1159         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1160         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1161         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1162         0.0L for an argument of 1.0L.
1163         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1164         Likewise.
1165         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1166         value when x - 1 is zero.
1167         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1168         * sysdeps/i386/fpu/libm-test-ulps: Update.
1169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1170
1171 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1172
1173         [BZ #15119]
1174         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1175
1176 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1177
1178         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1179         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1180
1181 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1182
1183         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1184         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1185
1186         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1187         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1188
1189         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1190         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1191
1192         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1193         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1194
1195         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1196         if not already defined.
1197         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1198         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1199         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1200         (TLS_INIT_TP): Use it.
1201         (TLS_DEFINE_INIT_TP): New macro.
1202         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1203
1204 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1205
1206         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1207         constant.
1208         [POSIX] (IXANY): Likewise.
1209         [POSIX] (OLCUC): Likewise.
1210         [POSIX || POSIX2008] (CBAUD): Do not allow.
1211         [POSIX || POSIX2008] (DEFECHO): Likewise.
1212         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1213         [POSIX || POSIX2008] (ECHOKE): Likewise.
1214         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1215         [POSIX || POSIX2008] (EXTA): Likewise.
1216         [POSIX || POSIX2008] (EXTB): Likewise.
1217         [POSIX || POSIX2008] (FLUSHO): Likewise.
1218         [POSIX || POSIX2008] (LOBLK): Likewise.
1219         [POSIX || POSIX2008] (PENDIN): Likewise.
1220         [POSIX || POSIX2008] (SWTCH): Likewise.
1221         [POSIX || POSIX2008] (VDISCARD): Likewise.
1222         [POSIX || POSIX2008] (VDSUSP): Likewise.
1223         [POSIX || POSIX2008] (VLNEXT): Likewise.
1224         [POSIX || POSIX2008] (VREPRINT): Likewise.
1225         [POSIX || POSIX2008] (VSTATUS): Likewise.
1226         [POSIX || POSIX2008] (VWERASE): Likewise.
1227         (B*): Change to B[0123456789]*.
1228         * conform/data/time.h-data [POSIX || UNIX98]
1229         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1230         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1231         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1232         [POSIX] (tm_*): Do not allow.
1233
1234 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1235
1236         * Makefile (install): Don't set LANGUAGE.
1237         * Makefile.in (install): Likewise.
1238         * assert/Makefile (test-assert-ENV): Remove variable.
1239         (test-assert-perr-ENV): Likewise.
1240         * elf/Makefile (neededtest4-ENV): Likewise.
1241         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1242         [$(cross-compiling) = no]: Don't set LANGUAGE.
1243         * io/ftwtest-sh (LANG): Remove variable.
1244         * libio/Makefile (tst-widetext-ENV): Likewise.
1245         * manual/install.texi (Running make install): Don't refer to
1246         environment settings for make install.
1247         * INSTALL: Regenerated.
1248         * nptl/tst-tls6.sh: Don't set LANG.
1249         * posix/globtest.sh (LANG): Remove variable.
1250         * string/Makefile (tester-ENV): Likewise.
1251         (inl-tester-ENV): Likewise.
1252         (noinl-tester-ENV): Likewise.
1253         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1254         [$(cross-compiling) = no]: Don't set LANGUAGE.
1255         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1256         without explicit environment settings.
1257
1258 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1259
1260         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1261         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1262         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1263         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1264
1265 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1266
1267         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1268         other files in the crypt directory.
1269         * crypt/crypt.c: Remove duplicate includes.
1270         * crypt/crypt-entry.c: Likewise.
1271         * crypt/crypt_util.c: Likewise.
1272
1273 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1274
1275         * Makeconfig (run-program-env): New variable.
1276         (run-program-prefix-before-env): Likewise.
1277         (run-program-prefix-after-env): Likewise.
1278         (run-program-prefix): Define in terms of new variables.
1279         (built-program-cmd-before-env): New variable.
1280         (built-program-cmd-after-env): Likewise.
1281         (built-program-cmd): Define in terms of new variables.
1282         (test-program-prefix-before-env): New variable.
1283         (test-program-prefix-after-env): Likewise.
1284         (test-program-prefix): Define in terms of new variables.
1285         (test-program-cmd-before-env): New variable.
1286         (test-program-cmd-after-env): Likewise.
1287         (test-program-cmd): Define in terms of new variables.
1288         * Rules (make-test-out): Use $(run-program-env).
1289         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1290         (help): Do not mention environment variables.  Mention
1291         --timeoutfactor option.
1292         (timeoutfactor): New variable.
1293         (blacklist_exports): Remove function.
1294         (exports): Remove variable.
1295         (command): Do not include ${exports}.
1296         * manual/install.texi (Configuring and compiling): Do not mention
1297         test wrappers preserving environment variables.  Mention that last
1298         assignment to a variable must take precedence.
1299         * INSTALL: Regenerated.
1300         * benchtests/Makefile (run-bench): Use $(run-program-env).
1301         * catgets/Makefile ($(objpfx)test1.cat): Use
1302         $(built-program-cmd-before-env), $(run-program-env) and
1303         $(built-program-cmd-after-env).
1304         ($(objpfx)test2.cat): Do not specify environment variables
1305         explicitly.
1306         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1307         $(run-program-env) and $(built-program-cmd-after-env).
1308         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1309         $(run-program-env) and $(test-program-cmd-after-env).
1310         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1311         explicitly.
1312         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1313         run_program_env and test_program_cmd_after_env arguments.
1314         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1315         * elf/tst-pathopt.sh: Use run_program_env argument.
1316         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1317         $(test-wrapper-env) and $(run-program-env).
1318         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1319         run_program_env arguments.
1320         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1321         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1322         $(test-program-prefix-before-env), $(run-program-env) and
1323         $(test-program-prefix-after-env).
1324         ($(objpfx)tst-gettext2.out): Likewise.
1325         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1326         run_program_env and test_program_prefix_after_env arguments.
1327         * intl/tst-gettext2.sh: Likewise.
1328         * intl/tst-gettext4.sh: Do not set environment variables
1329         explicitly.
1330         * intl/tst-gettext6.sh: Likewise.
1331         * intl/tst-translit.sh: Likewise.
1332         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1333         $(test-program-prefix-before-env), $(run-program-env) and
1334         $(test-program-prefix-after-env).
1335         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1336         run_program_env and test_program_prefix_after_env arguments.
1337         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1338         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1339         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1340         explicitly with each use of ${test_wrapper_env}.
1341         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1342         $(test-program-prefix-before-env), $(run-program-env) and
1343         $(test-program-prefix-after-env).
1344         * posix/tst-getconf.sh: Do not set environment variables
1345         explicitly.
1346         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1347         run_program_env and test_program_prefix_after_env arguments.
1348         * stdio-common/tst-printf.sh: Do not set environment variables
1349         explicitly.
1350         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1351         $(test-program-prefix-before-env), $(run-program-env) and
1352         $(test-program-prefix-after-env).
1353         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1354         run_program_env and test_program_prefix_after_env arguments.
1355         Split $test calls into $test_pre and $test.
1356         * timezone/Makefile (build-testdata): Use
1357         $(built-program-cmd-before-env), $(run-program-env) and
1358         $(built-program-cmd-after-env).
1359
1360 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1361
1362         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1363         strlen for non SHARED builds.
1364
1365 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1366
1367         * nptl/allocatestack.c (check_list): Inlined function...
1368         (__reclaim_stacks): ... here.
1369
1370 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1371
1372         [BZ #15698]
1373         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1374         memory overrun.
1375
1376 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1377
1378         * Rules (make-test-out): Include
1379         LOCPATH=$(common-objpfx)localedata in default environment.
1380         * debug/Makefile (tst-chk1-ENV): Remove variable.
1381         (tst-chk2-ENV): Likewise.
1382         (tst-chk3-ENV): Likewise.
1383         (tst-chk4-ENV): Likewise.
1384         (tst-chk5-ENV): Likewise.
1385         (tst-chk6-ENV): Likewise.
1386         (tst-lfschk1-ENV): Likewise.
1387         (tst-lfschk2-ENV): Likewise.
1388         (tst-lfschk3-ENV): Likewise.
1389         (tst-lfschk4-ENV): Likewise.
1390         (tst-lfschk5-ENV): Likewise.
1391         (tst-lfschk6-ENV): Likewise.
1392         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1393         (tst-iconv7-ENV): Likewise.
1394         * intl/Makefile (LOCPATH-ENV): Likewise.
1395         (tst-codeset-ENV): Likewise.
1396         (tst-gettext3-ENV): Likewise.
1397         (tst-gettext5-ENV): Likewise.
1398         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1399         (tst-fopenloc-ENV): Likewise.
1400         (tst-fgetws-ENV): Remove variable.
1401         (tst-ungetwc1-ENV): Likewise.
1402         (tst-ungetwc2-ENV): Likewise.
1403         (bug-ungetwc2-ENV): Likewise.
1404         (tst-swscanf-ENV): Likewise.
1405         (bug-ftell-ENV): Likewise.
1406         (tst-fgetwc-ENV): Likewise.
1407         (tst-fseek-ENV): Likewise.
1408         (tst-ftell-partial-wide-ENV): Likewise.
1409         (tst-ftell-active-handler-ENV): Likewise.
1410         (tst-ftell-append-ENV): Likewise.
1411         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1412         (tst-regexloc-ENV): Likewise.
1413         (bug-regex1-ENV): Likewise.
1414         (tst-regex-ENV): Likewise.
1415         (tst-regex2-ENV): Likewise.
1416         (bug-regex5-ENV): Likewise.
1417         (bug-regex6-ENV): Likewise.
1418         (bug-regex17-ENV): Likewise.
1419         (bug-regex18-ENV): Likewise.
1420         (bug-regex19-ENV): Likewise.
1421         (bug-regex20-ENV): Likewise.
1422         (bug-regex22-ENV): Likewise.
1423         (bug-regex23-ENV): Likewise.
1424         (bug-regex25-ENV): Likewise.
1425         (bug-regex26-ENV): Likewise.
1426         (bug-regex30-ENV): Likewise.
1427         (bug-regex32-ENV): Likewise.
1428         (bug-regex33-ENV): Likewise.
1429         (bug-regex34-ENV): Likewise.
1430         (bug-regex35-ENV): Likewise.
1431         (tst-rxspencer-ENV): Likewise.
1432         (tst-rxspencer-no-utf8-ENV): Likewise.
1433         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1434         (tst-sscanf-ENV): Likewise.
1435         (tst-swprintf-ENV): Likewise.
1436         (tst-swscanf-ENV): Likewise.
1437         (test-vfprintf-ENV): Likewise.
1438         (scanf13-ENV): Likewise.
1439         (bug14-ENV): Likewise.
1440         (tst-grouping-ENV): Likewise.
1441         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1442         (tst-strtod3-ENV): Likewise.
1443         (tst-strtod4-ENV): Likewise.
1444         (tst-strtod5-ENV): Likewise.
1445         (testmb2-ENV): Likewise./
1446         * string/Makefile (tst-strxfrm-ENV): Likewise.
1447         (tst-strxfrm2-ENV): Likewise.
1448         (bug-strcoll1-ENV): Likewise.
1449         (test-strcasecmp-ENV): Likewise.
1450         (test-strncasecmp-ENV): Likewise.
1451         * time/Makefile (tst-strptime-ENV): Likewise.
1452         (tst-ftime_l-ENV): Likewise.
1453         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1454         (tst-mbrtowc-ENV): Likewise.
1455         (tst-wcrtomb-ENV): Likewise.
1456         (tst-mbrtowc2-ENV): Likewise.
1457         (tst-c16c32-1-ENV): Likewise.
1458         (tst-mbsnrtowcs-ENV): Likewise.
1459
1460 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1461
1462         * manual/resource.texi (How to get information about the memory
1463         subsystem?): Fix typo.
1464         Reported by Peon de la Parra Ivan <peon@keba.com>
1465
1466 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1467
1468         [BZ #16882]
1469         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1470         (pthread_spin_lock): Branch out of spin loop to proper location.
1471         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1472         (pthread_spin_lock): Likewise.
1473
1474         * nptl/tst-spin4.c: New test.
1475         * nptl/Makefile (tests): Add tst-spin4.
1476
1477 2014-06-03  Andreas Schwab  <schwab@suse.de>
1478
1479         [BZ #15946]
1480         * resolv/res_send.c (send_dg): Reload file descriptor after
1481         calling reopen.
1482
1483 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1484
1485         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1486
1487 2014-06-03  Richard Henderson  <rth@redhat.com>
1488
1489         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1490         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1491         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1492         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1493         in the SAVE_PID block.
1494         (__libc_vfork): New alias.
1495         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1496
1497         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1498         child in registers, not on the stack.  Remove RESET_PID conditionals.
1499         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1500
1501 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1502
1503         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1504
1505 2014-06-03  Wilco  <wdijkstr@arm.com>
1506
1507         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1508         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1509         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1510         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1511         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1512         Likewise.
1513
1514 2014-06-03  Wilco  <wdijkstr@arm.com>
1515
1516         * sysdeps/aarch64/fpu/math_private.h
1517         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1518         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1519         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1520         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1521         Fix declarations.
1522
1523 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1524
1525         * crypt/crypt-private.h: Include ufc-crypt.h.
1526         (__b64_from_24bit): Declare extern.
1527         * crypt/crypt_util.c(__b64_from_24bit): New function.
1528         (b64t): New static const variable.
1529         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1530         (b64t): Remove variable.
1531         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1532         * crypt/sha256-crypt.c: Include crypt-private.h.
1533         (b64t): Remove variable.
1534         (__sha256_crypt_r): Remove b64_from_24bit and replace
1535         with __b64_from_24bit.
1536         * crypt/sha512-crypt.c: Likewise.
1537
1538 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1539
1540         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1541         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1542         Label the code __libc_vfork rather than __vfork.
1543         [!NOT_IN_libc] (vfork): Define as weak alias.
1544         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1545         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1546         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1547
1548 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1549
1550         * malloc/malloc.c (malloc_info): Fix format specifier for
1551         n_mmaps.
1552
1553 2014-06-02  Wilco  <wdijkstr@arm.com>
1554
1555         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1556         FPCR write.
1557
1558 2014-06-02  Wilco  <wdijkstr@arm.com>
1559
1560         [BZ #17009]
1561         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1562         Rewrite to reduce FPCR/FPSR accesses.
1563
1564 2014-06-01  David S. Miller  <davem@davemloft.net>
1565
1566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1567
1568 2014-05-31  David S. Miller  <davem@davemloft.net>
1569
1570         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1571         to occur in round to nearest mode when |x| >= 2.0
1572
1573 2014-05-30  Richard Henderson  <rth@twiddle.net>
1574
1575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1576         (PSEUDO_RET_NOERRNO): Remove.
1577         (ret): Don't redefine.
1578         (ret_NOERRNO): Define in terms of ret.
1579         (ret_ERRVAL): Likewise.
1580
1581         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1582         use of PSEUDO_RET; perform the error check directly.
1583
1584 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1585
1586         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1587         with __int128_t.
1588
1589 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1590
1591         * malloc/malloc (malloc_info): Fix formatting.
1592
1593 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1594             Roland McGrath  <roland@hack.frob.com>
1595
1596         * malloc/malloc (malloc_info): Also print mmapped statistics.
1597
1598 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1599
1600         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1601         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1602
1603 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1604
1605         * malloc/malloc.c (malloc_info): Inline mi_arena.
1606
1607 2014-05-29  Richard Henderson  <rth@twiddle.net>
1608
1609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1610         Remove comma before expanding ASM_ARGS_##nr.
1611         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1612         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1613         of ASM_ARGS_##nr.
1614         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1615         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1616         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1617         (ASM_ARGS_1): Add leading comma.
1618
1619         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1620         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1621         to __errno_location.
1622         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1623         Remove the expected plt for __errno_location.
1624
1625         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1626         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1627         call to __read_tp.
1628
1629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1630         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1631         it and break it down.
1632         (DOCARGS_0, DOCARGS_1): Do nothing.
1633         (DOCARGS_2): Update to store into the new stack frame.
1634         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1635         (UNDOCARGS_1): Update to restore from the new stack frame.
1636         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1637         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1638
1639         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1640         (SINGLE_THREAD_P): New parameter for result regno.
1641         (PSEUDO): Update to match; use cbz instead of beq.
1642
1643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1644         Use ENTRY to define the _nocancel entry point.  Share the syscall
1645         and syscall error check paths with the cancel path.
1646         (PSEUDO_END): New.
1647
1648         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1649         whitespace; tabs before and after asm mnemonics.
1650
1651 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1652
1653         [BZ #15132]
1654         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1655         Call fstat64 or stat64 internally, depending on arguments passed.
1656         Replace stat buffer argument with file descriptor argument.
1657         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1658         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1659         Pass fd to __internal_statvfs instead of calling fstat64.
1660         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1661         Pass fd to __internal_statvfs64 instead of calling fstat64.
1662         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1663         Pass -1 to __internal_statvfs instead of calling stat64.
1664         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1665         Pass -1 to __internal_statvfs64 instead of calling stat64.
1666
1667 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1668
1669         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1670         that was previously under [RESET_PID].
1671         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1672
1673         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1674         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1675
1676 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1677
1678         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1679
1680         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1681         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1682
1683 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1684
1685         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1686
1687 2014-05-27  Andreas Schwab  <schwab@suse.de>
1688
1689         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1690         TLS_INIT_TP macro.
1691         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1692         * elf/rtld.c (init_tls, dl_main): Likewise.
1693         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1694         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1695         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1696         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1697         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1698         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1699         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1700         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1701         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1702         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1703         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1704         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1705         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1706         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1707         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1708         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1709         * sysdeps/generic/tls.h: Update description.
1710
1711 2014-05-27  Will Newton  <will.newton@linaro.org>
1712
1713         [BZ #16990]
1714         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1715         and restore r2 rather than just restoring.
1716
1717 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1718
1719         [BZ #16724]
1720         * libio/tst-ftell-append.c: New test case.
1721         * libio/Makefile (tests): Add test case.
1722         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1723         append mode.
1724         * libio/wfileops.c (do_ftell_wide): Likewise.
1725
1726 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1727
1728         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1729
1730         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1731         ...
1732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1734         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1735         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1736         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1737         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1738         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1739         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1741         Moved ...
1742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1744         Moved ...
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1746         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1747         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1749         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1750         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1751         ...
1752         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1753         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1754         Moved ...
1755         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1756         here.
1757         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1758         ...
1759         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1760         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1761         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1762
1763         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1764         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1766         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1767
1768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1769         merge into ...
1770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1772         ...
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1775         ...
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1778         Moved ...
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1780         here.
1781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1782         Moved ...
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1785         Moved ...
1786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1787
1788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1789         conditional [RESET_PID].
1790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1792         removed.
1793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1794         removed.
1795
1796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1797         <tcb-offsets.h>.
1798         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1799         (__libc_vfork): New strong alias.
1800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1801         removed.
1802         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1803         Removed.
1804
1805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1806         <tcb-offsets.h>.
1807         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1808         (__libc_vfork): New strong alias.
1809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1810         removed.
1811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1812         removed.
1813
1814 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1815
1816         * malloc/malloc.c (mi_arena): New function.
1817         (malloc_info): Remove nested function mi_arena. Call non-nosted
1818         function mi_arena.
1819
1820 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1821
1822         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1823         by insrwi.
1824         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1825         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1826         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1827         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1828         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1829         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1830         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1831
1832 2014-05-26  Andreas Schwab  <schwab@suse.de>
1833
1834         [BZ #16984]
1835         * locale/programs/repertoire.c (repertoire_read): Add slash
1836         between I18NPATH element and file name.
1837         * locale/programs/locfile.c (locfile_read): Likewise.
1838
1839 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1840
1841         * nptl/pthread_mutexattr_settype.c
1842         (__pthread_mutexattr_settype):
1843         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1844
1845 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1846
1847         * nptl/tst-mutex5 (do_test):
1848         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1849
1850 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1851
1852         * benchtests/README: Document 'init' directive.
1853         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1854         BENCH_INIT.
1855         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1856         (parse_file): Recognize 'init' directive.
1857
1858 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1859
1860         [BZ #16796]
1861         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1862         alignment of struct pthread.
1863
1864 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1865
1866         [BZ #16878]
1867         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1868         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1869         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1870         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1871
1872 2014-05-25  Richard Henderson  <rth@twiddle.net>
1873
1874         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1875         (SINGLE_THREAD_P_PIC): Remove.
1876         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1877         (SINGLE_THREAD_P_PIC): Remove.
1878
1879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1880         branch to syscall error ...
1881         (PSEUDO): ... here.
1882         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1883         from __local_syscall_error to .Lsyscall_error.
1884         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1885         (SYSCALL_ERROR): Update label name.
1886
1887         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1888         Do not use DOARGS/UNDOARGS.
1889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1890         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1891         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1892         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1893         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1894
1895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1896         block comment.
1897
1898         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1899         define if !NOT_IN_libc.
1900         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1901         define with non-default symbol versions.
1902
1903 2014-05-23  Richard Henderson  <rth@twiddle.net>
1904
1905         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1906         (vfork, __vfork): Define via compat_symbol.
1907
1908         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1909         [!HAVE_IFUNC] (vfork_compat): Remove.
1910         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1911
1912 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1913
1914         [BZ #16978]
1915         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1916         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1917         variable.
1918
1919 2014-05-23  Richard Henderson  <rth@twiddle.net>
1920
1921         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1922         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1923         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1924         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1925
1926         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1927         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1928         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1929         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1930         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1931         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1932         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1933         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1934         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1935         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1936         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1937         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1938         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1943         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1945         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1946         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1947         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1948         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1949         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1951         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1953         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1954         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1955         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1956         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1957         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1958         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1959         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1960         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1961         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1962         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1963         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1964         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1965         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1966         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1967         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1968         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1969         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1970         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1971         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1972         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1973         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1974         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1975         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1976         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1977         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1978         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1979         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1980         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1981         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1982
1983         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1984         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1985         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1986         before exiting on error.
1987         (__libc_vfork): New strong alias.
1988         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1989         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1990
1991         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1992         that was previously under [RESET_PID].
1993         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1994
1995         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1996
1997 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1998
1999         [BZ #16977]
2000         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2001         value when x - 1 is zero.
2002         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2003         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2004         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2005         0.0L for an argument of 1.0L.
2006         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2007         Likewise.
2008         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2009         value when x - 1 is zero.
2010         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2011         * sysdeps/i386/fpu/libm-test-ulps: Update.
2012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2013
2014 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2015
2016         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2017         alphasort and versionsort.
2018
2019 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2020
2021         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2022         macro.
2023         [copysignf]: Likewise.
2024
2025 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2026
2027         * crypt/md5-crypt.c: Fix formatting.
2028
2029 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2030
2031         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2032         (b64_from_24bit): New function.
2033
2034 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2035
2036         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2037         libc_hidden_builtin_def to ifunc.
2038         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2039         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2040
2041 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2042
2043         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2044         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2045
2046 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2047
2048         * nscd/Depend (linuxthreads): Remove.
2049         (nptl): Add.
2050         * resolv/Depend (linuxthreads): Remove.
2051         * rt/Depend (linuxthreads): Remove.
2052
2053         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2054         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2055         $(common-objpfx)elf/.
2056         (link-libc-before-gnulib): Likewise.
2057         (elfobjdir): Remove variable.
2058         * Makefile (install): Use $(elf-objpfx) instead of
2059         $(common-objpfx)elf/.
2060         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2061         $(elfobjdir)/.
2062         (link-libc-deps): Likewise.
2063         ($(common-objpfx)libc.so): Likewise.
2064         ($(common-objpfx)linkobj/libc.so): Likewise.
2065         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2066         instead of $(common-objpfx)elf/.
2067         (symbolic-link-list): Likewise.
2068         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2069         [$(cross-compiling) = no]: Likewise.
2070         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2071         $(elfobjdir)/.
2072         (static-gnulib-arch): Likewise.
2073         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2074         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2075         $(common-objpfx)elf/.
2076
2077 2014-05-21  Richard Henderson  <rth@redhat.com>
2078
2079         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2080         (SINGLE_THREAD_P): Use the correct width load.  Fold
2081         into the ldr offset.
2082
2083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2084         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2085
2086 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2087
2088         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2089         (libgcc_s_resume): Use __attribute_used__.
2090         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2091         Likewise.
2092
2093 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094
2095         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2096         optimization when used with float constants.
2097
2098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2099
2100 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2101
2102         [BZ #16915]
2103         * locale/nl_langinfo_l.c: Make direct reference to every
2104         _nl_current_CATEGORY symbol.
2105         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2106         (tests-static): Add tst-langinfo-static.
2107         (tests-special): Add tst-langinfo-static.out.
2108         ($(objpfx)tst-langinfo.out): Redirect output.
2109         ($(objpfx)tst-langinfo-static.out): New.
2110         * localedata/tst-langinfo.sh: Send output to stdout.
2111         * localedata/tst-langinfo-static.c: New file.
2112
2113         [BZ #16965]
2114         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2115         when the shift amount is modulo the limb size.
2116
2117 2014-05-20  Richard Henderson  <rth@redhat.com>
2118
2119         [BZ #16967]
2120         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2121         Change type of sa_flags from unsigned int to int.
2122
2123         [BZ #16966]
2124         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2125
2126         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2127
2128 2014-05-20  Will Newton  <will.newton@linaro.org>
2129
2130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2131         Test the return value of the system call in the nocancel case.
2132
2133 2014-05-20  Will Newton  <will.newton@linaro.org>
2134             Yvan Roux  <yvan.roux@linaro.org>
2135
2136         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2137         #include of asm/ptrace.h.
2138         (PTRACE_GET_THREAD_AREA): Remove #undef.
2139         (PTRACE_GETHBPREGS): Likewise.
2140         (PTRACE_SETHBPREGS): Likewise.
2141         (struct user_regs_struct): New structure.
2142         (struct user_fpsimd_struct): New structure.
2143         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2144         #include of asm/ptrace.h and second #include of sys/user.h.
2145         (PTRACE_GET_THREAD_AREA): Remove #undef.
2146         (PTRACE_GETHBPREGS): Likewise.
2147         (PTRACE_SETHBPREGS): Likewise.
2148         (ELF_NGREG): Use new struct user_regs_struct.
2149         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2150
2151 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2152
2153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2155
2156 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2157
2158         [BZ #16958]
2159         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2160         membar to avoid block loads/stores to overlap previous stores.
2161
2162 2014-05-17  Richard Henderson  <rth@redhat.com>
2163
2164         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2165         Create the __##syscall_name##_nocancel entry point.
2166         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2167         Remove; let the sysdep-cancel.h code create it.
2168
2169 2014-05-17  David S. Miller  <davem@davemloft.net>
2170
2171         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2172         Protect with __USE_GNU.
2173         (TIOCSET_TEMPT): Likewise.
2174         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2175         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2176         these are already provided in bits/ioctl-types.h
2177
2178 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2179
2180         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2181         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2182
2183         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2184         Use wait4 regardless of [__NR_waitpid].
2185
2186 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2187
2188         PR libgcc/60166
2189         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2190         (_FP_NANSIGN_Q): Set the quiet bit.
2191
2192 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2193
2194         * benchtests/Makefile
2195         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2196         not $(common-objpfx)math/libm.so.
2197         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2198         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2199         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2200         $(common-objpfx)dlfcn/libdl.so.
2201         ($(objpfx)tst-audit8): Depend on $(libm), not
2202         $(common-objpfx)math/libm.so.
2203         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2204         not $(common-objpfx)dlfcn/libdl.so.
2205         * math/Makefile
2206         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2207         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2208         [$(build-shared) = yes].
2209         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2210         $(common-objpfx)nptl/libpthread.so.
2211         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2212         $(common-objpfx)math/libm.so$(libm.so-version) or
2213         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2214         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2215         $(common-objpfx)dlfcn/libdl.so.
2216         * setjmp/Makefile (link-libm): Remove variable.
2217         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2218         * stdio-common/Makefile (link-libm): Remove variable.
2219         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2220         * stdlib/Makefile (link-libm): Remove variable.
2221         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2222         ($(objpfx)tst-strtod-round): Likewise.
2223         ($(objpfx)tst-tininess): Likewise.
2224         ($(objpfx)tst-strtod-underflow): Likewise.
2225         ($(objpfx)tst-strtod6): Likewise.
2226         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2227         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2228         $(common-objpfx)dlfcn/libdl.so.
2229
2230 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2231
2232         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2233         BSD terminal modes definitions.
2234
2235 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2236
2237         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2238         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2239
2240         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2241         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2242         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2243         Don't do #include_next.
2244         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2245         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2246         Don't do #include_next.
2247         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2248         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2249         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2250         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2251
2252 2014-05-16  Allan McRae  <allan@archlinux.org>
2253
2254         * po/sv.po: Update Swedish translation from translation project.
2255
2256         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2257         in sed expression.
2258
2259 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2260
2261         [BZ #16917]
2262         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2263         errno if the TIOCGPTN ioctl fails with an error different than
2264         EINVAL.
2265         * login/tst-ptsname.c: New file.
2266         * login/Makefile (tests): Add tst-ptsname.
2267
2268         [BZ #16943]
2269         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2270         and prlimit64.
2271
2272 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2273
2274         [BZ #16849]
2275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2276         herrno to return EAI_AGAIN.
2277
2278 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2279
2280         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2281         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2282         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2283         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2284         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2285         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2286         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2287         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2288         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2289         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2291         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2292         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2293         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2294         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2295         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2296         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2297         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2299         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2300         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2301         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2302         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2303         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2307         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2308         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2309         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2311         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2326         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2338         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2340         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2342         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2344         Moved ...
2345         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2347         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2349         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2351         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2353         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2355         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2365         Moved ...
2366         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2369
2370         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2371         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2372         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2373         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2374         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2375         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2376         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2377         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2378         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2379         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2380         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2381         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2382         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2383         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2384         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2385         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2386         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2387         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2388         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2389         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2390         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2391         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2392         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2393         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2394         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2395         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2396         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2397         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2398         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2399         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2400         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2401
2402         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2403         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2404
2405         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2406         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2407         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2408         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2409         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2411         Moved ...
2412         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2414         Moved ...
2415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2417         Moved ...
2418         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2419         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2420         Moved ...
2421         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2422         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2423         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2425         Moved ...
2426         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2427         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2428         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2430         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2431         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2432         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2433         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2434         Moved ...
2435         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2437         Moved ...
2438         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2439         ... here.
2440         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2441         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2442         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2443         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2444         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2445         Moved ...
2446         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2447         ... here.
2448         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2449         Moved ...
2450         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2451         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2452         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2453         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2454         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2456         Moved ...
2457         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2459         Moved ...
2460         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2462         Moved ...
2463         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2464         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2465         Moved ...
2466         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2467         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2468         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2470         Moved ...
2471         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2472         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2473         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2475         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2476         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2477         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2478         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2479         Moved ...
2480         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2481         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2482         Moved ...
2483         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2484         ... here.
2485         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2486         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2487         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2488         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2489         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2490         Moved ...
2491         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2492         ... here.
2493         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2494         Moved ...
2495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2496         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2497         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2498         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2499         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2500         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2501         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2502         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2503         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2505         Moved ...
2506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2507         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2508         Moved ...
2509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2511         Moved ...
2512         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2513         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2514         Moved ...
2515         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2516         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2517         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2518         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2519         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2521         Moved ...
2522         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2524         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2526         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2527         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2528         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2529         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2530         Moved ...
2531         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2533         Moved ...
2534         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2535         ... here.
2536         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2537         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2539         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2540         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2541         Moved ...
2542         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2543         ... here.
2544         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2545         Moved ...
2546         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2547         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2548         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2549         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2550         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2551         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2552         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2553         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2554         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2555         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2556         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2557
2558         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2559         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2560
2561         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2562         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2563
2564         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2565         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2566         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2567         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2568         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2569         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2570         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2571         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2572         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2573         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2574         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2575         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2576         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2577         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2578         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2580         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2582         Moved ...
2583         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2585         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2587         Moved ...
2588         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2592         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2593         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2594         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2595         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2596         Moved ...
2597         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2599         Moved ...
2600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2604         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2606         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2607         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2608         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2609         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2610         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2611         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2612         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2613         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2614         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2615         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2616         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2617
2618         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2619         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2620         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2621         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2622         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2623
2624         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2625         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2626         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2627         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2628         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2629         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2630         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2631         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2632         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2633         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2634
2635         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2637
2638         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2639         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2640         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2641         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2642         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2643         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2644         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2645         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2646         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2647         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2648         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2649         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2650         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2651         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2653         Update #include.
2654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2655         Likewise.
2656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2657         Likewise.
2658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2659         Likewise.
2660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2661         Likewise.
2662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2663         Likewise.
2664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2665         Likewise.
2666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2667         Likewise.
2668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2669         Likewise.
2670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2671         Likewise.
2672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2677         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2678         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2679         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2680         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2681         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2682         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2683         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2684         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2685         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2686         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2687
2688         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2689         that was previously under [RESET_PID].
2690         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2691         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2692         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2693
2694         * sysdeps/i386/nptl/Implies: New file.
2695         * sysdeps/x86_64/nptl/Implies: New file.
2696         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2697         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2698         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2699         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2700
2701         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2702         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2703         (__libc_vfork): New strong alias.
2704         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2705         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2706
2707         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2708         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2709         (__libc_vfork): New strong alias.
2710         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2711         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2712
2713         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2714         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2715         (__libc_vfork): New strong alias.
2716         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2717         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2718         * nptl/pt-vfork.c: New file.
2719         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2720         (libpthread: GLIBC_2.20): New version set (empty).
2721
2722 2014-05-14  Will Newton  <will.newton@linaro.org>
2723
2724         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2725         rather than #if.
2726
2727 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2728
2729         [BZ #16564]
2730         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2731         arguments with exponent 65 or above.
2732         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2733         arguments 0x1p113L or above.
2734         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2735         to arguments 0x1p107L or above.
2736         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2737         positive arguments with exponent 65 or above.
2738         * math/auto-libm-test-in: Add more tests of log1p.
2739         * math/auto-libm-test-out: Regenerated.
2740
2741         [BZ #16928]
2742         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2743         non-finite arguments is +0.
2744         * math/s_cacosf.c (__cacosf): Likewise.
2745         * math/s_cacosl.c (__cacosl): Likewise.
2746         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2747         * sysdeps/i386/fpu/libm-test-ulps: Update.
2748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749
2750         [BZ #16927]
2751         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2752         value.
2753         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2754         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2755         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2756         for explicit high bit of mantissa when testing for argument equal
2757         to 1.
2758         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2759         * sysdeps/i386/fpu/libm-test-ulps: Update.
2760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2761
2762         [BZ #16516]
2763         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2764         (__erf): Scale by 16 instead of 8 in potentially underflowing
2765         case.  Ensure exception if result actually underflows.
2766         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2767         (__erff): Scale by 16 instead of 8 in potentially underflowing
2768         case.  Ensure exception if result actually underflows.
2769         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2770         (efx8): Remove variable.
2771         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2772         case.  Ensure exception if result actually underflows.
2773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2774         (efx8): Remove variable.
2775         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2776         case.  Ensure exception if result actually underflows.
2777         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2778         (efx8): Remove variable.
2779         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2780         case.  Ensure exception if result actually underflows.
2781         * math/auto-libm-test-in: Add more tests of erf.
2782         * math/auto-libm-test-out: Regenerated.
2783
2784 2014-05-14  Andreas Schwab  <schwab@suse.de>
2785
2786         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2787         Remove code conditionalized on USE___THREAD.
2788
2789         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2790         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2791         not definedness.
2792
2793 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2794
2795         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2796         Define unconditionally.
2797         (__ASSUME_O_CLOEXEC): Likewise.
2798         (__ASSUME_SOCK_CLOEXEC): Likewise.
2799         (__ASSUME_IN_NONBLOCK): Likewise.
2800         (__ASSUME_PIPE2): Likewise.
2801         (__ASSUME_EVENTFD2): Likewise.
2802         (__ASSUME_SIGNALFD4): Likewise.
2803         (__ASSUME_DUP3): Likewise.
2804         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2805         (__ASSUME_DUP3): Do not define.
2806         (__ASSUME_EVENTFD2): Likewise.
2807         (__ASSUME_IN_NONBLOCK): Likewise.
2808         (__ASSUME_O_CLOEXEC): Likewise.
2809         (__ASSUME_PIPE2): Likewise.
2810         (__ASSUME_SIGNALFD4): Likewise.
2811         (__ASSUME_SOCK_CLOEXEC): Likewise.
2812         (__ASSUME_UTIMES): Undefine.
2813         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2814         (__ASSUME_UTIMES): Do not define.
2815         (__ASSUME_O_CLOEXEC): Likewise.
2816         (__ASSUME_SOCK_CLOEXEC): Likewise.
2817         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2818         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2819         0x020621].
2820         (__ASSUME_PIPE2): Likewise.
2821         (__ASSUME_EVENTFD2): Likewise.
2822         (__ASSUME_SIGNALFD4): Likewise.
2823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2824         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2825         Do not define.
2826         (__ASSUME_EVENTFD2): Likewise.
2827         (__ASSUME_SIGNALFD4): Likewise.
2828         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2829         (__ASSUME_32BITUIDS): Likewise.
2830         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2831         (__ASSUME_IPC64): Likewise.
2832         (__ASSUME_ST_INO_64_BIT): Likewise.
2833         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2834         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2835         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2836         (__ASSUME_UTIMES): Do not define.
2837         (__ASSUME_PSELECT): Likewise.
2838         (__ASSUME_PPOLL): Likewise.
2839         (__ASSUME_O_CLOEXEC): Likewise.
2840         (__ASSUME_SOCK_CLOEXEC): Likewise.
2841         (__ASSUME_IN_NONBLOCK): Likewise.
2842         (__ASSUME_PIPE2): Likewise.
2843         (__ASSUME_EVENTFD2): Likewise.
2844         (__ASSUME_SIGNALFD4): Likewise.
2845         (__ASSUME_DUP3): Likewise.
2846         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2847         (__ASSUME_UTIMES): Likewise.
2848         (__ASSUME_O_CLOEXEC): Likewise.
2849         (__ASSUME_SOCK_CLOEXEC): Likewise.
2850         (__ASSUME_IN_NONBLOCK): Likewise.
2851         (__ASSUME_PIPE2): Likewise.
2852         (__ASSUME_EVENTFD2): Likewise.
2853         (__ASSUME_SIGNALFD4): Likewise.
2854         (__ASSUME_DUP3): Likewise.
2855         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2856         (__ASSUME_UTIMES): Likewise.
2857         (__ASSUME_O_CLOEXEC): Likewise.
2858         (__ASSUME_SOCK_CLOEXEC): Likewise.
2859         (__ASSUME_IN_NONBLOCK): Likewise.
2860         (__ASSUME_PIPE2): Likewise.
2861         (__ASSUME_EVENTFD2): Likewise.
2862         (__ASSUME_SIGNALFD4): Likewise.
2863         (__ASSUME_DUP3): Likewise.
2864         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2865         Likewise.
2866         (__ASSUME_UTIMES): Likewise.
2867         (__ASSUME_EVENTFD2): Likewise.
2868         (__ASSUME_SIGNALFD4): Likewise.
2869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2870         (__ASSUME_O_CLOEXEC): Likewise.
2871         (__ASSUME_SOCK_CLOEXEC): Likewise.
2872         (__ASSUME_IN_NONBLOCK): Likewise.
2873         (__ASSUME_PIPE2): Likewise.
2874         (__ASSUME_EVENTFD2): Likewise.
2875         (__ASSUME_SIGNALFD4): Likewise.
2876         (__ASSUME_DUP3): Likewise.
2877         (__ASSUME_UTIMES): Undefine.
2878
2879         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2880         feclearexcept.  Remove symbol versioning code.
2881         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2882         symbol versioning code.
2883         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2884         symbol versioning code.
2885         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2886         feupdateenv.  Remove symbol versioning code.
2887         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2888         fegetexceptflag.  Remove symbol versioning code.
2889         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2890         fesetexceptflag.  Remove symbol versioning code.
2891         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2892         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2893         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2894         (__posix_fadvise64_l32): Remove prototype.
2895         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2896         code.
2897
2898 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2899
2900         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2901         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2902         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2903         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2904
2905 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2906
2907         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2908         current working directory
2909
2910 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2911
2912         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2913         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2914         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2915         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2916         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2917         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2918         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2919         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2921         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2922         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2923         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2925         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2927         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2945         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2946         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2947         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2948         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2949         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2950         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2951         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2952         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2953         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2954
2955         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2956         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2957
2958         * sysdeps/unix/sysv/linux/arm/Makefile
2959         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2960         Add rt-aeabi_unwind_cpp_pr1.
2961         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2962         Add nptl-aeabi_unwind_cpp_pr1.
2963         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2964         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2965         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2966         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2967         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2968         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2969
2970         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2971         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2972         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2973         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2974
2975         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2976         Deconditionalize the code that was previously under [RESET_PID].
2977         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2978
2979         * sysdeps/generic/exit-thread.h: New file.
2980         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2981         * include/unistd.h (__exit_thread): Remove declaration.
2982         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2983         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2984         * csu/libc-start.c: Include <exit-thread.h>.
2985         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2986         * nptl/pthread_create.c: Include <exit-thread.h>.
2987         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2988         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2989         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2990         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2991         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2992         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2993         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2994         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2995         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2996         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2997         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2998         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2999         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3000         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3001         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3002         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3003         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3004
3005 2014-05-13  Andreas Schwab  <schwab@suse.de>
3006
3007         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3008
3009 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3010
3011         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3012         (__ASSUME_UTIMES): Do not condition on kernel version.
3013         (__ASSUME_PSELECT): Define unconditionally.
3014         (__ASSUME_PPOLL): Likewise.
3015         (__ASSUME_ATFCTS): Likewise.
3016         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3017         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3018         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3019         (__ASSUME_UTIMENSAT): Define unconditionally.
3020         (__ASSUME_PRIVATE_FUTEX): Likewise.
3021         (__ASSUME_FALLOCATE): Likewise.
3022         (__ASSUME_O_CLOEXEC): Likewise.
3023         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3024         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3025         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3026         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3027         (__ASSUME_IN_NONBLOCK): Likewise.
3028         (__ASSUME_PIPE2): Likewise.
3029         (__ASSUME_EVENTFD2): Likewise.
3030         (__ASSUME_SIGNALFD4): Likewise.
3031         (__ASSUME_DUP3): Likewise.
3032         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3033         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3034         (__ASSUME_AT_RANDOM): Likewise.
3035         (__ASSUME_PREADV): Likewise.
3036         (__ASSUME_PWRITEV): Likewise.
3037         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3038         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3039         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3040         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3041         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3042         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3043         (__ASSUME_O_CLOEXEC): Define unconditionally.
3044         (__ASSUME_PSELECT): Do not undefine conditionally.
3045         (__ASSUME_PPOLL): Likewise.
3046         (__ASSUME_ATFCTS): Likewise.
3047         (__ASSUME_SET_ROBUST_LIST): Likewise.
3048         (__ASSUME_UTIMENSAT): Likewise.
3049         (__ASSUME_FDATASYNC): Define unconditionally.
3050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3051         (__ASSUME_SIGFRAME_V2): Likewise.
3052         )__ASSUME_EVENTFD2): Likewise.
3053         (__ASSUME_SIGNALFD4): Likewise.
3054         (__ASSUME_PSELECT): Do not undefine conditionally.
3055         (__ASSUME_PPOLL): Likewise.
3056         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3057         (__ASSUME_PSELECT): Define unconditionally.
3058         (__ASSUME_PPOLL): Likewise.
3059         (__ASSUME_O_CLOEXEC): Likewise.
3060         (__ASSUME_SOCK_CLOEXEC): Likewise.
3061         (__ASSUME_IN_NONBLOCK): Likewise.
3062         (__ASSUME_PIPE2): Likewise.
3063         (__ASSUME_EVENTFD2): Likewise.
3064         (__ASSUME_SIGNALFD4): Likewise.
3065         (__ASSUME_DUP3): Likewise.
3066         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3067         (__ASSUME_O_CLOEXEC): Likewise.
3068         (__ASSUME_SOCK_CLOEXEC): Likewise.
3069         (__ASSUME_IN_NONBLOCK): Likewise.
3070         (__ASSUME_PIPE2): Likewise.
3071         (__ASSUME_EVENTFD2): Likewise.
3072         (__ASSUME_SIGNALFD4): Likewise.
3073         (__ASSUME_DUP3): Likewise.
3074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3075         (__ASSUME_EVENTFD2): Likewise.
3076         (__ASSUME_SIGNALFD4): Likewise.
3077         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3078
3079 2014-05-12  Andreas Schwab  <schwab@suse.de>
3080
3081         [BZ #16932]
3082         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3083         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3084         than maximum RPC packet size.
3085         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3086         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3087         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3088         (_nss_nis_getservbyport_r): Likewise.
3089
3090 2014-05-12  Will Newton  <will.newton@linaro.org>
3091
3092         * malloc/Makefile (tests): Add tst-mallopt.
3093         * malloc/tst-mallopt.c: New file.
3094
3095 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3096
3097         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3098         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3099
3100 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3101
3102         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3103         (tst-tlsmod6.so): Likewise.
3104
3105 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3106
3107         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3108
3109 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3110
3111         [BZ #16064]
3112         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3113         and <dl-procinfo.h>.
3114         (__fegetenv): Save SSE state in envp->__eip if supported.
3115         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3116         envp->__eip if supported.
3117         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3118         and <dl-procinfo.h>.
3119         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3120         __data_offset and __data_selector in environment to 0.  Set SSE
3121         state if supported.
3122         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3123         test-fenv-sse.
3124         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3125         -mfpmath=sse.
3126         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3127
3128 2014-05-09  Will Newton  <will.newton@linaro.org>
3129
3130         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3131         and libc_relro_required for ARM.
3132         * sysdeps/arm/preconfigure: Regenerate.
3133
3134 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3135             Stefan Liebler  <stli@linux.vnet.ibm.com>
3136
3137         * config.make.in (enable-lock-elision): New Makefile variable.
3138         * configure.ac: Likewise.
3139         * configure: Regenerate.
3140         * sysdeps/s390/configure.ac:
3141         Add check for gcc transactions support.
3142         * sysdeps/s390/configure: Regenerate.
3143         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3144         Build elision files if enabled.
3145         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3146         Add lock elision support for s390.
3147         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3148         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3149         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3150         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3151         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3152         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3153         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3154         Likewise.
3155         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3156         Likewise.
3157         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3158         Likewise.
3159         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3160         Likewise.
3161         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3162         (__lll_timedlock_elision, __lll_lock_elision)
3163         (__lll_unlock_elision, __lll_trylock_elision)
3164         (lll_timedlock_elision, lll_lock_elision)
3165         (lll_unlock_elision, lll_trylock_elision): Add.
3166         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3167         (pthread_mutex_t): Add lock elision support for s390.
3168
3169 2014-05-14  Wilco  <wdijkstr@arm.com>
3170
3171         * sysdeps/arm/fclrexcpt.c: Cleanup.
3172         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3173         * sysdeps/arm/feenablxcpt.c: Cleanup.
3174         * sysdeps/arm/fegetenv.c: Cleanup.
3175         * sysdeps/arm/fegetexcept.c: Cleanup.
3176         * sysdeps/arm/fegetround.c: Cleanup.
3177         * sysdeps/arm/feholdexcpt.c: Cleanup.
3178         * sysdeps/arm/fesetenv.c: Cleanup.
3179         * sysdeps/arm/fesetround.c: Cleanup.
3180         * sysdeps/arm/feupdateenv.c: Cleanup.
3181         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3182         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3183         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3184         * sysdeps/arm/ftestexcept.c: Cleanup.
3185         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3186         * sysdeps/arm/setfpucw.c: Cleanup.
3187
3188 2014-05-09  Will Newton  <will.newton@linaro.org>
3189
3190         * sysdeps/arm/armv7/strcmp.S: New file.
3191         * NEWS: Mention addition of ARMv7 optimized strcmp.
3192
3193 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3194
3195         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3196         look for %.ac rather than %.in.
3197
3198         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3199         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3200         * sysdeps/mach/hurd/configure: Regenerated.
3201         * sysdeps/unix/sysv/linux/configure: Regenerated.
3202
3203         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3204
3205 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3206
3207         [BZ# 16922]
3208         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3209         (LONG_SUB): Ditto.
3210         (PTR_SUB): Ditto.
3211
3212 2014-05-07  Andreas Schwab  <schwab@suse.de>
3213
3214         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3215         when skipping over non-matching result from nscd.
3216
3217 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3218
3219         [BZ #16876]
3220         * nptl/sockperf.c (client): Check socket return value.
3221
3222         [BZ #16877]
3223         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3224         nscd security class.
3225
3226 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3227
3228         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3229         * sysdeps/arm/unwind.h: ... here.
3230
3231 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3232
3233         [BZ# 16916]
3234         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3235         Define.
3236
3237 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3238
3239         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3240         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3241         multiarch strncpy for PPC64.
3242         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3243         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3245         multiarch optimizations.
3246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3247         (__libc_ifunc_impl_list): Likewise.
3248         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3249         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3250         multiarch stpncpy for PPC64.
3251         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3252         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3253
3254 2014-05-06  Andreas Schwab  <schwab@suse.de>
3255
3256         [BZ #16912]
3257         * gmon/mcount.c (_MCOUNT_DECL): Use
3258         atomic_compare_and_exchange_bool_acq instead of
3259         catomic_compare_and_exchange_bool_acq.
3260
3261 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3262
3263         * elf/Makefile (others, install-bin): Remove pldd.
3264         (pldd-modules): Variable removed.
3265         ($(objpfx)pldd): Target removed.
3266         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3267         (others, install-bin): Append pldd here.
3268         ($(objpfx)pldd): New target.
3269
3270         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3271         to 0, so the first #if test emitted later doesn't see it undefined.
3272         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3273         * sysdeps/gnu/errlist.c: Regenerated.
3274
3275 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3276
3277         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3278         [libc_hidden_builtin_def]: Define to empty value.
3279         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3280         [libc_hidden_builtin_def]: Likewise.
3281         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3282         [libc_hidden_builtin_def]: Likewise.
3283         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3284         [libc_hidden_builtin_def]: Likewise.
3285         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3286         __redirect_memcpy and define ifunc as default hidden symbol.
3287         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3288         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3289
3290 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3291
3292         * locale/iso-4217.def: Reintroduce XDR currency.
3293
3294 2014-05-04  Allan McRae  <allan@archlinux.org>
3295
3296         * po/eo.po: Update Esperanto translation from translation project.
3297
3298 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3299
3300         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3301         and FEATURE_INDEX_MAX to 1.
3302         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3303
3304 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3305
3306         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3307         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3308         * iconvdata/big5.c (ONE_DIRECTION): Define.
3309         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3310         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3311         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3312         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3313         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3314         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3315         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3316         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3317         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3318         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3319         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3320         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3321         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3322         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3323         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3324         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3325         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3326         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3327         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3328         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3329         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3330         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3331         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3332         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3333         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3334         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3335         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3336         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3337         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3338         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3339         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3340         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3341         * iconvdata/johab.c (ONE_DIRECTION): Define.
3342         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3343         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3344         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3345         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3346         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3347         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3348         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3349         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3350         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3351         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3352
3353 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3354
3355         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3356         (_IO_JUMPS_OFFSET): Define to 0.
3357
3358         * nptl/sysdeps/pthread/bits/libc-lock.h
3359         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3360         (__libc_lock_define_initialized_recursive): Always define using
3361         initializer.  Modern compilers treat uninitialized (implicit zero) and
3362         explicit zero initializers the same (i.e. put the datum in bss).
3363
3364 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3365
3366         * nscd/nscd-client.h: Include <string.h>.
3367
3368 2014-05-01  David S. Miller  <davem@davemloft.net>
3369
3370         [BZ #16885]
3371         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3372         multiple zero bytes exist at the end of a string.
3373         Reported by Aurelien Jarno <aurelien@aurel32.net>
3374
3375         * string/test-strcmp.c (check): Add explicit test for situations where
3376         there are multiple zero bytes after the first.
3377
3378 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3379
3380         [BZ #16890]
3381         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3382         when compiling wprintf.
3383         * stdio-common/tstdiomisc.c (t3): New function.
3384         (main): Call it.
3385
3386 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3387
3388         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3389         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3390         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3391         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3392
3393 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3394
3395         * stdlib/longlong.h: Updated from GCC.
3396
3397 2014-05-01  Will Newton  <will.newton@linaro.org>
3398             Bernard Ogden  <bernie.ogden@linaro.org>
3399
3400         * NEWS: Update fixed bug list.
3401
3402         [BZ #15119]
3403         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3404
3405 2014-04-30  David S. Miller  <davem@davemloft.net>
3406
3407         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3408         (libc_feholdexcept_setround_sparc_ctx): New function.
3409         (libc_fesetenv_sparc_ctx): Likewise.
3410         (libc_feupdateenv_sparc_ctx): Likewise.
3411         (libc_feholdsetround_sparc_ctx): Likewise.
3412         (libc_feholdexcept_setround_ctx): Define.
3413         (libc_feholdexcept_setroundf_ctx): Likewise.
3414         (libc_feholdexcept_setroundl_ctx): Likewise.
3415         (libc_fesetenv_ctx): Likewise.
3416         (libc_fesetenvf_ctx): Likewise.
3417         (libc_fesetenvl_ctx): Likewise.
3418         (libc_feupdateenv_ctx): Likewise.
3419         (libc_feupdateenvf_ctx): Likewise.
3420         (libc_feupdateenvl_ctx): Likewise.
3421         (libc_feresetround_ctx): Likewise.
3422         (libc_feresetroundf_ctx): Likewise.
3423         (libc_feresetroundl_ctx): Likewise.
3424         (libc_feholdsetround_ctx): Likewise.
3425         (libc_feholdsetroundf_ctx): Likewise.
3426         (libc_feholdsetroundl_ctx): Likewise.
3427
3428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3429         with __USE_GNU instead of XOPEN cpp guards.
3430
3431         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3432         0.
3433
3434         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3435         with XOPEN cpp guards.
3436
3437 2014-04-30  Julian Brown  <julian@codesourcery.com>
3438
3439         [BZ #16888]
3440         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3441         handling.
3442
3443 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3444
3445         [BZ #9894]
3446         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3447         Change to 2.6.32.
3448         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3449         * sysdeps/unix/sysv/linux/configure: Regenerated.
3450         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3451         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3452         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3453         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3454         * README: Update reference to required Linux kernel version.
3455         * manual/install.texi (Linux): Update reference to required Linux
3456         kernel headers version.
3457         * INSTALL: Regenerated.
3458
3459         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3460         header inclusion.
3461         [POSIX] (limits.h): Likewise.
3462         [POSIX] (math.h): Likewise.
3463         [POSIX] (sys/wait.h): Likewise.
3464         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3465         function.
3466         [POSIX] (stddef.h): Do not allow header inclusion.
3467
3468 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3469
3470         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3471
3472 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3473
3474         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3475         Return immediately after lll_futex_wake.
3476
3477 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3478
3479         [BZ #16791]
3480         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3481         structure.
3482         (datahead_init_pos): Call datahead_init_common early.
3483         (datahead_init_neg): Likewise.
3484
3485         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3486         datahead_init_neg): New functions.
3487         * nscd/aicache.c (addhstaiX): Use them.
3488         * nscd/grpcache.c (cache_addgr): Likewise.
3489         * nscd/hstcache.c (cache_addhst): Likewise.
3490         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3491         * nscd/netgroupcache.c (do_notfound): Likewise.
3492         (addgetnetgrentX): Likewise.
3493         (addinnetgrX): Likewise.
3494         * nscd/pwdcache.c (cache_addpw): Likewise.
3495         * nscd/servicescache.c (cache_addserv): Likewise.
3496
3497 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3498             Atsushi Onoe  <atsushi@onoe.org>
3499
3500         [BZ #14308]
3501         [BZ #12994]
3502         [BZ #13651]
3503         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3504         one response is valid.
3505         * resolv/res_send.c (send_dg): Check for validity of other
3506         response if the current response is a referral.
3507
3508 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3509
3510         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3511
3512 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3513
3514         [BZ #16823]
3515         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3516         Always divide by positive zero when computing -Inf result.
3517         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3518         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3519
3520 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3521
3522         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3523         FPSCR if value do not change.
3524         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3525         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3526         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3527         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3528         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3529         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3530         function.
3531
3532 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3533
3534         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3535         * sysdeps/unix/sysv/linux/hppa: Move directory from
3536         ports/systeps/unix/sysv/linux/hppa.
3537         * README: Update listing for hppa-*-linux-gnu.
3538
3539 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3540
3541         [BZ #16754]
3542         * manual/stdio.texi (Hook functions): Fix types of stream hook
3543         functions.
3544         [BZ #16854]
3545         * socket/sys/socket.h: Fix typo in comment.
3546
3547 2014-04-28  Wilco  <wdijkstr@arm.com>
3548
3549         * sysdeps/arm/fenv_private.h: New file.
3550         * sysdeps/arm/math_private.h: New file.
3551         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3552
3553 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3554
3555         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3556         with __int128_t.
3557         (La_x86_64_retval): Likewise.
3558
3559 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3560
3561         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3562         fpsr if value didn't change.
3563         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3564         to fpcr if value didn't change.
3565         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3566         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3567         fpsr or fpcr if value didn't change.
3568         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3569         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3570         fpcr if value didn't change.
3571         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3572         to fpsr if value didn't change.
3573
3574 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3575
3576         * nptl/tst-sem3.c: Use test-skeleton.c
3577         (main): Rename to do_test.  Use return instead of
3578         exit.
3579         * nptl/tst-sem4.c: Use test-skeleton.c
3580         (main): Rename to do_test.
3581
3582 2014-04-22  David S. Miller  <davem@davemloft.net>
3583
3584         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3585         (struct sigaction): New struct member __glibc_reserved0, change
3586         type of sa_flags to int.
3587
3588 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3589
3590         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3591         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3592
3593 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3594
3595         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3596         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3597
3598 2014-04-22  Will Newton  <will.newton@linaro.org>
3599             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3600
3601         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3602         (__longjmp): Add longjmp and longjmp_target SystemTap
3603         probes.
3604         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3605         (__sigsetjmp): Add setjmp SystemTap probe.
3606
3607 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3608
3609         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3610         match manual order.
3611
3612 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3613
3614         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3615
3616         * sysdeps/powerpc/fpu/fenv_private.h
3617         (libc_feholdexcept_setroundl_ctx): Define to
3618         libc_feholdexcept_setround_ppc_ctx.
3619         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3620         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3621         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3622         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3623
3624 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3625
3626         * sysdeps/aarch64/math-tests.h: New file.
3627
3628 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3629
3630         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3631         New.
3632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3633         Check and set bit_AVX2_Usable.
3634         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3635         macro.
3636         (bit_AVX2): Likewise.
3637         (index_AVX2_Usable): Likewise.
3638         (CPUID_AVX2): Likewise.
3639         (HAS_AVX2): Likewise.
3640
3641 2014-04-17  Will Newton  <will.newton@linaro.org>
3642
3643         * manual/setjmp.texi (System V contexts): Add note that
3644         calling setcontext on a context created by a call to a
3645         signal handler is undefined.  Update text to note that
3646         setcontext from a signal handler is possible but not
3647         recommended.
3648
3649         [BZ #16629]
3650         * stdlib/tst-setcontext.c: Include signal.h.
3651         (main): Check that the signal stack before and
3652         after swapcontext is the same.
3653
3654         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3655         Re-implement to restore registers in user code and avoid
3656         rt_sigreturn system call.
3657
3658 2014-04-17  Wilco  <wdijkstr@arm.com>
3659
3660         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3661         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3662         * math/test-fenv.c: Skip exception trap tests on targets which only
3663         support non-stop mode.
3664
3665 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3666             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3667
3668         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3669         (libc_feholdsetround_aarch64_ctx)
3670         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3671         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3672         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3673         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3674         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3675         (libc_feresetround_noexl_ctx): Define.
3676
3677 2014-04-16  Richard Henderson  <rth@redhat.com>
3678
3679         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3680
3681         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3682         unwind tables.
3683
3684         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3685         const from the non-libc, non-ldso copy.
3686
3687         * sysdeps/alpha/libm-test-ulps: Regenerate.
3688
3689 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3690             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3691
3692         * sysdeps/aarch64/fpu/math_private.h: New file.
3693
3694 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3695
3696         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3697
3698 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3699
3700         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3701         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3703         Intel MPX bound registers before _dl_profile_fixup.
3704         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3705         registers after _dl_profile_fixup.  Save and restore bound
3706         registers bnd0/bnd1 when calling _dl_call_pltexit.
3707         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3708         (LR_BND_OFFSET): Likewise.
3709         (LRV_BND0_OFFSET): Likewise.
3710         (LRV_BND1_OFFSET): Likewise.
3711
3712 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3713
3714         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3715         to...
3716         * sysdeps/mach/hurd/i386/tls.h: ... here.
3717         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3718         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3719         fields.
3720
3721 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3722
3723         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3724
3725 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3726
3727         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3728
3729 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3730
3731         [BZ #14770]
3732         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3733         * sysdeps/s390/configure: Regenerate.
3734
3735         [BZ #16824]
3736         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3737         Set round-to-nearest internally to reduce error accumulation.
3738
3739 2014-04-16  Alan Modra  <amodra@gmail.com>
3740
3741         [BZ #16740]
3742         [BZ #16619]
3743         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3744         * math/libm-test.inc (frexp_test_data): Add tests.
3745         * NEWS: Update fixed bug list.
3746
3747 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3748
3749         * benchtests/Makefile: Depend on libraries in build directory.
3750         (bench-math): Separate out math tests.
3751         (bench-pthread): Separate out pthread tests.
3752         (bench): Include math and pthread tests.
3753
3754 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3755
3756         [BZ #16831]
3757         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3758         _dl_debug_initialize.
3759
3760         * configure.ac: Remove SELinux header check.
3761         * configure: Regenerate.
3762         * nscd/selinux.c (perms): Array of const char* to permission names.
3763         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3764         default policy. Call string_to_security_class and string_to_av_perm to
3765         translate strings. Enforce default policy and call avs_has_perm with
3766         results of translated strings.
3767
3768 2014-04-13  David S. Miller  <davem@davemloft.net>
3769
3770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3771
3772 2014-04-12  Allan McRae  <allan@archlinux.org>
3773
3774         [BZ #16838]
3775         * manual/string.texi (Collation Functions): Fix qsort argument
3776         order in example.
3777         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3778
3779 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3780
3781         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3782         Make the test a no-op if there are no exceptions defined.
3783
3784 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3785
3786         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3787         enable-hardcoded-path-in-tests
3788
3789 2014-04-11  Will Newton  <will.newton@linaro.org>
3790
3791         * benchtests/Makefile (extra-objs): Add json-lib.o.
3792         (bench-func): Tidy up JSON output.
3793         * benchtests/bench-skeleton.c: Include json-lib.h.
3794         (main): Use JSON library functions to do output of
3795         benchmark results.
3796         * benchtests/bench-timing-type.c (main): Output the
3797         timing type simply, leaving formatting to the user.
3798         * benchtests/json-lib.c: New file.
3799         * benchtests/json-lib.h: Likewise.
3800
3801 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3802
3803         [BZ #15215]
3804         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3805         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3806         memory barriers.  Add comments.
3807         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3808         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3809         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3810         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3811         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3812         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3813
3814 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3815
3816         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3817         * sysdeps/s390/s390-64/configure.ac: ... this ...
3818         * sysdeps/s390/configure.ac: ... to here.
3819         * sysdeps/s390/s390-32/configure: Delete file.
3820         * sysdeps/s390/s390-64/configure: Delete file.
3821         * sysdeps/s390/configure: Regenerate.
3822
3823 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3824
3825         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3826
3827 2014-04-11  Will Newton  <will.newton@linaro.org>
3828
3829         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3830         to zero if it is not defined elsewhere.  (mtrim): Test
3831         the value of MALLOC_DEBUG with #if rather than #ifdef.
3832
3833 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3834
3835         * benchtests/pthread_once-inputs: New file.
3836         * benchtests/pthread_once-source.c: New file.
3837         * benchtests/README: Update documentation.
3838
3839 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3840             H.J. Lu  <hongjiu.lu@intel.com>
3841
3842         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3843         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3844         * sysdeps/x86_64/configure: Regenerated.
3845         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3846         macro.
3847         (REGISTER_SAVE_RAX): Likewise.
3848         (REGISTER_SAVE_RCX): Likewise.
3849         (REGISTER_SAVE_RDX): Likewise.
3850         (REGISTER_SAVE_RSI): Likewise.
3851         (REGISTER_SAVE_RDI): Likewise.
3852         (REGISTER_SAVE_R8): Likewise.
3853         (REGISTER_SAVE_R9): Likewise.
3854         (REGISTER_SAVE_BND0): Likewise.
3855         (REGISTER_SAVE_BND1): Likewise.
3856         (REGISTER_SAVE_BND2): Likewise.
3857         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3858         bound registers when calling _dl_fixup.
3859
3860 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3861
3862         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3863         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3864         of its definition.
3865         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3866         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3867         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3868         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3869         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3870         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3871         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3872
3873 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3874
3875         [BZ #15514]
3876         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3877         pathconf(_PC_NAME_MAX).
3878
3879 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3880
3881         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3882         Remove macro usage.
3883         (__PTHREAD_SPINS): Move definition to ...
3884         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3885         (__PTHREAD_SPINS): ... here.
3886         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3887         (__PTHREAD_SPIN): Likewise.
3888         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3889         (__PTHREAD_SPIN): Likewise.
3890         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3891         (__PTHREAD_SPIN): Likewise.
3892         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3893         (__PTHREAD_SPIN): Likewise.
3894         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3895         (__PTHREAD_SPIN): Likewise.
3896         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3897         (__PTHREAD_SPIN): Likewise.
3898         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3899         (__PTHREAD_SPIN): Likewise.
3900         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3901         (__PTHREAD_SPIN): Likewise.
3902         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3903         (__PTHREAD_SPIN): Likewise.
3904         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3905         (__PTHREAD_SPIN): Likewise.
3906         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3907         (__PTHREAD_SPIN): Likewise.
3908         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3909         (__PTHREAD_SPIN): Likewise.
3910
3911         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3912         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3913         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3914         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3915         imply folder.
3916         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3917         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3918         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3919         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3920         correct imply path.
3921         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3922         strlen symbol for non multi-arch builds.
3923         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3924         missing hidden_def and weak_alias.
3925
3926 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3927
3928         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3929
3930 2014-04-07  Will Newton  <will.newton@linaro.org>
3931
3932         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3933         and contents.  [!_LIBC] Remove #ifndef and contents.
3934         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3935         * string/memccpy.c (__memccpy): Use ANSI prototype.
3936         * string/memfrob.c (memfrob): Likewise.
3937         * string/strcoll.c (STRCOLL): Likewise.
3938         * string/strlen.c (strlen): Likewise.
3939         * string/strtok.c (STRTOK): Likewise.
3940         * string/strcat.c: Remove unused #include of memcopy.h.
3941         (strcat): Use ANSI prototype.
3942         * string/strchr.c: Remove unused #include of memcopy.h.
3943         (strchr): Use ANSI prototype.
3944         * string/strcmp.c: Remove unused #include of memcopy.h.
3945         (strcmp): Use ANSI prototype.
3946         * string/strcpy.c: Remove unused #include of memcopy.h.
3947         (strcpy): Use ANSI prototype.
3948
3949 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3950
3951         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3952         * config.make.in (config-extra-cppflags): Set it from
3953         libc_extra_cppflags.
3954         * configure.ac (libc_extra_cflags): Make it accumulate over
3955         configure fragments.
3956         (libc_extra_cppflags): New flag.
3957         * configure. Regenerate.
3958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3959         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3960         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3962
3963         [BZ #16815]
3964         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3965         result for FE_DOWNWARD rounding mode.
3966         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3967         Likewise.
3968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3969
3970 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3971
3972         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3973         in function argument name.
3974
3975 2014-04-03  David Svoboda  <svoboda@cert.org>
3976
3977         [BZ #5666]
3978         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3979         explicitly.
3980
3981 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3982
3983         * elf/dl-unmap-segments.h: New file.
3984         * sysdeps/generic/ldsodefs.h
3985         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3986         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3987         * elf/dl-fptr.c: Likewise.
3988         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3989         * sysdeps/aarch64/tlsdesc.c: Likewise.
3990         * sysdeps/arm/tlsdesc.c: Likewise.
3991         * sysdeps/i386/tlsdesc.c: Likewise.
3992         * sysdeps/tile/dl-runtime.c: Likewise.
3993         * sysdeps/x86_64/tlsdesc.c: Likewise.
3994         * elf/dl-load.h: New file.
3995         * elf/dl-load.c: Include it.
3996         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3997         Macros moved to dl-load.h.
3998         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3999         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4000         Use _dl_unmap_segments in place of __munmap.
4001         Break out segment-mapping loop into ...
4002         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4003
4004 2014-04-03  Will Newton  <will.newton@linaro.org>
4005
4006         * elf/dl-lookup.c (do_lookup_x): Remove comment
4007         referring to nested function and move variable
4008         declarations down to before first use.
4009
4010 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4011
4012         [BZ #16799]
4013         [BZ #16800]
4014         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4015         with 0 numerator.
4016         * math/s_catanf.c (__catanf): Likewise.
4017         * math/s_catanh.c (__catanh): Likewise.
4018         * math/s_catanhf.c (__catanhf): Likewise.
4019         * math/s_catanhl.c (__catanhl): Likewise.
4020         * math/s_catanl.c (__catanl): Likewise.
4021         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4022         by positive zero when computing -Inf result.
4023         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4024         (catanh_test): Likewise.
4025         * sysdeps/i386/fpu/libm-test-ulps: Update.
4026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4027
4028         [BZ #16789]
4029         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4030         instead of using underflowing value in computing result.
4031         * math/s_clog10.c (__clog10): Likewise.
4032         * math/s_clog10f.c (__clog10f): Likewise.
4033         * math/s_clog10l.c (__clog10l): Likewise.
4034         * math/s_clogf.c (__clogf): Likewise.
4035         * math/s_clogl.c (__clogl): Likewise.
4036         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4037         (clog10_test): Likewise.
4038         * sysdeps/i386/fpu/libm-test-ulps: Update.
4039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4040
4041 2014-04-02  Alan Modra  <amodra@gmail.com>
4042
4043         [BZ #16739]
4044         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4045         output when value is near a power of two.  Use int64_t for lx and
4046         remove casts.  Use decimal rather than hex exponent constants.
4047         Don't use long double multiplication when double will suffice.
4048         * math/libm-test.inc (nextafter_test_data): Add tests.
4049         * NEWS: Add 16739 and 16786 to bug list.
4050
4051         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4052
4053         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4054
4055 2014-04-01  Will Newton  <will.newton@linaro.org>
4056
4057         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4058         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4059
4060 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4061
4062         [BZ #13347]
4063         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4064         * nptl/tst-setuid2.c: New file.
4065         * nptl/Makefile (xtests): Add tst-setuid2.
4066
4067 2014-04-01  Alan Modra  <amodra@gmail.com>
4068
4069         [BZ #16786]
4070         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4071
4072 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4073
4074         [BZ #6803]
4075         [BZ #6804]
4076         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4077         set errno as appropriate.
4078         * math/w_scalbf.c (__scalbf): Likewise.
4079         * math/w_scalbl.c (__scalbl): Likewise.
4080         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4081         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4082         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4083         Add more NaN tests.
4084
4085         [BZ #16349]
4086         * math/w_atan2.c: Include <errno.h>.
4087         (__atan2): Set errno for result underflowing to zero.
4088         * math/w_atan2f.c: Include <errno.h>.
4089         (__atan2f): Set errno for result underflowing to zero.
4090         * math/w_atan2l.c: Include <errno.h>.
4091         (__atan2l): Set errno for result underflowing to zero.
4092         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4093         tests.
4094         * math/auto-libm-test-out: Regenerated.
4095
4096 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4097
4098         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4099         Encode instruction correctly in little endian.
4100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4101         Likewise.
4102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4103         Likewise.
4104         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4105         Likewise.
4106         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4107         Likewise.
4108
4109 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4110
4111         [BZ #9894]
4112         * sysdeps/unix/sysv/linux/kernel-features.h
4113         [__sparc__ && !__arch64__ && !__sparc_v9__]
4114         (__ASSUME_SET_ROBUST_LIST): Do not define.
4115         [__sparc__ && !__arch64__ && !__sparc_v9__]
4116         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4117         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4120         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4121         (__ASSUME_REQUEUE_PI): Likewise.
4122         (__ASSUME_SET_ROBUST_LIST): Likewise.
4123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4124         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4125         Undefine.
4126         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4127         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4128         Likewise.
4129         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4130         Likewise.
4131         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4132         Likewise.
4133         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4134         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4135         Undefine.
4136         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4137         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4138         Likewise.
4139
4140         [BZ #16648]
4141         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4142         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4143         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4144
4145 2014-03-31  Will Newton  <will.newton@linaro.org>
4146
4147         * benchtests/Makefile (bench): Add ffs and ffsll to list
4148         of tests.
4149         * benchtests/ffs-inputs: New file.
4150         * benchtests/ffsll-inputs: Likewise.
4151
4152 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4153
4154         [BZ #16770]
4155         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4156         too large before casting to int.
4157         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4158         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4159         * math/libm-test.inc (scalb_test_data): Add more tests.
4160
4161 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4162
4163         * benchtests/Makefile (DETAILED_OPT): New make option.
4164         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4165         set.
4166         * benchtests/bench-skeleton.c: Include stdbool.h.
4167         (main): Store and print timings per input.
4168         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4169         member to each argument value.
4170         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4171         (_print_arg_data): Initialize per-input timing to 0.
4172
4173         * benchtests/Makefile (timing-type): New binary.
4174         (bench-clean): Also remove bench-timing-type.
4175         (bench): New target for timing-type.
4176         (bench-func): Print output in JSON format.
4177         * benchtests/bench-skeleton.c (main): Print output in JSON
4178         format.
4179         * benchtests/bench-timing-type.c: New file.
4180         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4181         (TIMING_PRINT_STATS): Remove.
4182         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4183         name separately.
4184
4185         * benchtests/bench-modf.c: Remove.
4186         * benchtests/modf-inputs: New inputs file.
4187
4188 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4189
4190         [BZ #16362]
4191         * math/s_clog10.c (M_PI_LOG10E): New macro.
4192         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4193         imaginary parts are 0.
4194         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4195         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4196         imaginary parts are 0.
4197         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4198         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4199         imaginary parts are 0.
4200         * math/libm-test.inc (clog10_test_data): Update expected results
4201         for when real and imaginary parts are 0.
4202
4203 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4204
4205         * elf/dl-load.c: Finish conversion of __builtin_expect into
4206         __glibc_{un}likely.
4207
4208 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4209
4210         [BZ #16348]
4211         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4212         1+x for argument with exponent below -67.
4213         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4214         Likewise.
4215         * math/auto-libm-test-in: Add more tests of exp.
4216         * math/auto-libm-test-out: Regenerated.
4217
4218 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4219
4220         [BZ #16759]
4221         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4222         (nscd_getnetgrent): Use it.
4223
4224         [BZ #16760]
4225         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4226         of stpcpy.
4227
4228 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4229
4230         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4231         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4232         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4233         (lll_robust_unlock): Remove out of line section. Use cfi
4234         intrinsics.
4235         (LLL_STUB_UNWIND_INFO*): Remove.
4236         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4237         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4238         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4239         (lll_robust_unlock): Remove out of line section. Use cfi
4240         intrinsics.
4241         (LLL_STUB_UNWIND_INFO*): Remove.
4242
4243 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4244
4245         [BZ #16758]
4246         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4247         blank values.
4248
4249 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4250
4251         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4252
4253 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4254
4255         [BZ #16198]
4256         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4257         fnstenv.
4258         * math/test-fenv-preserve.c: New file.
4259         * math/Makefile (tests): Add test-fenv-preserve.
4260
4261 2014-03-26  Will Newton <will.newton@linaro.org>
4262
4263         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4264
4265 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4266
4267         * scripts/versionlist.awk: Partition the version sets and emit all
4268         GLIBC_* (sorted) before all others (sorted).
4269
4270 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4271
4272         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4273         GLIBC_2.2.5 version.
4274
4275 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4276
4277         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4278         calls.
4279
4280         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4281         previous change.
4282
4283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4284
4285 2014-03-25  Andreas Schwab  <schwab@suse.de>
4286
4287         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4288         label to be used after in6ailist is initialized.
4289
4290 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4291
4292         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4293         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4294
4295 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4296
4297         [BZ #16357]
4298         [BZ #16599]
4299         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4300         min_plus_half.
4301         (fp_formats): Update initializers.
4302         (init_fp_formats): Initialize new field.
4303         (output_for_one_input_case): Allow underflow for results up to
4304         min_plus_half.
4305         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4306         * math/auto-libm-test-in: Don't mark some underflows from asin and
4307         atanh as spurious.
4308         * math/auto-libm-test-out: Regenerated.
4309         * sysdeps/i386/fpu/libm-test-ulps: Update.
4310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311
4312 2014-03-25  Andreas Schwab  <schwab@suse.de>
4313
4314         * libio/Makefile (tst-ftell-partial-wide-ENV)
4315         (tst-ftell-active-handler-ENV): Define.
4316
4317 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4318
4319         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4320
4321 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4322
4323         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4324
4325 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4326
4327         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4328         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4329         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4330
4331 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4332
4333         [BZ #16634]
4334         * elf/dl-load.c (open_verify): Add mode parameter.
4335         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4336         (open_path): Change from boolean 'secure' to complete flag 'mode'
4337         (_dl_map_object): Adjust.
4338         * elf/Makefile (tests): Add tst-dlopen-aout.
4339         * elf/tst-dlopen-aout.c: New test.
4340
4341 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4342
4343         [BZ #16714]
4344         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4345         (struct stat): Rename member pad0 to __glibc_reserved0.
4346
4347         [BZ #16712]
4348         * sysdeps/s390/s390-32/bits/wordsize.h
4349         (__WORDSIZE32_SIZE_ULONG): New define.
4350         * sysdeps/s390/s390-64/bits/wordsize.h
4351         (__WORDSIZE32_SIZE_ULONG): Likewise.
4352         * sysdeps/generic/stdint.h (SIZE_MAX):
4353         Define as UL if __WORDSIZE32_SIZE_ULONG.
4354
4355         [BZ #16713]
4356         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4357         (__glibc_reserved0): New variable.
4358         (sa_flags): Change type to int.
4359
4360         * posix/Makefile (before-compile): Use += before-compile instead
4361         of a :=.
4362
4363         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4364         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4365
4366 2014-03-20  Andreas Schwab  <schwab@suse.de>
4367
4368         [BZ #16743]
4369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4370         non-matching result from nscd.
4371
4372 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4373
4374         * scripts/bench.py: Moved to ...
4375         * benchtests/scripts/bench.py: ... here.
4376         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4377
4378 2014-03-24  Andreas Schwab  <schwab@suse.de>
4379
4380         [BZ #16002]
4381         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4382         alloca_account and account alloca use for struct in6ailist.
4383
4384 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4385
4386         [BZ #16284]
4387         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4388         rounding mode to recompute results that overflow to infinity or
4389         underflow to zero.
4390         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4391         bug 16284.
4392         * math/auto-libm-test-out: Regenerated.
4393         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4394         (ccosh_test): Likewise.
4395         (csin_test_data): Use plus_oflow.
4396         (csin_test): Use ALL_RM_TEST.
4397         (csinh_test_data): Use plus_oflow.
4398         (csinh_test): Use ALL_RM_TEST.
4399         * sysdeps/i386/fpu/libm-test-ulps: Update.
4400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4401
4402 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4403
4404         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4405         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4406         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4407
4408         [BZ #16731]
4409         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4410         when x - 1 is zero.
4411         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4412         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4413         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4415         argument is 1.
4416         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4417         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4418         zero.
4419         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4420         * sysdeps/i386/fpu/libm-test-ulps: Update.
4421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4422
4423 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4424
4425         * scripts/bench.pl: Remove file.
4426         * scripts/bench.py: New benchmark script.
4427         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4428         * benchtests/README: Mention python dependency.
4429         * scripts/pylintrc: New file.
4430         * scripts/pylint: New file.
4431
4432         * bits/mathdef.h: Use #ifdef instead of #if.
4433         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4434         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4435         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4436         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4437         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4438         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4439
4440 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4441             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4442
4443         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4445         and strpbrk-ppc64 objects.
4446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4447         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4448         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4449         multiarch strpbrk for POWER7.
4450         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4451         multiarch strpbrk for PPC64.
4452         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4453         ifunc selector.
4454         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4455         strpbrk for POWER7.
4456
4457 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4458
4459         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4460         (atan_test): Likewise.
4461         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4462         (atanh_test): Use ALL_RM_TEST.
4463         (atan2_test_data): Likewise.
4464         (cabs_test): Likewise.
4465         (cacosh_test): Likewise.
4466         (carg_test): Likewise.
4467         (casin_test): Likewise.
4468         (casinh_test): Likewise.
4469         (cbrt_test): Likewise.
4470         (csqrt_test): Likewise.
4471         (erf_test): Likewise.
4472         (erfc_test): Likewise.
4473         (pow10_test): Likewise.
4474         (exp2_test): Likewise.
4475         (hypot_test): Likewise.
4476         (j0_test): Likewise.
4477         (j1_test): Likewise.
4478         (lgamma_test): Likewise.
4479         (gamma_test): Likewise.
4480         (sincos_test): Likewise.
4481         (tanh_test): Likewise.
4482         (y0_test): Likewise.
4483         (y1_test): Likewise.
4484         * sysdeps/i386/fpu/libm-test-ulps: Update.
4485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486
4487 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488
4489         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4491         and strcspn-ppc64 objects.
4492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4493         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4494         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4495         multiarch strcspn for POWER7.
4496         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4497         multiarch strcspn for PPC64.
4498         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4499         ifunc selector.
4500         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4501         strcspn for POWER7.
4502
4503 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4504
4505         * math/gen-libm-test.pl (generate_testfile): Expect only function
4506         name as argument to AUTO_TESTS_* and pass results for all rounding
4507         modes to parse_args.
4508         (parse_auto_input): Separate inputs of automatic tests from
4509         outputs before storing in %auto_tests.
4510         * math/libm-test.inc (acos_test_data): Update call to
4511         AUTO_TESTS_f_f.
4512         (acos_test): Use ALL_RM_TEST.
4513         (acos_tonearest_test_data): Remove.
4514         (acos_test_tonearest): Likewise.
4515         (acos_towardzero_test_data): Likewise.
4516         (acos_test_towardzero): Likewise.
4517         (acos_downward_test_data): Likewise.
4518         (acos_test_downward): Likewise.
4519         (acos_upward_test_data): Likewise.
4520         (acos_test_upward): Likewise.
4521         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4522         (asin_test_data): Likewise.
4523         (asin_test): Use ALL_RM_TEST.
4524         (asin_tonearest_test_data): Remove.
4525         (asin_test_tonearest): Likewise.
4526         (asin_towardzero_test_data): Likewise.
4527         (asin_test_towardzero): Likewise.
4528         (asin_downward_test_data): Likewise.
4529         (asin_test_downward): Likewise.
4530         (asin_upward_test_data): Likewise.
4531         (asin_test_upward): Likewise.
4532         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4533         (atan_test_data): Likewise.
4534         (atanh_test_data): Likewise.
4535         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4536         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4537         (carg_test_data): Likewise.
4538         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4539         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4540         (ccosh_test_data): Likewise.
4541         (cexp_test_data): Likewise.
4542         (clog_test_data): Likewise.
4543         (clog10_test_data): Likewise.
4544         (cos_test_data): Update call to AUTO_TESTS_f_f.
4545         (cos_test): Use ALL_RM_TEST.
4546         (cos_tonearest_test_data): Remove.
4547         (cos_test_tonearest): Likewise.
4548         (cos_towardzero_test_data): Likewise.
4549         (cos_test_towardzero): Likewise.
4550         (cos_downward_test_data): Likewise.
4551         (cos_test_downward): Likewise.
4552         (cos_upward_test_data): Likewise.
4553         (cos_test_upward): Likewise.
4554         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4555         (cosh_test): Use ALL_RM_TEST.
4556         (cosh_tonearest_test_data): Remove.
4557         (cosh_test_tonearest): Likewise.
4558         (cosh_towardzero_test_data): Likewise.
4559         (cosh_test_towardzero): Likewise.
4560         (cosh_downward_test_data): Likewise.
4561         (cosh_test_downward): Likewise.
4562         (cosh_upward_test_data): Likewise.
4563         (cosh_test_upward): Likewise.
4564         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4565         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4566         (ctan_test_data): Likewise.
4567         (ctan_test): Use ALL_RM_TEST.
4568         (ctan_tonearest_test_data): Remove.
4569         (ctan_test_tonearest): Likewise.
4570         (ctan_towardzero_test_data): Likewise.
4571         (ctan_test_towardzero): Likewise.
4572         (ctan_downward_test_data): Likewise.
4573         (ctan_test_downward): Likewise.
4574         (ctan_upward_test_data): Likewise.
4575         (ctan_test_upward): Likewise.
4576         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4577         (ctanh_test): Use ALL_RM_TEST.
4578         (ctanh_tonearest_test_data): Remove.
4579         (ctanh_test_tonearest): Likewise.
4580         (ctanh_towardzero_test_data): Likewise.
4581         (ctanh_test_towardzero): Likewise.
4582         (ctanh_downward_test_data): Likewise.
4583         (ctanh_test_downward): Likewise.
4584         (ctanh_upward_test_data): Likewise.
4585         (ctanh_test_upward): Likewise.
4586         (erf_test_data): Update call to AUTO_TESTS_f_f.
4587         (erfc_test_data): Likewise.
4588         (exp_test_data): Likewise.
4589         (exp_test): Use ALL_RM_TEST.
4590         (exp_tonearest_test_data): Remove.
4591         (exp_test_tonearest): Likewise.
4592         (exp_towardzero_test_data): Likewise.
4593         (exp_test_towardzero): Likewise.
4594         (exp_downward_test_data): Likewise.
4595         (exp_test_downward): Likewise.
4596         (exp_upward_test_data): Likewise.
4597         (exp_test_upward): Likewise.
4598         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4599         (exp10_test): Use ALL_RM_TEST.
4600         (exp10_tonearest_test_data): Remove.
4601         (exp10_test_tonearest): Likewise.
4602         (exp10_towardzero_test_data): Likewise.
4603         (exp10_test_towardzero): Likewise.
4604         (exp10_downward_test_data): Likewise.
4605         (exp10_test_downward): Likewise.
4606         (exp10_upward_test_data): Likewise.
4607         (exp10_test_upward): Likewise.
4608         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4609         (expm1_test_data): Likewise.
4610         (expm1_test): Use ALL_RM_TEST.
4611         (expm1_tonearest_test_data): Remove.
4612         (expm1_test_tonearest): Likewise.
4613         (expm1_towardzero_test_data): Likewise.
4614         (expm1_test_towardzero): Likewise.
4615         (expm1_downward_test_data): Likewise.
4616         (expm1_test_downward): Likewise.
4617         (expm1_upward_test_data): Likewise.
4618         (expm1_test_upward): Likewise.
4619         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4620         (fma_test): Use ALL_RM_TEST.
4621         (fma_towardzero_test_data): Remove.
4622         (fma_test_towardzero): Likewise.
4623         (fma_downward_test_data): Likewise.
4624         (fma_test_downward): Likewise.
4625         (fma_upward_test_data): Likewise.
4626         (fma_test_upward): Likewise.
4627         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4628         (j0_test_data): Update call to AUTO_TESTS_f_f.
4629         (j1_test_data): Likewise.
4630         (jn_test_data): Update call to AUTO_TESTS_if_f.
4631         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4632         (log_test_data): Update call to AUTO_TESTS_f_f.
4633         (log10_test_data): Likewise.
4634         (log1p_test_data): Likewise.
4635         (log2_test_data): Likewise.
4636         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4637         (pow_tonearest_test_data): Likewise.
4638         (sin_test_data): Update call to AUTO_TESTS_f_f.
4639         (sin_test): Use ALL_RM_TEST.
4640         (sin_tonearest_test_data): Remove.
4641         (sin_test_tonearest): Likewise.
4642         (sin_towardzero_test_data): Likewise.
4643         (sin_test_towardzero): Likewise.
4644         (sin_downward_test_data): Likewise.
4645         (sin_test_downward): Likewise.
4646         (sin_upward_test_data): Likewise.
4647         (sin_test_upward): Likewise.
4648         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4649         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4650         (sinh_test): Use ALL_RM_TEST.
4651         (sinh_tonearest_test_data): Remove.
4652         (sinh_test_tonearest): Likewise.
4653         (sinh_towardzero_test_data): Likewise.
4654         (sinh_test_towardzero): Likewise.
4655         (sinh_downward_test_data): Likewise.
4656         (sinh_test_downward): Likewise.
4657         (sinh_upward_test_data): Likewise.
4658         (sinh_test_upward): Likewise.
4659         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4660         (sqrt_test): Use ALL_RM_TEST.
4661         (sqrt_tonearest_test_data): Remove.
4662         (sqrt_test_tonearest): Likewise.
4663         (sqrt_towardzero_test_data): Likewise.
4664         (sqrt_test_towardzero): Likewise.
4665         (sqrt_downward_test_data): Likewise.
4666         (sqrt_test_downward): Likewise.
4667         (sqrt_upward_test_data): Likewise.
4668         (sqrt_test_upward): Likewise.
4669         (tan_test_data): Update call to AUTO_TESTS_f_f.
4670         (tan_test): Use ALL_RM_TEST.
4671         (tan_tonearest_test_data): Remove.
4672         (tan_test_tonearest): Likewise.
4673         (tan_towardzero_test_data): Likewise.
4674         (tan_test_towardzero): Likewise.
4675         (tan_downward_test_data): Likewise.
4676         (tan_test_downward): Likewise.
4677         (tan_upward_test_data): Likewise.
4678         (tan_test_upward): Likewise.
4679         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4680         (tgamma_test_data): Likewise.
4681         (y0_test_data): Likewise.
4682         (y1_test_data): Likewise.
4683         (yn_test_data): Update call to AUTO_TESTS_if_f.
4684         (main): Do not call removed functions.
4685
4686 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4687
4688         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4689         (ldexp_test_data): Remove.
4690         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4691         scalbn_test_data.
4692         (scalb_test): Use ALL_RM_TEST.
4693
4694 2014-03-19  Andreas Schwab  <schwab@suse.de>
4695
4696         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4697
4698 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4699
4700         [BZ #16649]
4701         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4702         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4703         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4705         (__ASSUME_PREADV): Undefine.
4706         (__ASSUME_PWRITEV): Likewise.
4707
4708 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4709
4710         * bits/mman-linux.h: Add comment about non-Linux use.
4711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4712         bits/mman-linux.h resting place.
4713
4714         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4715         * bits/mman-linux.h: ... here.
4716
4717 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4718
4719         * conform/conformtest.pl: Add standard definition when calling C
4720         preprocessor on data files.
4721         (checknamespace): Remove unused variable.
4722
4723 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4724
4725         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4726         minus_oflow, plus_uflow and minus_uflow in expected results.
4727         * math/libm-test.inc (scalbn_test_data): Add more tests of
4728         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4729         minus_uflow.
4730         (scalbn_test): Use ALL_RM_TEST.
4731         (scalbln_test_data): Add more tests of negative arguments.  Use
4732         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4733         (scalbln_test): Use ALL_RM_TEST.
4734
4735 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4736
4737         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4738
4739 2014-03-18  Will Newton  <will.newton@linaro.org>
4740
4741         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4742         inaccurate comment.
4743
4744 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4745
4746         * Makerules [!subdir] (check-abi): Exit with error status if a
4747         test failed.
4748
4749 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4750
4751         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4752         for rint.  Include results for all rounding modes.
4753         (nearbyint_test): Use ALL_RM_TEST.
4754         (rint_test_data): Include all tests used for nearbyint.
4755
4756 2014-03-17  Will Newton  <will.newton@linaro.org>
4757
4758         * nptl/sysdeps/pthread/pthread.h: Revert previous
4759         change.
4760
4761         * sysdeps/generic/ldsodefs.h: Revert previous
4762         change.
4763
4764         * libio/genops.c: Revert previous change.
4765         * libio/libioP.h: Likewise.
4766         * stdio-common/vfprintf.c: Likewise.
4767
4768         * sysdeps/generic/math_private.h: Revert previous
4769         change.
4770
4771         * sysdeps/generic/math_private.h: Check whether
4772         HAVE_RM_CTX is defined with #ifdef rather
4773         than #if.
4774
4775         * argp/argp-fmtstream.h: Check whether
4776         __STRICT_ANSI__ is defined with #ifdef rather
4777         than #if.
4778         * argp/argp.h: Likewise.
4779
4780         * libio/genops.c: Check whether
4781         _IO_JUMPS_OFFSET is defined with #ifdef rather
4782         than #if.
4783         * libio/libioP.h: Likewise.
4784         * stdio-common/vfprintf.c: Likewise.
4785
4786         * sysdeps/generic/ldsodefs.h: Check whether
4787         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4788         than #if.
4789
4790         * nptl/sysdeps/pthread/pthread.h: Check
4791         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4792         its value.
4793
4794 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4795
4796         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4797         setting O_APPEND.
4798         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4799         test case.
4800
4801         [BZ #16680]
4802         * libio/fileops.c (_IO_file_open): Seek to end of file but
4803         don't cache the offset.
4804         (get_file_offset): Remove function.
4805         (do_ftell): Use cached offset when available.
4806         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4807         don't cache the offset.
4808         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4809         case.
4810         (do_one_test): Call it.
4811         (do_ftell_test): Fix up expected old offset for a+ mode.
4812         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4813         available.
4814
4815         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4816         up test status with function return status.
4817         (do_write_test): Likewise.
4818         (do_append_test): Likewise.
4819
4820         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4821         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4822         Remove.
4823
4824 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4825
4826         * math/gen-libm-test.pl (parse_args): Handle results specified for
4827         each rounding mode separately.
4828         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4829         tests and results from lrint_tonearest_test_data,
4830         lrint_towardzero_test_data, lrint_downward_test_data and
4831         lrint_upward_test_data.
4832         (lrint_test): Use ALL_RM_TEST.
4833         (lrint_tonearest_test_data): Remove.
4834         (lrint_test_tonearest): Likewise.
4835         (lrint_towardzero_test_data): Likewise.
4836         (lrint_test_towardzero): Likewise.
4837         (lrint_downward_test_data): Likewise.
4838         (lrint_test_downward): Likewise.
4839         (lrint_upward_test_data): Likewise.
4840         (lrint_test_upward): Likewise.
4841         (llrint_test_data): Merge in per-rounding-mode tests and results
4842         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4843         llrint_downward_test_data and llrint_upward_test_data.
4844         (llrint_test): Use ALL_RM_TEST.
4845         (llrint_tonearest_test_data): Remove.
4846         (llrint_test_tonearest): Likewise.
4847         (llrint_towardzero_test_data): Likewise.
4848         (llrint_test_towardzero): Likewise.
4849         (llrint_downward_test_data): Likewise.
4850         (llrint_test_downward): Likewise.
4851         (llrint_upward_test_data): Likewise.
4852         (llrint_test_upward): Likewise.
4853         (rint_test_data): Merge in per-rounding-mode tests and results
4854         from rint_tonearest_test_data, rint_towardzero_test_data,
4855         rint_downward_test_data and rint_upward_test_data.  Add
4856         per-rounding-mode results for tests not in those arrays.
4857         (rint_test): Use ALL_RM_TEST.
4858         (rint_tonearest_test_data): Remove.
4859         (rint_test_tonearest): Likewise.
4860         (rint_towardzero_test_data): Likewise.
4861         (rint_test_towardzero): Likewise.
4862         (rint_downward_test_data): Likewise.
4863         (rint_test_downward): Likewise.
4864         (rint_upward_test_data): Likewise.
4865         (rint_test_upward): Likewise.
4866         (main): Don't call removed functions.
4867
4868 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4869
4870         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4871         "Compiled on ..." crapola.  It is anti-useful.
4872
4873 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4874
4875         * scripts/evaluate-test.sh: Handle fourth argument to determine
4876         whether test run should stop on failure.
4877         * Makeconfig (stop-on-test-failure): New variable.
4878         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4879         $(stop-on-test-failure).
4880         * Makefile (tests): Give a summary of results from testing and
4881         exit with failure status if they include an ERROR or FAIL.
4882         (xtests): Likewise.
4883         * manual/install.texi (Configuring and compiling): Mention
4884         stop-on-test-failure=y.
4885         * INSTALL: Regenerated.
4886
4887 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4888
4889         * scripts/versionlist.awk: New file.
4890         * Makerules [$(build-shared) = yes]
4891         (postclean-generated): Add Versions.def, not Versions.def.v and
4892         Versions.def.v.i.
4893         ($(common-objpfx)Versions.def.v.i): Target removed.
4894         ($(common-objpfx)Versions.def): New target.
4895         ($(common-objpfx)Versions.all): Depend on that rather that
4896         $(common-objpfx)Versions.def.v.
4897         * Versions.def: File removed.
4898
4899         * Makeconfig (+gccwarn): Add -Wundef.
4900         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4901         a dl-sysdep.h breaking its contract.
4902         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4903         * include/stackinfo.h: New file.
4904         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4905         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4906         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4907         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4908         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4909         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4910         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4911         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4912         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4913         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4914         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4915         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4916         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4917         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4918         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4919
4920 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4921
4922         [BZ #16707]
4923         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4924         implementation.
4925         * math/libm-test.inc (round_test_data): Add more tests.
4926
4927         [BZ #16706]
4928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4929         implementation.
4930         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4931
4932         [BZ #16701]
4933         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4934         implementation.
4935         * math/libm-test.inc (ceil_test_data): Add more tests.
4936
4937         * math/libm-test.inc (trunc_test_data): Add more tests related to
4938         BZ#16414.
4939
4940 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4941
4942         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4943         with #if rather than #ifdef.
4944         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4945
4946 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4947
4948         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4949         first.  Disable AVX-512 GCC support if assembler doesn't support
4950         it.
4951         * sysdeps/x86_64/configure: Regenerated.
4952
4953 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4954
4955         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4956         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4957         (__old_pthread_attr_setstack): Likewise.
4958         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4959         [!_STACK_GROWS_DOWN]: Likewise.
4960
4961 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4962
4963         * config.make.in (have-bash2): Delete.
4964         * configure.ac (libc_cv_have_bash2): Delete.
4965         * configure: Regenerate.
4966         * elf/Makefile (common-ldd-rewrite): Rename to ...
4967         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4968         (sh-ldd-rewrite): Delete.
4969         (bash-ldd-rewrite): Delete.
4970         (have-bash2): Delete checks.
4971         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4972         ldd-rewrite.
4973
4974         * config.make.in (have-ksh): Delete.
4975         (KSH): Delete.
4976         * configure.ac (libc_cv_have_ksh): Delete.
4977         * configure: Regenerate.
4978
4979         * elf/Makefile: Delete $(have-ksh) check.
4980         ($(objpfx)sotruss): Change KSH to BASH.
4981         * elf/sotruss.ksh: Rename to ...
4982         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4983         function style to match POSIX.  Drop ksh vim mode setting.
4984
4985         * manual/time.texi (Specifying the Time Zone with TZ): Change
4986         Tuesday to Thursday.
4987
4988         * debug/tst-longjmp_chk2.c: Update header comment.
4989         (stackoverflow_handler): Add comment.  Call assert on pass value.
4990
4991 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4992
4993         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4994         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4995         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4996         (La_x86_64_vector): Add zmm.
4997         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4998         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4999         ($(objpfx)tst-audit10): New target.
5000         ($(objpfx)tst-audit10.out): Likewise.
5001         (tst-audit10-ENV): New.
5002         (AVX512-CFLAGS): Likewise.
5003         (CFLAGS-tst-audit10.c): Likewise.
5004         (CFLAGS-tst-auditmod10a.c): Likewise.
5005         (CFLAGS-tst-auditmod10b.c): Likewise.
5006         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5007         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5008         * sysdeps/x86_64/configure: Regenerated.
5009         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5010         AVX-512 zmm register support.
5011         (_dl_x86_64_save_sse): Likewise.
5012         (_dl_x86_64_restore_sse): Likewise.
5013         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5014         size vector registers.
5015         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5016         (ZMM_SIZE): Likewise.
5017         * sysdeps/x86_64/tst-audit10.c: New file.
5018         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5019         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5020
5021 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5022
5023         * configure.ac (HAVE_EHDR_START): New check.
5024         * configure: Regenerated.
5025         * config.h.in (HAVE_EHDR_START): New #undef.
5026         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5027         assuming the lowest-addressed segment maps the start of the file.
5028
5029 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5030
5031         * INSTALL: Regenerated.
5032
5033 2014-03-13  Will Newton  <will.newton@linaro.org>
5034
5035         * manual/setjmp.texi (System V contexts): Improve
5036         clarity and grammar of documentation.
5037
5038 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5039
5040         [BZ #16381]
5041         * elf/Makefile (tests): Add tst-pie2.
5042         (tests-pie): Add tst-pie2.
5043         * elf/tst-pie2.c: New file.
5044         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5045         for ET_EXEC.
5046         * elf/rtld.c (map_doit): Load executable as lt_executable.
5047         (dl_main): Likewise.
5048
5049 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5050
5051         [BZ #16642]
5052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5053         (__ASSUME_PSELECT): Undefine.
5054
5055 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5056
5057         [BZ #16689]
5058         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5059         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5060         static build.
5061         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5062         selector for static builds.
5063
5064 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5065
5066         [BZ #16695]
5067         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5068         key in the buffer.
5069
5070 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5071
5072         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5073         IFUNC selector for static builds.
5074
5075 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5076
5077         * sysdeps/mips/math_private.h [__mips_hard_float]
5078         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5079         libc_feresetround_mips_ctx.
5080         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5081         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5082         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5083
5084         [BZ #16677]
5085         * math/s_nextafter.c (__nextafter): Do not return value from
5086         overflowing computation.
5087         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5088         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5089         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5090         Likewise.
5091         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5092         Likewise.
5093         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5094         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5095
5096 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5097
5098         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5099         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5100         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5101         the new mov targetting sp.
5102
5103 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5104
5105         [BZ #16683]
5106         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5107         Define it for static builds as well.
5108         (NO_BZERO_IMPL): Likewise.
5109
5110 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5111
5112         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5113         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5114         multiarch strspn for PPC64.
5115         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5116         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5118         (__libc_ifunc_impl_list): Likewise.
5119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5120         multiarch optimizations
5121         * string/strspn.c (strspn): Using macro to redefine symbol name.
5122
5123 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5124             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5125
5126         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5127         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5128         multiarch strncat for PPC64.
5129         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5130         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5132         (__libc_ifunc_impl_list): Likewise.
5133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5134         multiarch optimizations
5135
5136 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5137
5138         [BZ #16639]
5139         * nscd/nscd.service: Make service type forking.
5140
5141 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5142
5143         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5144         sign in non default rounding modes.
5145         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5146
5147 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5148
5149         * math/libm-test.inc (ALL_RM_TEST): New macro.
5150         (ceil_test): Use ALL_RM_TEST.
5151         (cimag_test): Likewise.
5152         (conj_test): Likewise.
5153         (copysign_test): Likewise.
5154         (cproj_test): Likewise.
5155         (creal_test): Likewise.
5156         (fabs_test): Likewise.
5157         (floor_test): Likewise.
5158         (fmax_test): Likewise.
5159         (fmin_test): Likewise.
5160         (fmod_test): Likewise.
5161         (fpclassify_test): Likewise.
5162         (frexp_test): Likewise.
5163         (ilogb_test): Likewise.
5164         (isfinite_test): Likewise.
5165         (finite_test): Likewise.
5166         (isgreater_test): Likewise.
5167         (isgreaterequal_test): Likewise.
5168         (isinf_test): Likewise.
5169         (isless_test): Likewise.
5170         (islessequal_test): Likewise.
5171         (islessgreater_test): Likewise.
5172         (isnan_test): Likewise.
5173         (isnormal_test): Likewise.
5174         (issignaling_test): Likewise.
5175         (isunordered_test): Likewise.
5176         (logb_test): Likewise.
5177         (logb_downward_test_data): Remove.
5178         (logb_test_downward): Likewise.
5179         (lround_test): Use ALL_RM_TEST.
5180         (llround_test): Likewise.
5181         (modf_test): Likewise.
5182         (nexttoward_test): Likewise.
5183         (remainder_test): Likewise.
5184         (drem_test): Likewise.
5185         (remainder_tonearest_test_data): Likewise.
5186         (remainder_test_tonearest): Likewise.
5187         (drem_test_tonearest): Likewise.
5188         (remainder_towardzero_test_data): Likewise.
5189         (remainder_test_towardzero): Likewise.
5190         (drem_test_towardzero): Likewise.
5191         (remainder_downward_test_data): Likewise.
5192         (remainder_test_downward): Likewise.
5193         (drem_test_downward): Likewise.
5194         (remainder_upward_test_data): Likewise.
5195         (remainder_test_upward): Likewise.
5196         (drem_test_upward): Likewise.
5197         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5198         (round_test): Use ALL_RM_TEST.
5199         (signbit_test): Likewise.
5200         (trunc_test): Likewise.
5201         (significand_test): Likewise.
5202         (main): Don't call removed functions.
5203
5204 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5205
5206         [BZ #16674]
5207         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5208         || __USE_XOPEN2K8].
5209         (ILL_ILLOPN): Likewise.
5210         (ILL_ILLADR): Likewise.
5211         (ILL_ILLTRP): Likewise.
5212         (ILL_PRVOPC): Likewise.
5213         (ILL_PRVREG): Likewise.
5214         (ILL_COPROC): Likewise.
5215         (ILL_BADSTK): Likewise.
5216         (FPE_INTDIV): Likewise.
5217         (FPE_INTOVF): Likewise.
5218         (FPE_FLTDIV): Likewise.
5219         (FPE_FLTOVF): Likewise.
5220         (FPE_FLTUND): Likewise.
5221         (FPE_FLTRES): Likewise.
5222         (FPE_FLTINV): Likewise.
5223         (FPE_FLTSUB): Likewise.
5224         (SEGV_MAPERR): Likewise.
5225         (SEGV_ACCERR): Likewise.
5226         (BUS_ADRALN): Likewise.
5227         (BUS_ADRERR): Likewise.
5228         (BUS_OBJERR): Likewise.
5229         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5230         (TRAP_TRACE): Likewise.
5231         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5232         __USE_XOPEN2K8].
5233         (CLD_KILLED): Likewise.
5234         (CLD_DUMPED): Likewise.
5235         (CLD_TRAPPED): Likewise.
5236         (CLD_STOPPED): Likewise.
5237         (CLD_CONTINUED): Likewise.
5238         (POLL_IN): Likewise.
5239         (POLL_OUT): Likewise.
5240         (POLL_MSG): Likewise.
5241         (POLL_ERR): Likewise.
5242         (POLL_PRI): Likewise.
5243         (POLL_HUP): Likewise.
5244         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5245         Likewise.
5246         (ILL_ILLOPN): Likewise.
5247         (ILL_ILLADR): Likewise.
5248         (ILL_ILLTRP): Likewise.
5249         (ILL_PRVOPC): Likewise.
5250         (ILL_PRVREG): Likewise.
5251         (ILL_COPROC): Likewise.
5252         (ILL_BADSTK): Likewise.
5253         (FPE_INTDIV): Likewise.
5254         (FPE_INTOVF): Likewise.
5255         (FPE_FLTDIV): Likewise.
5256         (FPE_FLTOVF): Likewise.
5257         (FPE_FLTUND): Likewise.
5258         (FPE_FLTRES): Likewise.
5259         (FPE_FLTINV): Likewise.
5260         (FPE_FLTSUB): Likewise.
5261         (SEGV_MAPERR): Likewise.
5262         (SEGV_ACCERR): Likewise.
5263         (BUS_ADRALN): Likewise.
5264         (BUS_ADRERR): Likewise.
5265         (BUS_OBJERR): Likewise.
5266         (BUS_MCEERR_AR): Likewise.
5267         (BUS_MCEERR_AO): Likewise.
5268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5269         (TRAP_TRACE): Likewise.
5270         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5271         __USE_XOPEN2K8].
5272         (CLD_KILLED): Likewise.
5273         (CLD_DUMPED): Likewise.
5274         (CLD_TRAPPED): Likewise.
5275         (CLD_STOPPED): Likewise.
5276         (CLD_CONTINUED): Likewise.
5277         (POLL_IN): Likewise.
5278         (POLL_OUT): Likewise.
5279         (POLL_MSG): Likewise.
5280         (POLL_ERR): Likewise.
5281         (POLL_PRI): Likewise.
5282         (POLL_HUP): Likewise.
5283         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5284         (ILL_ILLOPN): Likewise.
5285         (ILL_ILLADR): Likewise.
5286         (ILL_ILLTRP): Likewise.
5287         (ILL_PRVOPC): Likewise.
5288         (ILL_PRVREG): Likewise.
5289         (ILL_COPROC): Likewise.
5290         (ILL_BADSTK): Likewise.
5291         (FPE_INTDIV): Likewise.
5292         (FPE_INTOVF): Likewise.
5293         (FPE_FLTDIV): Likewise.
5294         (FPE_FLTOVF): Likewise.
5295         (FPE_FLTUND): Likewise.
5296         (FPE_FLTRES): Likewise.
5297         (FPE_FLTINV): Likewise.
5298         (FPE_FLTSUB): Likewise.
5299         (SEGV_MAPERR): Likewise.
5300         (SEGV_ACCERR): Likewise.
5301         (BUS_ADRALN): Likewise.
5302         (BUS_ADRERR): Likewise.
5303         (BUS_OBJERR): Likewise.
5304         (BUS_MCEERR_AR): Likewise.
5305         (BUS_MCEERR_AO): Likewise.
5306         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5307         (TRAP_TRACE): Likewise.
5308         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5309         __USE_XOPEN2K8].
5310         (CLD_KILLED): Likewise.
5311         (CLD_DUMPED): Likewise.
5312         (CLD_TRAPPED): Likewise.
5313         (CLD_STOPPED): Likewise.
5314         (CLD_CONTINUED): Likewise.
5315         (POLL_IN): Likewise.
5316         (POLL_OUT): Likewise.
5317         (POLL_MSG): Likewise.
5318         (POLL_ERR): Likewise.
5319         (POLL_PRI): Likewise.
5320         (POLL_HUP): Likewise.
5321         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5322         Likewise.
5323         (ILL_ILLOPN): Likewise.
5324         (ILL_ILLADR): Likewise.
5325         (ILL_ILLTRP): Likewise.
5326         (ILL_PRVOPC): Likewise.
5327         (ILL_PRVREG): Likewise.
5328         (ILL_COPROC): Likewise.
5329         (ILL_BADSTK): Likewise.
5330         (ILL_BADIADDR): Likewise.
5331         (ILL_BREAK): Likewise.
5332         (FPE_INTDIV): Likewise.
5333         (FPE_INTOVF): Likewise.
5334         (FPE_FLTDIV): Likewise.
5335         (FPE_FLTOVF): Likewise.
5336         (FPE_FLTUND): Likewise.
5337         (FPE_FLTRES): Likewise.
5338         (FPE_FLTINV): Likewise.
5339         (FPE_FLTSUB): Likewise.
5340         (FPE_DECOVF): Likewise.
5341         (FPE_DECDIV): Likewise.
5342         (FPE_DECERR): Likewise.
5343         (FPE_INVASC): Likewise.
5344         (FPE_INVDEC): Likewise.
5345         (SEGV_MAPERR): Likewise.
5346         (SEGV_ACCERR): Likewise.
5347         (SEGV_PSTKOVF): Likewise.
5348         (BUS_ADRALN): Likewise.
5349         (BUS_ADRERR): Likewise.
5350         (BUS_OBJERR): Likewise.
5351         (BUS_MCEERR_AR): Likewise.
5352         (BUS_MCEERR_AO): Likewise.
5353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5354         (TRAP_TRACE): Likewise.
5355         (TRAP_BRANCH): Likewise.
5356         (TRAP_HWBKPT): Likewise.
5357         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5358         __USE_XOPEN2K8].
5359         (CLD_KILLED): Likewise.
5360         (CLD_DUMPED): Likewise.
5361         (CLD_TRAPPED): Likewise.
5362         (CLD_STOPPED): Likewise.
5363         (CLD_CONTINUED): Likewise.
5364         (POLL_IN): Likewise.
5365         (POLL_OUT): Likewise.
5366         (POLL_MSG): Likewise.
5367         (POLL_ERR): Likewise.
5368         (POLL_PRI): Likewise.
5369         (POLL_HUP): Likewise.
5370         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5371         (ILL_ILLOPN): Likewise.
5372         (ILL_ILLADR): Likewise.
5373         (ILL_ILLTRP): Likewise.
5374         (ILL_PRVOPC): Likewise.
5375         (ILL_PRVREG): Likewise.
5376         (ILL_COPROC): Likewise.
5377         (ILL_BADSTK): Likewise.
5378         (FPE_INTDIV): Likewise.
5379         (FPE_INTOVF): Likewise.
5380         (FPE_FLTDIV): Likewise.
5381         (FPE_FLTOVF): Likewise.
5382         (FPE_FLTUND): Likewise.
5383         (FPE_FLTRES): Likewise.
5384         (FPE_FLTINV): Likewise.
5385         (FPE_FLTSUB): Likewise.
5386         (SEGV_MAPERR): Likewise.
5387         (SEGV_ACCERR): Likewise.
5388         (BUS_ADRALN): Likewise.
5389         (BUS_ADRERR): Likewise.
5390         (BUS_OBJERR): Likewise.
5391         (BUS_MCEERR_AR): Likewise.
5392         (BUS_MCEERR_AO): Likewise.
5393         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5394         (TRAP_TRACE): Likewise.
5395         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5396         __USE_XOPEN2K8].
5397         (CLD_KILLED): Likewise.
5398         (CLD_DUMPED): Likewise.
5399         (CLD_TRAPPED): Likewise.
5400         (CLD_STOPPED): Likewise.
5401         (CLD_CONTINUED): Likewise.
5402         (POLL_IN): Likewise.
5403         (POLL_OUT): Likewise.
5404         (POLL_MSG): Likewise.
5405         (POLL_ERR): Likewise.
5406         (POLL_PRI): Likewise.
5407         (POLL_HUP): Likewise.
5408         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5409         (ILL_ILLOPN): Likewise.
5410         (ILL_ILLADR): Likewise.
5411         (ILL_ILLTRP): Likewise.
5412         (ILL_PRVOPC): Likewise.
5413         (ILL_PRVREG): Likewise.
5414         (ILL_COPROC): Likewise.
5415         (ILL_BADSTK): Likewise.
5416         (FPE_INTDIV): Likewise.
5417         (FPE_INTOVF): Likewise.
5418         (FPE_FLTDIV): Likewise.
5419         (FPE_FLTOVF): Likewise.
5420         (FPE_FLTUND): Likewise.
5421         (FPE_FLTRES): Likewise.
5422         (FPE_FLTINV): Likewise.
5423         (FPE_FLTSUB): Likewise.
5424         (SEGV_MAPERR): Likewise.
5425         (SEGV_ACCERR): Likewise.
5426         (BUS_ADRALN): Likewise.
5427         (BUS_ADRERR): Likewise.
5428         (BUS_OBJERR): Likewise.
5429         (BUS_MCEERR_AR): Likewise.
5430         (BUS_MCEERR_AO): Likewise.
5431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5432         (TRAP_TRACE): Likewise.
5433         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5434         __USE_XOPEN2K8].
5435         (CLD_KILLED): Likewise.
5436         (CLD_DUMPED): Likewise.
5437         (CLD_TRAPPED): Likewise.
5438         (CLD_STOPPED): Likewise.
5439         (CLD_CONTINUED): Likewise.
5440         (POLL_IN): Likewise.
5441         (POLL_OUT): Likewise.
5442         (POLL_MSG): Likewise.
5443         (POLL_ERR): Likewise.
5444         (POLL_PRI): Likewise.
5445         (POLL_HUP): Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5447         (ILL_ILLOPN): Likewise.
5448         (ILL_ILLADR): Likewise.
5449         (ILL_ILLTRP): Likewise.
5450         (ILL_PRVOPC): Likewise.
5451         (ILL_PRVREG): Likewise.
5452         (ILL_COPROC): Likewise.
5453         (ILL_BADSTK): Likewise.
5454         (FPE_INTDIV): Likewise.
5455         (FPE_INTOVF): Likewise.
5456         (FPE_FLTDIV): Likewise.
5457         (FPE_FLTOVF): Likewise.
5458         (FPE_FLTUND): Likewise.
5459         (FPE_FLTRES): Likewise.
5460         (FPE_FLTINV): Likewise.
5461         (FPE_FLTSUB): Likewise.
5462         (SEGV_MAPERR): Likewise.
5463         (SEGV_ACCERR): Likewise.
5464         (BUS_ADRALN): Likewise.
5465         (BUS_ADRERR): Likewise.
5466         (BUS_OBJERR): Likewise.
5467         (BUS_MCEERR_AR): Likewise.
5468         (BUS_MCEERR_AO): Likewise.
5469         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5470         (TRAP_TRACE): Likewise.
5471         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5472         __USE_XOPEN2K8].
5473         (CLD_KILLED): Likewise.
5474         (CLD_DUMPED): Likewise.
5475         (CLD_TRAPPED): Likewise.
5476         (CLD_STOPPED): Likewise.
5477         (CLD_CONTINUED): Likewise.
5478         (POLL_IN): Likewise.
5479         (POLL_OUT): Likewise.
5480         (POLL_MSG): Likewise.
5481         (POLL_ERR): Likewise.
5482         (POLL_PRI): Likewise.
5483         (POLL_HUP): Likewise.
5484         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5485         (ILL_ILLOPN): Likewise.
5486         (ILL_ILLADR): Likewise.
5487         (ILL_ILLTRP): Likewise.
5488         (ILL_PRVOPC): Likewise.
5489         (ILL_PRVREG): Likewise.
5490         (ILL_COPROC): Likewise.
5491         (ILL_BADSTK): Likewise.
5492         (ILL_DBLFLT): Likewise.
5493         (ILL_HARDWALL): Likewise.
5494         (FPE_INTDIV): Likewise.
5495         (FPE_INTOVF): Likewise.
5496         (FPE_FLTDIV): Likewise.
5497         (FPE_FLTOVF): Likewise.
5498         (FPE_FLTUND): Likewise.
5499         (FPE_FLTRES): Likewise.
5500         (FPE_FLTINV): Likewise.
5501         (FPE_FLTSUB): Likewise.
5502         (SEGV_MAPERR): Likewise.
5503         (SEGV_ACCERR): Likewise.
5504         (BUS_ADRALN): Likewise.
5505         (BUS_ADRERR): Likewise.
5506         (BUS_OBJERR): Likewise.
5507         (BUS_MCEERR_AR): Likewise.
5508         (BUS_MCEERR_AO): Likewise.
5509         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5510         (TRAP_TRACE): Likewise.
5511         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5512         __USE_XOPEN2K8].
5513         (CLD_KILLED): Likewise.
5514         (CLD_DUMPED): Likewise.
5515         (CLD_TRAPPED): Likewise.
5516         (CLD_STOPPED): Likewise.
5517         (CLD_CONTINUED): Likewise.
5518         (POLL_IN): Likewise.
5519         (POLL_OUT): Likewise.
5520         (POLL_MSG): Likewise.
5521         (POLL_ERR): Likewise.
5522         (POLL_PRI): Likewise.
5523         (POLL_HUP): Likewise.
5524         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5525         (ILL_ILLOPN): Likewise.
5526         (ILL_ILLADR): Likewise.
5527         (ILL_ILLTRP): Likewise.
5528         (ILL_PRVOPC): Likewise.
5529         (ILL_PRVREG): Likewise.
5530         (ILL_COPROC): Likewise.
5531         (ILL_BADSTK): Likewise.
5532         (FPE_INTDIV): Likewise.
5533         (FPE_INTOVF): Likewise.
5534         (FPE_FLTDIV): Likewise.
5535         (FPE_FLTOVF): Likewise.
5536         (FPE_FLTUND): Likewise.
5537         (FPE_FLTRES): Likewise.
5538         (FPE_FLTINV): Likewise.
5539         (FPE_FLTSUB): Likewise.
5540         (SEGV_MAPERR): Likewise.
5541         (SEGV_ACCERR): Likewise.
5542         (BUS_ADRALN): Likewise.
5543         (BUS_ADRERR): Likewise.
5544         (BUS_OBJERR): Likewise.
5545         (BUS_MCEERR_AR): Likewise.
5546         (BUS_MCEERR_AO): Likewise.
5547         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5548         (TRAP_TRACE): Likewise.
5549         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5550         __USE_XOPEN2K8].
5551         (CLD_KILLED): Likewise.
5552         (CLD_DUMPED): Likewise.
5553         (CLD_TRAPPED): Likewise.
5554         (CLD_STOPPED): Likewise.
5555         (CLD_CONTINUED): Likewise.
5556         (POLL_IN): Likewise.
5557         (POLL_OUT): Likewise.
5558         (POLL_MSG): Likewise.
5559         (POLL_ERR): Likewise.
5560         (POLL_PRI): Likewise.
5561         (POLL_HUP): Likewise.
5562         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5563         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5564
5565         [BZ #16670]
5566         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5567         before #include of <time.h>.
5568         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5569         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5570         (test-xfail-UNIX98/sched.h/conform): Likewise.
5571
5572 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5573
5574         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5575         error absence of trapping exception support.
5576         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5577
5578 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5579
5580         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5581         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5582         * timezone/Makefile (testdata): Move definition above include of
5583         Rules.
5584         (test-zones): New variable.
5585         (tests-special): Add zone files.
5586         (build-testdata): Use $(evaluate-test).
5587
5588         * elf/Makefile (tests-special): Rename tests to end with .out.
5589         ($(objpfx)noload-mem): Likewise.
5590         ($(objpfx)tst-leaks1-mem): Likewise.
5591         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5592         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5593         $(objpfx)test-iconvconfig.out.
5594         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5595         set -e inside subshell and redirect output to file.
5596         * iconvdata/Makefile (generated): Rename tests to end with .out.
5597         Correct type.
5598         (tests-special): Rename tests to end with .out.
5599         ($(objpfx)mtrace-tst-loading): Likewise.
5600         * intl/Makefile (generated): Likewise.
5601         (tests-special): Likewise.
5602         ($(objpfx)mtrace-tst-gettext): Likewise.
5603         * misc/Makefile (generated): Likewise.
5604         (tests-special): Likewise.
5605         ($(objpfx)tst-error1-mem): Likewise.
5606         * nptl/Makefile (tests-special): Likewise.
5607         ($(objpfx)tst-stack3-mem): Likewise.
5608         (generated): Likewise.
5609         * posix/Makefile (generated): Likewise.
5610         (tests-special): Likewise.
5611         (xtests-special): Likewise.
5612         ($(objpfx)tst-fnmatch-mem): Likewise.
5613         ($(objpfx)bug-regex2-mem): Likewise.
5614         ($(objpfx)bug-regex14-mem): Likewise.
5615         ($(objpfx)bug-regex21-mem): Likewise.
5616         ($(objpfx)bug-regex31-mem): Likewise.
5617         ($(objpfx)tst-vfork3-mem): Likewise.
5618         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5619         ($(objpfx)tst-pcre-mem): Likewise.
5620         ($(objpfx)tst-boost-mem): Likewise.
5621         ($(objpfx)bug-ga2-mem): Likewise.
5622         ($(objpfx)bug-glob2-mem): Likewise.
5623         * resolv/Makefile (generate): Likewise.
5624         (tests-special): Likewise.
5625         (xtests-special): Likewise.
5626         (generated): Likewise.
5627         ($(objpfx)mtrace-tst-leaks): Likewise.
5628         ($(objpfx)mtrace-tst-leaks2): Likewise.
5629
5630         * scripts/merge-test-results.sh: New file.
5631         * Makefile (tests-special-notdir): New variable.
5632         (tests): Run merge-test-results.sh.
5633         (xtests): Likewise.
5634         * Rules (tests-special-notdir): New variable.
5635         (xtests-special-notdir): Likewise.
5636         (tests): Run merge-test-results.sh
5637         (xtests): Likewise.
5638
5639         * Makeconfig (test-xfail-name): New variable.
5640         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5641         compute variable name for expected failures.
5642         * conform/Makefile (conformtest-headers-data): New variable.
5643         (conformtest-standards): Likewise.
5644         (conformtest-headers-ISO): Likewise.
5645         (conformtest-headers-ISO99): Likewise.
5646         (conformtest-headers-ISO11): Likewise.
5647         (conformtest-headers-POSIX): Likewise.
5648         (conformtest-headers-XPG3): Likewise.
5649         (conformtest-headers-XPG4): Likewise.
5650         (conformtest-headers-UNIX98): Likewise.
5651         (conformtest-headers-XOPEN2K): Likewise.
5652         (conformtest-headers-POSIX2008): Likewise.
5653         (conformtest-headers-XOPEN2K8): Likewise.
5654         (conformtest-header-list-base): Likewise.
5655         (conformtest-header-list-tests): Likewise.
5656         (conformtest-header-base): Likewise.
5657         (conformtest-header-tests): Likewise.
5658         (tests-special): Add $(conformtest-header-list-tests).  If
5659         [$(fast-check) && !$(cross-compiling)], add
5660         $(conformtest-header-tests) instead of
5661         $(objpfx)run-conformtest.out.
5662         (generated): Add $(conformtest-header-list-base).  If
5663         [$(fast-check) && !$(cross-compiling)], add
5664         $(conformtest-header-base).  Remove previous setting.
5665         ($(conformtest-header-list-tests)): New target.
5666         (test-xfail-run-conformtest): Remove variable.
5667         ($(objpfx)run-conformtest.out): Remove target.
5668         (test-xfail-ISO11/complex.h/conform): New variable.
5669         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5670         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5671         (test-xfail-XPG3/varargs.h/conform): Likewise.
5672         (test-xfail-XPG4/varargs.h/conform): Likewise.
5673         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5674         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5675         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5676         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5677         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5678         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5679         (test-xfail-XPG3/ftw.h/conform): Likewise.
5680         (test-xfail-XPG3/grp.h/conform): Likewise.
5681         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5682         (test-xfail-XPG3/limits.h/conform): Likewise.
5683         (test-xfail-XPG3/pwd.h/conform): Likewise.
5684         (test-xfail-XPG3/search.h/conform): Likewise.
5685         (test-xfail-XPG3/signal.h/conform): Likewise.
5686         (test-xfail-XPG3/stdio.h/conform): Likewise.
5687         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5688         (test-xfail-XPG3/string.h/conform): Likewise.
5689         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5690         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5691         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5692         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5693         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5694         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5695         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5696         (test-xfail-XPG3/termios.h/conform): Likewise.
5697         (test-xfail-XPG3/time.h/conform): Likewise.
5698         (test-xfail-XPG3/unistd.h/conform): Likewise.
5699         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5700         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5701         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5702         (test-xfail-XPG4/netdb.h/conform): Likewise.
5703         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5704         (test-xfail-XPG4/signal.h/conform): Likewise.
5705         (test-xfail-XPG4/stdio.h/conform): Likewise.
5706         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5707         (test-xfail-XPG4/stropts.h/conform): Likewise.
5708         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5709         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5710         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5711         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5712         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5713         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5714         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5715         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5716         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5717         (test-xfail-XPG4/termios.h/conform): Likewise.
5718         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5719         (test-xfail-XPG4/unistd.h/conform): Likewise.
5720         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5721         (test-xfail-POSIX/sched.h/conform): Likewise.
5722         (test-xfail-POSIX/signal.h/conform): Likewise.
5723         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5724         (test-xfail-POSIX/tar.h/conform): Likewise.
5725         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5726         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5727         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5728         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5729         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5730         (test-xfail-UNIX98/sched.h/conform): Likewise.
5731         (test-xfail-UNIX98/signal.h/conform): Likewise.
5732         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5733         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5734         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5735         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5736         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5737         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5738         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5739         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5740         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5741         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5742         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5743         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5744         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5745         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5746         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5747         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5748         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5749         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5750         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5751         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5752         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5753         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5754         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5755         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5756         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5757         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5758         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5759         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5760         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5761         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5762         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5763         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5764         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5765         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5766         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5767         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5768         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5769         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5770         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5771         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5772         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5773         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5774         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5775         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5776         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5777         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5778         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5779         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5780         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5781         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5782         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5783         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5784         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5785         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5786         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5787         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5788         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5789         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5790         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5791         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5792         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5793         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5794         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5795         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5796         (conformtest-cc-flags): Likewise.
5797         ($(conformtest-header-tests): New target.
5798         * conform/check-header-lists.sh: New file.
5799         * conform/run-conformtest.sh: Remove.
5800
5801         * conform/conformtest.pl: Allow ' and \ in values given for
5802         constants.
5803         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5804         inclusion.
5805         [POSIX] (sys/types.h): Likewise.
5806         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5807         inclusion.
5808         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5809         inclusion.
5810         * conform/data/signal.h-data (SIGIO): Remove expectation.
5811         [XPG3] (SIGBUS): Do not expect.
5812         [POSIX || XPG3] (SIGPOLL): Likewise.
5813         [POSIX || XPG3] (SIGPROF): Likewise.
5814         [POSIX || XPG3] (SIGSYS): Likewise.
5815         [XPG3] (SIGTRAP): Likewise.
5816         [POSIX || XPG3] (SIGURG): Likewise.
5817         [POSIX || XPG3] (SIGVTALRM): Likewise.
5818         [POSIX || XPG3] (SIGXCPU): Likewise.
5819         [POSIX || XPG3] (SIGXFSZ): Likewise.
5820         [POSIX] (SA_SIGINFO): Expect.
5821         [XPG3] (siginfo_t): Do not expect type or contents.
5822         [POSIX] (si_pid): Do not expect element.
5823         [POSIX] (si_uid): Likewise.
5824         [POSIX] (si_addr): Likewise.
5825         [POSIX] (si_status): Likewise.
5826         [POSIX] (si_band): Likewise.
5827         [XPG4] (si_value): Likewise.
5828         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5829         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5830         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5831         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5832         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5833         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5834         [POSIX || XPG3] (ILL_COPROC): Likewise.
5835         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5836         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5837         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5838         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5839         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5840         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5841         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5842         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5843         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5844         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5845         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5846         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5847         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5848         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5849         [POSIX || XPG3] (CLD_EXITED): Likewise.
5850         [POSIX || XPG3] (CLD_KILLED): Likewise.
5851         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5852         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5853         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5854         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5855         [POSIX || XPG3] (POLL_IN): Likewise.
5856         [POSIX || XPG3] (POLL_OUT): Likewise.
5857         [POSIX || XPG3] (POLL_MSG): Likewise.
5858         [POSIX || XPG3] (POLL_ERR): Likewise.
5859         [POSIX || XPG3] (POLL_PRI): Likewise.
5860         [POSIX || XPG3] (POLL_HUP): Likewise.
5861         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5862         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5863         (SIG*): Do not allow.
5864         [XPG3] (si_*): Likewise.
5865         [XPG3] (SI_*): Likewise.
5866         [XPG3 || XPG4] (sigev_*): Likewise.
5867         [XPG3 || XPG4] (SIGEV_*): Likewise.
5868         [XPG3 || XPG4] (sival_*): Likewise.
5869         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5870         [POSIX || XPG3] (BUS_*): Likewise.
5871         [POSIX || XPG3] (CLD_*): Likewise.
5872         [POSIX || XPG3] (FPE_*): Likewise.
5873         [POSIX || XPG3] (ILL_*): Likewise.
5874         [POSIX || XPG3] (POLL_*): Likewise.
5875         [POSIX || XPG3] (SEGV_*): Likewise.
5876         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5877         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5878         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5879         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5880         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5881         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5882         Specify type and value.
5883         (TVERSLEN): Likewise.
5884         (REGTYPE): Likewise.
5885         (AREGTYPE): Likewise.
5886         (LNKTYPE): Likewise.
5887         (SYMTYPE): Likewise.
5888         (CHRTYPE): Likewise.
5889         (BLKTYPE): Likewise.
5890         (DIRTYPE): Likewise.
5891         (FIFOTYPE): Likewise.
5892         (CONTTYPE): Likewise.
5893         (TSUID): Likewise.
5894         (TSGID): Likewise.
5895         (TSVTX): Likewise.
5896         (TUREAD): Likewise.
5897         (TUWRITE): Likewise.
5898         (TUEXEC): Likewise.
5899         (TGREAD): Likewise.
5900         (TGWRITE): Likewise.
5901         (TGEXEC): Likewise.
5902         (TOREAD): Likewise.
5903         (TOWRITE): Likewise.
5904         (TOEXEC): Likewise.
5905         [POSIX] (TSVTX): Expect constant.
5906
5907 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5908
5909         * Makefile (tests): Change dependencies to ....
5910         (tests-special): ... additions to this variable.
5911         (tests): Depend on $(tests-special).
5912         * Makerules (check-abi-list): New variable.
5913         (check-abi): Depend on $(check-abi-list).
5914         [$(subdir) = elf] (tests-special): Add
5915         $(objpfx)check-abi-libc.out.
5916         [$(build-shared) = yes && subdir] (tests-special): Add
5917         $(check-abi-list).
5918         [$(build-shared) = yes && subdir] (tests): Do not depend on
5919         check-abi.
5920         * Rules (tests): Depend on $(tests-special).
5921         (xtests): Depend on $(xtests-special).
5922         * catgets/Makefile (tests): Change dependencies to ....
5923         (tests-special): ... additions to this variable.
5924         * conform/Makefile (tests): Change dependencies to ....
5925         (tests-special): ... additions to this variable.
5926         * elf/Makefile (tests): Change dependencies to ....
5927         (tests-special): ... additions to this variable.
5928         * grp/Makefile (tests): Change dependencies to ....
5929         (tests-special): ... additions to this variable.
5930         * iconv/Makefile (xtests): Change dependencies to ....
5931         (xtests-special): ... additions to this variable.
5932         * iconvdata/Makefile (tests): Change dependencies to ....
5933         (tests-special): ... additions to this variable.
5934         * intl/Makefile (tests): Change dependencies to ....
5935         (tests-special): ... additions to this variable.  Also add
5936         $(objpfx)tst-gettext.out.
5937         * io/Makefile (tests): Change dependencies to ....
5938         (tests-special): ... additions to this variable.
5939         * libio/Makefile (tests): Change dependencies to ....
5940         (tests-special): ... additions to this variable.
5941         * malloc/Makefile (tests): Change dependencies to ....
5942         (tests-special): ... additions to this variable.
5943         * misc/Makefile (tests): Change dependencies to ....
5944         (tests-special): ... additions to this variable.
5945         * nptl/Makefile (tests): Change dependencies to ....
5946         (tests-special): ... additions to this variable.
5947         * nptl_db/Makefile (tests): Change dependencies to ....
5948         (tests-special): ... additions to this variable.
5949         * posix/Makefile (tests): Change dependencies to ....
5950         (tests-special): ... additions to this variable.
5951         (xtests): Change dependencies to ....
5952         (xtests-special): ... additions to this variable.
5953         * resolv/Makefile (tests): Change dependencies to ....
5954         (tests-special): ... additions to this variable.
5955         (xtests): Change dependencies to ....
5956         (xtests-special): ... additions to this variable.
5957         * stdio-common/Makefile (tests): Change dependencies to ....
5958         (tests-special): ... additions to this variable.
5959         (do-tst-unbputc): Remove target.
5960         (do-tst-printf): Likewise.
5961         * stdlib/Makefile (tests): Change dependencies to ....
5962         (tests-special): ... additions to this variable.
5963         * string/Makefile (tests): Change dependencies to ....
5964         (tests-special): ... additions to this variable.
5965         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5966         (tests-special): ... additions to this variable.
5967
5968         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5969         whole file.
5970         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5971         whole file.
5972         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5973         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5974
5975         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5976         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5977         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5978         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5979         * conform/data/libgen.h-data [XPG3]: Likewise.
5980         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5981         * conform/data/ndbm.h-data [XPG3]: Likewise.
5982         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5983         * conform/data/netdb.h-data [XPG3]: Likewise.
5984         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5985         * conform/data/poll.h-data [XPG3]: Likewise.
5986         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5987         * conform/data/strings.h-data [XPG3]: Likewise.
5988         * conform/data/stropts.h-data [XPG3]: Likewise.
5989         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5990         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5991         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5992         Likewise.
5993         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5994         * conform/data/sys/time.h-data [XPG3]: Likewise.
5995         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5996         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5997         * conform/data/sys/un.h-data [XPG3]: Likewise.
5998         * conform/data/syslog.h-data [XPG3]: Likewise.
5999         * conform/data/ucontext.h-data [XPG3]: Likewise.
6000         * conform/data/utmpx.h-data [XPG3]: Likewise.
6001         * conform/data/varargs.h-data [UNIX98]: Enable file.
6002
6003         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6004
6005         * math/libm-test.inc (struct test_f_f_data): Move expected results
6006         into structure for each rounding mode.
6007         (struct test_ff_f_data): Likewise.
6008         (struct test_ff_f_data_nexttoward): Likewise.
6009         (struct test_fi_f_data): Likewise.
6010         (struct test_fl_f_data): Likewise.
6011         (struct test_if_f_data): Likewise.
6012         (struct test_fff_f_data): Likewise.
6013         (struct test_c_f_data): Likewise.
6014         (struct test_f_f1_data): Likewise.
6015         (struct test_fF_f1_data): Likewise.
6016         (struct test_ffI_f1_data): Likewise.
6017         (struct test_c_c_data): Likewise.
6018         (struct test_cc_c_data): Likewise.
6019         (struct test_f_i_data): Likewise.
6020         (struct test_ff_i_data): Likewise.
6021         (struct test_f_l_data): Likewise.
6022         (struct test_f_L_data): Likewise.
6023         (struct test_fFF_11_data): Likewise.
6024         (RM_): New macro.
6025         (RM_FE_DOWNWARD): Likewise.
6026         (RM_FE_TONEAREST): Likewise.
6027         (RM_FE_TOWARDZERO): Likewise.
6028         (RM_FE_UPWARD): Likewise.
6029         (RUN_TEST_LOOP_f_f): Update references to expected results.
6030         (RUN_TEST_LOOP_2_f): Likewise.
6031         (RUN_TEST_LOOP_fff_f): Likewise.
6032         (RUN_TEST_LOOP_c_f): Likewise.
6033         (RUN_TEST_LOOP_f_f1): Likewise.
6034         (RUN_TEST_LOOP_fF_f1): Likewise.
6035         (RUN_TEST_LOOP_fI_f1): Likewise.
6036         (RUN_TEST_LOOP_ffI_f1): Likewise.
6037         (RUN_TEST_LOOP_c_c): Likewise.
6038         (RUN_TEST_LOOP_cc_c): Likewise.
6039         (RUN_TEST_LOOP_f_i): Likewise.
6040         (RUN_TEST_LOOP_f_i_tg): Likewise.
6041         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6042         (RUN_TEST_LOOP_f_b): Likewise.
6043         (RUN_TEST_LOOP_f_b_tg): Likewise.
6044         (RUN_TEST_LOOP_f_l): Likewise.
6045         (RUN_TEST_LOOP_f_L): Likewise.
6046         (RUN_TEST_LOOP_fFF_11): Likewise.
6047         * math/gen-libm-test.pl (parse_args): Output four copies of
6048         expected results for each test.
6049
6050         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6051         (__ASSUME_UTIMES): Remove.
6052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6053         (__ASSUME_UTIMES): Likewise.
6054
6055         * math/gen-auto-libm-tests.c: Update comment on output format.
6056         (output_for_one_input_case): Generate before-rounding and
6057         after-rounding information as conditions on output flags not
6058         floating-point format.
6059         * math/auto-libm-test-out: Regenerated.
6060         * math/gen-libm-test.pl (cond_value): New function.
6061         (or_cond_value): Use cond_value.
6062         (generate_testfile): Handle conditional exceptions.
6063
6064 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6065
6066         * math/libm-test.inc (max_valid_error): New variable.
6067         (init_max_error): Take new argument specifying whether function
6068         results are exactly determined.  Set max_valid_error and bound
6069         other variables for errors based on this argument.
6070         (set_max_error): Do not record results above max_valid_error.
6071         (check_float_internal): Only accept errors of up to 0.5ulps if
6072         also at most max_valid_error.
6073         (START): Take new argument EXACT and pass it to init_max_error.
6074         (acos_test): Update call to START.
6075         (acos_test_tonearest): Likewise.
6076         (acos_test_towardzero): Likewise.
6077         (acos_test_downward): Likewise.
6078         (acos_test_upward): Likewise.
6079         (acosh_test): Likewise.
6080         (asin_test): Likewise.
6081         (asin_test_tonearest): Likewise.
6082         (asin_test_towardzero): Likewise.
6083         (asin_test_downward): Likewise.
6084         (asin_test_upward): Likewise.
6085         (asinh_test): Likewise.
6086         (atan_test): Likewise.
6087         (atanh_test): Likewise.
6088         (atan2_test): Likewise.
6089         (cabs_test): Likewise.
6090         (cacos_test): Likewise.
6091         (cacosh_test): Likewise.
6092         (carg_test): Likewise.
6093         (casin_test): Likewise.
6094         (casinh_test): Likewise.
6095         (catan_test): Likewise.
6096         (catanh_test): Likewise.
6097         (cbrt_test): Likewise.
6098         (ccos_test): Likewise.
6099         (ccosh_test): Likewise.
6100         (ceil_test): Likewise.
6101         (cexp_test): Likewise.
6102         (cimag_test): Likewise.
6103         (clog_test): Likewise.
6104         (clog10_test): Likewise.
6105         (conj_test): Likewise.
6106         (copysign_test): Likewise.
6107         (cos_test): Likewise.
6108         (cos_test_tonearest): Likewise.
6109         (cos_test_towardzero): Likewise.
6110         (cos_test_downward): Likewise.
6111         (cos_test_upward): Likewise.
6112         (cosh_test): Likewise.
6113         (cosh_test_tonearest): Likewise.
6114         (cosh_test_towardzero): Likewise.
6115         (cosh_test_downward): Likewise.
6116         (cosh_test_upward): Likewise.
6117         (cpow_test): Likewise.
6118         (cproj_test): Likewise.
6119         (creal_test): Likewise.
6120         (csin_test): Likewise.
6121         (csinh_test): Likewise.
6122         (csqrt_test): Likewise.
6123         (ctan_test): Likewise.
6124         (ctan_test_tonearest): Likewise.
6125         (ctan_test_towardzero): Likewise.
6126         (ctan_test_downward): Likewise.
6127         (ctan_test_upward): Likewise.
6128         (ctanh_test): Likewise.
6129         (ctanh_test_tonearest): Likewise.
6130         (ctanh_test_towardzero): Likewise.
6131         (ctanh_test_downward): Likewise.
6132         (ctanh_test_upward): Likewise.
6133         (erf_test): Likewise.
6134         (erfc_test): Likewise.
6135         (exp_test): Likewise.
6136         (exp_test_tonearest): Likewise.
6137         (exp_test_towardzero): Likewise.
6138         (exp_test_downward): Likewise.
6139         (exp_test_upward): Likewise.
6140         (exp10_test): Likewise.
6141         (exp10_test_tonearest): Likewise.
6142         (exp10_test_towardzero): Likewise.
6143         (exp10_test_downward): Likewise.
6144         (exp10_test_upward): Likewise.
6145         (pow10_test): Likewise.
6146         (exp2_test): Likewise.
6147         (expm1_test): Likewise.
6148         (expm1_test_tonearest): Likewise.
6149         (expm1_test_towardzero): Likewise.
6150         (expm1_test_downward): Likewise.
6151         (expm1_test_upward): Likewise.
6152         (fabs_test): Likewise.
6153         (fdim_test): Likewise.
6154         (floor_test): Likewise.
6155         (fma_test): Likewise.
6156         (fma_test_towardzero): Likewise.
6157         (fma_test_downward): Likewise.
6158         (fma_test_upward): Likewise.
6159         (fmax_test): Likewise.
6160         (fmin_test): Likewise.
6161         (fmod_test): Likewise.
6162         (fpclassify_test): Likewise.
6163         (frexp_test): Likewise.
6164         (hypot_test): Likewise.
6165         (ilogb_test): Likewise.
6166         (isfinite_test): Likewise.
6167         (finite_test): Likewise.
6168         (isgreater_test): Likewise.
6169         (isgreaterequal_test): Likewise.
6170         (isinf_test): Likewise.
6171         (isless_test): Likewise.
6172         (islessequal_test): Likewise.
6173         (islessgreater_test): Likewise.
6174         (isnan_test): Likewise.
6175         (isnormal_test): Likewise.
6176         (issignaling_test): Likewise.
6177         (isunordered_test): Likewise.
6178         (j0_test): Likewise.
6179         (j1_test): Likewise.
6180         (jn_test): Likewise.
6181         (ldexp_test): Likewise.
6182         (lgamma_test): Likewise.
6183         (gamma_test): Likewise.
6184         (lrint_test): Likewise.
6185         (lrint_test_tonearest): Likewise.
6186         (lrint_test_towardzero): Likewise.
6187         (lrint_test_downward): Likewise.
6188         (lrint_test_upward): Likewise.
6189         (llrint_test): Likewise.
6190         (llrint_test_tonearest): Likewise.
6191         (llrint_test_towardzero): Likewise.
6192         (llrint_test_downward): Likewise.
6193         (llrint_test_upward): Likewise.
6194         (log_test): Likewise.
6195         (log10_test): Likewise.
6196         (log1p_test): Likewise.
6197         (log2_test): Likewise.
6198         (logb_test): Likewise.
6199         (logb_test_downward): Likewise.
6200         (lround_test): Likewise.
6201         (llround_test): Likewise.
6202         (modf_test): Likewise.
6203         (nearbyint_test): Likewise.
6204         (nextafter_test): Likewise.
6205         (nexttoward_test): Likewise.
6206         (pow_test): Likewise.
6207         (pow_test_tonearest): Likewise.
6208         (pow_test_towardzero): Likewise.
6209         (pow_test_downward): Likewise.
6210         (pow_test_upward): Likewise.
6211         (remainder_test): Likewise.
6212         (drem_test): Likewise.
6213         (remainder_test_tonearest): Likewise.
6214         (drem_test_tonearest): Likewise.
6215         (remainder_test_towardzero): Likewise.
6216         (drem_test_towardzero): Likewise.
6217         (remainder_test_downward): Likewise.
6218         (drem_test_downward): Likewise.
6219         (remainder_test_upward): Likewise.
6220         (drem_test_upward): Likewise.
6221         (remquo_test): Likewise.
6222         (rint_test): Likewise.
6223         (rint_test_tonearest): Likewise.
6224         (rint_test_towardzero): Likewise.
6225         (rint_test_downward): Likewise.
6226         (rint_test_upward): Likewise.
6227         (round_test): Likewise.
6228         (scalb_test): Likewise.
6229         (scalbn_test): Likewise.
6230         (scalbln_test): Likewise.
6231         (signbit_test): Likewise.
6232         (sin_test): Likewise.
6233         (sin_test_tonearest): Likewise.
6234         (sin_test_towardzero): Likewise.
6235         (sin_test_downward): Likewise.
6236         (sin_test_upward): Likewise.
6237         (sincos_test): Likewise.
6238         (sinh_test): Likewise.
6239         (sinh_test_tonearest): Likewise.
6240         (sinh_test_towardzero): Likewise.
6241         (sinh_test_downward): Likewise.
6242         (sinh_test_upward): Likewise.
6243         (sqrt_test): Likewise.
6244         (sqrt_test_tonearest): Likewise.
6245         (sqrt_test_towardzero): Likewise.
6246         (sqrt_test_downward): Likewise.
6247         (sqrt_test_upward): Likewise.
6248         (tan_test): Likewise.
6249         (tan_test_tonearest): Likewise.
6250         (tan_test_towardzero): Likewise.
6251         (tan_test_downward): Likewise.
6252         (tan_test_upward): Likewise.
6253         (tanh_test): Likewise.
6254         (tgamma_test): Likewise.
6255         (trunc_test): Likewise.
6256         (y0_test): Likewise.
6257         (y1_test): Likewise.
6258         (yn_test): Likewise.
6259         (significand_test): Likewise.
6260
6261         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6262         individual tests in comment.
6263         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6264         (prev_max_error): New variable.
6265         (prev_real_max_error): Likewise.
6266         (prev_imag_max_error): Likewise.
6267         (compare_ulp_data): Don't refer to test names in comment.
6268         (find_test_ulps): Remove function.
6269         (find_function_ulps): Likewise.
6270         (find_complex_function_ulps): Likewise.
6271         (init_max_error): Take function name as argument.  Look up ulps
6272         for that function.
6273         (print_ulps): Remove function.
6274         (print_max_error): Use prev_max_error instead of calling
6275         find_function_ulps.
6276         (print_complex_max_error): Use prev_real_max_error and
6277         prev_imag_max_error instead of calling find_complex_function_ulps.
6278         (check_float_internal): Take max_ulp parameter instead of calling
6279         find_test_ulps.  Don't call print_ulps.
6280         (check_float): Update call to check_float_internal.
6281         (check_complex): Update calls to check_float_internal.
6282         (START): Pass argument to init_max_error.
6283         * math/gen-libm-test.pl (%results): Don't include "kind"
6284         information.
6285         (parse_ulps): Don't handle ulps of individual tests.
6286         (print_ulps_file): Likewise.
6287         (output_ulps): Likewise.
6288         * math/README.libm-test: Update.
6289         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6290         individual tests.
6291         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6292         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6293         * sysdeps/arm/libm-test-ulps: Likewise.
6294         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6295         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6296         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6297         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6298         * sysdeps/microblaze/libm-test-ulps: Likewise.
6299         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6300         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6301         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6302         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6303         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6304         * sysdeps/sh/libm-test-ulps: Likewise.
6305         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6306         * sysdeps/tile/libm-test-ulps: Likewise.
6307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6308
6309 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6310
6311         * math/libm-test.inc (print_complex_max_error): Check separately
6312         whether real and imaginary errors are within allowed range and
6313         pass 0 to print_complex_function_ulps instead of value within
6314         allowed range.
6315
6316 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6317
6318         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6319         formatting.
6320         (get_handles_fopen): Likewise.
6321         (do_write_test): Likewise.
6322
6323         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6324
6325         * libio/fileops.c (do_ftell): Use cached offset when
6326         available.
6327         * libio/iofwide.c (do_ftell_wide): Likewise.
6328         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6329         _IO_file_attach.
6330         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6331
6332         [BZ #16532]
6333         * libio/libioP.h (get_file_offset): New function.
6334         * libio/fileops.c (get_file_offset): Likewise.
6335         (do_ftell): Likewise.
6336         (_IO_new_file_seekoff): Split out ftell logic.
6337         * libio/wfileops.c (do_ftell_wide): Likewise.
6338         (_IO_wfile_seekoff): Split out ftell logic.
6339         * libio/tst-ftell-active-handler.c: New test case.
6340         * libio/Makefile (tests): Add it.
6341
6342 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6343
6344         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6345         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6346
6347 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6348
6349         [BZ #16639]
6350         * nscd/connections.c (nscd_init): Call do_exit.
6351         (start_threads): Call do_exit and notify_parent.
6352         (begin_drop_privileges): Call do_exit.
6353         (finish_drop_privileges): Likewise.
6354         * nscd/selinux.c (preserve_capabilities): Likewise.
6355         (install_real_capabilities): Likewise.
6356         (nscd_selinux_enabled): Likewise.
6357         (avc_create_thread): Likewise.
6358         (avc_alloc_lock): Likewise.
6359         (nscd_avc_init): Likewise.
6360         * nscd/nscd.c (parent_fd): New static variable.
6361         (main): Create a pipe between parent and child processes.
6362         Skip closing parent_fd.
6363         (monitor_child): New function.
6364         (do_exit): Likewise.
6365         (notify_parent): Likewise.
6366         * nscd/nscd.h (notify_parent): Likewise.
6367         (do_exit): Likewise.
6368
6369 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6370
6371         * malloc/malloc.c (__libc_calloc): Revert last change.
6372
6373 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6374
6375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6376
6377 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6378
6379         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6381         implementation.
6382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6383         (__libc_ifunc_impl_list): Likewise.
6384         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6385         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6386         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6387         * string/strrchr.c: Define STRRCHR.
6388
6389 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6390
6391         * benchtest/bench-strtok.c (simple_strtok): Delete.
6392         (strtok_string): Use as benchmark.
6393         * string/strtok (STRTOK): New macro.
6394
6395 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6396
6397         * manual/threads.texi: Add header and standard comments to all
6398         functions.
6399
6400         * elf/dl-lookup.c (check_match): New function.
6401         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6402         (do_lookup_x): Remove nested function check_match. Use non-nested
6403         function check_match.
6404
6405 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6406
6407         * csu/Makefile (generated, before-compile): Use += rather than =.
6408         * catgets/Makefile (generated, generated-dirs): Likewise.
6409         * debug/Makefile (generated): Likewise.
6410         * dlfcn/Makefile (generated): Likewise.
6411         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6412         * iconvdata/Makefile (before-compile, generated): Likewise.
6413         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6414         * libio/Makefile (generated): Likewise.
6415         * malloc/Makefile (generated): Likewise.
6416         * manual/Makefile (generated, generated-dirs): Likewise.
6417         * misc/Makefile (generated): Likewise.
6418         * posix/Makefile (generated): Likewise.
6419         * resolv/Makefile (generated): Likewise.
6420         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6421         * timezone/Makefile (generated, generated-dirs): Likewise.
6422
6423         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6424
6425 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6426
6427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6428         power8 implementation.
6429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6430         file: POWER8 llround ifunc implementation.
6431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6432         (__lllround): Add POWER8 implementation.
6433         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6434         POWER8 llround implementation.
6435
6436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6437         power8 implementation.
6438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6439         file: POWER8 llrint ifunc implementation.
6440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6441         Add POWER8 implementation.
6442         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6443         POWER8 llrint implementation.
6444
6445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6446         power8 implementation.
6447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6448         file: POWER8 finite ifunc implementation.
6449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6450         Add POWER8 implementation.
6451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6452         Likewise.
6453         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6454         POWER8 finite implementation.
6455         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6456
6457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6458         power8 implementation.
6459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6460         file: POWER8 isinf ifunc implementation.
6461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6462         POWER8 implementation.
6463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6464         Likewise.
6465         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6466         isinf implementation.
6467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6468
6469         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6470         (INIT_ARCH): Add hwcap2 initialization.
6471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6472         power8 implementation.
6473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6474         file: POWER8 isnan ifunc implementation.
6475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6476         POWER8 implementation.
6477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6478         Likewise.
6479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6480         isnan implementation.
6481         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6482
6483 2014-02-27  Joey Ye  <joey.ye@arm.com>
6484
6485         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6486         (_FP_NANFRAC_Q): Set to zero.
6487
6488 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6489
6490         [BZ #16623]
6491         * math/auto-libm-test-in: New test inputs.
6492         * math/auto-libm-test-out: Regenerate.
6493         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6494         and DA.
6495         (__cos): Likewise.
6496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6497
6498 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6499
6500         * scripts/evaluate-test.sh: Take new argument indicating whether
6501         failure is expected.
6502         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6503         indicating whether failure is expected.
6504         * conform/Makefile (test-xfail-run-conformtest): New variable.
6505         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6506         level.
6507         * posix/Makefile (test-xfail-annexc): New variable.
6508         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6509
6510 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6511
6512         * argp/Makefile: Include Makeconfig immediately after defining
6513         subdir.
6514         * assert/Makefile: Likewise.
6515         * benchtests/Makefile: Likewise.
6516         * catgets/Makefile: Likewise.
6517         * conform/Makefile: Likewise.
6518         * crypt/Makefile: Likewise.
6519         * csu/Makefile: Likewise.
6520         (all): Remove target.
6521         * ctype/Makefile: Include Makeconfig immediately after defining
6522         subdir.
6523         * debug/Makefile: Likewise.
6524         * dirent/Makefile: Likewise.
6525         * dlfcn/Makefile: Likewise.
6526         * gmon/Makefile: Likewise.
6527         * gnulib/Makefile: Likewise.
6528         * grp/Makefile: Likewise.
6529         * gshadow/Makefile: Likewise.
6530         * hesiod/Makefile: Likewise.
6531         * hurd/Makefile: Likewise.
6532         (all): Remove target.
6533         * iconvdata/Makefile: Include Makeconfig immediately after
6534         defining subdir.
6535         * inet/Makefile: Likewise.
6536         * intl/Makefile: Likewise.
6537         * io/Makefile: Likewise.
6538         * libio/Makefile: Likewise.
6539         (all): Remove target.
6540         * locale/Makefile: Include Makeconfig immediately after defining
6541         subdir.
6542         * login/Makefile: Likewise.
6543         * mach/Makefile: Likewise.
6544         (all): Remove target.
6545         * malloc/Makefile: Include Makeconfig immediately after defining
6546         subdir.
6547         (all): Remove target.
6548         * manual/Makefile: Include Makeconfig immediately after defining
6549         subdir.
6550         * math/Makefile: Likewise.
6551         * misc/Makefile: Likewise.
6552         * nis/Makefile: Likewise.
6553         * nss/Makefile: Likewise.
6554         * po/Makefile: Likewise.
6555         (all): Remove target.
6556         * posix/Makefile: Include Makeconfig immediately after defining
6557         subdir.
6558         * pwd/Makefile: Likewise.
6559         * resolv/Makefile: Likewise.
6560         * resource/Makefile: Likewise.
6561         * rt/Makefile: Likewise.
6562         * setjmp/Makefile: Likewise.
6563         * shadow/Makefile: Likewise.
6564         * signal/Makefile: Likewise.
6565         * socket/Makefile: Likewise.
6566         * soft-fp/Makefile: Likewise.
6567         * stdio-common/Makefile: Likewise.
6568         * stdlib/Makefile: Likewise.
6569         * streams/Makefile: Likewise.
6570         * string/Makefile: Likewise.
6571         * sunrpc/Makefile: Likewise.
6572         (all): Remove target.
6573         * sysvipc/Makefile: Include Makeconfig immediately after defining
6574         subdir.
6575         * termios/Makefile: Likewise.
6576         * time/Makefile: Likewise.
6577         * timezone/Makefile: Likewise.
6578         (all): Remove target.
6579         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6580         subdir.
6581         * wctype/Makefile: Likewise.
6582
6583 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6584
6585         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6586         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6587         (libc_feholdexcept_setround_mips): Ditto.
6588         (libc_feholdsetround): New.
6589         (libc_feholdsetroundf): New.
6590         (libc_feholdsetroundl): New.
6591         (libc_feupdateenv_test_mips): New.
6592         (libc_feupdateenv_test): New.
6593         (libc_feupdateenv_testf): New.
6594         (libc_feupdateenv_testl): New.
6595         (libc_feresetround): New.
6596         (libc_feresetroundf): New.
6597         (libc_feresetroundl): New.
6598         (libc_fetestexcept_mips): New.
6599         (libc_fetestexcept): New.
6600         (libc_fetestexceptf): New.
6601         (libc_fetestexceptl): New.
6602         (HAVE_RM_CTX): New.
6603         (libc_feholdexcept_setround_mips_ctx): New.
6604         (libc_feholdexcept_setround_ctx): New.
6605         (libc_feholdexcept_setroundf_ctx): New.
6606         (libc_feholdexcept_setroundl_ctx): New.
6607         (libc_fesetenv_mips_ctx): New.
6608         (libc_fesetenv_ctx): New.
6609         (libc_fesetenv_ctxf): New.
6610         (libc_fesetenv_ctxl): New.
6611         (libc_feupdateenv_mips_ctx): New.
6612         (libc_feupdateenv_ctx): New.
6613         (libc_feupdateenvf_ctx): New.
6614         (libc_feupdateenvl_ctx): New.
6615         (libc_feholdsetround_mips_ctx): New.
6616         (libc_feholdsetround_ctx): New.
6617         (libc_feholdsetroundf_ctx): New.
6618         (libc_feholdsetroundl_ctx): New.
6619         (libc_feresetround_mips_ctx): New.
6620         (libc_feresetround_ctx): New.
6621         (libc_feresetroundf_ctx): New.
6622         (libc_feresetroundl_ctx): New.
6623
6624 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6625
6626         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6627
6628         * manual/ipc.texi: New file.
6629         * manual/Makefile (chapters): Add ipc.
6630         * manual/job.texi: Add "Inter-Process Communication" to next.
6631         * manual/process.texi: Add "Inter-Process Communication" to prev.
6632
6633 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6634
6635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6636
6637 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6638
6639         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6640
6641         * manual/arith.texi: Fix spaces after sentences.
6642         * manual/charset.texi: Likewise.
6643         * manual/errno.texi: Likewise.
6644         * manual/install.texi: Likewise.
6645         * manual/llio.texi: Likewise.
6646         * manual/locale.texi: Likewise.
6647         * manual/maint.texi: Likewise.
6648         * manual/math.texi: Likewise.
6649         * manual/memory.texi: Likewise.
6650         * manual/message.texi: Likewise.
6651         * manual/probes.texi: Likewise.
6652         * manual/resource.texi: Likewise.
6653         * manual/signal.texi: Likewise.
6654         * manual/socket.texi: Likewise.
6655         * manual/stdio.texi: Likewise.
6656         * manual/string.texi: Likewise.
6657         * manual/time.texi: Likewise.
6658         * manual/users.texi: Likewise.
6659
6660 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6661
6662         [BZ #16632]
6663         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6664         _DEFAULT_SOURCE is defined.
6665
6666 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6667             Carlos O'Donell  <carlos@redhat.com>
6668
6669         [BZ #16613]
6670         * elf/dl-tls.c (_dl_count_modids): New function.
6671         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6672         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6673         audit library and increment generation counter.
6674         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6675         * elf/tst-audit9.c: New file.
6676         * elf/tst-auditmod9a.c: New file.
6677         * elf/tst-auditmod9b.c: New file.
6678         * elf/Makefile: Add rules to build and run tst-audit9.
6679
6680 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6681
6682         [BZ #15347]
6683         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6684
6685 2014-02-25  Will Newton  <will.newton@linaro.org>
6686
6687         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6688         (__longjmp): Restore sp and lr before restoring callee
6689         saved registers.  Add longjmp and longjmp_target
6690         SystemTap probe point.
6691         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6692         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6693         Define to zero to match jmpbuf layout.
6694         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6695         (__sigsetjmp): Save sp and lr before saving callee
6696         saved registers.  Add setjmp SystemTap probe point.
6697
6698 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6699
6700         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6701
6702 2014-02-24  Andreas Schwab  <schwab@suse.de>
6703
6704         [BZ #15804]
6705         * elf/pldd.c (wait_for_ptrace_stop): New function.
6706         (main): Call it after attaching.
6707
6708 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6709
6710         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6711         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6712         Versions files is now verboten.
6713         * hurd/Versions (libc: GLIBC_2.0):
6714         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6715         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6716         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6717         * mach/Versions: Likewise.
6718
6719         * csu/Versions: Remove unused %include.
6720         * resolv/Versions: Likewise.
6721
6722 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6723
6724         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6725         ($(objpfx)check-local-headers.out): Likewise.
6726         ($(objpfx)begin-end-check.out): Likewise.
6727         * Makerules (check-abi-%.out): Likewise.
6728         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6729         ($(objpfx)test2.cat): Likewise.
6730         ($(objpfx)de/libc.cat): Likewise.
6731         ($(objpfx)test-gencat.out): Likewise.
6732         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6733         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6734         ($(objpfx)noload-mem): Likewise.
6735         ($(objpfx)tst-pathopt.out): Likewise.
6736         ($(objpfx)tst-rtld-load-self.out): Likewise.
6737         ($(objpfx)tst-array1-cmp.out): Likewise.
6738         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6739         ($(objpfx)tst-array2-cmp.out): Likewise.
6740         ($(objpfx)tst-array3-cmp.out): Likewise.
6741         ($(objpfx)tst-array4-cmp.out): Likewise.
6742         ($(objpfx)tst-array5-cmp.out): Likewise.
6743         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6744         ($(objpfx)check-textrel.out): Likewise.
6745         ($(objpfx)check-execstack.out): Likewise.
6746         ($(objpfx)check-localplt.out): Likewise.
6747         ($(objpfx)order2-cmp.out): Likewise.
6748         ($(objpfx)tst-leaks1-mem): Likewise.
6749         ($(objpfx)tst-leaks1-static-mem): Likewise.
6750         ($(objpfx)tst-initorder-cmp.out): Likewise.
6751         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6752         ($(objpfx)tst-unused-dep.out): Likewise.
6753         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6754         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6755         * iconv/Makefile (test-iconvconfig): Likewise.
6756         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6757         ($(objpfx)iconv-test.out): Likewise.
6758         ($(objpfx)tst-tables.out): Likewise.
6759         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6760         ($(objpfx)tst-gettext.out): Likewise.
6761         ($(objpfx)tst-translit.out): Likewise.
6762         ($(objpfx)tst-gettext2.out): Likewise.
6763         ($(objpfx)tst-gettext4.out): Likewise.
6764         ($(objpfx)tst-gettext6.out): Likewise.
6765         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6766         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6767         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6768         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6769         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6770         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6771         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6772         ($(objpfx)wordexp-tst.out): Likewise.
6773         ($(objpfx)annexc.out): Likewise.
6774         ($(objpfx)tst-fnmatch-mem): Likewise.
6775         ($(objpfx)bug-regex2-mem): Likewise.
6776         ($(objpfx)bug-regex14-mem): Likewise.
6777         ($(objpfx)bug-regex21-mem): Likewise.
6778         ($(objpfx)bug-regex31-mem): Likewise.
6779         ($(objpfx)tst-vfork3-mem): Likewise.
6780         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6781         ($(objpfx)tst-pcre-mem): Likewise.
6782         ($(objpfx)tst-boost-mem): Likewise.
6783         ($(objpfx)tst-getconf.out): Likewise.
6784         ($(objpfx)bug-ga2-mem): Likewise.
6785         ($(objpfx)bug-glob2-mem): Likewise.
6786         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6787         ($(objpfx)mtrace-tst-leaks2): Likewise.
6788         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6789         ($(objpfx)tst-printf.out): Likewise.
6790         ($(objpfx)tst-setvbuf1.out): Likewise.
6791         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6792         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6793         ($(objpfx)tst-fmtmsg.out): Likewise.
6794         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6795         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6796
6797         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6798         * bits/sigaction.h [__USE_MISC]: Likewise.
6799         * bits/waitstatus.h: Update #endif comments.
6800         * ctype/ctype.h: Likewise.
6801         * dirent/dirent.h: Likewise.
6802         [__USE_MISC]: Remove redundant conditionals.
6803         * grp/grp.h: Update #endif comments.
6804         [__USE_GNU]: Remove redundant conditionals.
6805         [__USE_MISC]: Likewise.
6806         * inet/netinet/in.h [__USE_GNU]: Likewise.
6807         * io/sys/stat.h [__USE_MISC]: Likewise.
6808         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6809         * libio/bits/stdio.h: Update #endif comments.
6810         [__USE_MISC]: Remove redundant conditionals.
6811         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6812         * libio/stdio.h: Update #endif comments.
6813         [__USE_MISC]: Remove redundant conditionals.
6814         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6815         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6816         * math/math.h: Update #else and #endif comments.
6817         [__USE_MISC]: Remove redundant conditionals.
6818         * misc/sys/uio.h: Update #endif comments.
6819         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6820         * posix/glob.h [__USE_MISC]: Likewise.
6821         * posix/sys/types.h: Update #endif comments.
6822         [__USE_MISC]: Remove redundant conditionals.
6823         * posix/sys/wait.h: Update #endif comments.
6824         [__USE_MISC]: Remove redundant conditionals.
6825         * posix/unistd.h: Update #endif comments.
6826         [__USE_MISC]: Remove redundant conditionals.
6827         * pwd/pwd.h [__USE_GNU]: Likewise.
6828         [__USE_MISC]: Likewise.
6829         * resolv/netdb.h [__USE_GNU]: Likewise.
6830         * signal/signal.h: Update #endif comments.
6831         [__USE_MISC]: Remove redundant conditionals.
6832         * stdlib/stdlib.h: Update #else and #endif comments.
6833         [__USE_MISC]: Remove redundant conditionals.
6834         [__USE_GNU]: Likewise.
6835         * string/bits/string2.h [__USE_MISC]: Likewise.
6836         * string/string.h: Update #endif comments.
6837         [__USE_MISC]: Remove redundant conditionals.
6838         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6839         Likewise.
6840         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6841         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6842         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6843         Likewise.
6844         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6845         Likewise.
6846         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6847         comments.
6848         [__USE_MISC]: Remove redundant conditionals.
6849         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6850         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6851         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6852         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6853         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6854         Likewise.
6855         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6856         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6857         Likewise.
6858         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6859         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6860         Likewise.
6861         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6864         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6865         Likewise.
6866         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6867         Likewise.
6868         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6869         * sysdeps/x86/bits/string.h: Update #endif comments.
6870         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6871         conditionals.
6872         * time/sys/time.h: Update #endif comments.
6873         * time/time.h: Likewise.
6874         [__USE_MISC]: Remove redundant conditionals.
6875
6876 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6877
6878         [BZ #16600]
6879         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6880
6881 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6882
6883         * Versions.def (librt): Add GLIBC_2.17.
6884
6885 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6886
6887         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6888         synonym for _SYS_AUXV_H to allow direct inclusion.
6889         * sysdeps/sparc/bits/hwcap.h: Likewise.
6890         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6891         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6892         * sysdeps/sparc/sysdep.h: Likewise.
6893
6894 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6895
6896         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6897
6898 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6899
6900         * benchtests/bench-strrchr.c: Print length instead of position.
6901
6902 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6903
6904         [BZ #16611]
6905         * sysdeps/unix/sysv/linux/kernel-features.h
6906         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6907         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6908         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6909         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6910         Likewise.
6911         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6912         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6913         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6914         (__ASSUME_SENDMMSG): Define instead of using previous
6915         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6916         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6917         (__ASSUME_SENDMMSG_SYSCALL): Define.
6918         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6919         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6920         Likewise.
6921         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6922         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6923         Likewise.
6924         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6925         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6926         Likewise.
6927         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6928         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6929         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6930         [__ASSUME_SENDMMSG]: Change conditionals to
6931         [__ASSUME_SENDMMSG_SOCKETCALL].
6932         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6933         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6934         Define.
6935         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6936         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6937         Likewise.
6938         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6939         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6940         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6941         [!__ASSUME_SENDMMSG]: Change conditional to
6942         [!__ASSUME_SENDMMSG_SOCKETCALL].
6943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6944         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6945         Define.
6946
6947         [BZ #16610]
6948         * sysdeps/unix/sysv/linux/kernel-features.h
6949         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6950         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6951         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6952         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6953         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6954         [__i386__ || __sparc__]
6955         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6956         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6957         (__ASSUME_RECVMMSG): Define instead of using previous
6958         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6959         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6960         (__ASSUME_RECVMMSG_SYSCALL): Define.
6961         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6963         Likewise.
6964         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6966         Likewise.
6967         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6968         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6969         Likewise.
6970         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6971         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6972         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6973         [__ASSUME_RECVMMSG]: Change condition to
6974         [__ASSUME_RECVMMSG_SOCKETCALL].
6975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6977         Define.
6978         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6979         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6981         Likewise.
6982         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6983         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6984         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6985         [!__ASSUME_RECVMMSG]: Change condition to
6986         [!__ASSUME_RECVMMSG_SOCKETCALL].
6987         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6988         (__ASSUME_RECVMMSG_SYSCALL): Define.
6989
6990         [BZ #16609]
6991         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6992         __powerpc__ || __s390__ || __sh__ || __sparc__]
6993         (__ASSUME_SOCKETCALL): Define.
6994         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6995         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6996         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6997         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6998         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6999         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7000         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7001         (__ASSUME_ACCEPT4): Define instead of using previous
7002         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7003         __powerpc__ || __sparc__ || __s390__)] condition.
7004         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7005         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7006         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7007         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7008         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7009         [!__ASSUME_ACCEPT4]: Change condition to
7010         [!__ASSUME_ACCEPT4_SOCKETCALL].
7011         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7012         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7013         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7014         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7015         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7016         __ASSUME_ACCEPT4_SYSCALL.
7017         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7018         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7019         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7020         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7021         __ASSUME_ACCEPT4_SYSCALL.
7022         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7023         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7024         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7025         [__ASSUME_ACCEPT4]: Change condition to
7026         [__ASSUME_ACCEPT4_SOCKETCALL].
7027         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7028         (__ASSUME_SOCKETCALL): Define.
7029         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7031         (__ASSUME_SOCKETCALL): Define.
7032         (__ASSUME_ACCEPT4): Remove.
7033         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7034         Define.
7035         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7036         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7037         Likewise.
7038         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7039         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7040
7041         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7042         macro.
7043         (HWCAP_ARM_LPAE): Likewise.
7044         (HWCAP_ARM_EVTSTRM): Likewise.
7045         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7046         Add vpfd32, lpae and evtstrm.
7047         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7048         Increase to 22.
7049
7050 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7051
7052         * math/auto-libm-test-in: Add tests of clog10.
7053         * math/auto-libm-test-out: Regenerated.
7054         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7055         * sysdeps/i386/fpu/libm-test-ulps: Update.
7056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7057
7058 2014-02-18  Andreas Schwab  <schwab@suse.de>
7059
7060         [BZ #16574]
7061         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7062         Store non-zero if the second buffer was newly allocated.
7063         (send_dg): Likewise.
7064         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7065         to send_vc and send_dg.
7066         (res_nsend): Pass NULL for ansp2_malloced.
7067         * resolv/res_query.c (__libc_res_nquery): Add parameter
7068         answerp2_malloced and pass it down to __libc_res_nsend.
7069         (res_nquery): Pass additional NULL to __libc_res_nquery.
7070         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7071         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7072         second answer buffer if answerp2_malloced was set.
7073         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7074         (__libc_res_nquerydomain): Add parameter
7075         answerp2_malloced and pass it down to __libc_res_nquery.
7076         (res_nquerydomain): Pass additional NULL to
7077         __libc_res_nquerydomain.
7078         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7079         additional NULL to __libc_res_nsend and __libc_res_nquery.
7080         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7081         additional NULL to __libc_res_nsearch.
7082         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7083         parameter of __libc_res_nsearch to check for separately allocated
7084         second buffer.
7085         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7086         __libc_res_nquery.
7087         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7088         additional NULL to __libc_res_nquery.
7089         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7090         __libc_res_nsearch.
7091         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7092         * include/resolv.h: Update prototypes of __libc_res_nquery,
7093         __libc_res_nsearch, __libc_res_nsend.
7094
7095 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7096
7097         * math/auto-libm-test-in: Add tests of fma.
7098         * math/auto-libm-test-out: Regenerated.
7099         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7100         (fma_towardzero_test_data): Likewise.
7101         (fma_downward_test_data): Likewise.
7102         (fma_upward_test_data): Likewise.
7103         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7104         mpc_mode.
7105         (rounding_modes): Add values for new field.
7106         (func_calc_method): Add value mpfr_fff_f.
7107         (func_calc_desc): Add mpfr_fff_f union field.
7108         (test_function): Add field exact_args.
7109         (FUNC): Add macro argument EXACT_ARGS.
7110         (FUNC_mpfr_f_f): Update call to FUNC.
7111         (FUNC_mpfr_f_f): Likewise.
7112         (FUNC_mpfr_ff_f): Likewise.
7113         (FUNC_mpfr_if_f): Likewise.
7114         (FUNC_mpc_c_f): Likewise.
7115         (FUNC_mpc_c_c): Likewise.
7116         (test_functions): Add fma.  Update calls to FUNC.
7117         (handle_input_arg): Add argument exact_args.
7118         (add_test): Update call to handle_input_arg.
7119         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7120         (output_for_one_input_case): Update call to calc_generic_results.
7121         Recalculate exact zero results in each rounding mode.
7122
7123         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7124         non-negative before setting low bit.
7125         * math/auto-libm-test-in: Mark one asin test possibly having
7126         spurious underflow.
7127         * math/auto-libm-test-out: Regenerated.
7128         * sysdeps/i386/fpu/libm-test-ulps: Update.
7129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7130
7131 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7132
7133         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7134         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7135         ports/sysdeps/unix/sysv/linux/microblaze.
7136         * README: Add missing listing for microblaze*-*-linux-gnu.
7137
7138 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7139
7140         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7141         * sysdeps/unix/sysv/linux/ia64: Move directory from
7142         ports/sysdeps/unix/sysv/linux/ia64.
7143         * README: Update listing for ia64-*-linux-gnu.
7144
7145 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7146             Joseph Myers  <joseph@codesourcery.com>
7147
7148         * Makeconfig (test-name): New variable.
7149         (evaluate-test): Likewise.
7150         * Makerules (do-test-clean): Remove .test-result files.
7151         (common-mostlyclean): Likewise.
7152         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7153         * scripts/evaluate-test.sh: New file.
7154
7155 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7156
7157         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7158         separate $(objpfx)tst-fopenloc-cmp.out and
7159         $(objpfx)tst-fopenloc-mem.out targets.
7160         (tests): Update dependencies.
7161         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7162         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7163         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7164         (tst-rxspencer-no-utf8-ARGS): New variable.
7165         (tst-rxspencer-no-utf8-ENV): Likewise.
7166         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7167         instead of $(objpfx)tst-rxspencer-mem.
7168         ($(objpfx)tst-rxspencer-mem): Change target to
7169         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7170         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7171         * posix/tst-rxspencer-no-utf8.c: New file.
7172
7173         * elf/Makefile ($(objpfx)order.out): Remove rule.
7174         [$(run-built-tests) = yes] (tests): Depend on
7175         $(objpfx)order-cmp.out.
7176         ($(objpfx)order-cmp.out): New rule.
7177         [$(run-built-tests) = yes] (tests): Depend on
7178         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7179         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7180         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7181         $(objpfx)tst-array5-static-cmp.out.
7182         ($(objpfx)tst-array1.out): Remove rule.
7183         ($(objpfx)tst-array1-cmp.out): New rule.
7184         ($(objpfx)tst-array1-static.out): Remove rule.
7185         ($(objpfx)tst-array1-static-cmp.out): New rule.
7186         ($(objpfx)tst-array2.out): Remove rule.
7187         ($(objpfx)tst-array2-cmp.out): New rule.
7188         ($(objpfx)tst-array3.out): Remove rule.
7189         ($(objpfx)tst-array3-cmp.out): New rule.
7190         ($(objpfx)tst-array4.out): Remove rule.
7191         ($(objpfx)tst-array4-cmp.out): New rule.
7192         ($(objpfx)tst-array5.out): Remove rule.
7193         ($(objpfx)tst-array5-cmp.out): New rule.
7194         ($(objpfx)tst-array5-static.out): Remove rule.
7195         ($(objpfx)tst-array5-static-cmp.out): New rule.
7196         [$(run-built-tests) = yes] (tests): Depend on
7197         $(objpfx)order2-cmp.out.
7198         ($(objpfx)order2.out): Remove rule.
7199         ($(objpfx)order2-cmp.out): New rule.
7200         ($(objpfx)tst-initorder.out): Remove rule.
7201         [$(run-built-tests) = yes] (tests): Depend on
7202         $(objpfx)tst-initorder-cmp.out.
7203         ($(objpfx)tst-initorder-cmp.out): New rule.
7204         ($(objpfx)tst-initorder2.out): Remove rule.
7205         [$(run-built-tests) = yes] (tests): Depend on
7206         $(objpfx)tst-initorder2-cmp.out.
7207         ($(objpfx)tst-initorder2-cmp.out): New rule.
7208         [$(run-built-tests) = yes] (tests): Depend on
7209         $(objpfx)tst-unused-dep-cmp.out.
7210         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7211         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7212         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7213         on $(objpfx)tst-setvbuf1-cmp.out.
7214         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7215         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7216         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7217         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7218         ($(objpfx)tst-svc.out): Remove rule.
7219         ($(objpfx)tst-svc-cmp.out): New rule.
7220
7221 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7222
7223         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7224         * ctype/ctype.h [__USE_MISC]: Likewise.
7225         * dirent/dirent.h [__USE_MISC]: Likewise.
7226         * grp/grp.h [__USE_MISC]: Likewise.
7227         * io/fcntl.h [__USE_MISC]: Likewise.
7228         * io/sys/stat.h [__USE_MISC]: Likewise.
7229         * libio/stdio.h [__USE_MISC]: Likewise.
7230         * posix/unistd.h [__USE_MISC]: Likewise.
7231         * pwd/pwd.h [__USE_MISC]: Likewise.
7232         * stdlib.h [__USE_MISC]: Likewise.
7233         * string/bits/string2.h [__USE_MISC]: Likewise.
7234         * string/string.h [__USE_MISC]: Likewise.
7235         * time/time.h [__USE_MISC]: Likewise.
7236
7237 2014-02-13  Andreas Schwab  <schwab@suse.de>
7238
7239         [BZ #16574]
7240         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7241         second answer buffer if it was separately allocated.
7242
7243 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7244
7245         * sysdeps/mips/math-tests.h: Include <features.h>.
7246         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7247         (ROUNDING_TESTS_long_double): Do not define.
7248         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7249         (EXCEPTION_TESTS_long_double): Likewise.
7250         * sysdeps/mips/mips64/libm-test-ulps: Update.
7251
7252         * include/features.h (__USE_BSD): Remove macro definitions.
7253         (__USE_SVID): Likewise.
7254         (_BSD_SOURCE): Likewise.
7255         (_SVID_SOURCE): Likewise.
7256         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7257         from definition of _DEFAULT_SOURCE.
7258         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7259         [_DEFAULT_SOURCE].
7260         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7261         * bits/mman.h [__USE_BSD]: Likewise.
7262         * bits/termios.h [__USE_BSD]: Likewise.
7263         * bits/waitstatus.h [__USE_BSD]: Likewise.
7264         * ctype/ctype.h [__USE_SVID]: Likewise.
7265         * dirent/dirent.h [__USE_BSD]: Likewise.
7266         * grp/grp.h [__USE_SVID]: Likewise.
7267         [__USE_BSD]: Likewise.
7268         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7269         * io/fcntl.h [__USE_BSD]: Likewise.
7270         * io/ftw.h [__USE_BSD]: Likewise.
7271         * io/sys/stat.h [__USE_BSD]: Likewise.
7272         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7273         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7274         * libio/stdio.h [__USE_SVID]: Likewise.
7275         [__USE_BSD]: Likewise.
7276         * math/math.h [__USE_SVID]: Likewise.
7277         [__USE_BSD]: Likewise.
7278         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7279         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7280         * misc/search.h [__USE_SVID]: Likewise.
7281         * misc/sys/mman.h [__USE_BSD]: Likewise.
7282         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7283         * misc/sys/uio.h [__USE_BSD]: Likewise.
7284         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7285         * posix/glob.h [__USE_BSD]: Likewise.
7286         * posix/regex.h [__USE_BSD]: Likewise.
7287         * posix/sys/types.h [__USE_BSD]: Likewise.
7288         [__USE_SVID]: Likewise.
7289         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7290         * posix/sys/wait.h [__USE_BSD]: Likewise.
7291         [__USE_SVID]: Likewise.
7292         * posix/unistd.h [__USE_BSD]: Likewise.
7293         [__USE_SVID]: Likewise.
7294         * pwd/pwd.h [__USE_SVID]: Likewise.
7295         * resolv/netdb.h [__USE_BSD]: Likewise.
7296         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7297         * signal/signal.h [__USE_BSD]: Likewise.
7298         [__USE_SVID]: Likewise.
7299         * socket/sys/socket.h [__USE_BSD]: Likewise.
7300         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7301         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7302         [__USE_SVID]: Likewise.
7303         * string/bits/string2.h [__USE_BSD]: Likewise.
7304         [__USE_SVID]: Likewise.
7305         * string/bits/string3.h [__USE_BSD]: Likewise.
7306         * string/endian.h [__USE_BSD]: Likewise.
7307         * string/string.h [__USE_SVID]: Likewise.
7308         [__USE_BSD]: Likewise.
7309         * string/strings.h [__USE_BSD]: Likewise.
7310         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7311         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7312         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7313         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7314         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7315         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7316         Likewise.
7317         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7318         Likewise.
7319         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7320         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7321         Likewise.
7322         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7323         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7324         Likewise.
7325         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7326         Likewise.
7327         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7328         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7329         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7330         Likewise.
7331         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7332         Likewise.
7333         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7334         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7335         * termios/termios.h [__USE_BSD]: Likewise.
7336         * time/sys/time.h [__USE_BSD]: Likewise.
7337         * time/time.h [__USE_BSD]: Likewise.
7338         [__USE_SVID]: Likewise.
7339
7340         * Makefile (subdir_targets): Remove subdir_lint.out.
7341
7342         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7343         (do-tst-printf): Likewise.
7344         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7345         $(objpfx)tst-printf.out.
7346
7347         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7348
7349         * Makerules (check-abi-%): Change target to
7350         $(objpfx)check-abi-%.out.
7351         (check-abi target): Update dependencies.
7352         (check-abi-pattern variable): Redirect output of diff to $@.
7353         (check-abi variable): Likewise.
7354         * elf/Makefile (check-abi): Update dependencies.
7355
7356         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7357         unused.
7358         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7359         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7360         subnormal range.
7361         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7362         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7363         value has largest subnormal exponent.
7364         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7365         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7366         * sysdeps/aarch64/soft-fp/sfp-machine.h
7367         (_FP_TININESS_AFTER_ROUNDING): New macro.
7368         * sysdeps/alpha/soft-fp/sfp-machine.h
7369         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7370         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7371         Likewise.
7372         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7373         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7374         * sysdeps/mips/soft-fp/sfp-machine.h
7375         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7376         * sysdeps/powerpc/soft-fp/sfp-machine.h
7377         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7378         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7379         Likewise.
7380         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7381         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7382         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7383         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7384         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7385         Likewise.
7386
7387 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7388
7389         [BZ #16545]
7390         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7391         model 1.
7392
7393 2014-02-12  Richard Henderson  <rth@redhat.com>
7394
7395         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7396         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7397         * sysdeps/unix/sysv/linux/alpha: Move directory from
7398         ports/sysdeps/unix/sysv/linux/alpha.
7399         * README: Update listing for alpha-*-linux-gnu.
7400
7401 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7402
7403         * include/features.h: Update comment documenting feature test
7404         macros.
7405         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7406         _DEFAULT_SOURCE.
7407         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7408         (_SVID_SOURCE): Likewise.
7409         (_DEFAULT_SOURCE): Update description of default features.
7410         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7411         with _GNU_SOURCE.
7412         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7413         (S_ISVTX): Likewise.
7414         * manual/math.texi (Mathematical Constants): Likewise.
7415         * manual/signal.texi (Interrupted Primitives): Likewise.
7416         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7417         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7418         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7419         Don't refer to _SVID_SOURCE in warning text.
7420
7421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7422
7423         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7424         already defined.
7425         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7426         * sysdeps/mips/dl-lookup.c: Remove.
7427         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7428
7429 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7430
7431         [BZ #16447]
7432         * math/auto-libm-test-in: Add testcase for expl.
7433         * math/auto-libm-test-out: Regenerate.
7434         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7435         calculation of unsafe.
7436         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7437
7438 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7439
7440         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7441         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7442         ports/sysdeps/unix/sysv/linux/aarch64.
7443         * README: Update listing for aarch64*-*-linux-gnu.
7444
7445 2014-02-11  Will Newton  <will.newton@linaro.org>
7446
7447         * manual/probes.texi (Mathematical Function Probes): Use
7448         "triggered" instead of "hit".
7449
7450         * manual/probes.texi (Internal Probes): Add documentation
7451         of setjmp, longjmp and longjmp_target probes.
7452
7453         * include/stap-probe.h: Add comment about probe argument
7454         format.
7455
7456         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7457         definition.  (tr_where, tr_freehook, tr_mallochook,
7458         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7459
7460 2014-02-11  David S. Miller  <davem@davemloft.net>
7461
7462         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7463         processing int_tests.
7464
7465 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7466
7467         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7468         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7469         * sysdeps/unix/sysv/linux/mips: Move directory from
7470         ports/sysdeps/unix/sysv/linux/mips.
7471         * README: Update listing for mips-*-linux-gnu and
7472         mips64-*-linux-gnu.
7473
7474 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7475
7476         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7477         * sysdeps/unix/sysv/linux/m68k: Move directory from
7478         ports/sysdeps/unix/sysv/linux/m68k.
7479         * README: Update listing for m68k-*-linux-gnu.
7480
7481 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7482
7483         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7484         * sysdeps/unix/sysv/linux/generic: Move directory from
7485         ports/sysdeps/unix/sysv/linux/generic.
7486         * sysdeps/unix/sysv/linux/tile: Move directory from
7487         ports/sysdeps/unix/sysv/linux/tile.
7488         * README: Update listing for tile*-*-linux-gnu.
7489
7490 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7491
7492         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7493         __builtin_expect.
7494         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7495         * catgets/open_catalog.c (__open_catalog): Likewise.
7496         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7497         * debug/confstr_chk.c: Likewise.
7498         * debug/fread_chk.c (__fread_chk): Likewise.
7499         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7500         * debug/getgroups_chk.c: Likewise.
7501         * debug/mbsnrtowcs_chk.c: Likewise.
7502         * debug/mbsrtowcs_chk.c: Likewise.
7503         * debug/mbstowcs_chk.c: Likewise.
7504         * debug/memcpy_chk.c: Likewise.
7505         * debug/memmove_chk.c: Likewise.
7506         * debug/mempcpy_chk.c: Likewise.
7507         * debug/memset_chk.c: Likewise.
7508         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7509         * debug/strcat_chk.c (__strcat_chk): Likewise.
7510         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7511         * debug/strncat_chk.c (__strncat_chk): Likewise.
7512         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7513         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7514         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7515         * debug/wcpncpy_chk.c: Likewise.
7516         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7517         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7518         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7519         * debug/wcsncpy_chk.c: Likewise.
7520         * debug/wcsnrtombs_chk.c: Likewise.
7521         * debug/wcsrtombs_chk.c: Likewise.
7522         * debug/wcstombs_chk.c: Likewise.
7523         * debug/wmemcpy_chk.c: Likewise.
7524         * debug/wmemmove_chk.c: Likewise.
7525         * debug/wmempcpy_chk.c: Likewise.
7526         * debug/wmemset_chk.c: Likewise.
7527         * dirent/scandirat.c (SCANDIRAT): Likewise.
7528         * dlfcn/dladdr1.c (dladdr1): Likewise.
7529         * dlfcn/dladdr.c (dladdr): Likewise.
7530         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7531         * dlfcn/dlerror.c (__dlerror): Likewise.
7532         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7533         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7534         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7535         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7536         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7537         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7538         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7539         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7540         Likewise.
7541         * elf/dl-conflict.c: Likewise.
7542         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7543         * elf/dl-dst.h: Likewise.
7544         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7545         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7546         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7547         * elf/dl-init.c (call_init, _dl_init): Likewise.
7548         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7549         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7550         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7551         Likewise.
7552         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7553         Likewise.
7554         * elf/dl-minimal.c (__libc_memalign): Likewise.
7555         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7556         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7557         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7558         * elf/dl-sym.c (do_sym): Likewise.
7559         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7560         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7561         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7562         * elf/dl-writev.h (_dl_writev): Likewise.
7563         * elf/ldconfig.c (search_dir): Likewise.
7564         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7565         (dl_main): Likewise.
7566         * elf/setup-vdso.h (setup_vdso): Likewise.
7567         * grp/compat-initgroups.c (compat_call): Likewise.
7568         * grp/fgetgrent.c (fgetgrent): Likewise.
7569         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7570         * grp/putgrent.c (putgrent): Likewise.
7571         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7572         Likewise.
7573         * hurd/hurdinit.c: Likewise.
7574         * iconvdata/8bit-gap.c (struct): Likewise.
7575         * iconvdata/ansi_x3.110.c : Likewise.
7576         * iconvdata/big5.c : Likewise.
7577         * iconvdata/big5hkscs.c : Likewise.
7578         * iconvdata/cp1255.c: Likewise.
7579         * iconvdata/cp1258.c : Likewise.
7580         * iconvdata/cp932.c : Likewise.
7581         * iconvdata/euc-cn.c: Likewise.
7582         * iconvdata/euc-jisx0213.c : Likewise.
7583         * iconvdata/euc-jp.c: Likewise.
7584         * iconvdata/euc-jp-ms.c : Likewise.
7585         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7586         * iconvdata/gb18030.c : Likewise.
7587         * iconvdata/gbbig5.c (const): Likewise.
7588         * iconvdata/gbgbk.c: Likewise.
7589         * iconvdata/gbk.c : Likewise.
7590         * iconvdata/ibm1364.c : Likewise.
7591         * iconvdata/ibm930.c : Likewise.
7592         * iconvdata/ibm932.c: Likewise.
7593         * iconvdata/ibm933.c : Likewise.
7594         * iconvdata/ibm935.c : Likewise.
7595         * iconvdata/ibm937.c : Likewise.
7596         * iconvdata/ibm939.c : Likewise.
7597         * iconvdata/ibm943.c: Likewise.
7598         * iconvdata/iso_11548-1.c: Likewise.
7599         * iconvdata/iso-2022-cn.c : Likewise.
7600         * iconvdata/iso-2022-cn-ext.c : Likewise.
7601         * iconvdata/iso-2022-jp-3.c: Likewise.
7602         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7603         * iconvdata/iso-2022-kr.c : Likewise.
7604         * iconvdata/iso646.c (gconv_end): Likewise.
7605         * iconvdata/iso_6937-2.c : Likewise.
7606         * iconvdata/iso_6937.c : Likewise.
7607         * iconvdata/iso8859-1.c: Likewise.
7608         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7609         * iconvdata/shift_jisx0213.c : Likewise.
7610         * iconvdata/sjis.c : Likewise.
7611         * iconvdata/t.61.c : Likewise.
7612         * iconvdata/tcvn5712-1.c : Likewise.
7613         * iconvdata/tscii.c: Likewise.
7614         * iconvdata/uhc.c : Likewise.
7615         * iconvdata/unicode.c (gconv_end): Likewise.
7616         * iconvdata/utf-16.c (gconv_end): Likewise.
7617         * iconvdata/utf-32.c (gconv_end): Likewise.
7618         * iconvdata/utf-7.c (base64): Likewise.
7619         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7620         * iconv/gconv_close.c (__gconv_close): Likewise.
7621         * iconv/gconv_open.c (__gconv_open): Likewise.
7622         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7623         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7624         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7625         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7626         (ucs4le_internal_loop_single): Likewise.
7627         * iconv/iconv.c (iconv): Likewise.
7628         * iconv/iconv_close.c: Likewise.
7629         * iconv/loop.c (SINGLE): Likewise.
7630         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7631         * include/atomic.h: Likewise.
7632         * inet/inet6_option.c (option_alloc): Likewise.
7633         * intl/bindtextdom.c (set_binding_values): Likewise.
7634         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7635         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7636         * intl/localealias.c (read_alias_file): Likewise.
7637         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7638         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7639         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7640         * libio/fmemopen.c (fmemopen): Likewise.
7641         * libio/iofgets.c (_IO_fgets): Likewise.
7642         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7643         * libio/iofgetws.c (fgetws): Likewise.
7644         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7645         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7646         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7647         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7648         * locale/findlocale.c (_nl_find_locale): Likewise.
7649         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7650         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7651         Likewise.
7652         * locale/setlocale.c (setlocale): Likewise.
7653         * login/programs/pt_chown.c (main): Likewise.
7654         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7655         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7656         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7657         (mmap, mmap64, mremap, munmap): Likewise.
7658         * math/e_exp2l.c: Likewise.
7659         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7660         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7661         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7662         * math/s_catan.c (__catan): Likewise.
7663         * math/s_catanf.c (__catanf): Likewise.
7664         * math/s_catanh.c (__catanh): Likewise.
7665         * math/s_catanhf.c (__catanhf): Likewise.
7666         * math/s_catanhl.c (__catanhl): Likewise.
7667         * math/s_catanl.c (__catanl): Likewise.
7668         * math/s_ccosh.c (__ccosh): Likewise.
7669         * math/s_ccoshf.c (__ccoshf): Likewise.
7670         * math/s_ccoshl.c (__ccoshl): Likewise.
7671         * math/s_cexp.c (__cexp): Likewise.
7672         * math/s_cexpf.c (__cexpf): Likewise.
7673         * math/s_cexpl.c (__cexpl): Likewise.
7674         * math/s_clog10.c (__clog10): Likewise.
7675         * math/s_clog10f.c (__clog10f): Likewise.
7676         * math/s_clog10l.c (__clog10l): Likewise.
7677         * math/s_clog.c (__clog): Likewise.
7678         * math/s_clogf.c (__clogf): Likewise.
7679         * math/s_clogl.c (__clogl): Likewise.
7680         * math/s_csin.c (__csin): Likewise.
7681         * math/s_csinf.c (__csinf): Likewise.
7682         * math/s_csinh.c (__csinh): Likewise.
7683         * math/s_csinhf.c (__csinhf): Likewise.
7684         * math/s_csinhl.c (__csinhl): Likewise.
7685         * math/s_csinl.c (__csinl): Likewise.
7686         * math/s_csqrt.c (__csqrt): Likewise.
7687         * math/s_csqrtf.c (__csqrtf): Likewise.
7688         * math/s_csqrtl.c (__csqrtl): Likewise.
7689         * math/s_ctan.c (__ctan): Likewise.
7690         * math/s_ctanf.c (__ctanf): Likewise.
7691         * math/s_ctanh.c (__ctanh): Likewise.
7692         * math/s_ctanhf.c (__ctanhf): Likewise.
7693         * math/s_ctanhl.c (__ctanhl): Likewise.
7694         * math/s_ctanl.c (__ctanl): Likewise.
7695         * math/w_pow.c: Likewise.
7696         * math/w_powf.c: Likewise.
7697         * math/w_powl.c: Likewise.
7698         * math/w_scalb.c (sysv_scalb): Likewise.
7699         * math/w_scalbf.c (sysv_scalbf): Likewise.
7700         * math/w_scalbl.c (sysv_scalbl): Likewise.
7701         * misc/error.c (error_tail): Likewise.
7702         * misc/pselect.c (__pselect): Likewise.
7703         * nis/nis_callback.c (__nis_create_callback): Likewise.
7704         * nis/nis_call.c (__nisfind_server): Likewise.
7705         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7706         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7707         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7708         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7709         * nis/nis_lookup.c (nis_lookup): Likewise.
7710         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7711         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7712         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7713         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7714         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7715         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7716         * nis/nss_compat/compat-initgroups.c (add_group)
7717         (internal_getgrent_r): Likewise.
7718         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7719         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7720         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7721         (internal_getspnam_r): Likewise.
7722         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7723         (_nss_nis_getaliasbyname_r): Likewise.
7724         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7725         (_nss_nis_getntohost_r): Likewise.
7726         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7727         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7728         (_nss_nis_getgrgid_r): Likewise.
7729         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7730         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7731         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7732         (_nss_nis_gethostbyname4_r): Likewise.
7733         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7734         (initgroups_netid): Likewise.
7735         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7736         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7737         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7738         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7739         (_nss_nis_getprotobynumber_r): Likewise.
7740         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7741         (_nss_nis_getsecretkey): Likewise.
7742         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7743         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7744         (_nss_nis_getpwuid_r): Likewise.
7745         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7746         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7747         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7748         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7749         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7750         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7751         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7752         Likewise.
7753         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7754         (_nss_nisplus_getntohost_r): Likewise.
7755         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7756         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7757         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7758         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7759         Likewise.
7760         * nis/nss_nisplus/nisplus-initgroups.c
7761         (_nss_nisplus_initgroups_dyn): Likewise.
7762         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7763         (_nss_nisplus_getnetbyaddr_r): Likewise.
7764         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7765         (_nss_nisplus_getprotobynumber_r): Likewise.
7766         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7767         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7768         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7769         Likewise.
7770         * nis/nss_nisplus/nisplus-service.c
7771         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7772         (_nss_nisplus_getservbyport_r): Likewise.
7773         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7774         (_nss_nisplus_getspnam_r): Likewise.
7775         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7776         Likewise.
7777         * nscd/aicache.c (addhstaiX): Likewise.
7778         * nscd/cache.c (cache_search, prune_cache): Likewise.
7779         * nscd/connections.c (register_traced_file, send_ro_fd)
7780         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7781         (main_loop_epoll): Likewise.
7782         * nscd/grpcache.c (addgrbyX): Likewise.
7783         * nscd/hstcache.c (addhstbyX): Likewise.
7784         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7785         * nscd/mem.c (gc, mempool_alloc): Likewise.
7786         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7787         (addinnetgrX): Likewise.
7788         * nscd/nscd-client.h (__nscd_acquire_maplock)
7789         (__nscd_drop_map_ref): Likewise.
7790         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7791         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7792         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7793         Likewise.
7794         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7795         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7796         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7797         (__nscd_get_map_ref): Likewise.
7798         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7799         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7800         Likewise.
7801         * nscd/pwdcache.c (addpwbyX): Likewise.
7802         * nscd/selinux.c (preserve_capabilities): Likewise.
7803         * nscd/servicescache.c (addservbyX): Likewise.
7804         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7805         * posix/fnmatch.c (fnmatch): Likewise.
7806         * posix/getopt.c (_getopt_internal_r): Likewise.
7807         * posix/glob.c (glob, glob_in_dir): Likewise.
7808         * posix/wordexp.c (exec_comm_child): Likewise.
7809         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7810         (getanswer_r, gaih_getanswer_slice): Likewise.
7811         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7812         * resolv/res_init.c: Likewise.
7813         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7814         * resolv/res_query.c (__libc_res_nquery): Likewise.
7815         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7816         Likewise.
7817         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7818         * stdio-common/perror.c (perror): Likewise.
7819         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7820         * stdio-common/tmpnam.c (tmpnam): Likewise.
7821         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7822         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7823         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7824         Likewise.
7825         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7826         * stdlib/putenv.c (putenv): Likewise.
7827         * stdlib/setenv.c (__add_to_environ): Likewise.
7828         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7829         * stdlib/strtol_l.c (INTERNAL): Likewise.
7830         * string/memmem.c (memmem): Likewise.
7831         * string/strerror.c (strerror): Likewise.
7832         * string/strnlen.c (__strnlen): Likewise.
7833         * string/test-memmem.c (simple_memmem): Likewise.
7834         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7835         * sunrpc/pm_getport.c (__get_socket): Likewise.
7836         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7837         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7838         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7839         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7840         Likewise.
7841         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7842         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7843         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7844         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7845         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7846         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7847         Likewise.
7848         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7849         Likewise.
7850         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7851         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7852         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7853         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7854         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7856         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7857         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7858         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7859         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7860         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7861         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7862         Likewise.
7863         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7864         Likewise.
7865         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7866         Likewise.
7867         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7868         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7869         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7870         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7871         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7872         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7873         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7874         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7876         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7877         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7878         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7879         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7882         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7883         Likewise.
7884         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7885         Likewise.
7886         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7887         Likewise.
7888         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7889         Likewise.
7890         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7891         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7892         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7893         Likewise.
7894         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7895         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7896         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7897         * sysdeps/posix/sleep.c: Likewise.
7898         * sysdeps/posix/tempname.c: Likewise.
7899         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7900         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7901         Likewise.
7902         * sysdeps/powerpc/powerpc32/dl-machine.h
7903         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7904         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7905         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7906         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7907         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7908         Likewise.
7909         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7910         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7911         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7912         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7913         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7914         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7915         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7916         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7917         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7918         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7920         (elf_machine_lazy_rel): Likewise.
7921         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7922         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7923         (elf_machine_lazy_rel): Likewise.
7924         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7925         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7926         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7927         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7928         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7929         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7930         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7931         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7932         Likewise.
7933         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7934         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7935         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7936         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7937         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7938         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7939         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7940         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7941         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7942         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7943         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7946         (__posix_fallocate64_l64): Likewise.
7947         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7948         (posix_fallocate): Likewise.
7949         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7950         Likewise.
7951         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7952         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7953         (getifaddrs_internal): Likewise.
7954         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7955         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7956         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7957         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7958         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7959         (__posix_fallocate64_l64): Likewise.
7960         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7963         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7964         (__get_clockfreq): Likewise.
7965         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7966         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7967         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7968         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7969         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7970         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7971         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7972         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7975         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7976         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7977         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7978         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7979         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7980         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7983         (posix_fallocate): Likewise.
7984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7985         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7986         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7987         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7988         (elf_machine_rela, elf_machine_rela_relative)
7989         (elf_machine_lazy_rel): Likewise.
7990         * time/asctime.c (asctime_internal): Likewise.
7991         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7992         * time/tzset.c (__tzset_parse_tz): Likewise.
7993         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7994         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7995         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7996         * wcsmbs/wcsmbsload.h: Likewise.
7997
7998         [BZ #15894]
7999         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8000
8001         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8002         (arena_get2): Remove THREAD_STATS conditionals.
8003         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8004         (__malloc_stats, int): Likewise.
8005
8006 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8007
8008         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8009         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8010
8011         * manual/setjmp.texi: Fix typos/grammar errors.
8012
8013         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8014         Only return early when n is <= 0.  Delete unused return statement.
8015
8016         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8017         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8018         * debug/tst-longjmp_chk3.c: New file.
8019
8020         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8021         (test_main): Replace code with set_fortify_handler call.
8022         * debug/test-strcpy_chk.c: Likewise.
8023         * debug/tst-chk1.c: Likewise.
8024         * debug/tst-longjmp_chk.c: Likewise.
8025         * test-skeleton.c: Include fcntl.h & paths.h
8026         (set_fortify_handler): Define.
8027
8028         * debug/tst-longjmp_chk.c: Add header comment and include
8029         ../test-skeleton.c.
8030         (do_test): Mark static.
8031         (TEST_FUNCTION): Define.
8032
8033         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8034         (IP_PMTUDISC_INTERFACE): Likewise.
8035         (IP_MULTICAST_IF): Likewise.
8036         (IP_MULTICAST_TTL): Likewise.
8037         (IP_MULTICAST_LOOP): Likewise.
8038         (IP_ADD_MEMBERSHIP): Likewise.
8039         (IP_DROP_MEMBERSHIP): Likewise.
8040         (IP_UNBLOCK_SOURCE): Likewise.
8041         (IP_BLOCK_SOURCE): Likewise.
8042         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8043         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8044         (IP_MSFILTER): Likewise.
8045         (MCAST_JOIN_GROUP): Likewise.
8046         (MCAST_BLOCK_SOURCE): Likewise.
8047         (MCAST_UNBLOCK_SOURCE): Likewise.
8048         (MCAST_LEAVE_GROUP): Likewise.
8049         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8050         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8051         (MCAST_MSFILTER): Likewise.
8052         (IP_MULTICAST_ALL): Likewise.
8053         (IP_UNICAST_IF): Likewise.
8054
8055         * timezone/Makefile: Delete $(have-ksh) check.
8056         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8057         * timezone/tzselect.ksh: Add +x mode bits.
8058
8059         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8060         (ANON_INODE_FS_MAGIC): Likewise.
8061         (BDEVFS_MAGIC): Likewise.
8062         (BINFMTFS_MAGIC): Likewise.
8063         (BTRFS_TEST_MAGIC): Likewise.
8064         (CRAMFS_MAGIC_WEND): Likewise.
8065         (DEBUGFS_MAGIC): Likewise.
8066         (ECRYPTFS_SUPER_MAGIC): Likewise.
8067         (EXT3_SUPER_MAGIC): Likewise.
8068         (EXT4_SUPER_MAGIC): Likewise.
8069         (FUTEXFS_SUPER_MAGIC): Likewise.
8070         (HOSTFS_SUPER_MAGIC): Likewise.
8071         (HUGETLBFS_MAGIC): Likewise.
8072         (MINIX3_SUPER_MAGIC): Likewise.
8073         (MTD_INODE_FS_MAGIC): Likewise.
8074         (NILFS_SUPER_MAGIC): Likewise.
8075         (OPENPROM_SUPER_MAGIC): Likewise.
8076         (PIPEFS_MAGIC): Likewise.
8077         (PSTOREFS_MAGIC): Likewise.
8078         (QNX6_SUPER_MAGIC): Likewise.
8079         (RAMFS_MAGIC): Likewise.
8080         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8081         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8082         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8083         (SECURITYFS_MAGIC): Likewise.
8084         (SELINUX_MAGIC): Likewise.
8085         (SMACK_MAGIC): Likewise.
8086         (SOCKFS_MAGIC): Likewise.
8087         (SQUASHFS_MAGIC): Likewise.
8088         (STACK_END_MAGIC): Likewise.
8089         (TMPFS_MAGIC): Likewise.
8090         (USBDEVICE_SUPER_MAGIC): Likewise.
8091         (V9FS_MAGIC): Likewise.
8092         (XENFS_SUPER_MAGIC): Likewise.
8093         (CRAMFS_MAGIC): Fix typo in comment.
8094         (EXT2_SUPER_MAGIC): Update comment.
8095         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8096
8097 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8098
8099         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8100         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8101         * sysdeps/unix/sysv/linux/arm: Move directory from
8102         ports/sysdeps/unix/sysv/linux/arm.
8103         * README: Update listing for arm-*-linux-gnueabi.
8104
8105         * README: Remove mention of am33.
8106
8107 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8108
8109         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8110         than the comma operator, to avoid "rhs of comma has no effect"
8111         compiler warnings.
8112         (__sigfillset, __sigandset, __sigorset): Likewise.
8113         * include/signal.h (__sigemptyset): Likewise.
8114         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8115
8116 2014-02-07  Allan McRae  <allan@archlinux.org>
8117
8118         * version.h (RELEASE): Set to "development".
8119         (VERSION): Set to "2.19.90"
8120         * NEWS: Add 2.20 section.
8121
8122 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8123
8124         [BZ #16529]
8125         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8126
8127 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8128
8129         * manual/contrib.texi: Update entry for Carlos O'Donell,
8130         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8131
8132 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8133
8134         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8135
8136         * sysdeps/unix/sysv/linux/kernel-features.h
8137         [__LINUX_KERNEL_VERSION >= 0x020621]
8138         (__ASSUME_PROC_PID_TASK_COMM): Define.
8139
8140 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8141
8142         [BZ #16398]
8143         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8144         conversion when destination buffer does not have enough space.
8145         * libio/tst-ftell-partial-wide.c: New test case.
8146         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8147
8148         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8149         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8150         Leonard and Allan McRae.
8151
8152 2014-02-04  David S. Miller  <davem@davemloft.net>
8153
8154         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8155         32-bit.
8156
8157 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8158
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8160         New file
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8162         New file
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8164         New file.
8165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8166         New file.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8168         New file.
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8170         New file.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8172         New file.
8173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8174         New file.
8175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8176         New file.
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8178         New file.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8180         New file.
8181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8182         New file.
8183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8184         New file.
8185
8186 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8187
8188         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8189         * shlib-versions: Likewise.
8190
8191 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8192             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8193
8194         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8195         (abilist-pattern): New variable, set to %-le.abilist.
8196
8197         * Makerules (abilist-pattern): New variable.
8198         (vpath): Use $(abilist-pattern) in place of %.abilist.
8199         (check-abi-% pattern rule): Likewise.
8200         (check-abi, update-abi): Likewise.
8201
8202 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8203
8204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8205
8206 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8207
8208         * manual/startup.texi: Add next, previous, and top entries for
8209         the `Program Arguments' and `Environment Variables' nodes.
8210
8211 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8212
8213         * manual/macros.texi: Add comments before MTASC-safety macros.
8214
8215         * manual/users.texi: Document MTASC-safety properties.
8216
8217         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8218         (pthread_getspecific, pthread_setspecific): Format with
8219         @deftypefun, and add @safety note.
8220         * manual/signal.texi: Move comments that analyze the above
8221         functions to their home place.
8222
8223 2014-02-03  Allan McRae  <allan@archlinux.org>
8224
8225         * po/sl.po: Update Slovenian translation from translation project.
8226
8227 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8228
8229         * manual/time.texi (timegm): Add missing blank after @c.
8230         Reported by Joseph Myers <joseph@codesourcery.com>.
8231
8232 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8233
8234         * manual/check-safety.sh: New.
8235         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8236
8237         * manual/terminal.texi: Document MTASC-safety properties.
8238
8239         * manual/filesys.texi: Document MTASC-safety properties.
8240
8241         * manual/errno.texi: Document MTASC-safety properties.
8242
8243         * manual/intro.texi: Document safety identifiers and
8244         conditionals.
8245
8246         * manual/string.texi (wcstok): Fix prototype.
8247         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8248
8249         * manual/time.texi: Document MTASC-safety properties.
8250
8251         * manual/string.texi: Document MTASC-safety properties.
8252
8253         * manual/threads.texi: Document MTASC-safety properties.
8254
8255         * manual/stdio.texi: Document MTASC-safety properties.
8256
8257         * manual/syslog.texi: Document MTASC-safety properties.
8258
8259         * manual/sysinfo.texi: Document MTASC-safety properties.
8260
8261         * manual/startup.texi: Document MTASC-safety properties.
8262
8263         * manual/socket.texi: Document MTASC-safety properties.
8264
8265         * manual/signal.texi: Document MTASC-safety properties.
8266
8267 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8268
8269         * manual/setjmp.texi: Document MTASC-safety properties.
8270
8271         * manual/search.texi: Document MTASC-safety properties.
8272
8273         * manual/resource.texi: Document MTASC-safety properties.
8274
8275         * manual/process.texi: Document MTASC-safety properties.
8276
8277         * manual/platform.texi: Document MTASC-safety properties.
8278
8279         * manual/pipe.texi: Document MTASC-safety properties.
8280
8281         * manual/pattern.texi: Document MTASC-safety properties.
8282
8283         * manual/message.texi: Document MTASC-safety properties.
8284
8285         [BZ #12751]
8286         * manual/memory.texi: Document MTASC-safety properties.
8287
8288         * manual/math.texi: Document MTASC-safety properties.
8289
8290         * manual/locale.texi: Document MTASC-safety properties.
8291
8292         * manual/llio.texi: Document MTASC-safety properties.
8293
8294         * manual/libdl.texi: New.
8295
8296         * manual/lang.texi: Document MTASC-safety properties.
8297
8298         * manual/job.texi: Document MTASC-safety properties.
8299
8300         * manual/getopt.texi: Document MTASC-safety properties.
8301
8302         * manual/ctype.texi: Document MTASC-safety properties.
8303
8304 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8305
8306         [BZ #16046]
8307         * csu/libc-tls.c (static_map): Remove variable.
8308         (__libc_setup_tls): Use main executable's link map for TLS data.
8309         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8310         casing for LM_ID_BASE and GL(dl_nns).
8311         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8312         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8313         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8314         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8315         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8316         member.
8317         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8318         l_phnum members.
8319
8320 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8321
8322         * manual/debug.texi: Document MTASC-safety properties.
8323
8324 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8325
8326         [BZ #16510]
8327         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8328         of __x86_64__ when disabling x87 inline functions.
8329
8330 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8331
8332         * manual/charset.texi: Document MTASC-safety properties.
8333
8334         * manual/crypt.texi: Document MTASC-safety properties.
8335
8336         * manual/conf.texi: Document MTASC-safety properties.
8337
8338         * manual/arith.texi: Document MTASC-safety properties.
8339
8340         * manual/argp.texi: Document MTASC-safety properties.
8341
8342         * manual/macros.texi: Introduce macros to document multi
8343         thread, asynchronous signal and asynchronous cancellation
8344         safety properties.
8345         * manual/intro.texi: Introduce the properties themselves.
8346
8347 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8348
8349         * sysdeps/sh/sh4/Makefile: New file.
8350
8351 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8352
8353         * math/gen-libm-test.pl ($srcdir): New variable.
8354         ($auto_input): Use it.
8355
8356 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8357
8358         [BZ #16506]
8359         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8360         access beyond array bounds when parsing netgroups file.
8361
8362         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8363         the old buffer before realloc.
8364
8365 2014-01-27  Allan McRae  <allan@archlinux.org>
8366
8367         * po/fr.po: Update French translation from translation project.
8368
8369 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8370
8371         * sysdeps/sh/libm-test-ulps: Regenerate.
8372
8373 2014-01-24  David S. Miller  <davem@davemloft.net>
8374
8375         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8376
8377 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8378
8379         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8380         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8381
8382 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8383
8384         [BZ #16474]
8385         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8386         string pointers after reallocation.
8387
8388 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8389
8390         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8391         __SH4A__ instead of __SH_FPU_ANY__.
8392
8393 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8394
8395         * sysdeps/sh/fpu_control.h: New file.
8396         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8397         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8398         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8399         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8400         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8401         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8402         * sysdeps/sh/sys/ucontext.h: Remove.
8403         * sysdeps/sh/sys: Remove directory.
8404
8405 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8406
8407         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8408         s390/sys/ucontext.h.
8409         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8410         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8411
8412 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8413
8414         [BZ #15605]
8415         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8416
8417 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8418
8419         [BZ#16431]
8420         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8421         Adjust the vDSO correctly for internal calls.
8422         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8423
8424 2014-01-20  Allan McRae  <allan@archlinux.org>
8425
8426         * po/ca.po: Update Catalan translation from translation project.
8427
8428 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8429
8430         * sysdeps/s390/sotruss-lib.c: New file.
8431
8432 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8433
8434         [BZ#16430]
8435         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8436         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8437         local calls issues by not having a PLT stub required for IFUNC calls.
8438         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8439
8440 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8441
8442         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8443         * math/test-fpucw-static.c: Likewise.
8444
8445 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8446
8447         [BZ #16453]
8448         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8449
8450 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8451
8452         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8453         implementation for powerpc.
8454
8455 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8456
8457         [BZ #14782]
8458         * sysdeps/posix/system.c (__libc_system): Do not enable
8459         asynchronous cancellation.
8460
8461 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8462
8463         [BZ #16427]
8464         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8465         handling only for numbers special also in the IEEE case.
8466
8467 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8468
8469         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8470
8471 2014-01-11  Allan McRae  <allan@archlinux.org>
8472
8473         * po/bg.po: Update Bulgarian translation from translation project.
8474
8475         * po/de.po: Update German translation from translation project.
8476
8477 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8478
8479         * sysdeps/generic/gcc-compat.h: New file.
8480
8481 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8482
8483         * benchtests/asin-inputs: Correct slow inputs.
8484         * benchtests/acos-inputs: Likewise.
8485
8486 2014-01-10  Allan McRae  <allan@archlinux.org>
8487
8488         * po:sv.po: Update Swedish translation from translation project.
8489
8490         * po/vi.po: Update Vietnamese translation from translation project.
8491
8492         * po/eo.po: Update Esperanto translation from translation project.
8493
8494         * po/cs.po: Update Czech translation from translation project.
8495
8496         * po/nl.po: Update Dutch translation from translation project.
8497
8498         * po/pl.po: Update Polish translation from translation project.
8499
8500         * po/ru.po: Update Russian translation from translation project.
8501
8502         * po/uk.po: Update Ukrainian translation from translation project.
8503
8504 2014-01-08  Brooks Moses  <bmoses@google.com>
8505
8506         * elf/dl-load.c: Fix comment typo.
8507
8508 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8509
8510         * po/header.pot: Rename to...
8511         * po/pot.header: ... this.
8512         * po/Makefile: Use pot.header.
8513
8514 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8515             Maxim Kuvyrkov  <maxim@kugelworks.com>
8516
8517         [BZ #16394]
8518         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8519         SRC and DEST against LEN.
8520
8521 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8522
8523         [BZ #16414]
8524         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8525         implementation.
8526         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8527
8528 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8529
8530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8531
8532 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8533
8534         [BZ #16408]
8535         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8536         for large positive arguments.
8537
8538 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8539
8540         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8541
8542         * math/auto-libm-test-in: Mark various tests with
8543         xfail-rounding:ldbl-128ibm.
8544         * math/auto-libm-test-out: Regenerated.
8545
8546         [BZ #16407]
8547         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8548         Increase overflow threshold.
8549
8550 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8551
8552         [BZ #14286]
8553         * stdio-common/vfprintf.c: Check for integer overflow.
8554
8555 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8556
8557         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8558         the first argument and return value of __tls_get_addr_internal.
8559
8560 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8561
8562         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8563         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8564
8565 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8566
8567         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8568         * sysdeps/s390/rtld-global-offsets.sym: New file.
8569         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8570         GLIBC_2.19 symbol.
8571         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8572         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8574         ... this.
8575         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8577         ... this.
8578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8579         Regenerate.
8580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8581         Regenerate.
8582         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8583         halfs of GPRs for high_gprs contexts.
8584         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8585         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8586         field.
8587         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8588         uc_flags field.
8589         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8590         64 bit versions:
8591         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8592         for high GPRs (uc_high_gprs) and for future extensions
8593         (__reserved).
8594         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8595         for future extensions (__reserved).
8596         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8597         64 bit versions:
8598         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8599         SC_HIGHGPRS offset definition.
8600         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8601         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8602
8603         * Versions.def: Add GLIBC_2.19 for libpthread.
8604         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8605         siglongjmp for libpthread with GLIBC_2.19 symver.
8606         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8607         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8608         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8609         * sysdeps/s390/__longjmp.c: New file.
8610         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8611         * sysdeps/s390/longjmp.c: New file.
8612         * sysdeps/s390/setjmp.S: New file.
8613         * sysdeps/s390/sigjmp.S: New file.
8614         * sysdeps/s390/v1-longjmp.c: New file.
8615         * sysdeps/s390/v1-setjmp.h: New file.
8616         * sysdeps/s390/v1-sigjmp.c: New file.
8617         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8618         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8619         GLIBC_2.19 version.
8620         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8621         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8622         versioned symbols for ____longjmp_chk.
8623         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8624         Likewise.
8625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8626         Regenerate.
8627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8628         Regenerate.
8629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8630         Regenerate.
8631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8632         Regenerate.
8633         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8634         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8635         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8636         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8637         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8638         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8639         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8640         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8641         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8642         * sysdeps/s390/rtld-__longjmp.c: New file.
8643         * sysdeps/s390/rtld-setjmp.S: New file.
8644
8645 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8646
8647         [BZ #16400]
8648         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8649         Return -__logl (x) for small positive arguments without evaluating
8650         a polynomial.
8651
8652 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8653
8654         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8655         Rename to ...
8656         (__ptrace_peeksiginfo_args): ... this.
8657         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8658         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8659         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8660
8661 2014-01-06  Allan McRae  <allan@archlinux.org>
8662
8663         * inet/netinet/in.h: Fix typo in comment.
8664
8665 2014-01-05  Andreas Jaeger  <aj@suse.de>
8666
8667         * sysdeps/i386/fpu/libm-test-ulps: Update.
8668
8669 2014-01-05  Allan McRae  <allan@archlinux.org>
8670
8671         * po/libc.pot: Regenerated.
8672
8673         * malloc/memusagestat.c: Fix gettext call formatting.
8674
8675 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8676
8677         * nscd/nscd.c: Improve usage() output.
8678
8679 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8680
8681         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8682         * sysdeps/unix/sysv/linux/configure: Regenerated.
8683         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8684         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8685
8686 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8687
8688         [BZ #16390]
8689         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8690         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8691
8692 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8693
8694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8695         extra tokens at end of #undef directive.
8696         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8697         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8698         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8699
8700 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8701
8702         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8703
8704         * math/auto-libm-test-in: Mark various tests with
8705         xfail-rounding:ldbl-128ibm.
8706         * math/auto-libm-test-out: Regenerated.
8707
8708 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8709
8710         [BZ #16386]
8711         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8712         numbers with subnormal high part when calculating exponent.
8713
8714         [BZ #16385]
8715         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8716         fabs.
8717
8718         [BZ #16384]
8719         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8720         M_LN2l.
8721         (__ieee754_acoshl): Use __log1pl not __log1p.
8722
8723 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8724
8725         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8726         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8727         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8728         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8729         (reused_arena, arena_get2): Convert to GNU style.
8730         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8731         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8732         (memalign_check, __malloc_set_state): Likewise.
8733         * malloc/mallocbug.c (main): Likewise.
8734         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8735         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8736         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8737         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8738         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8739         (__posix_memalign, malloc_info): Likewise.
8740         * malloc/malloc.h: Likewise.
8741         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8742         (mallochook, memalignhook, reallochook, mabort): Likewise.
8743         * malloc/mcheck.h: Likewise.
8744         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8745         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8746         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8747         * malloc/morecore.c (__default_morecore): Likewise.
8748         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8749         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8750         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8751         (print_and_abort): Likewise.
8752         * malloc/obstack.h: Likewise.
8753         * malloc/set-freeres.c (__libc_freeres): Likewise.
8754         * malloc/tst-mallocstate.c (main): Likewise.
8755         * malloc/tst-mtrace.c (main): Likewise.
8756         * malloc/tst-realloc.c (do_test): Likewise.
8757
8758 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8759
8760         [BZ #16366]
8761         * nscd/netgroupcache.c (do_notfound): New function.
8762         (addgetnetgrentX): Use it.
8763
8764         [BZ # 16365]
8765         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8766         NSS_STATUS_NOTFOUND.
8767
8768 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8769
8770         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8772
8773 2014-01-01  Allan McRae  <allan@archlinux.org>
8774
8775         * scripts/update-copyrights: Update configure input file suffix.
8776
8777         * NEWS: Update copyright year.
8778         * catgets/gencat.c: Likewise.
8779         * csu/version.c: Likewise.
8780         * debug/catchsegv.sh: Likewise.
8781         * debug/pcprofiledump.c: Likewise.
8782         * debug/xtrace.sh: Likewise.
8783         * elf/ldconfig.c: Likewise.
8784         * elf/ldd.bash.in: Likewise.
8785         * elf/pldd.c: Likewise.
8786         * elf/sotruss.ksh: Likewise.
8787         * elf/sprof.c: Likewise.
8788         * iconv/iconv_prog.c: Likewise.
8789         * iconv/iconvconfig.c: Likewise.
8790         * locale/programs/locale.c: Likewise.
8791         * locale/programs/localedef.c: Likewise.
8792         * login/programs/pt_chown.c: Likewise.
8793         * malloc/memusage.sh: Likewise.
8794         * malloc/memusagestat.c: Likewise.
8795         * malloc/mtrace.pl: Likewise.
8796         * manual/libc.texinfo: Likewise.
8797         * nscd/nscd.c: Likewise.
8798         * nss/getent.c: Likewise.
8799         * nss/makedb.c: Likewise.
8800         * posix/getconf.c: Likewise.
8801         * scripts/test-installation.pl: Likewise.
8802
8803         * All files with FSF copyright notices: Update copyright dates
8804         using scripts/update-copyrights.
8805         * intl/plural.c: Regenerated.
8806         * locale/programs/charmap-kw.h: Likewise.
8807         * locale/programs/locfile-kw.h: Likewise.
8808
8809 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8810
8811         * sysdeps/unix/sysv/linux/configure: Regenerated.
8812         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8813         the linux/fanotify.h header.
8814         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8815         HAVE_LINUX_FANOTIFY_H is defined.
8816
8817 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8818
8819         * benchtests/cos-inputs: New inputs.
8820         * benchtests/sin-inputs: Likewise.
8821
8822         * benchtests/atan-inputs: New inputs. Fix name of multiple
8823         precision fallback inputs.
8824
8825         * benchtests/atanh-inputs: New inputs.
8826         * benchtests/tanh-inputs: Likewise.
8827
8828         * benchtests/acosh-inputs: New inputs.
8829         * benchtests/asinh-inputs: Likewise.
8830
8831         * benchtests/cosh-inputs: New inputs.
8832         * benchtests/sinh-inputs: Likewise.
8833
8834         * benchtests/acos-inputs: Add more inputs.
8835         * benchtests/asin-inputs: Likewise.
8836
8837 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8838
8839         [BZ #16375]
8840         * manual/arith.texi: Fix spelling.
8841         * manual/charset.texi: Likewise.
8842         * manual/errno.texi: Likewise.
8843         * manual/filesys.texi: Likewise.
8844         * manual/lang.texi: Likewise.
8845         * manual/llio.texi: Likewise.
8846         * manual/locale.texi: Likewise.
8847         * manual/message.texi: Likewise.
8848         * manual/resource.texi: Likewise.
8849         * manual/search.texi: Likewise.
8850         * manual/setjmp.texi: Likewise.
8851         * manual/stdio.texi: Likewise.
8852         * manual/string.texi: Likewise.
8853         * manual/sysinfo.texi: Likewise.
8854         * manual/time.texi: Likewise.
8855
8856 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8857
8858         * po/sl.po: New file.
8859
8860 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8861
8862         * .gitignore: Add core/.gdbinit/.gdb_history.
8863
8864 2013-12-27  Allan McRae  <allan@archlinux.org>
8865
8866         [BZ #16369]
8867         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8868         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8869
8870 2013-12-24  Brooks Moses  <bmoses@google.com>
8871
8872         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8873         all compilers that claim C++98 compliance, not just GCC.
8874         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8875         Likewise.
8876
8877 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8878
8879         * NEWS: Restore accidentally deleted bug-fix entries.
8880
8881 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8882             Ondřej Bílka  <neleai@seznam.cz>
8883
8884         [BZ #15073]
8885         * malloc/malloc.c (_int_free): Perform sanity check only if we
8886         have_lock.
8887
8888 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8889
8890         [BZ #12986]
8891         * manual/stdio.texi (String Input Conversions): Clarify that character
8892         classes are not supported.
8893
8894 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8895
8896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8897
8898 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8899
8900         [BZ #16337]
8901         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8902         Calculate results for small negative arguments directly rather
8903         than using reflection formula with special underflow handling.
8904
8905         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8906         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8907         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8908         (fchflags): Likewise.
8909         (revoke): Likewise.
8910         (setlogin): Likewise.
8911         (sigaltstack): Likewise.
8912         (wait4): Likewise.
8913         (sigblock): Remove.
8914         (sigsetmask): Likewise.
8915         (wait3): Likewise.
8916         (waitpid): Likewise.
8917         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8918         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8919         file.
8920         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8921         * sysdeps/unix/bsd/Makefile: ... here.
8922         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8923         * sysdeps/unix/bsd/Versions: ... here.
8924         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8925         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8926         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8927         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8928         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8929         * sysdeps/unix/bsd/sigblock.c: ... here.
8930         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8931         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8932         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8933         * sysdeps/unix/bsd/sigvec.c: ... here.
8934         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8935         * sysdeps/unix/bsd/tcdrain.c: ... here.
8936         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8937         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8938         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8939         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8940         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8941         * sysdeps/unix/bsd/wait.c: ... here.
8942         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8943         * sysdeps/unix/bsd/wait3.c: ... here.
8944         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8945         * sysdeps/unix/bsd/waitpid.c: ... here.
8946
8947 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8948
8949         [BZ #16356]
8950         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8951         round-to-nearest for [!USE_AS_EXPM1L].
8952         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8953         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8954         more tests of exp and exp10.  Expect some exp10 tests to miss
8955         exceptions or fail in directed rounding modes.
8956         * math/auto-libm-test-out: Regenerated.
8957         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8958         (exp10_test_tonearest): New function.
8959         (exp10_towardzero_test_data): New array.
8960         (exp10_test_towardzero): New function.
8961         (exp10_downward_test_data): New array.
8962         (exp10_test_downward): New function.
8963         (exp10_upward_test_data): New array.
8964         (exp10_test_upward): New function.
8965         (main): Call the new functions.
8966         * sysdeps/i386/fpu/libm-test-ulps: Update.
8967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8968
8969 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8970
8971         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8972         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8973         * math/auto-libm-test-out: Regenerated.
8974         * math/libm-test.inc (acosh_test_data): Add more tests.
8975         (atanh_test_data): Likewise.
8976         (ceil_test_data): Likewise.
8977         (copysign_test_data): Likewise.
8978         * sysdeps/i386/fpu/libm-test-ulps: Update.
8979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8980
8981         * timezone/checktab.awk: Update from tzcode 2013i.
8982         * timezone/private.h: Likewise.
8983         * timezone/scheck.c: Likewise.
8984         * timezone/tzfile.h: Likewise.
8985         * timezone/tzselect.ksh: Likewise.
8986         * timezone/zdump.c: Likewise.
8987         * timezone/zic.c: Likewise.
8988
8989         * math/auto-libm-test-in: Add tests of cpow.
8990         * math/auto-libm-test-out: Regenerated.
8991         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8992         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8993         mpc_cc_c.
8994         (func_calc_desc): Add mpc_cc_c union field.
8995         (test_functions): Add cpow.
8996         (special_fill_2pi): New function.
8997         (special_real_inputs): Add 2pi.
8998         (calc_generic_results): Handle mpc_cc_c.
8999         * sysdeps/i386/fpu/libm-test-ulps: Update.
9000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9001
9002         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9003         csqrt, ctan and ctanh.
9004         * math/auto-libm-test-out: Regenerated.
9005         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9006         (TEST_COND_x86): Likewise.
9007         (ccos_test_data): Use AUTO_TESTS_c_c.
9008         (ccosh_test_data): Likewise.
9009         (cexp_test_data): Likewise.
9010         (clog_test_data): Likewise.
9011         (csqrt_test_data): Likewise.
9012         (ctan_test_data): Likewise.
9013         (ctan_tonearest_test_data): Likewise.
9014         (ctan_towardzero_test_data): Likewise.
9015         (ctan_downward_test_data): Likewise.
9016         (ctan_upward_test_data): Likewise.
9017         (ctanh_test_data): Likewise.
9018         (ctanh_tonearest_test_data): Likewise.
9019         (ctanh_towardzero_test_data): Likewise.
9020         (ctanh_downward_test_data): Likewise.
9021         (ctanh_upward_test_data): Likewise.
9022         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9023         mpc_c_c.
9024         (func_calc_desc): Add mpc_c_c union field.
9025         (FUNC_mpc_c_c): New macro.
9026         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9027         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9028         ctanh.
9029         (special_fill_min_subnorm_p120): New function.
9030         (special_real_inputs): Add min_subnorm_p120.
9031         (calc_generic_results): Handle mpc_c_c.
9032         * sysdeps/i386/fpu/libm-test-ulps: Update.
9033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9034
9035 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9036
9037         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9038         (do_sin_slow): New functions.
9039         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9040         (cslow2, csloww1, csloww2): Use the new functions.
9041
9042         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9043         Use M to change sign of result instead of X.  Assume X is
9044         positive.
9045         (csloww1): Likewise.
9046         (__sin): Adjust.
9047         (__cos): Adjust.
9048
9049         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9050         arguments A and DA.
9051         (__sin): Adjust.
9052         (__cos): Likewise.
9053
9054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9055         (__cos): Likewise.
9056         (sloww1): Don't adjust sign of DX.
9057         (csloww1): Likewise.
9058         (sloww2): Use X directly and don't adjust sign of DX.
9059         (csloww2): Likewise.
9060
9061 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9062
9063         * math/auto-libm-test-in: Add tests of cabs and carg.
9064         * math/auto-libm-test-out: Regenerated.
9065         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9066         (carg_test_data): Likewise.
9067         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9068         mpc_c_f.
9069         (func_calc_desc): Add mpc_c_f union field.
9070         (test_functions): Add cabs and carg.
9071         (calc_generic_results): Handle mpc_c_f.
9072
9073         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9074         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9075         as a macro and a compat symbol.
9076         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9077         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9078         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9079         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9080         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9081         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9082         not use .hidden.
9083         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9084         Likewise.
9085         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9086         Likewise.
9087         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9088         Likewise.
9089         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9090         Likewise.
9091         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9092         Likewise.
9093         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9094         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9095         from GLIBC_2.3.2.
9096
9097 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9098
9099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9100
9101 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9102
9103         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9104         trailing whitespace removed.
9105         * scripts/config.guess: Update to version 2013-11-29.
9106         * scripts/config.sub: Update to version 2013-10-01.
9107
9108         * math/auto-libm-test-in: Add tests of sincos.
9109         * math/auto-libm-test-out: Regenerated.
9110         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9112         mpfr_f_11.
9113         (func_calc_desc): Add mpfr_f_11 union field.
9114         (test_functions): Add sincos.
9115         (calc_generic_results): Handle mpfr_f_11.
9116         * sysdeps/i386/fpu/libm-test-ulps: Update.
9117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9118
9119 2013-12-19  Andreas Schwab  <schwab@suse.de>
9120
9121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9122         CALL_MCOUNT.
9123         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9124         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9125         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9126
9127 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9128
9129         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9130         * sysdeps/i386/fpu/libm-test-ulps: Update.
9131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9132
9133         [BZ #16293]
9134         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9135         round-to-nearest mode when using frndint.
9136         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9137         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9139         Likewise.
9140         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9141         sinh test to fail.
9142         * math/auto-libm-test-out: Regenerated.
9143         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9144         (TEST_COND_x86): Likewise.
9145         (expm1_tonearest_test_data): New array.
9146         (expm1_test_tonearest): New function.
9147         (expm1_towardzero_test_data): New array.
9148         (expm1_test_towardzero): New function.
9149         (expm1_downward_test_data): New array.
9150         (expm1_test_downward): New function.
9151         (expm1_upward_test_data): New array.
9152         (expm1_test_upward): New function.
9153         (main): Run the new test functions.
9154         * sysdeps/i386/fpu/libm-test-ulps: Update.
9155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9156
9157         * include/features.h: Update comment documenting feature test
9158         macros.  Mention _DEFAULT_SOURCE in comment.
9159         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9160         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9161         _BSD_SOURCE and _SVID_SOURCE.
9162         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9163         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9164         !_SVID_SOURCE]: Likewise.
9165         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9166         (__USE_POSIX_IMPLICITLY): Define.
9167         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9168         (_POSIX_SOURCE): Undefine and redefine.
9169         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9170         (_POSIX_C_SOURCE): Likewise.
9171         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9172         (Feature Test Macros): Update documentation of default features.
9173
9174 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9175
9176         * benchtests/Makefile: Add bench-strtok.
9177         * benchtests/bench-strtok.c: New file: strtok benchtest.
9178
9179 2013-12-19  Allan McRae  <allan@archlinux.org>
9180
9181         * manual/install.texi: Suppress menu for plain text output.
9182         * INSTALL: Regenerated.
9183
9184 2013-12-18  Brooks Moses  <bmoses@google.com>
9185
9186         [BZ #15846]
9187         * misc/getauxval.c: Include errno.h.
9188         (__getauxval): Set errno to ENOENT if the requested type is not
9189         found.
9190         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9191         don't declare with __attribute_const__.
9192         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9193         * manual/startup.texi: Document that getauxval sets errno.
9194
9195 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9196
9197         * math/auto-libm-test-in: Add tests of jn and yn.
9198         * math/auto-libm-test-out: Regenerated.
9199         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9200         (yn_test_data): Likewise.
9201         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9202         mpfr_if_f.
9203         (func_calc_desc): Add mpfr_if_f union field.
9204         (FUNC_mpfr_if_f): New macro.
9205         (test_functions): Add jn and yn.
9206         (calc_generic_results): Assert type of second input for
9207         mpfr_ff_f.  Handle mpfr_if_f.
9208         (output_for_one_input_case): Disable all checking for arguments
9209         fitting floating-point types in case of an integer argument.
9210         * sysdeps/i386/fpu/libm-test-ulps: Update.
9211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9212
9213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9214         Don't expect fegetround reference in libm.so.
9215
9216 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9217
9218         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9219         $(config-cflags-nofma).
9220
9221 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9222
9223         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9224         * math/auto-libm-test-out: Regenerated.
9225
9226         [BZ #16338]
9227         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9228         to determine exponent and adjust argument to have exponent of -1.
9229         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9230         log2.
9231         * math/auto-libm-test-out: Regenerated.
9232         * sysdeps/i386/fpu/libm-test-ulps: Update.
9233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9234
9235 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9236
9237         * manual/probes.texi: Remove cases when per-thread arenas are
9238         disabled.
9239
9240 2013-12-18  Andreas Schwab  <schwab@suse.de>
9241
9242         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9243         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9244         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9245         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9246         * sysdeps/i386/i686/multiarch/Makefile: Update.
9247         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9248
9249 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9250
9251         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9252         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9253
9254 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9255
9256         [BZ #15968]
9257         Support TZ transition times < 00:00:00.
9258         This is needed for version-3 tz-format files; it supports time
9259         stamps past 2037 for America/Godthab (the only entry in the tz
9260         database for which this change is relevant).
9261         * manual/time.texi (TZ Variable): Document transition times
9262         from -167:59:59 through -00:00:01.
9263         * time/tzset.c (tz_rule): Time of day is now signed.
9264         (__tzset_parse_tz): Parse negative time of day.
9265
9266         Document TZ transition times >= 25:00:00.
9267         * manual/time.texi (TZ Variable): Document transition times from
9268         25:00:00 through 167:59:59.  These are already supported, and this
9269         support will help with version-3 tz-format files.
9270
9271         * manual/time.texi (TZ Variable): Modernize North America example
9272         to reflect current (i.e., 2007-and-later) daylight saving rules.
9273
9274         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9275
9276 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9277
9278         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9279         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9280         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9281         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9282         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9283         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9284         * sysdeps/unix/bsd/clock.c: Likewise.
9285         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9286         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9287         * sysdeps/unix/bsd/init-posix.c: Likewise.
9288         * sysdeps/unix/bsd/poll.c: Likewise.
9289         * sysdeps/unix/bsd/ptsname.c: Likewise.
9290         * sysdeps/unix/bsd/seekdir.c: Likewise.
9291         * sysdeps/unix/bsd/setegid.c: Likewise.
9292         * sysdeps/unix/bsd/seteuid.c: Likewise.
9293         * sysdeps/unix/bsd/setgid.c: Likewise.
9294         * sysdeps/unix/bsd/setrgid.c: Likewise.
9295         * sysdeps/unix/bsd/setruid.c: Likewise.
9296         * sysdeps/unix/bsd/setsid.c: Likewise.
9297         * sysdeps/unix/bsd/setuid.c: Likewise.
9298         * sysdeps/unix/bsd/sigaction.c: Likewise.
9299         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9300         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9301         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9302         * sysdeps/unix/bsd/telldir.c: Likewise.
9303         * sysdeps/unix/bsd/times.c: Likewise.
9304         * sysdeps/unix/bsd/usleep.c: Likewise.
9305
9306         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9307         ($(objpfx)libbsd-compat.a): Remove rule.
9308
9309         * include/features.h (__FAVOR_BSD): Do not define.
9310         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9311         features conflicting with POSIX.
9312         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9313         (_BSD_SOURCE): Remove description of not being a subset of other
9314         feature test macros.
9315         * manual/job.texi (getpgrp): Do not document BSD version.
9316         (getpgid): Do not document by reference to BSD getpgrp.
9317         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9318         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9319         * signal/signal.h [__FAVOR_BSD]: Likewise.
9320         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9321         instead of making contents conditional on [__FAVOR_BSD].
9322         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9323
9324 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9325
9326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9327
9328 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9329
9330         [BZ #16314]
9331         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9332         values below 2**-450, not 2**-500.
9333         * math/auto-libm-test-in: Don't allow spurious underflow from
9334         hypot.
9335         * math/auto-libm-test-out: Regenerated.
9336
9337         [BZ #16316]
9338         [BZ #16330]
9339         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9340         values of ha and hb and sort them after adjusting subnormal
9341         arguments.
9342         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9343         Likewise.
9344         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9345         values of ea and eb and sort them after adjusting subnormal
9346         arguments.
9347         * math/auto-libm-test-in: Do not expect some hypot tests of
9348         subnormals to fail.  Add more hypot tests.
9349         * math/auto-libm-test-out: Regenerated.
9350
9351 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9352
9353         [BZ #13304]
9354         * sysdeps/sh/s_fma.c: New file.
9355         * sysdeps/sh/s_fmaf.c: New file.
9356         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9357         version.
9358         * sysdeps/sh/Implies: Add sh/soft-fp.
9359
9360 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9361
9362         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9363         level of indirection to members `objname', `errstring', `malloced'.
9364         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9365         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9366         it as the __longjmp argument (just pass 1 instead).
9367         (_dl_catch_error): Initialize C with argument pointers and address of
9368         volatile local ERRCODE rather than copying values out of C at return.
9369
9370 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9371
9372         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9373         * math/auto-libm-test-out: Regenerated.
9374         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9375         (hypot_test_data): Likewise.
9376         (pow_test_data): Likewise.
9377         (pow_tonearest_test_data): Likewise.
9378         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9379         mpfr_ff_f.
9380         (func_calc_desc): Add mpfr_ff_f union field.
9381         (FUNC_mpfr_ff_f): New macro.
9382         (test_functions): Add atan2, hypot and pow.
9383         (special_fill_min): New function.
9384         (special_fill_minus_min): Likewise.
9385         (special_fill_min_subnorm): Likewise.
9386         (special_fill_minus_min_subnorm): Likewise.
9387         (special_real_inputs): Add min, -min, min_subnorm and
9388         -min_subnorm.
9389         (calc_generic_results): Handle mpfr_ff_f.
9390         * sysdeps/i386/fpu/libm-test-ulps: Update.
9391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9392
9393 2013-12-16  Will Newton  <will.newton@linaro.org>
9394
9395         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9396         (Aligned Memory Blocks): Add documentation for aligned_alloc
9397         and suggest it as an alternative to posix_memalign.
9398         (Hooks for Malloc): Document __memalign_hook is also called
9399         for aligned_alloc.  (Summary of Malloc): Add summary for
9400         aligned alloc.  Document __memalign_hook is also called
9401         for aligned_alloc.
9402
9403 2013-12-16  Will Newton  <will.newton@linaro.org>
9404
9405         * manual/memory.texi (Malloc Examples): Clarify default
9406         alignment documentation.  Suggest posix_memalign rather
9407         than memalign or valloc.
9408         (Aligned Memory Blocks): Remove suggestion to use memalign
9409         or valloc.  Remove obsolete comment about BSD.
9410         Document memalign errno values and mark the function obsolete.
9411         Document posix_memalign returned error codes.  Mark valloc
9412         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9413         called for posix_memalign and valloc.
9414         (Summary of Malloc): Add posix_memalign to function summary.
9415         __memalign_hook is also called for posix_memalign and valloc.
9416
9417 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9418
9419         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9420         TAYLOR_SIN.
9421         (__sin): Adjust.
9422         (__cos): Likewise.
9423         (sloww): Use mynumber union.  Expand ternary operator into
9424         if-else statements.
9425         (cslow): use mynumber union.
9426
9427 2013-12-16  Allan McRae  <allan@archlinux.org>
9428
9429         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9430         * configure: Regenerated.
9431
9432         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9433
9434         [BZ #14120]
9435         * configure.ac: Added --enable-maintainer-mode. Check for
9436         autoconf when enabled.
9437         * configure: Regenerated.
9438
9439         * nscd/nscd.service: New file.
9440         * nscd/nscd.tmpfiles: New file.
9441
9442 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9443
9444         [BZ #12100]
9445         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9446         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9447         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9448         (strstr): Add __strstr_sse2_unaligned ifunc.
9449         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9450         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9451         (strcasestr): Remove __strcasestr_sse42 ifunc.
9452         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9455
9456 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9457
9458         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9459         * sysdeps/sh/bits/fenv.h: ... here.
9460         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9461
9462 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9463
9464         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9465
9466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9467         hypotf multiarch implementations.
9468         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9469         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9470         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9471         multiarch hypot for PPC64.
9472         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9475         multiarch hypotf for PPC64.
9476
9477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9478         modff multiarch implementations.
9479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9482         multiarch modf for PPC64.
9483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9486         multiarch modff for PPC64.
9487
9488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9489         and logl multiarch implementations.
9490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9493         multiarch logb for PPC64.
9494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9497         multiarch logb for PPC64.
9498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9501         multiarch logb for PPC64.
9502
9503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9504         isinff multiarch implementation.
9505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9506         file.
9507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9509         multiarch isinf for PPC64.
9510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9511         file.
9512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9513         multiarch isinff for PPC64.
9514
9515         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9516         finitef multiarch implementation.
9517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9518         file.
9519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9521         multiarch finite for PPC64.
9522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9523         file.
9524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9525         multiarch finitef for PPC64.
9526
9527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9528         lrint multiarch implementation.
9529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9530         file.
9531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9533         multiarch llrint for PPC64.
9534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9535         multiarch lrint for PPC64.
9536
9537         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9538         copysignf multiarch implementation.
9539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9540         file.
9541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9542         file.
9543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9544         multiarch copysign for PPC64.
9545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9546         multiarch copysignf for PPC64.
9547
9548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9549         multiarch implementation.
9550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9551         file.
9552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9553         file.
9554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9555         file.
9556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9557         file.
9558         multiarch llround for PPC64.
9559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9560         multiarch trunc for PPC64.
9561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9562         multiarch truncf for PPC64.
9563
9564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9565         multiarch implementation.
9566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9567         file.
9568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9569         file.
9570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9571         file.
9572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9573         file.
9574         multiarch llround for PPC64.
9575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9576         multiarch round for PPC64.
9577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9578         multiarch roundf for PPC64.
9579
9580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9581         multiarch implementation.
9582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9583         file.
9584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9585         file.
9586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9587         file.
9588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9589         file.
9590         multiarch llround for PPC64.
9591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9592         multiarch floor for PPC64.
9593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9594         multiarch floorf for PPC64.
9595
9596         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9597         multiarch implementation.
9598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9599         file.
9600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9601         file.
9602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9603         file.
9604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9605         file.
9606         multiarch llround for PPC64.
9607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9608         multiarch ceil for PPC64.
9609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9610         multiarch ceilf for PPC64.
9611
9612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9613         multiarch implementation.
9614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9615         file.
9616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9617         file.
9618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9619         file.
9620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9621         multiarch llround for PPC64.
9622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9623         multiarch lround for PPC64.
9624
9625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9626         multiarch implementation.
9627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9630         file.
9631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9634         multiarch isnan for PPC64.
9635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9636         multiarch isnanf for PPC64.
9637
9638         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9639         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9640         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9641         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9642         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9644
9645         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9646         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9648         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9649
9650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9651         multiarch implementations.
9652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9653         (__libc_ifunc_impl_list): Likewise.
9654         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9655         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9656         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9657         multiarch stpcpy for PPC64.
9658
9659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9660         multiarch implementations.
9661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9662         (__libc_ifunc_impl_list): Likewise.
9663         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9664         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9665         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9666         multiarch strcpy for PPC64.
9667
9668         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9669         redefine function name.
9670         (_wordcopy_fwd_dest_aligned): Likewise.
9671         (_wordcopy_bwd_aligned): Likewise.
9672         (_wordcopy_bwd_dest_aligned): Likewise.
9673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9674         multiarch implementations.
9675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9676         (__libc_ifunc_impl_list): Likewise.
9677         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9678         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9679         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9680         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9681         multiarch wcscpy for PPC64.
9682
9683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9684         multiarch implementations.
9685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9686         (__libc_ifunc_impl_list): Likewise.
9687         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9688         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9689         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9690         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9691         multiarch wcscpy for PPC64.
9692
9693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9694         multiarch implementations.
9695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9696         (__libc_ifunc_impl_list): Likewise.
9697         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9698         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9699         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9700         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9701         multiarch wcsrchr for PPC64.
9702
9703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9704         multiarch implementations.
9705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9706         (__libc_ifunc_impl_list): Likewise.
9707         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9708         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9709         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9710         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9711         multiarch wcschr for PPC64.
9712
9713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9714         multiarch implementations.
9715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9716         (__libc_ifunc_impl_list): Likewise.
9717         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9718         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9719         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9720         multiarch strchrnul for PPC64.
9721
9722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9723         implementations.
9724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9725         (__libc_ifunc_impl_list): Likewise.
9726         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9727         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9728         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9729         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9730         strchr for PPC64.
9731
9732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9733         implementations.
9734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9735         (__libc_ifunc_impl_list): Likewise.
9736         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9737         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9738         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9739         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9740         strncmp for PPC64.
9741
9742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9743         multiarch implementations.
9744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9745         (__libc_ifunc_impl_list): Likewise.
9746         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9747         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9748         strncasecmp for PPC64.
9749         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9750         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9751         multiarch strncasecmp_l for PPC64.
9752
9753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9754         multiarch implementations.
9755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9756         (__libc_ifunc_impl_list): Likewise.
9757         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9758         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9759         multiarch strcasecmp for PPC64.
9760         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9761         file.
9762         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9763         multiarch strcasecmp_l for PPC64.
9764
9765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9766         implementations.
9767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9768         (__libc_ifunc_impl_list): Likewise.
9769         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9770         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9771         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9772         strnlen for PPC64.
9773
9774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9775         implementations.
9776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9777         (__libc_ifunc_impl_list): Likewise.
9778         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9779         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9780         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9781         strlen for PPC64.
9782
9783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9784         implementations.
9785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9786         (__libc_ifunc_impl_list): Likewise.
9787         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9788         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9789         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9790         rawmemrchr for PPC64.
9791
9792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9793         implementation.
9794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9795         (__libc_ifunc_impl_list): Likewise.
9796         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9797         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9798         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9799         memrchr for PPC64.
9800
9801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9802         implementation.
9803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9804         (__libc_ifunc_impl_list): Likewise.
9805         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9806         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9807         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9808         memchr for PPC64.
9809
9810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9811         implementation.
9812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9813         (__libc_ifunc_impl_list): Likewise.
9814         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9815         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9816         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9817         mempcpy for PPC64.
9818
9819         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9820         avoid cretion of __bzero symbol.
9821         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9822         Likewise.
9823         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9824         Likewise.
9825         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9826         Likewise.
9827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9828         multiarch implementations.
9829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9830         (__libc_ifunc_impl_list): Likewise.
9831         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9832         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9833         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9834         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9835         bzero for PPC32.
9836         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9837         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9838         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9839         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9840         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9841         memset for PPC64.
9842         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9843
9844         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9846         implementations.
9847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9848         (__libc_ifunc_impl_list): Likewise.
9849         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9850         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9851         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9852         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9853         memcmp for PPC64.
9854
9855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9856         multiarch for POWER/PPC64.
9857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9858         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9859         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9860         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9861         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9863         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9865         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9866         memcpy for PPC64.
9867
9868         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9869         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9870         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9871         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9872         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9873         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9874         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9875         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9876         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9877         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9878         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9879         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9880         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9881         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9882         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9890
9891 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9892
9893         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9894
9895 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9896
9897         * benchtests/Makefile (bench): Add exp2 and log2.
9898         (LDLIBS-bench-exp2): Add -lm.
9899         (LDLIBS-bench-log2): Likewise.
9900         * benchtests/exp2-inputs: New inputs file.
9901         * benchtests/log2-inputs: New inputs file.
9902         * benchtests/log-inputs: Add new inputs.
9903         * benchtests/tan-inputs: Likewise.
9904
9905 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9906
9907         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9908         definition...
9909         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9910         (csloww2): ... from here.
9911
9912         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9913         instead of structures.
9914         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9915         (POLYNOMIAL): Likewise.
9916         (TAYLOR_SLOW): Likewise.
9917         (__sin): Likewise.
9918         (__cos): Likewise.
9919         (slow1): Likewise.
9920         (slow2): Likewise.
9921         (sloww): Likewise.
9922         (sloww1); Likewise.
9923         (sloww2): Likewise.
9924         (bsloww1): Likewise.
9925         (bsloww2): Likewise.
9926         (cslow2): Likewise.
9927         (csloww): Likewise.
9928         (csloww1): Likewise.
9929         (csloww2): Likewise.
9930
9931 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9932
9933         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9934         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9935         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9936         * malloc/hooks.c (realloc_check): Likewise.
9937
9938         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9939         * malloc/arena.c: Remove PER_THREAD conditional.
9940         [!PER_THREAD]: Remove code.
9941         (ptmalloc_unlock_all2): Likewise.
9942         (ptmalloc_init): Likewise.
9943         (_int_new_arena): Likewise.
9944         (arena_get2): Likewise.
9945         * malloc/hooks.c (__malloc_get_state): Likewise.
9946         (__malloc_set_state): Likewise.
9947         * malloc/malloc.c: Likewise.
9948         (struct malloc_state): Likewise.
9949         (struct malloc_par): Likewise.
9950         (__libc_realloc): Likewise.
9951         (__libc_mallopt): Likewise.
9952
9953 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9954
9955         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9956
9957 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9958
9959         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9960         macro to a function.  Check for zero perturb_byte.
9961         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9962
9963         * malloc/malloc.c: (force_reg): Remove.
9964         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9965         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9966         force_reg by atomic_forced_read.
9967         * malloc/arena.c (ptmalloc_init): Likewise.
9968         * malloc/hooks.c (top_check): Likewise.
9969
9970 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9971
9972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9973
9974 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9975
9976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9977
9978 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9979
9980         * math/auto-libm-test-in: Add tests of lgamma.
9981         * math/auto-libm-test-out: Regenerated.
9982         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9983         (M_LOG_2_SQRT_PIl): Likewise.
9984         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9985         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9986         mpfr_f_f1.
9987         (func_calc_desc): Add mpfr_f_f1 union field.
9988         (ARGS1): New macro.
9989         (ARGS2): Likewise.
9990         (ARGS3): Likewise.
9991         (ARGS4): Likewise.
9992         (RET1): Likewise.
9993         (RET2): Likewise.
9994         (CALC): Likewise.
9995         (FUNC): Likewise.
9996         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9997         (test_functions): Add lgamma.
9998         (calc_generic_results): Handle mpfr_f_f1.
9999         * sysdeps/i386/fpu/libm-test-ulps: Update.
10000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10001
10002 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10003
10004         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10005         __mpn_add_n for PowerPC64/POWER7.
10006         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10007         __mpn_sub_n for PowerPC64/POWER7.
10008
10009         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10010         __mpn_addmul_1 for PowerPC64.
10011         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10012         __mpn_submul_1 for PowerPC64.
10013         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10014         for PowerPC64.
10015         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10016         for PowerPC64.
10017
10018 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10019
10020         [BZ #15089]
10021         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10022
10023 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10024
10025         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10026
10027         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10028         add multiarch folders.
10029         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10030         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10031         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10032         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10033         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10034         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10035         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10036         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10037         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10038         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10039         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10046
10047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10048         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10050         New file.
10051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10052         New file.
10053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10054         multiarch __ieee754_hypot for PowerPC32.
10055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10056         New file.
10057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10058         New file.
10059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10060         multiarch __ieee754_hypotf for PowerPC32.
10061
10062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10063         long_double_symbol only if __logbl is defined.
10064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10065         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10067         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10069         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10070         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10071         path for implementation.
10072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10073         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10075         logb, and logbl multiarch implementations for PowerPC32.
10076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10077         file.
10078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10079         file.
10080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10081         multiarch logb for PowerPC32.
10082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10083         file.
10084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10085         file.
10086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10087         multiarch logbf for PowerPC32.
10088         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10090         file.
10091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10092         multiarch logbl implementation for PowerPC32.
10093
10094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10095         and modff multiarch implementations.
10096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10097         New file.
10098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10099         New file.
10100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10101         multiarch modf for PowerPC32.
10102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10103         New file.
10104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10105         New file.
10106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10107         multiarch modff for PowerPC32.
10108
10109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10110         and lrintf multiarch implementations.
10111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10112         New file.
10113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10114         New file.
10115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10116         multiarch lrint for PowerPC32.
10117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10118         file: multiarch lrintf for PowerPC32.
10119
10120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10121         and lroundf multiarch implementations.
10122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10123         New file.
10124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10125         New file.
10126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10127         New file.
10128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10129         multiarch lround for PowerPC32.
10130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10131         file: multiarch lroundf for PowerPC32.
10132
10133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10134         copysign and copysignf multiarch implementations.
10135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10136         New file.
10137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10138         New file.
10139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10140         file: multiarch copysign for PowerPC32.
10141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10142         file: multiarch copysignf for PowerPC32.
10143
10144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10145         and truncf multiarch implementations.
10146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10147         New file.
10148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10149         file.
10150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10151         multiarch trunc for PowerPC32.
10152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10153         New file.
10154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10155         New file.
10156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10157         multiarch truncf for PowerPC32.
10158
10159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10160         and roundf multiarch implementations.
10161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10162         New file.
10163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10164         file.
10165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10166         multiarch round for PowerPC32.
10167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10168         New file.
10169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10170         New file.
10171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10172         multiarch roundf for PowerPC32.
10173
10174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10175         and floorf multiarch implementations.
10176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10177         New file.
10178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10179         file.
10180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10181         multiarch floor for PowerPC32.
10182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10183         New file.
10184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10185         New file.
10186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10187         multiarch floorf for PowerPC32.
10188
10189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10190         and ceilf multiarch implementations.
10191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10192         New file.
10193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10194         file.
10195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10196         multiarch ceil for PowerPC32.
10197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10198         New file.
10199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10200         file.
10201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10202         multiarch ceilf for PowerPC32.
10203
10204         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10205         is defined.
10206         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10207         FINITEF is defined.
10208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10209         and finitef multiarch implementations.
10210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10211         New file.
10212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10213         file.
10214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10215         multiarch finite for PowerPC32.
10216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10217         New file.
10218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10219         file: multiarch finitef for PowerPC32.
10220
10221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10222         and isinff multiarch implementations.
10223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10224         file.
10225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10226         file.
10227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10228         multiarch isinf for PowerPC32.
10229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10230         New file.
10231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10232         multiarch isinff for PowerPC32.
10233
10234         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10235         alias when __isnan is defined.
10236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10237         and isnanf multiarch implementations.
10238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10239         file.
10240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10241         file.
10242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10243         file.
10244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10245         file.
10246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10247         multiarch isnan for PowerPC32.
10248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10249         New file.
10250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10251         New file.
10252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10253         multiarch isnanf for PowerPC32.
10254
10255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10256         and sqrtf multiarch implementations.
10257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10258         file.
10259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10260         file.
10261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10262         multiarch sqrt for PowerPC32.
10263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10264         file.
10265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10266         file.
10267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10268         multiarch sqrtf for PowerPC32.
10269
10270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10271         and llroundf multiarch implementations.
10272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10273         New file.
10274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10275         New file.
10276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10277         New file.
10278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10279         file: multiarch llround for PowerPC32.
10280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10281         file: multiarch llroundf for PowerPC32.
10282
10283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10284         multiarch PowerPC32 fpu implementations.
10285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10286         New file.
10287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10288         New file.
10289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10290         multiarch llrint for PowerPC32.
10291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10292         New file.
10293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10294         New file.
10295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10296         file.
10297
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10299
10300         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10301         file.
10302         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10303         file.
10304         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10305         file.
10306         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10307         multiarch wordcopy for PPC32.
10308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10309         wordcopy objects.
10310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10311         (__libc_ifunc_impl_list): Likewise.
10312         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10313         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10314         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10315         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10316         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10317         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10318
10319         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10321         file.
10322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10323         file.
10324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10325         file.
10326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10327         multiarch wcscpy for PPC32.
10328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10329         multiarch objects.
10330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10331         (__libc_ifunc_impl_list): Likewise.
10332         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10333         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10334         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10335         sysdeps/powerpc/power6/wcscpy.c.
10336
10337         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10339         file.
10340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10341         file.
10342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10343         file.
10344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10345         multiarch wcsrchr for PPC32.
10346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10347         multiarch objects.
10348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10349         (__libc_ifunc_impl_list): Likewise.
10350         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10351         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10352         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10353         sysdeps/powerpc/power6/wcsrchr.c.
10354
10355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10356         file.
10357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10358         file.
10359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10361         multiarch wcschr for PPc32.
10362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10363         multiarch objects.
10364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10365         (__libc_ifunc_impl_list): Likewise.
10366         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10367         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10368         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10369         sysdeps/powerpc/power6/wcschr.c.
10370
10371         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10373         file.
10374         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10375         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10376         file: multiarch strchr for PPC32.
10377         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10378         multiarch objects.
10379         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10380         (__libc_ifunc_impl_list): Likewise.
10381
10382         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10383         name.
10384         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10385         file.
10386         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10387         file.
10388         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10389         multiarch strchrnul for PPC32.
10390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10391         multiarch objects.
10392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10393         (__libc_ifunc_impl_list): Likewise.
10394
10395         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10396         file.
10397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10398         multiarch strncasecmp for PPC32.
10399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10400         file.
10401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10402         multiarch strncasecmp_l for PPC32.
10403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10404         strncasecmp multiarch objects.
10405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10406         (__libc_ifunc_impl_list): Likewise.
10407
10408         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10409         file.
10410         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10411         multiarch strncasecmp for PPC32.
10412         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10413         New file.
10414         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10415         multiarch strcasecmp_l for PPC32.
10416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10417         multiarch objects.
10418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10419         (__libc_ifunc_impl_list): Likewise.
10420
10421         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10422         file.
10423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10424         file.
10425         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10426         multiarch strncmp for PPC32.
10427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10428         multiarch objects.
10429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10430         (__libc_ifunc_impl_list): Likewise.
10431
10432         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10433         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10434         file.
10435         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10436         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10437         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10438         multiarch objects.
10439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10440         (__libc_ifunc_impl_list): Likewise.
10441
10442         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10443         file.
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10445         file.
10446         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10448         multiarch objects.
10449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10450         (__libc_ifunc_impl_list): Likewise.
10451
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10453         file.
10454         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10455         file.
10456         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10457         multiarch rawmemchr for PPC32.
10458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10459         multiarch objects.
10460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10461         (__libc_ifunc_impl_list): Likewise.
10462
10463         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10464         file.
10465         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10466         file.
10467         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10468         file: memrchr multiarch for PPC32.
10469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10470         multiarch objects.
10471         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10472         (__libc_ifunc_impl_list): Likewise.
10473
10474         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10476         file.
10477         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10479         multiarch memchr for PPC32.
10480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10481         multiarch objects.
10482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10483         (__libc_ifunc_impl_list): Likewise.
10484
10485         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10486         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10487         file.
10488         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10489         file.
10490         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10491         file: multiarch mempcpy for PPC32.
10492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10493         multiarch objects.
10494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10495         (__libc_ifunc_impl_list): Likewise.
10496
10497         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10498         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10499         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10500         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10501         multiarch bzero for PPC32.
10502         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10503         file.
10504         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10505         file.
10506         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10507         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10508         file: multiarch memset for PPC32.
10509         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10511         memset multiarch objects.
10512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10513         (__libc_ifunc_impl_list): Likewise.
10514
10515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10516         file.
10517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10519         memcmp for PPC32.
10520         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10522         multiarch objects.
10523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10524         (__libc_ifunc_impl_list): Likewise.
10525
10526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10527         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10529         file.
10530         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10531         file.
10532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10533         file.
10534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10535         multiarch memcpy for PPC32.
10536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10537         multiarch objects.
10538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10539         (__libc_ifunc_impl_list): Likewise.
10540
10541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10542         support multiarch for POWER/PPC32.
10543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10544         Likewise.
10545         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10547         Implies file to make multiarch folder appers before the fpu and
10548         default folder for power4 configuration.
10549
10550 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10551
10552         * scripts/bench.pl: Append volatile keyword to type.
10553
10554 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10555
10556         * sysdeps/sh/sotruss-lib.c: New file.
10557         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10558
10559 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10560
10561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10562
10563 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10564
10565         [BZ #6810]
10566         * math/w_tgamma.c: Include <errno.h>.
10567         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10568         * math/w_tgammaf.c: Include <errno.h>.
10569         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10570         * math/w_tgammal.c: Include <errno.h>.
10571         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10572         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10573         underflow.  Add more tgamma tests.
10574         * math/auto-libm-test-out: Regenerated.
10575         * sysdeps/i386/fpu/libm-test-ulps: Update.
10576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10577
10578         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10579         sin, sinh, tan, tanh, tgamma, y0 and y1.
10580         * math/auto-libm-test-out: Regenerated.
10581         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10582         (TEST_COND_x86): Likewise.
10583         (M_E2l): Remove macro.
10584         (M_E3l): Likewise.
10585         (M_2_SQRT_PIl): Likewise.
10586         (M_SQRT_PIl): Likewise.
10587         (M_1_DIV_El): Likewise.
10588         (log_test_data): Use AUTO_TESTS_f_f.
10589         (log10_test_data): Likewise.
10590         (log1p_test_data): Likewise.
10591         (log2_test_data): Likewise.
10592         (sin_test_data): Likewise.
10593         (sin_tonearest_test_data): Likewise.
10594         (sin_towardzero_test_data): Likewise.
10595         (sin_downward_test_data): Likewise.
10596         (sin_upward_test_data): Likewise.
10597         (sinh_test_data): Likewise.
10598         (sinh_tonearest_test_data): Likewise.
10599         (sinh_towardzero_test_data): Likewise.
10600         (sinh_downward_test_data): Likewise.
10601         (sinh_upward_test_data): Likewise.
10602         (tan_test_data): Likewise.
10603         (tan_tonearest_test_data): Likewise.
10604         (tan_towardzero_test_data): Likewise.
10605         (tan_downward_test_data): Likewise.
10606         (tan_upward_test_data): Likewise.
10607         (tanh_test_data): Likewise.
10608         (tgamma_test_data): Likewise.
10609         (y0_test_data): Likewise.
10610         (y1_test_data): Likewise.
10611         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10612         (special_real_inputs): Add pi/4.
10613         * sysdeps/i386/fpu/libm-test-ulps: Update.
10614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10615
10616 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10617
10618         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10619         "longjmp_target" static probes.
10620         (__longjmp): Rename to __longjmp_symbol.
10621         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10622         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10623         on which longjmp to generate.
10624         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10625         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10626         probe.
10627         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10628         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10629         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10630         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10631         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10632         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10634         __longjmp_symbol based on which __longjmp to generate.
10635         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10636         probe.
10637         (setjmp): Rename to setjmp_symbol.
10638         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10639         (_setjmp): Rename to _setjmp_symbol.
10640         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10641         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10642         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10643         which setjmp to generate.
10644         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10645         "longjmp_target" static probes.
10646
10647 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10648
10649         * benchtests/README: Add note about output arguments.
10650         * benchtests/bench-sincos.c: Remove file.
10651         * benchtests/sincos-inputs: New file.
10652         * scripts/bench.pl: Identify output arguments and define
10653         static variables for them.
10654
10655         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10656
10657         [BZ #15941]
10658         * Makefile (INSTALL): Add install-plain.texi as the primary
10659         dependency.
10660         * manual/install-plain.texi: New file.
10661         * manual/install.texi: Include node directive only for
10662         non-plaintext output.
10663
10664 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10665
10666         * stdlib/longlong.h: Update from GCC.
10667
10668         [BZ #6807]
10669         [BZ #15901]
10670         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10671         * math/w_j0f.c (y0f): Likewise.
10672         * math/w_j0l.c (__y0l): Likewise.
10673         * math/w_j1.c (y1): Likewise.
10674         * math/w_j1f.c (y1f): Likewise.
10675         * math/w_j1l.c (__y1l): Likewise
10676         * math/w_jn.c (yn): Likewise.
10677         * math/w_jnf.c (ynf): Likewise.
10678         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10679         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10680         value for Bessel function domain errors outside _SVID_ mode.
10681         Adjust sign of return value for yn (negative integer, 0).
10682         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10683         by zero in return for negative x and set sign appropriately for
10684         negative n.
10685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10686         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10687         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10688         expectations in error cases.
10689         (y1_test_data): Likewise.
10690         (yn_test_data): Likewise.
10691         * sysdeps/i386/fpu/libm-test-ulps: Update.
10692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10693
10694 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10695
10696         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10697         "64" to "64-v1".  Add "64-v2".
10698         (abi-64-options): Rename to ...
10699         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10700         (abi-64-condition): Rename to ...
10701         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10702         (abi-64-ld-soname): Rename to ...
10703         (abi-64-v1-ld-soname): ... this.
10704         (abi-64-v2-options): Define.
10705         (abi-64-v2-condition): Likewise.
10706         (abi-64-v2-ld-soname): Likewise.
10707         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10708         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10712
10713 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10714             Alan Modra  <amodra@gmail.com>
10715
10716         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10717         New versions for use with the ELFv2 ABI.
10718         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10719         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10720         declaration.
10721         (struct La_ppc64v2_retval): Likewise.
10722         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10723         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10724         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10725         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10726         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10727         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10728         Do not save or restore CR.
10729         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10730         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10731         return values for ELFv2 ABI.  Fix location of FPR return registers.
10732         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10733         updated values for _CALL_ELF == 2.
10734         (La_regs, La_retval, int_retval): Likewise.
10735
10736 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10737
10738         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10739         (FRAME_MIN_SIZE_PARM): Likewise.
10740         (FRAME_BACKCHAIN): Likewise.
10741         (FRAME_CR_SAVE): Likewise.
10742         (FRAME_LR_SAVE): Likewise.
10743         (FRAME_TOC_SAVE): Likewise.
10744         (FRAME_PARM_SAVE): Likewise.
10745         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10746         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10747         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10748         (call_mcount_parm_offset): New macro.
10749         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10750         (PROF): Use symbolic stack frame offsets.
10751         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10752         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10753         Redefine in terms of FRAME_MIN_SIZE.
10754         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10755         (_dl_profile_resolve): Likewise.  Update comment.
10756         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10757         symbols stack frame offsets.
10758         (__sigsetjmp): Likewise.
10759         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10760         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10761         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10762         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10763
10764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10765         (FRAME_BACKCHAIN): Remove.
10766         (FRAME_CR_SAVE): Likewise.
10767         (FRAME_LR_SAVE): Likewise.
10768         (FRAME_COMPILER_DW): Likewise.
10769         (FRAME_LINKER_DW): Likewise.
10770         (FRAME_TOC_SAVE): Likewise.
10771         (FRAME_PARM_SAVE): Likewise.
10772         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10773         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10774         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10776         (CHECK_SP): Use symbolic stack frame offsets.
10777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10778         zone" instead of caller's parameter save area for temp storage.
10779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10780         Likewise.  Also, use symbolic stack frame offsets.
10781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10782         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10783         our own stack frame instead of the caller's.
10784         (__socket): Use symbolic stack frame offsets.
10785
10786 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10787             Alan Modra  <amodra@gmail.com>
10788
10789         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10790         Define.
10791         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10792         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10793         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10794         New function.
10795         (elf_machine_fixup_plt): Call it.
10796         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10797         reloc arguments.
10798         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10799         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10800         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10801         r2 before calling target.
10802
10803 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10804             Alan Modra  <amodra@gmail.com>
10805
10806         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10807         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10808         versions of macros to support ELFv2 ABI.
10809         (LOCALENTRY): New macro.
10810         (ENTRY, EALIGN): Use it.
10811         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10812         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10813         fall through into ENTRY entry point.
10814         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10815         Only define if _CALL_ELF != 2.
10816
10817         (elf_machine_matches_host): Verify ABI version matches.
10818         (RTLD_START): Use LOCALENTRY.
10819         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10820         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10821         (PLT_ENTRY_WORDS): New macro.
10822         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10823         (elf_machine_runtime_setup): Support ELFv2 ABI.
10824         (elf_machine_fixup_plt): Likewise.
10825         (elf_machine_plt_conflict): Likewise.
10826         (resolve_ifunc): Likewise.
10827         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10828         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10829         Likewise.
10830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10831         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10833         (makecontext): Support ELFv2 ABI.
10834         * elf/elf.h (EF_PPC64_ABI): Define.
10835
10836 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10837
10838         * sysdeps/powerpc/powerpc64/sysdep.h
10839         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10840         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10841         (ENTRY) [ASSEMBLER]: ... but instead here ...
10842         (EALIGN) [ASSEMBLER]: ... and here.
10843         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10844         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10845         (ENTRY_2) [!ASSEMBLER]: Use it.
10846         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10847         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10848         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10849         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10850         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10852         Use PPC64_LOAD_FUNCPTR.
10853
10854         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10855
10856 2013-12-04  Alan Modra  <amodra@gmail.com>
10857
10858         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10859         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10860         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10861         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10862
10863         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10864         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10865         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10866         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10867         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10868         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10869
10870 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10871
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10873         (__makecontext): Fix incorrect CFI when backtracing out of
10874         context created via makecontext.
10875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10876         (__setcontext): Fix incorrect CFI during switch to new context.
10877         (__novec_setcontext): Likewise.
10878
10879 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10880
10881         [BZ #4772]
10882         * time/strptime_l.c (__strptime_internal): Allow modifiers
10883         in strptime.
10884         * time/tst-strptime.c (day_tests): Add testcase.
10885
10886 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10887
10888         * scripts/bench.pl: Skip over blank lines.
10889
10890 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10891
10892         [BZ #926]
10893         * manual/time.texi (Calendar Time): Clarify what timezone functions
10894         use.
10895
10896 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10897
10898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10899
10900 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10901
10902         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10903         implementation.
10904         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10905         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10906         * debug/memset_chk.c (__memset_chk): Likewise.
10907         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10908         * debug/strncpy_chk.c: Likewise.
10909
10910 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10911
10912         [BZ #15268]
10913         [BZ #15425]
10914         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10915         (__ieee754_exp): For possibly underflowing results, check size of
10916         result and force underflow exception if required.
10917         * math/auto-libm-test-in: Add more tests of exp.
10918         * math/auto-libm-test-out: Regenerated.
10919         * sysdeps/i386/fpu/libm-test-ulps: Update.
10920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921
10922         [BZ #16283]
10923         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10924         * math/w_exp2f.c (__exp2f): Likewise.
10925         * math/w_exp2l.c (__exp2l): Likewise.
10926         * math/auto-libm-test-in: Do not allow missing errno on exp2
10927         underflow.
10928         * math/auto-libm-test-out: Regenerated.
10929
10930 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10931
10932         [BZ #16274]
10933         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10934         handle filename validation.
10935         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10936         (do_open): Delete.
10937
10938 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10939
10940         [BZ #6786]
10941         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10942         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10943         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10944         <float.h>.
10945         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10946         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10947         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10948         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10949         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10950         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10951         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10952         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10953         Add more erfc tests.
10954         * math/auto-libm-test-out: Regenerated.
10955         * sysdeps/i386/fpu/libm-test-ulps: Update.
10956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10957
10958         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10959         exp2, expm1, j0 and j1.
10960         * math/auto-libm-test-out: Regenerated.
10961         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10962         (erfc_test_data): Likewise.
10963         (exp_test_data): Likewise.
10964         (exp_tonearest_test_data): Likewise.
10965         (exp_towardzero_test_data): Likewise.
10966         (exp_downward_test_data): Likewise.
10967         (exp_upward_test_data): Likewise.
10968         (exp10_test_data): Likewise.
10969         (exp2_test_data): Likewise.
10970         (expm1_test_data): Likewise.
10971         (j0_test_data): Likewise.
10972         (j1_test_data): Likewise.
10973         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10974         (input_flag_type): Add flag_xfail_rounding.
10975         (input_flags): Add xfail-rounding.
10976         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10977         (output_for_one_input_case): Handle flag_xfail_rounding.
10978         * sysdeps/i386/fpu/libm-test-ulps: Update.
10979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10980
10981 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10982
10983         [BZ #16289]
10984         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10985         division by 0.
10986
10987 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10988
10989         [BZ #16195]
10990         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10991         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10992         (STAP_PROBE0): New macro.
10993         (STAP_PROBE1): Likewise.
10994         (STAP_PROBE2): Likewise.
10995         (STAP_PROBE3): Likewise.
10996         (STAP_PROBE4): Likewise.
10997
10998 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10999
11000         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11001
11002 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11003
11004         * benchtests/Makefile (bench): Add sqrt.
11005         (LDLIBS-bench-sqrt): New.
11006         * benchtests/sqrt-input: New.
11007
11008 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11009
11010         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11011         (GAIH_EAI): Likewise.
11012         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11013         (gaih_inet): Likewise.
11014         (getaddrinfo): Don't use GAIH_EAI.
11015
11016         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11017         (struct gaih): Remove definition.
11018
11019 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11020
11021         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11022         Use HERRNOP directly.
11023
11024 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11025
11026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11027
11028 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11029
11030         * math/gen-auto-libm-tests.c (test_functions): Add more
11031         single-argument functions.
11032         (special_fill_pi_2): New function.
11033         (special_fill_minus_pi_2): Likewise.
11034         (special_fill_pi_6): Likewise.
11035         (special_fill_minus_pi_6): Likewise.
11036         (special_fill_pi_3): Likewise.
11037         (special_fill_2pi_3): Likewise.
11038         (special_fill_e): Likewise.
11039         (special_fill_1_e): Likewise.
11040         (special_fill_e_minus_1): Likewise.
11041         (special_real_inputs): Add more special inputs.
11042         (output_for_one_input_case): Do not require ERANGE on underflow to
11043         zero if round-to-nearest result does not underflow to zero, unless
11044         exact results required.
11045         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11046         atan, atanh, cbrt, cos and cosh.
11047         * math/auto-libm-test-out: Regenerated.
11048         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11049         (acos_tonearest_test_data): Likewise.
11050         (acos_towardzero_test_data): Likewise.
11051         (acos_downward_test_data): Likewise.
11052         (acos_upward_test_data): Likewise.
11053         (acosh_test_data): Likewise.
11054         (asin_test_data): Likewise.
11055         (asin_tonearest_test_data): Likewise.
11056         (asin_towardzero_test_data): Likewise.
11057         (asin_upward_test_data): Likewise.
11058         (asinh_test_data): Likewise.
11059         (atan_test_data): Likewise.
11060         (atanh_test_data): Likewise.
11061         (cbrt_test_data): Likewise.
11062         (cos_test_data): Likewise.
11063         (cos_tonearest_test_data): Likewise.
11064         (cos_towardzero_test_data): Likewise.
11065         (cos_downward_test_data): Likewise.
11066         (cos_upward_test_data): Likewise.
11067         (cosh_test_data): Likewise.
11068         (cosh_tonearest_test_data): Likewise.
11069         (cosh_towardzero_test_data): Likewise.
11070         (cosh_downward_test_data): Likewise.
11071         (cosh_upward_test_data): Likewise.
11072         * sysdeps/i386/fpu/libm-test-ulps: Update.
11073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11074
11075 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11076
11077         [BZ #6787]
11078         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11079         * math/w_exp10f.c (__exp10f): Likewise.
11080         * math/w_exp10l.c (__exp10l): Likewise.
11081         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11082         errno settings in existing tests.
11083
11084         [BZ #14032]
11085         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11086         precision control set to double precision.
11087         * sysdeps/i386/fpu/w_sqrt.c: New file.
11088         * math/auto-libm-test-in: Add more tests.
11089         * math/auto-libm-test-out: Update.
11090
11091         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11092         (sqrt_test_tonearest): New function.
11093         (sqrt_towardzero_test_data): New variable.
11094         (sqrt_test_towardzero): New function.
11095         (sqrt_downward_test_data): New variable.
11096         (sqrt_test_downward): New function.
11097         (sqrt_upward_test_data): New variable.
11098         (sqrt_test_upward): New function.
11099         (main): Call the new functions.
11100
11101         * math/gen-auto-libm-tests.c: New file.
11102         * math/auto-libm-test-in: Likewise.
11103         * math/auto-libm-test-out: New generated file.
11104         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11105         variables.
11106         (%beautify): Add generated representations of zero.
11107         (top level): Set $auto_input and call parse_auto_input.
11108         (beautify): Remove trailing "f" from hex float constants.
11109         (parse_args): Handle XFAIL_TEST.
11110         (convert_condition): New function.
11111         (or_value): Likewise.
11112         (or_cond_value): Likewise.
11113         (generate_testfile): Handle AUTO_TESTS_* lines.
11114         (parse_auto_input): New function.
11115         * math/libm-test.inc (XFAIL_TEST): New macro.
11116         (ERRNO_UNCHANGED): Update value.
11117         (ERRNO_EDOM): Likewise.
11118         (ERRNO_ERANGE): Likewise.
11119         (IGNORE_RESULT): Likewise.
11120         (TEST_COND_flt_32): New macro.
11121         (TEST_COND_dbl_64): Likewise.
11122         (TEST_COND_ldbl_96_intel): Likewise.
11123         (TEST_COND_ldbl_96_m68k): Likewise.
11124         (TEST_COND_ldbl_128): Likewise.
11125         (TEST_COND_ldbl_128ibm): Likewise.
11126         (TEST_COND_long32): Likewise.
11127         (TEST_COND_long64): Likewise.
11128         (TEST_COND_before_rounding): Likewise.
11129         (TEST_COND_after_rounding): Likewise.
11130         (enable_test): Handle XFAIL_TEST flag.
11131         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11132         with finite results.
11133         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11134         auto-libm-test-out.
11135
11136 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11138
11139         [BZ #16214]
11140         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11141         __tls_get_addr_internal instead of __tls_get_offset in order to
11142         avoid GOT pointer dependency.  Make rtld export
11143         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11144         __tls_get_addr since we are a __tls_get_offset platform.
11145         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11146         GOT pointer being set up before.
11147         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11148
11149 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11150
11151         * manual/math.texi (Errors in Math Functions): Document accuracy
11152         goals.
11153
11154         [BZ #15004]
11155         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11156         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11157         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11158         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11159         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11160         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11161         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11162         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11163         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11164         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11165         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11166         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11167         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11168         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11169         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11170         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11171
11172         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11173         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11174         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11175         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11176         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11177         Likewise.
11178         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11179         Likewise.
11180         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11181         Likewise.
11182         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11183         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11184         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11185         atomic-feupdateenv and flt-rounds.
11186         * sysdeps/powerpc/nofpu/Versions (libc): Add
11187         __atomic_feholdexcept, __atomic_feclearexcept,
11188         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11189         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11190         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11191         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11192         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11193         here.
11194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11195         Update.
11196
11197         * manual/arith.texi (FP Exceptions): Document that exceptions may
11198         not be raised when matherr is used.
11199         (Math Error Reporting): Document overflow in directed rounding
11200         modes.  Document that errno may not be set when finite values are
11201         returned on overflow.  Document intent to set errno on underflow
11202         only for underflow to zero.
11203
11204         [BZ #16271]
11205         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11206         round-to-nearest then adjust result for other rounding modes.
11207         * include/fenv.h (fegetround): Use libm_hidden_proto.
11208         * math/fegetround.c (fegetround): Use libm_hidden_def.
11209         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11210         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11211         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11212         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11213         Likewise.
11214         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11215         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11216         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11217         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11218
11219 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11220
11221         [BZ #16077]
11222         * nss/Versions (libnss_files): Add
11223         _nss_files_gethostbyname3_r.
11224         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11225         New function.
11226         (HOST_DB_LOOKUP): Remove macro.
11227         (_nss_files_gethostbyname_r): Implement function without the
11228         HOST_DB_LOOKUP macro.
11229         (_nss_files_gethostbyname2_r): Likewise.
11230
11231 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11232
11233         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11234
11235 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11236
11237         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11238         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11239         warning.
11240
11241 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11242
11243         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11244         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11245         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11246         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11247         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11248         __fe_nomask_env_priv and attribute_hidden.
11249         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11250         (libc_feupdateenv_test_ppc): Likewise.
11251         (libc_feresetround_ppc): Likewise.
11252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11253         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11254         compat_symbol macro.
11255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11256         (__fe_nomask_env): Likewise.
11257         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11258
11259 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11260
11261         * string/Makefile: Remove ifunc tests.
11262         * string/test-string.h: Define TEST_IFUNC.
11263         * string/test-bcopy-ifunc.c: Remove.
11264         * string/test-bzero-ifunc.c: Likewise.
11265         * string/test-memccpy-ifunc.c: Likewise.
11266         * string/test-memchr-ifunc.c: Likewise.
11267         * string/test-memcmp-ifunc.c: Likewise.
11268         * string/test-memcpy-ifunc.c: Likewise.
11269         * string/test-memmem-ifunc.c: Likewise.
11270         * string/test-memmove-ifunc.c: Likewise.
11271         * string/test-mempcpy-ifunc.c: Likewise.
11272         * string/test-memrchr-ifunc.c: Likewise.
11273         * string/test-memset-ifunc.c: Likewise.
11274         * string/test-rawmemchr-ifunc.c: Likewise.
11275         * string/test-stpcpy-ifunc.c: Likewise.
11276         * string/test-stpncpy-ifunc.c: Likewise.
11277         * string/test-strcasecmp-ifunc.c: Likewise.
11278         * string/test-strcasestr-ifunc.c: Likewise.
11279         * string/test-strcat-ifunc.c: Likewise.
11280         * string/test-strchr-ifunc.c: Likewise.
11281         * string/test-strchrnul-ifunc.c: Likewise.
11282         * string/test-strcmp-ifunc.c: Likewise.
11283         * string/test-strcpy-ifunc.c: Likewise.
11284         * string/test-strcspn-ifunc.c: Likewise.
11285         * string/test-strlen-ifunc.c: Likewise.
11286         * string/test-strncasecmp-ifunc.c: Likewise.
11287         * string/test-strncat-ifunc.c: Likewise.
11288         * string/test-strncmp-ifunc.c: Likewise.
11289         * string/test-strncpy-ifunc.c: Likewise.
11290         * string/test-strnlen-ifunc.c: Likewise.
11291         * string/test-strpbrk-ifunc.c: Likewise.
11292         * string/test-strrchr-ifunc.c: Likewise.
11293         * string/test-strspn-ifunc.c: Likewise.
11294         * string/test-strstr-ifunc.c: Likewise.
11295
11296 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11297
11298         * benchtests/Makefile: Remove ifunc tests.
11299         * benchtests/bench-string.h: Define TEST_IFUNC.
11300         * benchtests/bench-bcopy-ifunc.c: Remove.
11301         * benchtests/bench-bzero-ifunc.c: Likewise.
11302         * benchtests/bench-memccpy-ifunc.c: Likewise.
11303         * benchtests/bench-memchr-ifunc.c: Likewise.
11304         * benchtests/bench-memcmp-ifunc.c: Likewise.
11305         * benchtests/bench-memcpy-ifunc.c: Likewise.
11306         * benchtests/bench-memmem-ifunc.c: Likewise.
11307         * benchtests/bench-memmove-ifunc.c: Likewise.
11308         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11309         * benchtests/bench-memrchr-ifunc.c: Likewise.
11310         * benchtests/bench-memset-ifunc.c: Likewise.
11311         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11312         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11313         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11314         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11315         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11316         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11317         * benchtests/bench-strcat-ifunc.c: Likewise.
11318         * benchtests/bench-strchr-ifunc.c: Likewise.
11319         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11320         * benchtests/bench-strcmp-ifunc.c: Likewise.
11321         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11322         * benchtests/bench-strcpy-ifunc.c: Likewise.
11323         * benchtests/bench-strcspn-ifunc.c: Likewise.
11324         * benchtests/bench-strlen-ifunc.c: Likewise.
11325         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11326         * benchtests/bench-strncat-ifunc.c: Likewise.
11327         * benchtests/bench-strncmp-ifunc.c: Likewise.
11328         * benchtests/bench-strncpy-ifunc.c: Likewise.
11329         * benchtests/bench-strnlen-ifunc.c: Likewise.
11330         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11331         * benchtests/bench-strrchr-ifunc.c: Likewise.
11332         * benchtests/bench-strsep-ifunc.c: Likewise.
11333         * benchtests/bench-strspn-ifunc.c: Likewise.
11334         * benchtests/bench-strstr-ifunc.c: Likewise.
11335
11336 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11337
11338         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11339
11340 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11341
11342         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11343         * rt/aio.h: Likewise.
11344         * sysdeps/gnu/bits/utmp.h: Likewise.
11345         * sysdeps/gnu/bits/utmpx.h: Likewise.
11346         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11347         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11348         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11349         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11350         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11351         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11352         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11353         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11354         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11355         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11356         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11357         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11361         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11362         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11363         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11364         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11365         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11366         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11367         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11368         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11369         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11370         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11372         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11373         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11374         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11375         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11376         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11377         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11378         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11379         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11380         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11381         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11382         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11383         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11384         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11385         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11386         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11387         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11388
11389 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11390
11391         [BZ #16245]
11392         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11393         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11394
11395 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11396
11397         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11398         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11399         Likewise.
11400
11401 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11402
11403         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11404         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11405         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11406         (__fesetround): Remove define.
11407         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11408         rounding and exceptions handling.
11409         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11410         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11411         (__fe_nomask_env): Likewise.
11412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11413         __fegetround instead of fegetround.
11414         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11416
11417 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11418
11419         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11420         it's there.
11421
11422         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11423
11424 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11425
11426         [BZ #11157]
11427         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11428         (encrypt_r): Likewise.
11429         * malloc/obstack.h (obstack_free): Likewise.
11430         * posix/unistd.h (encrypt): Likewise.
11431
11432 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11433
11434         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11435         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11436         DL_CALL_DT_FINI() that call the functions directly.
11437         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11438         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11439         * elf/dl-fini.c: Likewise.
11440
11441 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11442
11443         * malloc/hooks.c (memalign_check): Add alignment rounding.
11444         * malloc/malloc.c (_mid_memalign): New function.
11445         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11446         Implement by calling _mid_memalign.
11447         * manual/probes.texi (Memory Allocation Probes): Remove
11448         memory_valloc_retry and memory_pvalloc_retry.
11449
11450 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11451
11452         * locale/programs/locarchive.c (open_archive): Add const
11453         qualifier to ARCHIVEFNAME and copy default fname to
11454         DEFAULT_FNAME.
11455
11456         [BZ #15601]
11457         * libio/tst-widetext.input: Rename Oriya to Odia.
11458         * locale/iso-639.def: Likewise.
11459
11460         * manual/probes.texi (Mathematical Function Probes): Add
11461         documentation for sin, cos, asin and acos probes.
11462         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11463         (__sin32): Add slowasin probe.
11464         (__cos32): Add slowacos probe.
11465         (__mpsin): Add slowsin probe.
11466         (__mpcos): Add slowcos probe.
11467
11468 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11469
11470         [BZ #15483]
11471         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11472         thread-local __sim_exceptions_thread and global
11473         __sim_exceptions_global.
11474         (__sim_disabled_exceptions): Change to thread-local
11475         __sim_disabled_exceptions_thread and global
11476         __sim_disabled_exceptions_global.
11477         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11478         and global __sim_round_mode_global.
11479         (__simulate_exceptions): Use thread-local floating-point state and
11480         set global state from it as needed.
11481         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11482         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11483         __sim_round_mode_thread.
11484         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11485         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11486         and global __sim_exceptions_global.
11487         (__sim_disabled_exceptions): Change to thread-local
11488         __sim_disabled_exceptions_thread and global
11489         __sim_disabled_exceptions_global.
11490         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11491         and global __sim_round_mode_global.
11492         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11493         (SIM_SET_GLOBAL): Likewise.
11494         * sysdeps/powerpc/soft-fp/sfp-machine.h
11495         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11496         __sim_round_mode_thread.
11497         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11498         __sim_disabled_exceptions_thread.
11499         (__sim_exceptions): Change to __sim_exceptions_thread.
11500         (__sim_disabled_exceptions): Change to
11501         __sim_disabled_exceptions_thread.
11502         (__sim_round_mode): Change to __sim_round_mode_thread.
11503         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11504         thread-local floating-point state and set global state from it as
11505         needed.
11506         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11507         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11508         (__sim_disabled_exceptions): Remove extern declaration.
11509         (feenableexcept): Use thread-local floating-point state and set
11510         global state from it as needed.
11511         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11512         extern declaration.
11513         (__sim_disabled_exceptions): Likewise.
11514         (__sim_round_mode): Likewise.
11515         (__fegetenv): Use thread-local floating-point state.
11516         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11517         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11518         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11519         floating-point state and set global state from it as needed.
11520         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11521         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11522         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11523         Likewise.
11524         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11525         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11526         Likewise.
11527         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11528         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11529         Use __sim_round_mode_thread.
11530         * math/test-fenv-tls.c: New file.
11531         * math/Makefile (tests): Add test-fenv-tls.
11532         ($(objpfx)test-fenv-tls): Depend on
11533         $(common-objpfx)nptl/libpthread.so.
11534
11535 2013-11-19  Andreas Schwab  <schwab@suse.de>
11536
11537         * locale/programs/locale.c (show_info): Decode wordarray elements.
11538         * locale/categories.def (LC_MONETARY): Add element for
11539         _NL_MONETARY_CRNCYSTR.
11540         * locale/C-monetary.c (conversion_rate): New variable.
11541         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11542         element.
11543
11544 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11545
11546         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11547         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11548
11549 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11550
11551         * elf/Makefile (tst-auxv): New test.
11552         * elf/tst-auxv.c: New
11553         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11554
11555 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11556
11557         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11558         (hidden_proto): Caller changed.
11559         (hidden_tls_proto): New macro.
11560         (libc_hidden_tls_proto): Likewise.
11561         (rtld_hidden_tls_proto): Likewise.
11562         (libm_hidden_tls_proto): Likewise.
11563         (libresolv_hidden_tls_proto): Likewise.
11564         (librt_hidden_tls_proto): Likewise.
11565         (libdl_hidden_tls_proto): Likewise.
11566         (libnss_files_hidden_tls_proto): Likewise.
11567         (libnsl_hidden_tls_proto): Likewise.
11568         (libnss_nisplus_hidden_tls_proto): Likewise.
11569         (libutil_hidden_tls_proto): Likewise.
11570
11571 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11572
11573         [BZ #10253]
11574         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11575         (decompose_rpath): Defer expansion to fillin_rpath.
11576         (_dl_init_paths): Pass linkmap to fillin_rpath.
11577
11578 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11579
11580         * benchtests/Makefile: Add strsep.
11581         * benchtests/bench-strsep.c: New file: strsep benchtest.
11582         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11583
11584 2013-11-18  Andreas Schwab  <schwab@suse.de>
11585
11586         * locale/programs/locale.c (show_info) [case byte]: Check for
11587         '\377' instead of '\177'.
11588         * locale/C-monetary.c (not_available): Always use "\377".
11589         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11590         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11591         detect unavailable sign_posn locale elements.
11592         * locale/localeconv.c (__localeconv): For grouping and
11593         mon_grouping handle "\177" and "\377" like no grouping.
11594         (INT_ELEM): New macro.  Use it to set all numeric members.
11595         * locale/programs/ld-monetary.c (monetary_read)
11596         <tok_mon_grouping>: Normalize single -1 to the empty string.
11597         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11598         Likewise.
11599
11600 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11601
11602         [BZ #16055]
11603         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11604         when we match (nil).
11605         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11606
11607 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11608
11609         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11610         (NO_TEST_INLINE): Update value.
11611         (ERRNO_UNCHANGED): Likewise.
11612         (ERRNO_EDOM): Likewise.
11613         (ERRNO_ERANGE): Likewise.
11614         (IGNORE_RESULT): Likewise.
11615         (check_float_internal): Check signs of NaN results if
11616         TEST_NAN_SIGN used.
11617         (check_complex): Pass TEST_NAN_SIGN flag through to second
11618         check_float_internal call.
11619         (copysign_test_data): Add tests with quiet NaNs as second
11620         argument.  Use TEST_NAN_SIGN.
11621         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11622         TEST_NAN_SIGN.
11623         (signbit_test_data): Add tests of quiet NaN argument.
11624         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11625
11626         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11627         $ignore_result.
11628         (parse_args): Handle function results specified as IGNORE.
11629         * math/libm-test.inc (IGNORE_RESULT): New macro.
11630         (check_float_internal): Do not check numerical result if flag
11631         IGNORE_RESULT set.
11632         (check_complex): Pass through IGNORE_RESULT to second
11633         check_float_internal call.
11634         (check_int): Do not check numerical result if flag IGNORE_RESULT
11635         set.
11636         (check_long): Likewise.
11637         (check_bool): Likewise.
11638         (check_longlong): Likewise.
11639         (lrint_test_data): Add tests of infinite and NaN arguments.
11640         (lrint_tonearest_test_data): Likewise.
11641         (lrint_towardzero_test_data): Likewise.
11642         (lrint_downward_test_data): Likewise.
11643         (lrint_upward_test_data): Likewise.
11644         (llrint_test_data): Likewise.
11645         (llrint_tonearest_test_data): Likewise.
11646         (llrint_towardzero_test_data): Likewise.
11647         (llrint_downward_test_data): Likewise.
11648         (llrint_upward_test_data): Likewise.
11649         (lround_test_data): Likewise.
11650         (llround_test_data): Likewise.
11651
11652         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11653         (ERRNO_UNCHANGED): Update value.
11654         (ERRNO_EDOM): Likewise.
11655         (ERRNO_ERANGE): Likewise.
11656         (NO_TEST_INLINE_FLOAT): New macro.
11657         (NO_TEST_INLINE_DOUBLE): Likewise.
11658         (enable_test): New function.
11659         (RUN_TEST_f_f): Check enable_test before running test.
11660         (RUN_TEST_2_f): Likewise.
11661         (RUN_TEST_fff_f): Likewise.
11662         (RUN_TEST_c_f): Likewise.
11663         (RUN_TEST_f_f1): Likewise.
11664         (RUN_TEST_fF_f1): Likewise.
11665         (RUN_TEST_fI_f1): Likewise.
11666         (RUN_TEST_ffI_f1): Likewise.
11667         (RUN_TEST_c_c): Likewise.
11668         (RUN_TEST_cc_c): Likewise.
11669         (RUN_TEST_f_i): Likewise.
11670         (RUN_TEST_f_i_tg): Likewise.
11671         (RUN_TEST_ff_i_tg): Likewise.
11672         (RUN_TEST_f_b): Likewise.
11673         (RUN_TEST_f_b_tg): Likewise.
11674         (RUN_TEST_f_l): Likewise.
11675         (RUN_TEST_f_L): Likewise.
11676         (RUN_TEST_fFF_11): Likewise.
11677         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11678         conditionals.
11679         (cosh_test_data): Likewise.
11680         (exp_test_data): Likewise.
11681         (expm1_test_data): Likewise.
11682         (hypot_test_data): Likewise.
11683         (pow_test_data): Likewise.
11684         (sinh_test_data): Likewise.
11685         (tanh_test_data): Likewise.
11686         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11687         flags argument.
11688
11689         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11690         tests with quiet NaN input and output.
11691         (acosh_test_data): Likewise.
11692         (asin_test_data): Likewise.
11693         (asinh_test_data): Likewise.
11694         (atan_test_data): Likewise.
11695         (atanh_test_data): Likewise.
11696         (atan2_test_data): Likewise.
11697         (cbrt_test_data): Likewise.
11698         (cos_test_data): Likewise.
11699         (cosh_test_data): Likewise.
11700         (erf_test_data): Likewise.
11701         (erfc_test_data): Likewise.
11702         (exp_test_data): Likewise.
11703         (exp10_test_data): Likewise.
11704         (exp2_test_data): Likewise.
11705         (expm1_test_data): Likewise.
11706         (hypot_test_data): Likewise.
11707         (j0_test_data): Likewise.
11708         (j1_test_data): Likewise.
11709         (jn_test_data): Likewise.
11710         (lgamma_test_data): Likewise.
11711         (log_test_data): Likewise.
11712         (log10_test_data): Likewise.
11713         (log1p_test_data): Likewise.
11714         (log2_test_data): Likewise.
11715         (pow_test_data): Likewise.
11716         (scalb_test_data): Likewise.
11717         (sin_test_data): Likewise.
11718         (sincos_test_data): Likewise.
11719         (sinh_test_data): Likewise.
11720         (tan_test_data): Likewise.
11721         (tanh_test_data): Likewise.
11722         (tgamma_test_data): Likewise.
11723         (y0_test_data): Likewise.
11724         (y1_test_data): Likewise.
11725         (yn_test_data): Likewise.
11726
11727         [BZ #16167]
11728         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11729         argument being NaN and avoid computations with second argument in
11730         that case.
11731         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11732         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11733         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11734
11735 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11736
11737         * locale/iso-639.def: Add Chitwani Tharu (the).
11738
11739 2013-11-14  Andreas Schwab  <schwab@suse.de>
11740
11741         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11742         word instead of empty string.
11743
11744 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11745
11746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11747         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11749         (__fe_nomask_env): Likewise.
11750
11751 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11752
11753         * benchtests/bench-timing.h: Include time.h.
11754
11755 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11756
11757         [BZ #15997]
11758         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11759         to 3.4.0 for x32.
11760         * sysdeps/unix/sysv/linux/configure: Regenerated.
11761
11762 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11763
11764         [BZ #16151]
11765         * stdlib/strtod_l.c (round_and_return): Do not consider
11766         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11767         exponent one less than half the least subnormal exponent.
11768         * stdlib/test-strtod-round-data: Add more tests.
11769         * stdlib/tst-strtod-round.c (tests): Regenerated.
11770
11771 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11772
11773         [BZ #14143]
11774         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11775         (__fe_mask_env): Likewise.
11776         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11777         libm_hidden_proto and add function prototype.
11778         (__fe_mask_env): Add function prototype.
11779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11780         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11782         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11784         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11785
11786 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11787
11788         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11789         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11790
11791 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11792
11793         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11794         of htab_find_slot().
11795
11796 2013-11-11  David S. Miller  <davem@davemloft.net>
11797
11798         [BZ #16150]
11799         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11800         symbol in the non-vis3 case in static builds.
11801         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11802         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11803         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11804         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11805
11806 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11807
11808         [BZ #387]
11809         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11810         it is empty.
11811
11812 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11813
11814         * benchtests/Makefile: Add bench-strtod.
11815         * benchtests/bench-strtod.c: New file: strtod benchtest
11816
11817 2013-11-11  Andreas Schwab  <schwab@suse.de>
11818
11819         [BZ #16153]
11820         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11821         terminating NUL in key length.
11822
11823 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11824
11825         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11826         Add artificial ODP entry for vDSO symbol for PPC64.
11827         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11828         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11829
11830 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11831
11832         [BZ #15374]
11833         * nss/getent.c (services_keys): Recognize services starting with digit.
11834
11835 2013-11-06  David S. Miller  <davem@davemloft.net>
11836
11837         [BZ #15985]
11838         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11839         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11840
11841 2013-11-06  Will Newton  <will.newton@linaro.org>
11842
11843         * manual/memory.texi (Malloc Examples): Remove register
11844         keyword from examples.
11845
11846 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11847
11848         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11849
11850 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11851
11852         [BZ #6981]
11853         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11854         depending on [__GCC_IEC_559 > 0].
11855         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11856         depending on [__GCC_IEC_559_COMPLEX > 0].
11857
11858 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11859
11860         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11861         to iso-639.def.
11862
11863 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11864
11865         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11866
11867 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11868
11869         [BZ #16112]
11870         * malloc/malloc (malloc_info): Do not handle first bin as
11871         special case.
11872
11873 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11874
11875         * locale/iso-639.def: Add Central Nahuatl (nhn).
11876
11877 2013-11-01  Bruno Haible  <bruno@clisp.org>
11878
11879         [BZ #7003]
11880         * manual/math.texi (BSD Random): Specify range upper bound as
11881         in POSIX.
11882
11883 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11884
11885         * locale/iso-639.def: Add Meadow Mari (mhr).
11886
11887 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11888
11889         [BZ #14752], [BZ #15763]
11890         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11891         Validate name.
11892         * rt/tst_shm.c: Add test for escaping directory.
11893
11894 2013-10-31  Andreas Schwab  <schwab@suse.de>
11895
11896         [BZ #15917]
11897         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11898         followed by 'x' as part of digit sequence.
11899         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11900
11901 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11902
11903         [BZ #16037]
11904         * configure.ac: allow GNU Make 4.0 and greater.
11905         * configure: Regenerated.
11906
11907 2013-10-30  Will Newton  <will.newton@linaro.org>
11908
11909         [BZ #16038]
11910         * malloc/hooks.c (memalign_check): Limit alignment to the
11911         maximum representable power of two.
11912         * malloc/malloc.c (__libc_memalign): Likewise.
11913         * malloc/tst-memalign.c (do_test): Add test for very
11914         large alignment values.
11915         * malloc/tst-posix_memalign.c (do_test): Likewise.
11916
11917 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11918
11919         [BZ #11087]
11920         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11921         (munmap_chunk): Likewise.
11922         (mremap_chunk): Likewise.
11923
11924 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11925
11926         [BZ #15799]
11927         * stdlib/div.c (div): Remove obsolete code.
11928         * stdlib/ldiv.c (ldiv): Likewise.
11929         * stdlib/lldiv.c (lldiv): Likewise.
11930
11931 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11932
11933         [BZ #16071]
11934         * nss/nss_files/files-XXX.c (get_contents_ret): New
11935         enumerator.
11936         (get_contents): New function.
11937         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11938
11939 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11940
11941         * configure.in: Moved to ...
11942         * configure.ac: ... here. Change reference to configure.in
11943         to configure.ac.
11944         * sysdeps/arm/preconfigure.ac: ... here.
11945         configure.in to configure.ac.
11946         * sysdeps/gnu/configure.in: Moved to ...
11947         * sysdeps/gnu/configure.ac: ... here.
11948         * sysdeps/i386/configure.in: Moved to ...
11949         * sysdeps/i386/configure.ac: ... here.
11950         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11951         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11952         * sysdeps/mach/configure.in: Moved to ...
11953         * sysdeps/mach/configure.ac: ... here.
11954         * sysdeps/mach/hurd/configure.in: Moved to ...
11955         * sysdeps/mach/hurd/configure.ac: ... here.
11956         * sysdeps/powerpc/configure.in: Moved to ...
11957         * sysdeps/powerpc/configure.ac: ... here.
11958         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11959         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11960         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11961         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11962         * sysdeps/s390/s390-32/configure.in: Moved to ...
11963         * sysdeps/s390/s390-32/configure.ac: ... here.
11964         * sysdeps/s390/s390-64/configure.in: Moved to ...
11965         * sysdeps/s390/s390-64/configure.ac: ... here.
11966         * sysdeps/sh/configure.in: Moved to ...
11967         * sysdeps/sh/configure.ac: ... here.
11968         * sysdeps/sparc/configure.in: Moved to ...
11969         * sysdeps/sparc/configure.ac: ... here.
11970         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11971         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11972         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11973         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11974         * sysdeps/x86_64/configure.in: Moved to ...
11975         * sysdeps/x86_64/configure.ac: ... here.
11976         * sysdeps/x86_64/preconfigure.in: Moved to ...
11977         * sysdeps/x86_64/preconfigure.ac: ... here.
11978         * aclocal.m4: Change reference to configure.in to configure.ac.
11979         * config.h.in: Likewise.
11980         * manual/install.texi: Likewise.
11981         * manual/maint.texi: Likewise.
11982         * Makefile: Likewise.
11983         * malloc/Makefile: Likewise.
11984         * nscd/Makefile: Likewise.
11985         * Makeconfig: Change reference to configure.in and
11986         preconfigure.in to configure.ac and preconfigure.ac
11987         respectively.
11988         * INSTALL: Regenerated.
11989         * configure: Likewise.
11990         * sysdeps/gnu/configure: Likewise.
11991         * sysdeps/i386/configure: Likewise.
11992         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11993         * sysdeps/mach/configure: Likewise.
11994         * sysdeps/mach/hurd/configure: Likewise.
11995         * sysdeps/powerpc/configure: Likewise.
11996         * sysdeps/powerpc/powerpc32/configure: Likewise.
11997         * sysdeps/powerpc/powerpc64/configure: Likewise.
11998         * sysdeps/s390/s390-32/configure: Likewise.
11999         * sysdeps/s390/s390-64/configure: Likewise.
12000         * sysdeps/sh/configure: Likewise.
12001         * sysdeps/sparc/configure: Likewise.
12002         * sysdeps/unix/sysv/linux/configure: Likewise.
12003         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12004         * sysdeps/x86_64/configure: Likewise.
12005         * sysdeps/x86_64/preconfigure: Likewise.
12006
12007 2013-10-29  Andreas Schwab  <schwab@suse.de>
12008
12009         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12010
12011 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12012
12013         * benchtests/pow-inputs: Add new inputs.
12014
12015         * benchtests/exp-inputs: Add new inputs.
12016
12017         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12018         conditional check for return value.
12019         (__cos32): Likewise.
12020
12021 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12022
12023         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12024         to provide a boost for large inputs with word alignment.
12025         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12026         implementation based on optimized PPC64 strcpy.
12027         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12028         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12029         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12030         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12031
12032 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12033
12034         [BZ #2801]
12035         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12036
12037 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12038
12039         [BZ #14876]
12040         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12041         * time/tst-strptime.c (day_tests): Add testcase.
12042
12043 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12044
12045         [BZ #14029]
12046         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12047
12048 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12049
12050         [BZ #16074]
12051         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12052         MAP_FAILED on error.
12053
12054 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12055
12056         [BZ #16072]
12057         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12058         heap for large requests.
12059
12060 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12061
12062         [BZ #9954]
12063         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12064         result if the result has no associated interface.
12065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12066         interface for all 127.X.Y.Z addresses.
12067
12068 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12069
12070         * locale/iso-639.def: Add Ligurian (lij)
12071
12072 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12073
12074         [BZ #15825]
12075         * sunrpc/rpc_main.c: Document rpcgen -5.
12076
12077 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12078
12079         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12080
12081 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12082
12083         [BZ #10278]
12084         * posix/glob.c: Match only directories when trailing slash is present.
12085         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12086         (main): Add testcase.
12087
12088 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12089
12090         [BZ #15670]
12091         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12092
12093 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12094
12095         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12096         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12097         AUTH_DES and cindex for FIPS 140-2.
12098         (DES Encryption): Add cindex FIPS 46-3.
12099
12100         * locale/locarchive.h (struct locarhandle): Add fname.
12101         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12102         if an optional argument was specified to --list-archive,
12103         otherwise NULL.
12104         * locale/programs/locarchive.c (show_archive_content): Take new
12105         argument fname and pass it via ah.fname to open_archive.
12106         * locale/programs/localedef.h: Update decl.
12107         (open_archive): If AH->fname is non-null, open that file
12108         rather than the default file name, and don't ignore ENOENT.
12109         (create_archive): Set AH.fname to NULL.
12110         (delete_locales_from_archive): Likewise.
12111         (add_locales_to_archive): Likewise.
12112         * locale/programs/locfile.c (write_all_categories): Likewise.
12113
12114 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12115             Aldy Hernandez  <aldyh@redhat.com>
12116
12117         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12118         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12119         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12120         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12121         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12122         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12123         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12124         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12125         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12127         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12128         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12129         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12130         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12131         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12132         Likewise.
12133         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12134         Likewise.
12135         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12136         Likewise.
12137         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12138         Likewise.
12139         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12140         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12141         Likewise.
12142         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12143         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12144         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12145         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12146         Likewise.
12147         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12148         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12149         * sysdeps/powerpc/preconfigure: Likewise.
12150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12151         Likewise.
12152         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12153         Replace contents of file by #include of <fenv_libc.h>.
12154         * sysdeps/powerpc/soft-fp/sfp-machine.h
12155         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12156         and <sys/prctl.h>.
12157         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12158         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12159         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12160         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12161         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12162         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12168         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12170         Allow copysignl PLT reference to be missing.
12171
12172 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12173             Joseph Myers  <joseph@codesourcery.com
12174
12175         [BZ #15948]
12176         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12177         single character.
12178         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12179
12180 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12181
12182         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12183         * elf/tst-tls1.c: Likewise.
12184         * elf/tst-tls10.h: Likewise.
12185         * elf/tst-tls14.c: Likewise.
12186         * elf/tst-tls2.c: Likewise.
12187         * elf/tst-tls3.c: Likewise.
12188         * elf/tst-tls4.c: Likewise.
12189         * elf/tst-tls5.c: Likewise.
12190         * elf/tst-tls6.c: Likewise.
12191         * elf/tst-tls7.c: Likewise.
12192         * elf/tst-tls8.c: Likewise.
12193         * elf/tst-tls9.c: Likewise.
12194         * elf/tst-tlsmod1.c: Likewise.
12195         * elf/tst-tlsmod13.c: Likewise.
12196         * elf/tst-tlsmod13a.c: Likewise.
12197         * elf/tst-tlsmod14a.c: Likewise.
12198         * elf/tst-tlsmod16a.c: Likewise.
12199         * elf/tst-tlsmod16b.c: Likewise.
12200         * elf/tst-tlsmod2.c: Likewise.
12201         * elf/tst-tlsmod3.c: Likewise.
12202         * elf/tst-tlsmod4.c: Likewise.
12203         * elf/tst-tlsmod5.c: Likewise.
12204         * elf/tst-tlsmod6.c: Likewise.
12205
12206 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12207
12208         [BZ #12486]
12209         * malloc/malloc.c: remove checks for statistics.
12210
12211 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12212
12213         [BZ #15277]
12214         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12215         * inet/tst-network.c: Add testcase.
12216
12217 2013-10-17  Andreas Schwab  <schwab@suse.de>
12218
12219         [BZ #15218]
12220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12221         to determine canonical name.
12222
12223 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12224
12225         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12226         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12227         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12228         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12229         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12230         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12231         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12232         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12233         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12234         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12235         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12236         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12237         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12238         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12239         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12240         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12241         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12242         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12243         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12244         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12245         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12246         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12247         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12248         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12249         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12250         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12251         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12252         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12253         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12254         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12255         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12256         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12257         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12258         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12259         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12260         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12261         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12262         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12263         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12264         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12265         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12266         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12267         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12268         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12269         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12270         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12271         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12272         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12273         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12274         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12275         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12276         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12277         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12278         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12279         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12280         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12283
12284 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12285
12286         [BZ #16041]
12287         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12288         make result into a quiet NaN.
12289
12290 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12291
12292         * soft-fp/adddf3.c: Fix horizontal whitespace.
12293         * soft-fp/addsf3.c: Likewise.
12294         * soft-fp/addtf3.c: Likewise.
12295         * soft-fp/divdf3.c: Likewise.
12296         * soft-fp/divsf3.c: Likewise.
12297         * soft-fp/divtf3.c: Likewise.
12298         * soft-fp/double.h: Likewise.
12299         * soft-fp/eqdf2.c: Likewise.
12300         * soft-fp/eqsf2.c: Likewise.
12301         * soft-fp/eqtf2.c: Likewise.
12302         * soft-fp/extenddftf2.c: Likewise.
12303         * soft-fp/extended.h: Likewise.
12304         * soft-fp/extendsfdf2.c: Likewise.
12305         * soft-fp/extendsftf2.c: Likewise.
12306         * soft-fp/extendxftf2.c: Likewise.
12307         * soft-fp/fixdfdi.c: Likewise.
12308         * soft-fp/fixdfsi.c: Likewise.
12309         * soft-fp/fixdfti.c: Likewise.
12310         * soft-fp/fixsfdi.c: Likewise.
12311         * soft-fp/fixsfsi.c: Likewise.
12312         * soft-fp/fixsfti.c: Likewise.
12313         * soft-fp/fixtfdi.c: Likewise.
12314         * soft-fp/fixtfsi.c: Likewise.
12315         * soft-fp/fixtfti.c: Likewise.
12316         * soft-fp/fixunsdfdi.c: Likewise.
12317         * soft-fp/fixunsdfsi.c: Likewise.
12318         * soft-fp/fixunsdfti.c: Likewise.
12319         * soft-fp/fixunssfdi.c: Likewise.
12320         * soft-fp/fixunssfsi.c: Likewise.
12321         * soft-fp/fixunssfti.c: Likewise.
12322         * soft-fp/fixunstfdi.c: Likewise.
12323         * soft-fp/fixunstfsi.c: Likewise.
12324         * soft-fp/fixunstfti.c: Likewise.
12325         * soft-fp/floatdidf.c: Likewise.
12326         * soft-fp/floatdisf.c: Likewise.
12327         * soft-fp/floatditf.c: Likewise.
12328         * soft-fp/floatsidf.c: Likewise.
12329         * soft-fp/floatsisf.c: Likewise.
12330         * soft-fp/floatsitf.c: Likewise.
12331         * soft-fp/floattidf.c: Likewise.
12332         * soft-fp/floattisf.c: Likewise.
12333         * soft-fp/floattitf.c: Likewise.
12334         * soft-fp/floatundidf.c: Likewise.
12335         * soft-fp/floatundisf.c: Likewise.
12336         * soft-fp/floatunditf.c: Likewise.
12337         * soft-fp/floatunsidf.c: Likewise.
12338         * soft-fp/floatunsisf.c: Likewise.
12339         * soft-fp/floatunsitf.c: Likewise.
12340         * soft-fp/floatuntidf.c: Likewise.
12341         * soft-fp/floatuntisf.c: Likewise.
12342         * soft-fp/floatuntitf.c: Likewise.
12343         * soft-fp/fmadf4.c: Likewise.
12344         * soft-fp/fmasf4.c: Likewise.
12345         * soft-fp/fmatf4.c: Likewise.
12346         * soft-fp/gedf2.c: Likewise.
12347         * soft-fp/gesf2.c: Likewise.
12348         * soft-fp/getf2.c: Likewise.
12349         * soft-fp/ledf2.c: Likewise.
12350         * soft-fp/lesf2.c: Likewise.
12351         * soft-fp/letf2.c: Likewise.
12352         * soft-fp/muldf3.c: Likewise.
12353         * soft-fp/mulsf3.c: Likewise.
12354         * soft-fp/multf3.c: Likewise.
12355         * soft-fp/negdf2.c: Likewise.
12356         * soft-fp/negsf2.c: Likewise.
12357         * soft-fp/negtf2.c: Likewise.
12358         * soft-fp/op-1.h: Likewise.
12359         * soft-fp/op-2.h: Likewise.
12360         * soft-fp/op-4.h: Likewise.
12361         * soft-fp/op-8.h: Likewise.
12362         * soft-fp/op-common.h: Likewise.
12363         * soft-fp/quad.h: Likewise.
12364         * soft-fp/single.h: Likewise.
12365         * soft-fp/soft-fp.h: Likewise.
12366         * soft-fp/sqrtdf2.c: Likewise.
12367         * soft-fp/sqrtsf2.c: Likewise.
12368         * soft-fp/sqrttf2.c: Likewise.
12369         * soft-fp/subdf3.c: Likewise.
12370         * soft-fp/subsf3.c: Likewise.
12371         * soft-fp/subtf3.c: Likewise.
12372         * soft-fp/truncdfsf2.c: Likewise.
12373         * soft-fp/trunctfdf2.c: Likewise.
12374         * soft-fp/trunctfsf2.c: Likewise.
12375         * soft-fp/trunctfxf2.c: Likewise.
12376         * soft-fp/unorddf2.c: Likewise.
12377         * soft-fp/unordsf2.c: Likewise.
12378         * soft-fp/unordtf2.c: Likewise.
12379
12380 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12381
12382         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12383         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12384
12385 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12386
12387         * elf/dl-libc.c: Clear initfini list after freeing.
12388
12389 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12390
12391         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12392         * soft-fp/addsf3.c: Likewise.
12393         * soft-fp/addtf3.c: Likewise.
12394         * soft-fp/divdf3.c: Likewise.
12395         * soft-fp/divsf3.c: Likewise.
12396         * soft-fp/divtf3.c: Likewise.
12397         * soft-fp/double.h: Likewise.
12398         * soft-fp/eqdf2.c: Likewise.
12399         * soft-fp/eqsf2.c: Likewise.
12400         * soft-fp/eqtf2.c: Likewise.
12401         * soft-fp/extenddftf2.c: Likewise.
12402         * soft-fp/extended.h: Likewise.
12403         * soft-fp/extendsfdf2.c: Likewise.
12404         * soft-fp/extendsftf2.c: Likewise.
12405         * soft-fp/extendxftf2.c: Likewise.
12406         * soft-fp/fixdfdi.c: Likewise.
12407         * soft-fp/fixdfsi.c: Likewise.
12408         * soft-fp/fixdfti.c: Likewise.
12409         * soft-fp/fixsfdi.c: Likewise.
12410         * soft-fp/fixsfsi.c: Likewise.
12411         * soft-fp/fixsfti.c: Likewise.
12412         * soft-fp/fixtfdi.c: Likewise.
12413         * soft-fp/fixtfsi.c: Likewise.
12414         * soft-fp/fixtfti.c: Likewise.
12415         * soft-fp/fixunsdfdi.c: Likewise.
12416         * soft-fp/fixunsdfsi.c: Likewise.
12417         * soft-fp/fixunsdfti.c: Likewise.
12418         * soft-fp/fixunssfdi.c: Likewise.
12419         * soft-fp/fixunssfsi.c: Likewise.
12420         * soft-fp/fixunssfti.c: Likewise.
12421         * soft-fp/fixunstfdi.c: Likewise.
12422         * soft-fp/fixunstfsi.c: Likewise.
12423         * soft-fp/fixunstfti.c: Likewise.
12424         * soft-fp/floatdidf.c: Likewise.
12425         * soft-fp/floatdisf.c: Likewise.
12426         * soft-fp/floatditf.c: Likewise.
12427         * soft-fp/floatsidf.c: Likewise.
12428         * soft-fp/floatsisf.c: Likewise.
12429         * soft-fp/floatsitf.c: Likewise.
12430         * soft-fp/floattidf.c: Likewise.
12431         * soft-fp/floattisf.c: Likewise.
12432         * soft-fp/floattitf.c: Likewise.
12433         * soft-fp/floatundidf.c: Likewise.
12434         * soft-fp/floatundisf.c: Likewise.
12435         * soft-fp/floatunsidf.c: Likewise.
12436         * soft-fp/floatunsisf.c: Likewise.
12437         * soft-fp/floatuntidf.c: Likewise.
12438         * soft-fp/floatuntisf.c: Likewise.
12439         * soft-fp/floatuntitf.c: Likewise.
12440         * soft-fp/fmadf4.c: Likewise.
12441         * soft-fp/fmasf4.c: Likewise.
12442         * soft-fp/fmatf4.c: Likewise.
12443         * soft-fp/gedf2.c: Likewise.
12444         * soft-fp/gesf2.c: Likewise.
12445         * soft-fp/getf2.c: Likewise.
12446         * soft-fp/ledf2.c: Likewise.
12447         * soft-fp/lesf2.c: Likewise.
12448         * soft-fp/letf2.c: Likewise.
12449         * soft-fp/muldf3.c: Likewise.
12450         * soft-fp/mulsf3.c: Likewise.
12451         * soft-fp/multf3.c: Likewise.
12452         * soft-fp/negdf2.c: Likewise.
12453         * soft-fp/negsf2.c: Likewise.
12454         * soft-fp/negtf2.c: Likewise.
12455         * soft-fp/op-1.h: Likewise.
12456         * soft-fp/op-2.h: Likewise.
12457         * soft-fp/op-4.h: Likewise.
12458         * soft-fp/op-8.h: Likewise.
12459         * soft-fp/op-common.h: Likewise.
12460         * soft-fp/quad.h: Likewise.
12461         * soft-fp/single.h: Likewise.
12462         * soft-fp/soft-fp.h: Likewise.
12463         * soft-fp/sqrtdf2.c: Likewise.
12464         * soft-fp/sqrtsf2.c: Likewise.
12465         * soft-fp/sqrttf2.c: Likewise.
12466         * soft-fp/subdf3.c: Likewise.
12467         * soft-fp/subsf3.c: Likewise.
12468         * soft-fp/subtf3.c: Likewise.
12469         * soft-fp/truncdfsf2.c: Likewise.
12470         * soft-fp/trunctfdf2.c: Likewise.
12471         * soft-fp/trunctfsf2.c: Likewise.
12472         * soft-fp/trunctfxf2.c: Likewise.
12473         * soft-fp/unorddf2.c: Likewise.
12474         * soft-fp/unordsf2.c: Likewise.
12475         * soft-fp/unordtf2.c: Likewise.
12476
12477 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12478
12479         [BZ #15672]
12480         * misc/error.c (error_tail): Fix possible buffer overflow.
12481
12482 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12483
12484         [BZ #13028]
12485         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12486         address.
12487
12488 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12489
12490         [BZ #832]
12491         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12492         testing pipefail option.
12493
12494 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12495
12496         * soft-fp/double.h: Indent preprocessor directives inside #if.
12497         * soft-fp/extended.h: Likewise.
12498         * soft-fp/op-2.h: Likewise.
12499         * soft-fp/op-4.h: Likewise.
12500         * soft-fp/op-common.h: Likewise.
12501         * soft-fp/quad.h: Likewise.
12502         * soft-fp/single.h: Likewise.
12503         * soft-fp/soft-fp.h: Likewise.
12504
12505 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12506
12507         * iconv/iconv_prog.c: Fix typos.
12508         * stdio-common/psiginfo-data.h: Likewise.
12509
12510 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12511
12512         [BZ #15764]
12513         * locale/setlocale.c: Fix typo.
12514
12515 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12516
12517         [BZ #16036]
12518         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12519         signaling NaN arguments.
12520         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12521         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12522
12523         [BZ #14910]
12524         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12525         unordered operands.
12526         * soft-fp/gesf2.c (__gesf2): Likewise.
12527         * soft-fp/getf2.c (__getf2): Likewise.
12528         * soft-fp/ledf2.c (__ledf2): Likewise.
12529         * soft-fp/lesf2.c (__lesf2): Likewise.
12530         * soft-fp/letf2.c (__letf2): Likewise.
12531
12532         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12533         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12534         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12535         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12536         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12537         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12538         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12539         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12540         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12541         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12542         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12543         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12544         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12545         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12546         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12547         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12548         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12549         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12550         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12551         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12552         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12553         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12554         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12555         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12556         * soft-fp/floattidf.c (__floattidf): Likewise.
12557         * soft-fp/floattisf.c (__floattisf): Likewise.
12558         * soft-fp/floattitf.c (__floattitf): Likewise.
12559         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12560         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12561         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12562         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12563         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12564         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12565         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12566         * soft-fp/gesf2.c (__gesf2): Likewise.
12567         * soft-fp/getf2.c (__getf2): Likewise.
12568         * soft-fp/ledf2.c (__ledf2): Likewise.
12569         * soft-fp/lesf2.c (__lesf2): Likewise.
12570         * soft-fp/letf2.c (__letf2): Likewise.
12571
12572         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12573         Undefine and redefine.
12574         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12575         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12576         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12577         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12578         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12579         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12580         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12581         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12582         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12583         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12584         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12585         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12586         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12587         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12588         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12589
12590         [BZ #16032]
12591         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12592         without decrementing exponent if mantissa >= that for the
12593         denominator, not >.
12594         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12595         denominator, not >.  Decrement exponent in < case instead of
12596         incrementing in >= case.
12597         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12598         without decrementing exponent if mantissa >= that for the
12599         denominator, not >.
12600
12601         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12602         computing saturated result for unsigned overflow.
12603
12604 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12605             Jeff Law  <law@redhat.com>
12606
12607         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12608         (atan2Mp): Add systemtap probe marker.
12609         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12610         (__ieee754_log): Add systemtap probe marker.
12611         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12612         (atanMp): Add systemtap probe marker.
12613         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12614         (tanMp): Add systemtap probe marker.
12615         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12616         (__slowexp): Add systemtap probe marker.
12617         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12618         (__slowpow): Add systemtap probe marker.
12619         * manual/probes.texi: Document probes.
12620
12621 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12622
12623         [BZ #15362]
12624         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12625         written.
12626         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12627         written.
12628         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12629         written to buffer but not flushed.
12630         * libio/iofwrite_u.c:  Likewise.
12631         * libio/iopadn.c:  Return bytes returned even if EOF was
12632         encountered.
12633         * libio/iowpadn.c:  Likewise.
12634         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12635         if _IO_padn does not write the whole buffer.
12636         [!COMPILE_WPRINTF] (PAD): Likewise.
12637
12638 2013-10-10  David S. Miller  <davem@davemloft.net>
12639
12640         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12641         directory block.
12642
12643 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12644
12645         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12646         instead of FSF address.
12647         * soft-fp/fixdfti.c: Likewise.
12648         * soft-fp/fixsfti.c: Likewise.
12649         * soft-fp/fixtfti.c: Likewise.
12650         * soft-fp/fixunsdfti.c: Likewise.
12651         * soft-fp/fixunssfti.c: Likewise.
12652         * soft-fp/fixunstfti.c: Likewise.
12653         * soft-fp/floattidf.c: Likewise.
12654         * soft-fp/floattisf.c: Likewise.
12655         * soft-fp/floattitf.c: Likewise.
12656         * soft-fp/floatuntidf.c: Likewise.
12657         * soft-fp/floatuntisf.c: Likewise.
12658         * soft-fp/floatuntitf.c: Likewise.
12659         * soft-fp/trunctfxf2.c: Likewise.
12660
12661         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12662         * soft-fp/fixdfti.c: Likewise.
12663         * soft-fp/fixsfti.c: Likewise.
12664         * soft-fp/fixtfti.c: Likewise.
12665         * soft-fp/fixunsdfti.c: Likewise.
12666         * soft-fp/fixunssfti.c: Likewise.
12667         * soft-fp/fixunstfti.c: Likewise.
12668         * soft-fp/floattidf.c: Likewise.
12669         * soft-fp/floattisf.c: Likewise.
12670         * soft-fp/floattitf.c: Likewise.
12671         * soft-fp/floatuntidf.c: Likewise.
12672         * soft-fp/floatuntisf.c: Likewise.
12673         * soft-fp/floatuntitf.c: Likewise.
12674         * soft-fp/trunctfxf2.c: Likewise.
12675
12676 2013-10-10  David S. Miller  <davem@davemloft.net>
12677
12678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12679
12680 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12681
12682         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12683         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12684         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12685         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12686         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12687         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12688         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12689
12690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12691         for NaNs before doing comparisons on argument.
12692         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12693         Likewise.
12694
12695 2013-10-10  Will Newton  <will.newton@linaro.org>
12696
12697         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12698         passed to _int_memalign does not overflow.
12699
12700 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12701
12702         * scripts/bench.pl: Add include-sources directive.
12703         * benchtests/README: Update documentation.
12704
12705 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12706
12707         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12708         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12709         instead of FP_INIT_ROUNDMODE.
12710         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12711         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12712
12713         [BZ #16034]
12714         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12715         copy class of input value.
12716         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12717         not handle exceptions.
12718         * soft-fp/negsf2.c (__negsf2): Likewise.
12719         * soft-fp/negtf2.c (__negtf2): Likewise.
12720         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12721
12722 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12723
12724         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12725         semicolon.  From Linux kernel.
12726
12727 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12728
12729         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12730
12731 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12732
12733         [BZ #156]
12734         * manual/socket.texi: Added statement about buffer
12735         for gethostbyname2_r.
12736
12737 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12738
12739         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12740         Use .p2align directive instead, throughout.
12741         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12742         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12743         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12744         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12745         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12746         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12747         * sysdeps/x86_64/strchr.S: Likewise.
12748         * sysdeps/x86_64/strrchr.S: Likewise.
12749
12750 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12751
12752         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12753
12754         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12755
12756         * sysdeps/generic/math_private.h (__mpsin1): Remove
12757         declaration.
12758         (__mpcos1): Likewise.
12759         (__mpsin): New argument __range_reduce.
12760         (__mpcos): Likewise.
12761         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12762         (slow): Use __mpsin and __mpcos.
12763         (slow1): Likewise.
12764         (slow2): Likewise.
12765         (sloww): Likewise.
12766         (sloww1): Likewise.
12767         (sloww2): Likewise.
12768         (bsloww): Likewise.
12769         (bsloww1): Likewise.
12770         (bsloww2): Likewise.
12771         (cslow2): Likewise.
12772         (csloww): Likewise.
12773         (csloww1): Likewise.
12774         (csloww2): Likewise.
12775         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12776         range_reduce.  Merge in __mpsin1.
12777         (__mpcos): Likewise.
12778         (__mpsin1): Remove.
12779         (__mpcos1): Likewise.
12780
12781 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12782
12783         * locale/loadlocale.c (_nl_intern_locale_data): Use
12784         LOCFILE_ALIGNED_P.
12785         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12786         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12787         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12788         obstack data is appropriately aligned.
12789         (obstack_int32_grow_fast): Likewise.
12790         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12791         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12792         (add_locale_uint32_array): Likewise.
12793
12794 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12795
12796         * benchtests/Makefile: Remove ARGLIST and RET variables.
12797         ($(objpfx)bench-%.c): Pass only function name to the script.
12798         * benchtests/README: Update documentation.
12799         * benchtests/acos-inputs: Add new directives.
12800         * benchtests/acosh-inputs: Likewise.
12801         * benchtests/asin-inputs: Likewise.
12802         * benchtests/asinh-inputs: Likewise.
12803         * benchtests/atan-inputs: Likewise.
12804         * benchtests/atanh-inputs: Likewise.
12805         * benchtests/cos-inputs: Likewise.
12806         * benchtests/cosh-inputs: Likewise.
12807         * benchtests/exp-inputs: Likewise.
12808         * benchtests/log-inputs: Likewise.
12809         * benchtests/pow-inputs: Likewise.
12810         * benchtests/rint-inputs: Likewise.
12811         * benchtests/sin-inputs: Likewise.
12812         * benchtests/sinh-inputs: Likewise.
12813         * benchtests/tan-inputs: Likewise.
12814         * benchtests/tanh-inputs: Likewise.
12815         * scripts/bench.pl: Add support for new directives.
12816
12817 2013-10-07  Alan Modra  <amodra@gmail.com>
12818
12819         * README: Fix careless merge.
12820
12821 2013-10-05  Alan Modra  <amodra@gmail.com>
12822
12823         * NEWS: Mention powerpc64le support and bugs fixed.
12824         * README: Both big-endian and little-endian powerpc64 supported.
12825
12826 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12827
12828         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12829         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12830         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12831         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12832
12833 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12834
12835         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12836         match prototype.
12837
12838 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12839
12840         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12841         Move -mhard-float appending from
12842         ports/sysdeps/powerpc/powerpc32/Makefile.
12843         [$(with-fp) = yes] (ASFLAGS): Likewise.
12844         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12845         * sysdeps/powerpc/nofpu: Move directory from
12846         ports/sysdeps/powerpc/nofpu.
12847         * sysdeps/powerpc/soft-fp: Move directory from
12848         ports/sysdeps/powerpc/soft-fp.
12849         * sysdeps/powerpc/powerpc32/405: Move directory from
12850         ports/sysdeps/powerpc/powerpc32/405.
12851         * sysdeps/powerpc/powerpc32/440: Move directory from
12852         ports/sysdeps/powerpc/powerpc32/440.
12853         * sysdeps/powerpc/powerpc32/464: Move directory from
12854         ports/sysdeps/powerpc/powerpc32/464.
12855         * sysdeps/powerpc/powerpc32/476: Move directory from
12856         ports/sysdeps/powerpc/powerpc32/476.
12857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12858         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12860         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12862         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12864         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12866         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12867         * README: Update for powerpc-*-linux-gnu software floating point
12868         support in libc.
12869
12870         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12871         case to powerpc/powerpc32*.
12872         * sysdeps/unix/sysv/linux/configure: Regenerated.
12873
12874         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12875         (_FPU_MASK_OM): Define as 0x04.
12876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12878         0x00c10080.
12879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12880         0x0000003c.
12881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12882
12883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12884         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12885         getcontext_e500.
12886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12887         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12888         setcontext_e500.
12889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12890         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12891         and setcontext_e500.
12892
12893 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12894
12895         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12896
12897 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12898
12899         * manual/threads.texi (Default Thread Attributes): Fix typo.
12900
12901 2013-10-04  Will Newton  <will.newton@linaro.org>
12902
12903         * malloc/Makefile: Add tst-memalign.
12904         * malloc/tst-memalign.c: New file.
12905
12906         * malloc/tst-posix_memalign.c: Add comments.
12907         (do_test): Add comments and call free on all potentially
12908         allocated pointers. Add space after cast.
12909
12910         * malloc/tst-pvalloc.c: Add comments.
12911         (do_test): Add comments and call free on all potentially
12912         allocated pointers. Remove duplicate check for NULL pointer.
12913         Add space after cast.
12914
12915         * malloc/tst-valloc.c: Add comments.
12916         (do_test): Add comments and call free on all potentially
12917         allocated pointers. Remove duplicate check for NULL pointer.
12918         Add space after cast.
12919
12920 2013-10-04  Alan Modra  <amodra@gmail.com>
12921
12922         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12923         Use stdint types in rather than __attribute__((mode())).
12924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12925
12926 2013-10-04  Alan Modra  <amodra@gmail.com>
12927
12928         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12929         Correct handling of unaligned relocs for little-endian.
12930         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12931
12932 2013-10-04  Alan Modra  <amodra@gmail.com>
12933
12934         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12935         * configure: Regenerate.
12936         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12937         * shlib-versions: Likewise.
12938
12939 2013-10-04  Alan Modra  <amodra@gmail.com>
12940
12941         * string/tester.c (test_memrchr): Increment reported test cycle.
12942
12943 2013-10-04  Alan Modra  <amodra@gmail.com>
12944
12945         * string/test-memcpy.c (do_one_test): When reporting errors, print
12946         string address and don't overrun end of string.
12947
12948 2013-10-04  Alan Modra  <amodra@gmail.com>
12949
12950         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12951         insrdi.  Make better use of reg selection to speed exit slightly.
12952         Schedule entry path a little better.  Remove useless "are we done"
12953         checks on entry to main loop.  Handle wrapping around zero address.
12954         Correct main loop count.  Handle single left-over word from main
12955         loop inline rather than by using loop_small.  Remove extra word
12956         case in loop_small caused by wrong loop count.  Add little-endian
12957         support.
12958         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12959         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12960         cache hint.
12961         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12962         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12963         support.  Avoid rlwimi.
12964         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12965
12966 2013-10-04  Alan Modra  <amodra@gmail.com>
12967
12968         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12969         insrdi.  Formatting.
12970         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12971         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12972         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12973         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12974         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12975         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12976
12977 2013-10-04  Alan Modra  <amodra@gmail.com>
12978
12979         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12980         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12981         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12982         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12983         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12984         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12985         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12986         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12987         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12988         use of regs.  Use power7 mtocrf.  Tidy function tails.
12989
12990 2013-10-04  Alan Modra  <amodra@gmail.com>
12991
12992         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12993         Formatting.  Consistently use rXXX register defines or rN defines.
12994         Use early exit labels that avoid restoring unused non-volatile regs.
12995         Make cr field use more consistent with rWORDn compares.  Rename
12996         regs used as shift registers for unaligned loop, using rN defines
12997         for short lifetime/multiple use regs.
12998         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12999         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13000         addi 1,1,64 to pop stack frame.  Simplify return value code.
13001         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13002
13003 2013-10-04  Alan Modra  <amodra@gmail.com>
13004
13005         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13006         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13007         rather than rlwimi.
13008         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13009         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13010         little-endian support.  Correct typos.
13011         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13012         rather than rlwimi.
13013         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13014         in loop and entry code to keep "and." results.
13015         (strchr): Add little-endian support.  Comment.  Move cntlzd
13016         earlier in tail.
13017         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13018
13019 2013-10-04  Alan Modra  <amodra@gmail.com>
13020
13021         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13022         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13023         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13024         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13025
13026 2013-10-04  Alan Modra  <amodra@gmail.com>
13027
13028         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13029         (rTMP): Define as r11.
13030         (strcmp): Add little-endian support.  Optimise tail.
13031         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13032         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13033         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13034         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13035         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13036         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13037         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13038
13039 2013-10-04  Alan Modra  <amodra@gmail.com>
13040
13041         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13042         little-endian support.  Remove unnecessary "are we done" tests.
13043         Handle "s" wrapping around zero and extremely large "size".
13044         Correct main loop count.  Handle single left-over word from main
13045         loop inline rather than by using small_loop.  Correct comments.
13046         Delete "zero" tail, use "end_max" instead.
13047         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13048
13049 2013-10-04  Alan Modra  <amodra@gmail.com>
13050
13051         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13052         support.  Don't branch over align.
13053         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13054         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13055         support.  Rearrange tmp reg use to suit.  Comment.
13056         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13057
13058 2013-10-04  Alan Modra  <amodra@gmail.com>
13059
13060         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13061
13062 2013-10-04  Alan Modra  <amodra@gmail.com>
13063
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13065         conditional form of branch and link when obtaining pc.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13067
13068 2013-10-04  Alan Modra  <amodra@gmail.com>
13069
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13071         HIWORD/LOWORD.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13074
13075 2013-10-04  Alan Modra  <amodra@gmail.com>
13076
13077         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13078         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13079         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13080         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13081         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13082         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13083         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13084         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13085         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13086         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13087
13088 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13089             Alistair Popple <alistair@ozlabs.au.ibm.com>
13090             Alan Modra <amodra@gmail.com>
13091
13092         [BZ #15723]
13093         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13094         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13095         _dl_hwcap access for little-endian.
13096         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13097         destroy vmx regs when saving unaligned.
13098         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13099         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13100         destroy vmx regs when saving unaligned.
13101
13102 2013-10-04  Alan Modra  <amodra@gmail.com>
13103
13104         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13105         Don't use a union to pack hi/low value.
13106
13107 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13108
13109         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13110         for little-endian.
13111         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13113         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13114         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13115         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13116
13117 2013-10-04  Alan Modra  <amodra@gmail.com>
13118
13119         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13120         constants to usual value for .cst8 section, and remove redundant
13121         high address load.
13122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13123         constant for 0x1p52.  Load little-endian words of double from
13124         correct stack offsets.
13125
13126 2013-10-04  Alan Modra  <amodra@gmail.com>
13127
13128         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13129         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13130         words of double from correct stack offsets.
13131         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13132         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13133         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13134         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13135         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13136         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13137         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13138         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13139         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13140         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13141         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13142         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13143         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13144         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13145         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13146         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13147         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13148
13149 2013-10-04  Alan Modra  <amodra@gmail.com>
13150
13151         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13152         64-bit int/double union.
13153         (_FPU_SETCW): Likewise.
13154         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13155         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13156
13157 2013-10-04  Alan Modra  <amodra@gmail.com>
13158
13159         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13160         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13161
13162 2013-10-04  Alan Modra  <amodra@gmail.com>
13163
13164         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13165         use vector int constants.
13166         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13167
13168 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13169
13170         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13171         array with long long.
13172         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13173         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13174         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13175         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13176         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13177         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13178         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13179         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13180         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13181         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13182         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13183         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13184         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13185
13186 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13187
13188         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13189         (__signbit): Likewise.  Correct for little-endian.
13190         (__signbitl): Call __signbit.
13191         (lrint): Correct for little-endian.
13192         (lrintf): Call lrint.
13193
13194 2013-10-04  Alan Modra  <amodra@gmail.com>
13195
13196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13197         union 32-bit int array member with 64-bit int array.
13198         (t515, tm256): Double rather than long double.
13199         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13200
13201 2013-10-04  Alan Modra  <amodra@gmail.com>
13202
13203         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13204         Delete.
13205         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13207         version of math_ldbl.h.
13208
13209 2013-10-04  Alan Modra  <amodra@gmail.com>
13210
13211         [BZ #15734], [BZ #15735]
13212         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13213         all uses of ieee875 long double macros and unions.  Simplify test
13214         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13215         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13216         normalize after ldbl_extract_mantissa, and don't add hidden bit
13217         already handled.  Don't treat low word of ieee854 mantissa like
13218         low word of IBM long double and mask off bit when testing for
13219         zero.
13220         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13221         all uses of ieee875 long double macros and unions.  Simplify tests
13222         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13223         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13224         two1022, instead use their values.  Recognise that tests for large
13225         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13226         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13227         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13228         test for 0.0L and nan.  Correct negation.
13229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13230         ieee875 long double macros and unions.  Correct output for large
13231         magnitude x.  Correct absolute value calculation.
13232         (__erfcl): Likewise.
13233         * math/libm-test.inc: Add tests for errors discovered in IBM long
13234         double versions of fmodl, remainderl, erfl and erfcl.
13235
13236 2013-10-04  Alan Modra  <amodra@gmail.com>
13237
13238         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13239         all uses of ieee854 long double macros and unions.  Simplify tests
13240         for long doubles that are fully specified by the high double.
13241         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13242         Likewise.
13243         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13244         Remove dead code too.
13245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13246         (__ieee754_ynl): Likewise.
13247         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13248         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13249         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13250         Remove dead code too.
13251         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13252         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13253         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13254         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13255         Simplify.
13256         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13257         Simplify.
13258         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13259         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13260         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13261         Comment on variable precision.
13262         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13263         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13264         Likewise.
13265         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13266         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13267         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13268         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13269         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13270
13271 2013-10-04  Alan Modra  <amodra@gmail.com>
13272
13273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13275         all uses of ieee854 long double macros and unions.
13276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13279         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13280         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13281         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13282         Likewise.
13283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13284         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13286         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13287         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13288         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13289         Simplify sign and nan test too.
13290         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13291         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13292         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13293         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13294         Likewise.
13295         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13296         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13297         Likewise.
13298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13299         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13300         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13301         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13302         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13304
13305 2013-10-04  Alan Modra  <amodra@gmail.com>
13306
13307         * stdio-common/printf_size.c (__printf_size): Don't use
13308         union ieee854_long_double in fpnum union.
13309         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13310         signbit macro to retrieve sign from long double.
13311         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13312         retrieve sign from long double.
13313         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13314         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13315         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13316         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13317         * math/test-misc.c (main): Don't use union ieee854_long_double.
13318
13319 2013-10-04  Alan Modra  <amodra@gmail.com>
13320
13321         [BZ #15680]
13322         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13323         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13324         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13325         calculation.  Remove unnecessary test for denormal exponent.
13326         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13327         Correct handling of denormals.  Avoid undefined shift behaviour.
13328         Correct normalisation of low mantissa when low double is denormal.
13329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13330         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13331         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13332         Correct normalisation of low mantissa.  Test for overflow of high
13333         mantissa and normalise.
13334         (ldbl_nearbyint): Use more readable constant for two52.
13335         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13336         (__mpn_construct_long_double): Fix test for overflow of high
13337         mantissa and correct normalisation.  Avoid undefined shift.
13338
13339 2013-10-04  Alan Modra  <amodra@gmail.com>
13340
13341         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13342         (union ibm_extended_long_double): Define as an array of ieee754_double.
13343         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13344         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13345         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13346         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13347         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13348         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13349         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13350         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13351         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13352         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13353         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13354
13355 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13356
13357         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13358         page size instead of calling getpagesize.
13359
13360         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13361         (LOCFILE_ALIGN_MASK): Likewise.
13362         (LOCFILE_ALIGN_UP): Likewise.
13363         (LOCFILE_ALIGNED_P): Likewise.
13364         * locale/programs/ld-collate.c (collate_output): Use the new
13365         macros instead of __alignof__ (int32_t).
13366         * locale/weight.h (findidx): Likewise.
13367
13368 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13369
13370         [BZ #431]
13371         * manual/string.texi: Fix strncat and wcsncat.
13372
13373 2013-10-03  Brooks Moses  <bmoses@google.com>
13374
13375         [BZ #15915]
13376         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13377         * Makerules: ...here, and adjust associated comments.
13378
13379 2013-10-02  Will Newton  <will.newton@linaro.org>
13380
13381         * malloc/Makefile: Add tst-pvalloc.
13382         * malloc/tst-pvalloc.c: New file.
13383
13384 2013-10-02  Will Newton  <will.newton@linaro.org>
13385
13386         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13387         improve test coverage.
13388
13389 2013-10-02  Will Newton  <will.newton@linaro.org>
13390
13391         * malloc/Makefile: Add tst-posix_memalign.
13392         * malloc/tst-posix_memalign.c: New file.
13393
13394 2013-10-01  Eric Blake  <eblake@redhat.com>
13395
13396         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13397         Use __THROWNL rather than __THROW on static functions.
13398
13399 2013-09-30  Petr Machata  <pmachata@redhat.com>
13400
13401         * elf/elf.h (R_AARCH64_ABS16): New macro.
13402         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13403         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13404         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13405         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13406         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13407         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13408         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13409         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13410         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13411         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13412         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13413         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13414         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13415         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13416         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13417         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13418         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13419         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13420         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13421         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13422         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13423         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13424         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13425         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13426         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13427         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13428         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13429         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13430         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13431         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13432         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13433         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13434         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13435         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13436         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13437         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13438         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13439         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13440         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13441         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13442         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13443         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13444         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13445         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13446         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13447         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13448         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13449         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13450         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13451         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13452         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13453         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13454         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13455         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13456         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13457         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13458         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13459         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13460         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13461         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13462         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13463         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13464         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13465         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13466         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13467         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13468         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13469         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13470         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13471         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13472         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13473         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13474         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13475         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13476         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13477         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13478         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13479         (R_AARCH64_TLSDESC_LDR): Likewise.
13480         (R_AARCH64_TLSDESC_ADD): Likewise.
13481         (R_AARCH64_TLSDESC_CALL): Likewise.
13482
13483 2013-09-30  Andreas Schwab  <schwab@suse.de>
13484
13485         [BZ #15048]
13486         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13487         the nss database lookup.
13488         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13490
13491 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13492
13493         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13494
13495 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13496
13497         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13498         ${Bash-specific parameter/pattern/string} parameter expansion.
13499         * sysdeps/unix/make-syscalls.sh: Likewise.
13500
13501 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13502
13503         * sysdeps/sh/stackguard-macros.h: New file.
13504
13505 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13506
13507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13509         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13510         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13511         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13512         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13513
13514 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13515
13516         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13517         Fix thread ID register.
13518
13519 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13520
13521         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13522         [POSIX || UNIX98]: Require rather than permitting all symbols from
13523         <time.h>.
13524         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13525         element of struct sched_param.
13526         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13527         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13528         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13529         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13530         constant.
13531
13532 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13533
13534         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13535         argument calculation.
13536
13537 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13538
13539         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13540         Expect macro.
13541         [POSIX] (pthread_attr_t): Do not require type.
13542         [POSIX] (pthread_cond_t): Likewise.
13543         [POSIX] (pthread_condattr_t): Likewise.
13544         [POSIX] (pthread_key_t): Likewise.
13545         [POSIX] (pthread_mutex_t): Likewise.
13546         [POSIX] (pthread_mutexattr_t): Likewise.
13547         [POSIX] (pthread_once_t): Likewise.
13548         [POSIX] (pthread_t): Likewise.
13549         [POSIX-based standards] (pthread_atfork): Expect function.
13550
13551 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13552             Richard Sandiford  <richard@codesourcery.com>
13553
13554         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13555         (swap_endianness_p): New extern variable.
13556         (set_big_endian): New inline function.
13557         (maybe_swap_uint32): Likewise.
13558         (maybe_swap_uint32_array): Likewise.
13559         (maybe_swap_uint32_obstack): Likewise.
13560         * locale/programs/locfile.c: Include <stdbool.h>.
13561         (swap_endianness_p): New variable.
13562         (add_locale_uint32): Call maybe_swap_uint32.
13563         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13564         (write_locale_data): Call maybe_swap_uint32_array.
13565         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13566         maybe_swap_uint32.
13567         (obstack_int32_grow_fast): Likewise.
13568         (output_weightwc): Call maybe_swap_uint32_obstack.
13569         (collate_output): Likewise.
13570         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13571         (OPT_LITTLE_ENDIAN): Likewise.
13572         (options): Add --little-endian and --big-endian options.
13573         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13574         * locale/programs/locarchive.c: Include "locfile.h".
13575         (GET): New macro.
13576         (SET): Likewise.
13577         (INC): Likewise.
13578         (create_archive): Use the new macros to access fields of
13579         structures directly mapped from or written to locale archives.
13580         (oldlocrecentcmp): Likewise.
13581         (enlarge_archive): Likewise.
13582         (insert_name): Likewise.
13583         (add_alias): Likewise.
13584         (add_locale): Likewise.
13585         (delete_locales_from_archive): Likewise.
13586         (show_archive_content): Likewise.
13587         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13588         locale data.
13589
13590 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13591
13592         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13593         http://www.gnu.org/doc/freemanuals.texi.
13594         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13595
13596 2013-09-24  Will Newton  <will.newton@linaro.org>
13597
13598         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13599         macro.
13600
13601 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13602
13603         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13604         unsigned char.
13605
13606 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13607
13608         * manual/threads.texi (POSIX Threads): Fix a typo.
13609
13610 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13611
13612         [BZ #14547]
13613         * string/tst-strcoll-overflow.c: New test case.
13614         * string/Makefile (xtests): Add tst-strcoll-overflow.
13615         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13616         cache if string sizes may cause integer overflow.
13617
13618         [BZ #14547]
13619         * string/strcoll_l.c (coll_seq): New members rule, idx,
13620         save_idx and back_us.
13621         (get_next_seq_nocache): New function.
13622         (do_compare_nocache): New function.
13623         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13624         when malloc fails.
13625
13626 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13627
13628         [BZ #15754]
13629         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13630         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13631         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13632
13633         [BZ #15754]
13634         * elf/Makefile (tests): Add tst-ptrguard1.
13635         (tests-static): Add tst-ptrguard1-static.
13636         (tst-ptrguard1-ARGS): Define.
13637         (tst-ptrguard1-static-ARGS): Define.
13638         * elf/tst-ptrguard1.c: New file.
13639         * elf/tst-ptrguard1-static.c: New file.
13640         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13641         * sysdeps/i386/stackguard-macros.h: Likewise.
13642         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13643         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13644         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13645         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13646         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13647         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13648
13649 2013-09-23  Hector Marco  <hecmargi@upv.es>
13650             Ismael Ripoll  <iripoll@disca.upv.es>
13651             Carlos O'Donell  <carlos@redhat.com>
13652
13653         [BZ #15754]
13654         * sysdeps/generic/stackguard-macros.h: Define
13655         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13656         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13657         Define __pointer_chk_guard_local.
13658         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13659         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13660
13661 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13662
13663         [BZ #15859]
13664         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13665
13666 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13667
13668         * include/string.h (__ffs): Declare as hidden.
13669         * string/ffs.c (__ffs): Define as hidden.
13670         * sysdeps/i386/ffs.c (__ffs): Likewise.
13671         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13672         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13673         * sysdeps/s390/ffs.c (__ffs): Likewise.
13674         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13675
13676 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13677
13678         * NEWS: Mention malloc probes.
13679
13680         * malloc/arena.c (new_heap): New memory_heap_new probe.
13681         (grow_heap): New memory_heap_more probe.
13682         (shrink_heap): New memory_heap_less probe.
13683         (heap_trim): New memory_heap_free probe.
13684         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13685         (systrim): New memory_sbrk_less probe.
13686         * manual/probes.texi: Document them.
13687
13688         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13689         * manual/probes.texi: Document it.
13690
13691         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13692         (__libc_realloc): Add memory_realloc_retry probe.
13693         (__libc_memalign): Add memory_memalign_retry probe.
13694         (__libc_valloc): Add memory_valloc_retry probe.
13695         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13696         (__libc_calloc): Add memory_calloc_retry probe.
13697         * manual/probes.texi: Document them.
13698
13699         * malloc/arena.c (get_free_list): Add probe
13700         memory_arena_reuse_free_list.
13701         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13702         and memory_arena_reuse.
13703         (arena_get2) [!PER_THREAD]: Likewise.
13704         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13705         memory_arena_reuse_realloc.
13706         * manual/probes.texi: Document them.
13707
13708         * malloc/malloc.c (__libc_free): Add
13709         memory_mallopt_free_dyn_thresholds probe.
13710         (__libc_mallopt): Add multiple memory_mallopt probes.
13711         * manual/probes.texi: Document them.
13712
13713         * malloc/malloc.c: Include stap-probe.h.
13714         (__libc_mallopt): Add memory_mallopt probe.
13715         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13716         * manual/probes.texi: New.
13717         * manual/Makefile (chapters): Add probes.
13718         * manual/threads.texi: Set next node.
13719
13720 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13721
13722         [BZ #15963, #13985]
13723         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13724         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13725         Add `Chinese' to `nan' entry name.
13726
13727 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13728
13729         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13730         (POLYNOMIAL): Likewise.
13731         (TAYLOR_SINCOS): Likewise.
13732         (TAYLOR_SLOW): Likewise.
13733         (__sin): Use TAYLOR_SINCOS.
13734         (__cos): Likewise.
13735         (slow): Use TAYLOR_SLOW.
13736         (sloww): Likewise.
13737         (bsloww): Likewise.
13738         (csloww): Likewise.
13739
13740 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13741
13742         * stdlib/strtod_l.c: Fix buffer overrun.
13743
13744 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13745
13746         * benchtests/Makefile (bench): Add sincos.
13747         * benchtests/bench-sincos.c: New file.
13748
13749         * math/libm-test.inc (cos_test_data): New test inputs.
13750         (sin_test_data): Likewise.
13751
13752         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13753         macro.
13754         (__sin): Use it.
13755         (__cos): Likewise.
13756         (slow1): Likewise.
13757         (slow2): Likewise.
13758         (sloww1): Likewise.
13759         (sloww2): Likewise.
13760         (bsloww1): Likewise.
13761         (bsloww2): Likewise.
13762         (cslow2): Likewise.
13763         (csloww1): Likewise.
13764         (csloww2): Likewise.
13765
13766         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13767         function.
13768         (__sin): Use it.
13769         (__cos): Likewise.
13770
13771         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13772         gotos.
13773         (__cos): Likewise.
13774
13775 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13776
13777         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13778         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13779         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13780         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13781         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13782         * elf/cache.c (print_entry): Handle the new cache flags.
13783
13784 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13785             Aldy Hernandez  <aldyh@redhat.com>
13786
13787         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13788         Change condition to [_SOFT_FLOAT].
13789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13801         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13804         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13805         declaration.
13806
13807 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13808
13809         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13810         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13811         (__longjmp): Use LOAD_GP to load saved GPRs.
13812         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13813         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13814         (__sigsetjmp): Use SAVE_GP to save GPRs.
13815
13816         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13817         Do not append -msoft-float.
13818         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13819
13820 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13821
13822         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13823
13824 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13825
13826         [BZ #15966]
13827         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13828         (_FPU_GETCW): Use initial "__" on variable and field names but not
13829         on macro parameter name.
13830         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13831         parentheses around reference to macro parameter.
13832
13833 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13834
13835         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13836         prototype.
13837         (ctype_startup): Use uint32_t in cast and sizeof for
13838         ctype->charnames.
13839
13840 2013-09-11  Jia Liu  <proljc@gmail.com>
13841
13842         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13843         __daddr_t_defined.
13844         [__FreeBSD__]: Likewise.
13845
13846 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13847
13848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13849         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13850         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13851         (strchr): Remove __strchr_sse42 ifunc selection.
13852         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13853         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13854
13855 2013-09-11  Will Newton  <will.newton@linaro.org>
13856
13857         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13858         parameter to RES. Remove hardcoded 1000 value.
13859         * benchtests/bench-skeleton.c (main): Pass RES parameter
13860         to TIMING_INIT and multiply result by 1000.
13861
13862 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13863
13864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13865
13866 2013-09-11  Andreas Schwab  <schwab@suse.de>
13867
13868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13869         if not defined.
13870         (O_TMPFILE) [__USE_GNU]: Define.
13871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13872         Define.
13873
13874 2013-09-11  Will Newton  <will.newton@linaro.org>
13875
13876         [BZ #15857]
13877         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13878         does not overflow.
13879
13880 2013-09-11  Will Newton  <will.newton@linaro.org>
13881
13882         [BZ #15856]
13883         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13884         does not overflow.
13885
13886 2013-09-11  Will Newton  <will.newton@linaro.org>
13887
13888         [BZ #15855]
13889         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13890         does not overflow.
13891
13892 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13893
13894         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13895         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13896         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13897         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13898         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13899
13900 2013-09-10  Allan McRae  <allan@archlinux.org>
13901
13902         [BZ #15748]
13903         * manual/arith.texi (Parsing of Floats): Clarify
13904         cross-reference.
13905
13906         [BZ #15849]
13907         * manual/install.texi (Running make install): Mention
13908         --enable-pt-chown.
13909         * INSTALL: Regenerated.
13910
13911 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13912
13913         * csu/init-first.c (_init): Remove the !SHARED condition around
13914         FPU control word initialization.
13915         * elf/dl-support.c (_dl_fpu_control): New variable.
13916         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13917         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13918         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13919         * math/test-fpucw-static.c: New file.
13920         * math/test-fpucw-ieee.c: New file.
13921         * math/test-fpucw-ieee-static.c: New file.
13922         * math/Makefile (tests): Add `test-fpucw-ieee' and
13923         `$(tests-static)'.
13924         (tests-static): New variable.
13925         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13926         dependency to...
13927         [($(build-shared),yes)]
13928         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13929         ... this.
13930         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13931         New dependency.
13932
13933 2013-09-09  Allan McRae  <allan@archlinux.org>
13934
13935         [BZ #15939]
13936         * manual/string.texi (Collation Functions): Fix typo in
13937         strcoll example.
13938         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13939
13940         [BZ #15893]
13941         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13942
13943         [BZ #15892]
13944         * libio/memstream.c (open_memstream): Fix memory leak.
13945         * libio/wmemstream.c (open_wmemstream): Likewise.
13946
13947         [BZ #15895]
13948         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13949
13950 2013-09-09  Will Newton  <will.newton@linaro.org>
13951
13952         * malloc/Makefile: Add tst-realloc to tests.
13953         * malloc/tst-realloc.c: New file.
13954
13955 2013-09-09  Allan McRae  <allan@archlinux.org>
13956
13957         [BZ #15844]
13958         * COPYING: Update from GNU website to fix FSF address.
13959         * COPYING.LIB: Likewise.
13960
13961 2013-09-06  David S. Miller  <davem@davemloft.net>
13962
13963         * po/zh_TW.po: Update Chinese (traditional) translation from
13964         translation project.
13965
13966 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13967             Joseph Myers  <joseph@codesourcery.com>
13968
13969         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13970         "localeinfo.h".
13971         (obstack_chunk_alloc): New macro.
13972         (obstack_chunk_free): Likewise.
13973         (record_offset): New function.
13974         (init_locale_data): Likewise.
13975         (align_locale_data): Likewise.
13976         (add_locale_empty): Likewise.
13977         (add_locale_raw_data): Likewise.
13978         (add_locale_raw_obstack): Likewise.
13979         (add_locale_string): Likewise.
13980         (add_locale_wstring): Likewise.
13981         (add_locale_uint32): Likewise.
13982         (add_locale_uint32_array): Likewise.
13983         (add_locale_char): Likewise.
13984         (start_locale_structure): Likewise.
13985         (end_locale_structure): Likewise.
13986         (start_locale_prelude): Likewise.
13987         (end_locale_prelude): Likewise.
13988         (write_locale_data): Take locale_file structure rather than an
13989         iovec.
13990         * locale/programs/locfile.h: Include "obstack.h".
13991         (struct locale_file): Change to store locale file contents instead
13992         of header.
13993         (init_locale_data): New prototype.
13994         (align_locale_data): Likewise.
13995         (add_locale_empty): Likewise.
13996         (add_locale_raw_data): Likewise.
13997         (add_locale_raw_obstack): Likewise.
13998         (add_locale_string): Likewise.
13999         (add_locale_wstring): Likewise.
14000         (add_locale_uint32): Likewise.
14001         (add_locale_uint32_array): Likewise.
14002         (add_locale_char): Likewise.
14003         (start_locale_structure): Likewise.
14004         (end_locale_structure): Likewise.
14005         (start_locale_prelude): Likewise.
14006         (end_locale_prelude): Likewise.
14007         (write_locale_data): Update prototype.
14008         * locale/programs/3level.h (struct TABLE): Remove result field.
14009         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14010         Use new locale_file interface.
14011         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14012         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14013         * locale/programs/ld-address.c (address_output): Use new
14014         locale_file interface.
14015         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14016         NO_ADD_LOCALE.
14017         (collate_finish): Don't call collseq_table_finalize.
14018         (collate_output): Use new locale_file interface.
14019         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14020         in file.
14021         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14022         (TABLE): Move defines earlier in file.
14023         (ELEMENT): Likewise.
14024         (DEFAULT): Likewise.
14025         (wctrans_table_add): Move macro and inline function earlier in
14026         file.
14027         (struct wctype_table): Move type earlier in file.
14028         (add_locale_wctype_table): New static prototype.
14029         (struct locale_ctype_t): Use logical types instead of struct iovec
14030         pointers for members.
14031         (ctype_output): Use new locale_file interface.
14032         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14033         new locale_file interface.
14034         (allocate_arrays): Update for use of new locale_file interface.
14035         * locale/programs/ld-identification.c (identification_output): Use
14036         new locale_file interface.
14037         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14038         * locale/programs/ld-messages.c (messages_output): Likewise.
14039         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14040         * locale/programs/ld-name.c (name_output): Likewise.
14041         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14042         * locale/programs/ld-paper.c (paper_output): Likewise.
14043         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14044         * locale/programs/ld-time.c (time_output): Likewise.
14045
14046 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14047
14048         * benchtests/Makefile: Add memrchr benchmark.
14049         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14050         benchmark as memrchr.
14051         * benchtests/bench-memrchr-ifunc.c: New file.
14052         * benchtests/bench-memrchr.c: New file.
14053
14054 2013-09-06   Will Newton  <will.newton@linaro.org>
14055
14056         * benchtests/Makefile (string-bench): Add memcpy.
14057
14058 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14059             Cong Wang  <amwang@redhat.com>
14060
14061         [BZ #15850]
14062         * sysdeps/unix/sysv/linux/bits/in.h
14063         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14064         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14065         before __USE_KERNEL_IPV6_DEFS uses.
14066         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14067         IPPROTO_BEETPH.
14068         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14069         sockaddr_in6, or ipv6_mreq.
14070
14071 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14072
14073         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14074         memory access for final bytes in some large inputs.
14075         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14076
14077 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14078
14079         * string/test-memrchr.c: New file.
14080         * string/test-memrchr-ifunc.c: New file.
14081         * string/Makefile: Add new memrchr testcase.
14082
14083 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14084
14085         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14086         fanotify_init returns EPERM.
14087
14088 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14089
14090         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14091         errors.
14092         (top level): Treat second token from macro or constant entries for
14093         allowed headers as allowed.
14094         * include/complex.h: Condition internal declarations on
14095         [!_ISOMAC].
14096         * include/fenv.h: Condition include of <stdbool.h> and internal
14097         declarations on [!_ISOMAC].
14098
14099 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14100
14101         [BZ #15923]
14102         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14103
14104 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14105
14106         * configure.in (--enable-versioning): Remove configure option.
14107         (libc_cv_asm_symver_directive): Remove configure test.
14108         (libc_cv_ld_version_script_option): Likewise.
14109         (VERSIONING): Remove variable and AC_SUBST.
14110         (DO_VERSIONING): Remove AC_DEFINE.
14111         * configure: Regenerated.
14112         * config.h.in (DO_VERSIONING): Remove macro.
14113         * Makerules [$(versioning) = yes]: Change conditionals to
14114         [$(build-shared) = yes].
14115         * config.make.in (versioning): Remove variable.
14116         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14117         [$(build-shared) = yes].
14118         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14119         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14120         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14121         [$(build-shared) = yes].
14122         * extra-lib.mk [$(versioning) = yes]: Likewise.
14123         * hurd/Makefile [$(versioning) = yes]: Likewise.
14124         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14125         [SHARED].
14126         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14127         [SHARED].
14128         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14129         [SHARED && !NO_HIDDEN].
14130         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14131         [SHARED].
14132         [SHARED && DO_VERSIONING]: Likewise..
14133         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14134         [$(build-shared) = yes].
14135         * manual/install.texi (--disable-versioning): Remove
14136         documentation.
14137         * INSTALL: Regenerated.
14138         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14139         to [SHARED].
14140         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14141         [$(build-shared) = yes].
14142         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14143         * sysdeps/i386/i686/multiarch/strstr-c.c
14144         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14145         [SHARED && !NO_HIDDEN].
14146         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14147         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14148         * sysdeps/powerpc/powerpc32/dl-machine.c
14149         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14150         * sysdeps/powerpc/powerpc32/sysdep.h
14151         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14152         to [SHARED && PIC && !NO_HIDDEN].
14153         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14154         conditional to [SHARED].
14155
14156 2013-09-04   Will Newton  <will.newton@linaro.org>
14157
14158         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14159         * benchtests/bench-string.h: Include bench-timing.h instead
14160         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14161         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14162         call to HP_TIMING_DIFF_INIT.
14163         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14164         instead of hp-timing.h macros.
14165         * benchtests/bench-memchr.c: Likewise.
14166         * benchtests/bench-memcmp.c: Likewise.
14167         * benchtests/bench-memcpy.c: Likewise.
14168         * benchtests/bench-memmem.c: Likewise.
14169         * benchtests/bench-memmove.c: Likewise.
14170         * benchtests/bench-memset.c: Likewise.
14171         * benchtests/bench-rawmemchr.c: Likewise.
14172         * benchtests/bench-strcasecmp.c: Likewise.
14173         * benchtests/bench-strcasestr.c: Likewise.
14174         * benchtests/bench-strcat.c: Likewise.
14175         * benchtests/bench-strchr.c: Likewise.
14176         * benchtests/bench-strcmp.c: Likewise.
14177         * benchtests/bench-strcpy.c: Likewise.
14178         * benchtests/bench-strcpy_chk.c: Likewise.
14179         * benchtests/bench-strlen.c: Likewise.
14180         * benchtests/bench-strncasecmp.c: Likewise.
14181         * benchtests/bench-strncat.c: Likewise.
14182         * benchtests/bench-strncmp.c: Likewise.
14183         * benchtests/bench-strncpy.c: Likewise.
14184         * benchtests/bench-strnlen.c: Likewise.
14185         * benchtests/bench-strpbrk.c: Likewise.
14186         * benchtests/bench-strrchr.c: Likewise.
14187         * benchtests/bench-strspn.c: Likewise.
14188         * benchtests/bench-strstr.c: Likewise.
14189
14190 2013-09-04  Will Newton  <will.newton@linaro.org>
14191
14192         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14193
14194 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14195
14196         [BZ #15427]
14197         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14198         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14199         * math/libm-test.inc (lgamma_test_data): Add more tests.
14200         * sysdeps/i386/fpu/libm-test-ulps: Update.
14201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14202
14203 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14204
14205         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14207         Add ifunc.
14208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14209         Add strcmp-sse2-unaligned
14210         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14211
14212 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14213
14214         * Versions.def (libc): Add GLIBC_2.19.
14215
14216 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14217
14218         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14219         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14220
14221 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14222
14223         [BZ #14155]
14224         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14225         intermediate calculations in recurrence.
14226         (__ieee754_ynf): Likewise.
14227         * math/libm-test.inc (jn_test_data): Do not allow spurious
14228         underflow exception.  Add more tests.
14229         (yn_test_data): Add more tests.
14230         * sysdeps/i386/fpu/libm-test-ulps: Update.
14231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14232
14233 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14234
14235         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14236
14237 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14238
14239         * csu/init-first.c: Fix then/than typos.
14240         * locale/programs/ld-collate.c: Likewise.
14241         * locale/programs/linereader.h: Likewise.
14242         * manual/charset.texi: Likewise.
14243         * manual/filesys.texi: Likewise.
14244         * manual/stdio.texi: Likewise.
14245         * manual/string.texi: Likewise.
14246         * stdlib/fmtmsg.c: Likewise.
14247         * sysdeps/i386/stpncpy.S: Likewise.
14248         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14249         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14251         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14252
14253 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14254
14255         * elf/dl-open.c: Fix typos.
14256         * iconvdata/gbbig5.c: Likewise.
14257         * iconvdata/iso-2022-jp.c: Likewise.
14258         * iconv/gconv_int.h: Likewise.
14259         * iconv/loop.c: Likewise.
14260         * nis/rpcsvc/nis.h: Likewise.
14261         * resolv/ns_name.c: Likewise.
14262         * stdio-common/vfscanf.c: Likewise.
14263         * streams/stropts.h: Likewise.
14264         * sunrpc/rpc_thread.c: Likewise.
14265         * sysdeps/i386/strpbrk.S: Likewise.
14266         * sysdeps/ieee754/k_standard.c: Likewise.
14267         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14268         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14269         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14270         * sysdeps/mach/hurd/profil.c: Likewise.
14271         * sysdeps/s390/dl-procinfo.h: Likewise.
14272         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14273         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14274         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14275         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14276         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14277
14278 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14279
14280         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14282
14283 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14284
14285         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14286         aix specific files.
14287         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14288         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14289         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14291         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14292         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14294         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14295
14296 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14297             Roland McGrath  <roland@hack.frob.com>
14298
14299         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14300         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14301
14302 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14303
14304         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14305         __executable_start symbol instead of _start.
14306
14307 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14308
14309         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14310         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14311         Move macros to...
14312         * sysdeps/gnu/ldsodefs.h: ... this new file.
14313
14314         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14315         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14316         instead of ELFOSABI_LINUX.
14317
14318         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14319         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14320         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14321         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14322         Likewise.
14323         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14324         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14325         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14326         Likewise.
14327         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14328         (ibm_extended_long_double): Add ieee_nan member.
14329         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14330         (do_test): New function.
14331
14332         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14333         TEST_TRUNC.
14334         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14335         functions, renamed from truncdfsf_test, trunctfsf_test,
14336         trunctfdf_test.
14337         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14338         functions.
14339         (do_test): Run all these.
14340
14341 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14342
14343         * argp/argp-help.c: Fix typos.
14344         * argp/argp-parse.c: Likewise.
14345         * debug/backtracesyms.c: Likewise.
14346         * elf/elf.h: Likewise.
14347         * malloc/malloc.c: Likewise.
14348         * nis/nis_print.c: Likewise.
14349         * resolv/res_comp.c: Likewise.
14350         * stdlib/stdlib.h: Likewise.
14351         * sunrpc/clnt_tcp.c: Likewise.
14352         * sunrpc/clnt_udp.c: Likewise.
14353         * sunrpc/clnt_unix.c: Likewise.
14354         * sysdeps/unix/bsd/ptsname.c: Likewise.
14355         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14356         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14358         Likewise.
14359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14360         Likewise.
14361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14364
14365 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14366
14367         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14369
14370 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14371
14372         [BZ #15897]
14373         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14374         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14375         ($(objpfx)bug-dl-leaf): New rule.
14376         ($(objpfx)bug-dl-leaf.so): Likewise.
14377         ($(objpfx)bug-dl-leaf.out): Likewise.
14378         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14379         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14380         * dlfcn/bug-dl-leaf.c: New test.
14381         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14382         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14383         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14384         (dlclose): Likewise.
14385         (dlmopen): Likewise.
14386
14387 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14388
14389         * include/netdb.h [!_ISOMAC]:
14390         Don't include <tls.h>.
14391         (h_errno, __libc_h_errno): Move declaration and macros out of
14392         [_LIBC_REENTRANT].
14393
14394         * include/resolv.h [_RESOLV_H_]:
14395         Don't include <tls.h>.
14396         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14397         * resolv/res_libc.c: Don't include <tls.h>.
14398         (_res): Use __attribute__ ((nocommon)) in place of
14399         __attribute__ ((section (".bss"))).
14400
14401         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14402         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14403
14404         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14405
14406         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14407         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14408
14409         * resolv/res_mkquery.c: Include <sys/time.h>.
14410
14411         * inet/ifreq.c: Moved to ...
14412         * sysdeps/unix/ifreq.c: ... here.
14413         * inet/ifreq.c: New file, true stub version.
14414
14415         * socket/sa_len.c: New file.
14416         * socket/Makefile (aux): Add it.
14417         * sysdeps/unix/sysv/linux/Makefile
14418         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14419         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14420         and #include <socket/sa_len.c>.
14421         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14422         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14423
14424         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14425         * bits/socket.h: ... here.
14426
14427         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14428         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14429         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14430
14431 2013-08-27  Andreas Schwab  <schwab@suse.de>
14432
14433         [BZ #15736]
14434         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14435         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14436         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14437         * string/test-strcasecmp.c (test_main): Run tests in several
14438         locales.
14439         * string/test-strncasecmp.c (test_main): Likewise.
14440
14441         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14442         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14443         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14444         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14445         (__strncasecmp_ssse3) [PIC]: Likewise.
14446
14447 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14448
14449         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14450
14451         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14452         instead of explicitly declaring xdecrypt.
14453         * nis/nss_nis/nis-publickey.c: Likewise.
14454
14455 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14456
14457         [BZ #15890]
14458         * nscd/aicache.c: Include res_hconf.h.
14459         (addhstaiX): Initialize res_hconf.
14460
14461 2013-08-26  Andreas Schwab  <schwab@suse.de>
14462
14463         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14464         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14465
14466 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14467
14468         * nscd/aicache.c (addhstaiX): Fix indentation.
14469
14470 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14471
14472         * configure.ac: Quote $build_pt_chown test.
14473         * configure: Regenerated.
14474
14475 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14476
14477         [BZ #15532]
14478         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14479         * math/s_cexpf.c (__cexpf): Likewise.
14480         * math/s_cexpl.c (__cexpl): Likewise.
14481         * math/libm-test.inc (cexp_test_data): Correct expected return
14482         value for NaN + i0.  Add another test.
14483
14484 2013-08-22  David S. Miller  <davem@davemloft.net>
14485
14486         * po/ca.po: Update Catalan translation from translation project.
14487         * po/uk.po: Add Ukrainian translations from translation project.
14488
14489 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14490
14491         [BZ #15797]
14492         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14493         is infinite, not alongside NaN test.
14494         * math/s_fdimf.c (__fdimf): Likewise.
14495         * math/s_fdiml.c (__fdiml): Likewise.
14496         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14497         errno is unchanged.
14498
14499 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14500
14501         * argp/argp-help.c: Fix typos.
14502         * crypt/speeds.c: Likewise.
14503         * csu/check_fds.c: Likewise.
14504         * elf/dl-load.c: Likewise.
14505         * elf/dl-open.c: Likewise.
14506         * elf/reldep3.c: Likewise.
14507         * elf/reldep.c: Likewise.
14508         * elf/sprof.c: Likewise.
14509         * iconv/iconv_charmap.c: Likewise.
14510         * iconv/skeleton.c: Likewise.
14511         * iconv/strtab.c: Likewise.
14512         * io/lockf64.c: Likewise.
14513         * libio/libioP.h: Likewise.
14514         * resolv/gai_notify.c: Likewise.
14515         * resolv/ns_name.c: Likewise.
14516         * resolv/ns_samedomain.c: Likewise.
14517         * resolv/res_send.c: Likewise.
14518         * stdlib/random.c: Likewise.
14519         * sunrpc/rpc/xdr.h: Likewise.
14520         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14521         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14522         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14523         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14524         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14525         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14526         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14527         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14528         * sysdeps/mach/hurd/check_fds.c: Likewise.
14529         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14530         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14531         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14532         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14533         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14534         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14535         * sysdeps/pthread/aio_notify.c: Likewise.
14536         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14537         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14538         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14539         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14540         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14541
14542 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14543
14544         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14545         version if bit_Slow_SSE4_2 is set.
14546         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14547         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14548
14549 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14550
14551         [BZ #15867]
14552         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14553         trampoline stack frame information.
14554         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14556         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14557         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14558         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14559         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14560         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14561         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14562         sa_flags value.
14563         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14564         interrupting a syscall and set with option SA_SIGINFO.
14565
14566 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14567
14568         [BZ #15531]
14569         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14570         argument is infinite.
14571         * math/s_cprojf.c (__cprojf): Likewise.
14572         * math/s_cprojl.c (__cprojl): Likewise.
14573         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14574         * math/libm-test.inc (cproj_test_data): Add more tests.
14575
14576         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14577
14578         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14579         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14580         size.  Use __ffs to determine corresponding shift.
14581
14582 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14583             Roland McGrath  <roland@hack.frob.com>
14584
14585         * Makefile (INSTALL): Remove trailing blank lines from output of
14586         makeinfo.
14587
14588 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14589
14590         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14591         Align 32 bit compat elf_greg to 8 bytes.
14592
14593 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14594
14595         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14596
14597 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14598
14599         * string/strcoll_l.c (coll_seq): New structure.
14600         (get_next_seq_cached): New function.
14601         (get_next_seq): New function.
14602         (do_compare): New function.
14603         (STRCOLL): Use GNU style definition.  Simplify implementation
14604         by using get_next_seq, get_next_seq_cached and do_compare.
14605
14606 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14607
14608         [BZ #14699]
14609         CVE-2013-4237
14610         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14611         member.
14612         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14613         member.
14614         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14615         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14616         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14617         conditional.
14618         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14619         GETDENTS_64BIT_ALIGNED.
14620         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14621         * manual/filesys.texi (Reading/Closing Directory): Document
14622         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14623         strongly.
14624         * manual/conf.texi (Limits for Files): Add portability note to
14625         NAME_MAX, PATH_MAX.
14626         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14627
14628 2013-08-13  Andreas Schwab  <schwab@suse.de>
14629
14630         [BZ #15749]
14631         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14632         of fabs.
14633         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14634         LDBL_MAX_EXP >= 16384]: Add tests for it.
14635
14636 2013-08-12  David S. Miller  <davem@davemloft.net>
14637
14638         * version.h (RELEASE): Set to "development".
14639         (VERSION): Set to "2.18.90".
14640         * NEWS: Add 2.19 section.
14641
14642 2013-08-03  David S. Miller  <davem@davemloft.net>
14643
14644         * po/ko.po: Update Korean translation from translation project.
14645
14646 2013-08-01  David S. Miller  <davem@davemloft.net>
14647
14648         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14649         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14650         Bilka.
14651
14652 2013-07-30  David S. Miller  <davem@davemloft.net>
14653
14654         * po/fr.po: Update French translation from translation project.
14655
14656 2013-07-28  David S. Miller  <davem@davemloft.net>
14657
14658         * po/cs.po: Update Czech translation from translation project.
14659
14660         * po/sv.po: Update Swedish translation from translation project.
14661
14662 2013-07-27  David S. Miller  <davem@davemloft.net>
14663
14664         * po/eo.po: Update Esperanto translation from translation project.
14665
14666         * po/vi.po: Update Vietnamese translation from translation project.
14667
14668         * po/de.po: Update German translation from translation project.
14669
14670 2013-07-26  David S. Miller  <davem@davemloft.net>
14671
14672         * po/bg.po: Update Bulgarian translation from translation project.
14673
14674         * po/nl.po: Update Dutch translation from translation project.
14675         * po/pl.po: Update Polish translation from translation project.
14676         * po/ru.po: Update Russian translation from translation project.
14677
14678 2013-07-24  David S. Miller  <davem@davemloft.net>
14679
14680         * po/libc.pot: Update.
14681
14682 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14683
14684         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14685         variable page size.
14686         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14687         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14688         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14689
14690 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14691
14692         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14693
14694 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14695             Andreas Schwab  <schwab@suse.de>
14696             Roland McGrath  <roland@hack.frob.com>
14697             Joseph Myers  <joseph@codesourcery.com>
14698             Carlos O'Donell  <carlos@redhat.com>
14699
14700         [BZ #15755]
14701         * config.h.in: Define HAVE_PT_CHOWN.
14702         * config.make.in (build-pt-chown): New variable.
14703         * configure.in (--enable-pt_chown): New configure option.
14704         * configure: Regenerate.
14705         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14706         build-pt-chown is enabled.
14707         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14708         pt_chown to fix pty ownership.
14709         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14710         CLOSE_ALL_FDS.
14711         * manual/install.texi (Configuring and compiling): Mention
14712         --enable-pt_chown. Add @findex for grantpt.
14713         * INSTALL: Regenerate.
14714
14715 2013-07-20  David S. Miller  <davem@davemloft.net>
14716
14717         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14718         difference between 32-bit and 64-bit.
14719
14720 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14721
14722         [BZ #15711]
14723         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14724         Avoid system header dependency with -ffreestanding.
14725         ($(objpfx)bits/syscall%d): Likewise.
14726
14727 2013-07-13  David S. Miller  <davem@davemloft.net>
14728
14729         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14730         underflows from atanl/atan2l due to bug 15319.
14731         (casinh_test_data): Likewise.
14732
14733 2013-07-07  David S. Miller  <davem@davemloft.net>
14734
14735         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14736
14737 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14738
14739         * sysdeps/i386/fpu/libm-test-ulps: Update.
14740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14741
14742 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14743
14744         * configure.in (--enable-lock-elision): Fix message text.
14745         * INSTALL: Regenerate.
14746         * configure: Regenerate.
14747
14748 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14749
14750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14751
14752 2013-07-03  Andreas Jaeger  <aj@suse.de>
14753
14754         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14755         define.
14756         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14757         (ptrace_peeksiginfo_args): Add.
14758         (__ptrace_peeksiginfo_flags): Add.
14759         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14760         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14761         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14762
14763 2013-07-03  Allan McRae  <allan@archlinux.org>
14764
14765         * sysdeps/i386/fpu/libm-test-ulps: Update.
14766
14767 2013-07-02  David S. Miller  <davem@davemloft.net>
14768
14769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14770
14771 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14772
14773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14774
14775 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14776
14777         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14779
14780 2013-07-02  Andi Kleen <ak@linux.intel.com>
14781
14782         * config.h.in (ENABLE_LOCK_ELISION): Add.
14783         * configure.in (--enable-lock-elision): Add option.
14784         * manual/install.texi: Document --enable lock elision.
14785         * configure: Regenerate
14786         * INSTALL: Regenerate.
14787
14788 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14789
14790         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14791         SSE4.2 strcasecmp for libc.a.
14792         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14793
14794 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14795
14796         [BZ #13304]
14797         * soft-fp/op-common.h (_FP_FMA): New macro.
14798         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14799         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14800         (_FP_MUL_MEAT_1_imm): ... here.
14801         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14802         (_FP_MUL_MEAT_1_wide): ... here.
14803         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14804         (_FP_MUL_MEAT_1_hard): ... here.
14805         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14806         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14807         (_FP_MUL_MEAT_2_wide): ... here.
14808         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14809         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14810         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14811         (_FP_MUL_MEAT_2_gmp): ... here.
14812         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14813         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14814         (_FP_MUL_MEAT_4_wide): ... here.
14815         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14816         (_FP_MUL_MEAT_4_gmp): ... here.
14817         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14818         (_FP_WFRACBITS_DW_S): Likewise.
14819         (_FP_WFRACXBITS_DW_S): Likewise.
14820         (_FP_HIGHBIT_DW_S): Likewise.
14821         (FP_FMA_S): Likewise.
14822         (_FP_FRAC_HIGH_DW_S): Likewise.
14823         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14824         (_FP_WFRACBITS_DW_D): Likewise.
14825         (_FP_WFRACXBITS_DW_D): Likewise.
14826         (_FP_HIGHBIT_DW_D): Likewise.
14827         (FP_FMA_D): Likewise.
14828         (_FP_FRAC_HIGH_DW_D): Likewise.
14829         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14830         (_FP_WFRACBITS_DW_E): Likewise.
14831         (_FP_WFRACXBITS_DW_E): Likewise.
14832         (_FP_HIGHBIT_DW_E): Likewise.
14833         (FP_FMA_E): Likewise.
14834         (_FP_FRAC_HIGH_DW_E): Likewise.
14835         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14836         (_FP_WFRACBITS_DW_Q): Likewise.
14837         (_FP_WFRACXBITS_DW_Q): Likewise.
14838         (_FP_HIGHBIT_DW_Q): Likewise.
14839         (FP_FMA_Q): Likewise.
14840         (_FP_FRAC_HIGH_DW_Q): Likewise.
14841         * soft-fp/fmasf4.c: New file.
14842         * soft-fp/fmadf4.c: Likewise.
14843         * soft-fp/fmatf4.c: Likewise.
14844
14845 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14846
14847         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14848         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14849         Silvermont.
14850         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14851         macro.
14852         (index_Slow_SSE4_2): Likewise.
14853         (index_Prefer_PMINUB_for_stringop): Likewise.
14854         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14855         bit_Slow_SSE4_2 is set.
14856         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14857         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14858
14859 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14860
14861         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14862         rtld_global._dl_hwcap2.
14863         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14864         POWER8.
14865         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14866         POWER8 feature descriptions defined in _dl_hwcap2.
14867         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14868         string handling for POWER8 feature bits.
14869         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14870         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14871         _dl_powerpc_cap_flags.
14872         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14873         * sysdeps/powerpc/rtld-global-offsets.sym
14874         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14875         _dl_hwcap2 in the rtld_global_ro structure.
14876
14877 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14878
14879         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14880         hardware capabilities in support of AT_HWCAP2.
14881         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14882         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14883         GLRO(dl_hwcap2).
14884         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14885         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14886         explicitly the unknown a_type display mechanism is used.
14887         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14888         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14889         struct member.
14890         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14891         to macro prototype for AT_HWCAP2 support.
14892         * sysdeps/i386/dl-procinfo.h: Likewise.
14893         * sysdeps/s390/dl-procinfo.h: Likewise.
14894         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14895         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14896         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14897         return -1 for unknown a_type display fallback.
14898         * sysdeps/sparc/dl-procinfo.h: Likewise.
14899         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14900         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14901
14902 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14903
14904         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14905         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14906
14907 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14908
14909         [BZ #12492]
14910         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14911         mprotect making __stack_prot writable.
14912
14913 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14914             Joseph Myers  <joseph@codesourcery.com>
14915
14916         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14917         as being properly aligned.
14918
14919 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14920
14921         * dlfcn/modstatic5.c: New file.
14922         * dlfcn/tststatic5.c: New file.
14923         * dlfcn/Makefile (tests): Add tststatic5.
14924         (tests-static): Likewise.
14925         (modules-names): Add modstatic5.
14926         (tststatic5-ENV): New variable.
14927         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14928
14929         [BZ #15022]
14930         * elf/dl-support.c (_dl_main_map): New variable.
14931         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14932         (_dl_nns, _dl_load_adds): Set to 1.
14933         (_dl_initial_searchlist): Refer to _dl_main_map.
14934         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14935         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14936         call to _dl_get_origin.
14937         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14938         around call_map.
14939         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14940         * dlfcn/modstatic3.c: New file.
14941         * dlfcn/tststatic3.c: New file.
14942         * dlfcn/tststatic4.c: New file.
14943         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14944         (tests-static): Likewise.
14945         (modules-names): Add modstatic3.
14946         (tststatic3-ENV, tststatic4-ENV): New variables.
14947         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14948         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14949
14950 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14951
14952         * configure.in (CC): Require GCC version 4.4 or later.
14953         * configure: Regenerated.
14954         * manual/install.texi (Tools for Compilation): Update GCC version
14955         requirement.
14956         * INSTALL: Regenerated.
14957
14958 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14959
14960         [BZ #15674]
14961         * string/test-memcmp.c (check2): New.
14962         (main): Call check2.
14963
14964         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14965
14966 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14967
14968         [BZ #15022]
14969         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14970         over to...
14971         (dl_open_worker) [!SHARED]: ... here.
14972
14973 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14974
14975         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14976
14977 2013-06-25  Richard Henderson  <rth@redhat.com>
14978
14979         * locale/programs/locarchive.c: Include <libc-internal.h>
14980
14981 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14982
14983         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14984         trailing whitespace removed.
14985
14986 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14987
14988         [BZ #10283]
14989         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14990         * locale/programs/locarchive.c: Include libc-mmap.h.
14991         (prepare_address_space): Take two new outputs (the mmap base and len).
14992         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14993         values.
14994         (create_archive): Declare new mmap base and len values for
14995         prepare_address_space, and store the result in ah.
14996         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14997         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14998         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14999         Declare new mmap base and len values for
15000         prepare_address_space, and store the result in new_ah.
15001         (open_archive): Declare new mmap base and len values for
15002         prepare_address_space, and store the result in ah.
15003         (close_archive): If ah->mmap_base is not NULL, use that and
15004         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15005         * sysdeps/generic/libc-mmap.h: New file.
15006
15007 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15008
15009         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15010         (ALIGN_UP): Likewise.
15011         (PTR_ALIGN_DOWN): Likewise.
15012         (PTR_ALIGN_UP): Likewise.
15013
15014 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15015
15016         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15017         entry mapped to PPC_PLATFORM_POWER8.
15018         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15019         POWER8.
15020         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15021         (_dl_string_platform): Add case for exporting platform position for
15022         POWER8.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15024         search path to sysdeps/powerpc/powerpc32/power8 directory.
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15026         search path to sysdeps/powerpc/powerpc64/power8 directory.
15027         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15028         power7 directories.
15029         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15030         power7 directories.
15031
15032 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15033
15034         * INSTALL: Regenerate.
15035
15036         * nscd/connections.c (nscd_init): Fix comment.
15037
15038 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15039
15040         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15041
15042         [BZ #15667]
15043         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15044         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15045
15046 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15047
15048         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15049         DL_DST_REQ_STATIC.
15050         (DL_DST_REQ_STATIC): Remove macro.
15051
15052 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15053
15054         [BZ #7006]
15055         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15056         with a shift of 0 bits.
15057
15058 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15059
15060         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15061         $(tststatic-ENV).
15062
15063 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15064
15065         [BZ #15655]
15066         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15067
15068 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15069
15070         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15071         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15072         accepts -fno-tree-loop-distribute-patterns.
15073         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15074         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15075         recursive call.
15076         * string/memset.c (memset): Likewise.
15077         * string/test-memmove.c (simple_memmove): Disable loop transformation
15078         to library calls.
15079         * string/test-memset.c (simple_memset): Likewise.
15080         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15081         * benchtests/bench-memset.c (simple_memset): Likewise.
15082         * configure: Regenerated.
15083
15084 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15085
15086         * math/test-misc.c (main): Ignore fesetround failure when failures
15087         of subsequent rounding tests would be ignored.
15088
15089         [BZ #15654]
15090         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15091         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15092         * math/fegetenv.c (__fegetenv): Return 0.
15093         * math/fegetexcept.c (fegetexcept): Return 0.
15094         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15095         FE_TONEAREST.
15096         * math/feholdexcpt.c (feholdexcept): Return 0.
15097         * math/fesetenv.c (__fesetenv): Return 0.
15098         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15099         argument FE_TONEAREST.
15100         * math/feupdateenv.c (__feupdateenv): Return 0.
15101         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15102
15103 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15104
15105         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15106         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15107         ($(objpfx)rtld-%.os rules): Use them.
15108
15109 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15110
15111         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15112         fields.
15113
15114 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15115
15116         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15117         length of target pattern, then descending length of dependency pattern.
15118         * configure.in (AWK): Require gawk 3.1.2 or newer.
15119         * manual/install.texi (Tools for Compilation): Say that we do.
15120         * configure: Regenerated.
15121
15122         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15123         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15124         * scripts/sysd-rules.awk: ... this new script.
15125         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15126         than a glob-style pattern.
15127
15128 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15129
15130         * math/test-misc.c (main): Do not treat incorrectly rounded
15131         conversions as failure unless ROUNDING_TESTS passes.
15132
15133 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15134
15135         [BZ #15631]
15136         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15137         restore exception state around main square root computation, then
15138         check for inexactness explicitly.
15139
15140         * math/libm-test.inc (fma_test_data): Add another test.
15141
15142 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15143
15144         * manual/threads.texi (Non-POSIX Extensions): New document
15145         node.  Document pthread_getattr_default_np and
15146         pthread_setattr_default_np.
15147
15148         * Versions.def (libpthread): Add GLIBC_2.18.
15149         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15151         Likewise.
15152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15153         Likewise.
15154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15157         Likewise.
15158         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15159         Likewise.
15160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15161         Likewise.
15162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15163         Likewise.
15164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15165         Likewise.
15166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15167         Likewise.
15168
15169 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15170
15171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15172         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15173
15174 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15175             H.J. Lu  <hjl.tools@gmail.com>
15176
15177         [BZ #15627]
15178         * sysdeps/x86_64/rtld-memset.c: Remove file.
15179         * sysdeps/x86_64/rtld-memset.S: New file.
15180
15181 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15182
15183         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15184         (test_in_one_mode): Take arguments for whether the rounding mode
15185         is supported for each floating-point type.
15186         (do_test): Pass new arguments to test_in_one_mode using
15187         ROUNDING_TESTS.
15188
15189 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15190
15191         * posix/tst-waitid.c (do_test): Distinguish different instances of
15192         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15193         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15194         before entering the kernel for waitpid.
15195
15196 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15197
15198         * NEWS: Fix note on clock function precision.  Text by Roland
15199         McGrath.
15200
15201 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15202
15203         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15204         it into place only when and if the sanity check passes.
15205
15206 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15207
15208         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15209         output for whether conversion result is exact.  Take argument
15210         indicating whether type is IBM long double.
15211         (round_for_all): Change need_exact field to ibm_ld.
15212         * stdlib/tst-strtod-round.c (struct exactness): New type.
15213         (struct test): Change bool ld_ok field to struct exactness exact.
15214         (TEST): Update all definitions for change to field.
15215         (tests): Regenerate array contents.
15216         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15217         field value.  Check for IBM long double here.
15218         (do_test): Update calls to test_in_one_mode.
15219
15220 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15221
15222         [BZ #12515]
15223         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15224         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15225
15226 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15227
15228         [BZ #15605]
15229         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15230         generated by the compiler on loop optimizations.
15231         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15232         general definitions.
15233
15234 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15235
15236         * math/bug-nextafter.c: Include <math-tests.h>.
15237         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15238         the relevant type.
15239         * math/bug-nexttoward.c: Include <math-tests.h>.
15240         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15241         the relevant type.
15242         * math/test-misc.c: Include <math-tests.h>.
15243         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15244         the relevant type.
15245
15246 2013-06-12  Andreas Jaeger  <aj@suse.de>
15247
15248         * po/ia.po: Update Interlingua translation from translation
15249         project.
15250
15251 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15252
15253         * include/fenv.h: Include stdbool.h.
15254         (struct rm_ctx): New structure.
15255         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15256         Define macro.
15257         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15258         (SET_RESTORE_ROUNDF): Likewise.
15259         (SET_RESTORE_ROUNDL): Likewise.
15260         (SET_RESTORE_ROUND_NOEX): Likewise.
15261         (SET_RESTORE_ROUND_NOEXF): Likewise.
15262         (SET_RESTORE_ROUND_NOEXL): Likewise.
15263         (SET_RESTORE_ROUND_53BIT): Likewise.
15264         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15265         (libc_feresetround_noexf_ctx): Likewise.
15266         (libc_feresetround_noexl_ctx): Likewise.
15267         (libc_feholdsetround_53bit_ctx): Likewise.
15268         (libc_feresetround_53bit_ctx): Likewise.
15269         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15270         (libc_feholdexcept_setround_sse_ctx): New function.
15271         (libc_fesetenv_sse_ctx): Likewise.
15272         (libc_feupdateenv_sse_ctx): Likewise.
15273         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15274         (libc_feholdexcept_setround_387_ctx): Likewise.
15275         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15276         (libc_feholdsetround_387_prec_ctx): Likewise.
15277         (libc_feholdsetround_387_ctx): Likewise.
15278         (libc_feholdsetround_387_53bit_ctx): Likewise.
15279         (libc_feholdsetround_sse_ctx): Likewise.
15280         (libc_feresetround_sse_ctx): Likewise.
15281         (libc_feresetround_387_ctx): Likewise.
15282         (libc_feupdateenv_387_ctx): Likewise.
15283         (libc_feholdexcept_setroundf_ctx): Define macro.
15284         (libc_fesetenvf_ctx): Likewise.
15285         (libc_feupdateenvf_ctx): Likewise.
15286         (libc_feholdsetroundf_ctx): Likewise.
15287         (libc_feresetroundf_ctx): Likewise.
15288         (libc_feholdexcept_setround_ctx): Likewise.
15289         (libc_fesetenv_ctx): Likewise.
15290         (libc_feupdateenv_ctx): Likewise.
15291         (libc_feholdsetround_ctx): Likewise.
15292         (libc_feresetround_ctx): Likewise.
15293         (libc_feholdexcept_setroundl_ctx): Likewise.
15294         (libc_feupdateenvl_ctx): Likewise.
15295         (libc_feholdsetroundl_ctx): Likewise.
15296         (libc_feresetroundl_ctx): Likewise.
15297         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15298         (libc_feresetround_53bit_ctx): Likewise.
15299
15300 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15301
15302         * locale/iso-639.def: Convert to UTF-8.
15303
15304 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15305
15306         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15307         (EXCEPTION_TESTS_double): Likewise.
15308         (EXCEPTION_TESTS_long_double): Likewise.
15309         (EXCEPTION_TESTS): Likewise.
15310         * math/libm-test.inc (test_exceptions): Only test exceptions if
15311         EXCEPTION_TESTS (FLOAT).
15312
15313 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15314
15315         * benchtests/Makefile (string-bench): Add strcpy_chk and
15316         stpcpy_chk.
15317         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15318         * benchtests/bench-stpcpy_chk.c: New file.
15319         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15320         * benchtests/bench-strcpy_chk.c: New file.
15321         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15322         code.
15323         (do_test): Likewise.
15324
15325 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15326
15327         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15328         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15329         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15330         with tabs where appropriate.
15331         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15332         dl-procinfo.h.
15333         [PPC_PLATFORM_PPC440]: Likewise.
15334         [PPC_PLATFORM_PPC464]: Likewise.
15335         [PPC_PLATFORM_PPC476]: Likewise.
15336         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15337         ppc464, and ppc476 platform strings merging from ports/
15338         dl-procinfo.h.
15339
15340 2013-06-11  Andreas Schwab  <schwab@suse.de>
15341
15342         [BZ #14991]
15343         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15344         (from_ucs4_idx): Regenerate.
15345         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15346         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15347         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15348         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15349         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15350         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15351         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15352         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15353         from FROM_LOOP and TO_LOOP specific macros.
15354         (BODY): Handle combining characters.
15355         * iconvdata/BIG5HKSCS.irreversible: Update.
15356         * iconvdata/BIG5HKSCS.precomposed: New file.
15357         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15358         characters.
15359         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15360
15361 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15362
15363         * include/sys/time.h: Fix indentation and add copyright header.
15364
15365         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15366         (do_test): Likewise.
15367         * string/test-memchr.c (do_one_test): Likewise.
15368         (do_test): Likewise.
15369         * string/test-memcmp.c (do_one_test): Likewise.
15370         (do_test): Likewise.
15371         * string/test-memcpy.c (do_one_test): Likewise.
15372         (do_test): Likewise.
15373         * string/test-memmem.c (do_one_test): Likewise.
15374         (do_test): Likewise.
15375         (do_random_tests): Likewise.
15376         * string/test-memmove.c (do_one_test): Likewise.
15377         (do_test): Likewise.
15378         * string/test-memset.c (do_one_test): Likewise.
15379         (do_test): Likewise.
15380         * string/test-rawmemchr.c (do_one_test): Likewise.
15381         (do_test): Likewise.
15382         * string/test-strcasecmp.c (do_one_test): Likewise.
15383         (do_test): Likewise.
15384         * string/test-strcasestr.c (do_one_test): Likewise.
15385         (do_test): Likewise.
15386         * string/test-strcat.c (do_one_test): Likewise.
15387         (do_test): Likewise.
15388         * string/test-strchr.c (do_one_test): Likewise.
15389         (do_test): Likewise.
15390         * string/test-strcmp.c (do_one_test): Likewise.
15391         (do_test): Likewise.
15392         * string/test-strcpy.c (do_one_test): Likewise.
15393         (do_test): Likewise.
15394         * string/test-string.h: Likewise.
15395         (test_init): Likewise.
15396         * string/test-strlen.c (do_one_test): Likewise.
15397         (do_test): Likewise.
15398         * string/test-strncasecmp.c (do_one_test): Likewise.
15399         (do_test): Likewise.
15400         * string/test-strncat.c (do_one_test): Likewise.
15401         (do_test): Likewise.
15402         * string/test-strncmp.c (do_one_test): Likewise.
15403         (do_test_limit): Likewise.
15404         (do_test): Likewise.
15405         * string/test-strncpy.c (do_one_test): Likewise.
15406         (do_test): Likewise.
15407         * string/test-strnlen.c (do_one_test): Likewise.
15408         (do_test): Likewise.
15409         * string/test-strpbrk.c (do_one_test): Likewise.
15410         (do_test): Likewise.
15411         * string/test-strrchr.c (do_one_test): Likewise.
15412         (do_test): Likewise.
15413         * string/test-strspn.c (do_one_test): Likewise.
15414         (do_test): Likewise.
15415         * string/test-strstr.c (do_one_test): Likewise.
15416         (do_test): Likewise.
15417
15418         * benchtests/Makefile (string-bench): Add string benchmarks.
15419         * benchtests/bench-bcopy-ifunc.c: New file.
15420         * benchtests/bench-bcopy.c: New file.
15421         * benchtests/bench-bzero-ifunc.c: New file.
15422         * benchtests/bench-bzero.c: New file.
15423         * benchtests/bench-memccpy-ifunc.c: New file.
15424         * benchtests/bench-memccpy.c: New file.
15425         * benchtests/bench-memchr-ifunc.c: New file.
15426         * benchtests/bench-memchr.c: New file.
15427         * benchtests/bench-memcmp-ifunc.c: New file.
15428         * benchtests/bench-memcmp.c: New file.
15429         * benchtests/bench-memmem-ifunc.c: New file.
15430         * benchtests/bench-memmem.c: New file.
15431         * benchtests/bench-memmove-ifunc.c: New file.
15432         * benchtests/bench-memmove.c: New file.
15433         * benchtests/bench-mempcpy-ifunc.c: New file.
15434         * benchtests/bench-mempcpy.c: New file.
15435         * benchtests/bench-memset-ifunc.c: New file.
15436         * benchtests/bench-memset.c: New file.
15437         * benchtests/bench-rawmemchr-ifunc.c: New file.
15438         * benchtests/bench-rawmemchr.c: New file.
15439         * benchtests/bench-stpcpy-ifunc.c: New file.
15440         * benchtests/bench-stpcpy.c: New file.
15441         * benchtests/bench-stpncpy-ifunc.c: New file.
15442         * benchtests/bench-stpncpy.c: New file.
15443         * benchtests/bench-strcasecmp-ifunc.c: New file.
15444         * benchtests/bench-strcasecmp.c: New file.
15445         * benchtests/bench-strcasestr-ifunc.c: New file.
15446         * benchtests/bench-strcasestr.c: New file.
15447         * benchtests/bench-strcat-ifunc.c: New file.
15448         * benchtests/bench-strcat.c: New file.
15449         * benchtests/bench-strchr-ifunc.c: New file.
15450         * benchtests/bench-strchr.c: New file.
15451         * benchtests/bench-strchrnul-ifunc.c: New file.
15452         * benchtests/bench-strchrnul.c: New file.
15453         * benchtests/bench-strcmp-ifunc.c: New file.
15454         * benchtests/bench-strcmp.c: New file.
15455         * benchtests/bench-strcpy-ifunc.c: New file.
15456         * benchtests/bench-strcpy.c: New file.
15457         * benchtests/bench-strcspn-ifunc.c: New file.
15458         * benchtests/bench-strcspn.c: New file.
15459         * benchtests/bench-strlen-ifunc.c: New file.
15460         * benchtests/bench-strlen.c: New file.
15461         * benchtests/bench-strncasecmp-ifunc.c: New file.
15462         * benchtests/bench-strncasecmp.c: New file.
15463         * benchtests/bench-strncat-ifunc.c: New file.
15464         * benchtests/bench-strncat.c: New file.
15465         * benchtests/bench-strncmp-ifunc.c: New file.
15466         * benchtests/bench-strncmp.c: New file.
15467         * benchtests/bench-strncpy-ifunc.c: New file.
15468         * benchtests/bench-strncpy.c: New file.
15469         * benchtests/bench-strnlen-ifunc.c: New file.
15470         * benchtests/bench-strnlen.c: New file.
15471         * benchtests/bench-strpbrk-ifunc.c: New file.
15472         * benchtests/bench-strpbrk.c: New file.
15473         * benchtests/bench-strrchr-ifunc.c: New file.
15474         * benchtests/bench-strrchr.c: New file.
15475         * benchtests/bench-strspn-ifunc.c: New file.
15476         * benchtests/bench-strspn.c: New file.
15477         * benchtests/bench-strstr-ifunc.c: New file.
15478         * benchtests/bench-strstr.c: New file.
15479
15480         * benchtests/Makefile: Disable parallel execution of targets.
15481         (string-bench): Add memcpy.
15482         (benchset): New variable to store a list of benchmark sets.
15483         (bench-func): Renamed from bench.
15484         (bench-set): New target.
15485         (bench): Depend on bench-func and bench-set.
15486         * benchtests/README: Add section on benchmark sets.
15487         * benchtests/bench-memcpy-ifunc.c: New file.
15488         * benchtests/bench-memcpy.c: New file.
15489         * benchtests/bench-string.h: New file.
15490
15491 2013-06-11  Andreas Schwab  <schwab@suse.de>
15492
15493         [BZ #15577]
15494         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15495         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15496         values in the triple.
15497         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15498         terminator in the group key.
15499
15500 2013-06-11  Andreas Jaeger  <aj@suse.de>
15501
15502         * po/zh_TW.po: Update Chinese (traditional) translation from
15503         translation project.
15504
15505 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506
15507         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15508         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15509         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15511         (clock_getcpuclockid): Likewise.
15512         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15513         Add weak_alias and libc_hidden_def.
15514         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15515         * rt/clock_gettime.c (clock_gettime): Rename to
15516         __clock_gettime.  Add weak_alias and libc_hidden_def.
15517         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15518         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15519         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15520         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15521         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15522         Likewise.
15523         * rt/clock_settime.c (clock_settime): Rename to
15524         __clock_settime.  Add weak_alias and libc_hidden_def.
15525         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15526
15527 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15528
15529         * mach/err_boot.sub: Remove trailing whitespace.
15530         * mach/err_ipc.sub: Likewise.
15531         * mach/err_mach.sub: Likewise.
15532
15533         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15534         (ROUNDING_TESTS_double): Likewise.
15535         (ROUNDING_TESTS_long_double): Likewise.
15536         (ROUNDING_TESTS): Likewise.
15537         * math/libm-test.inc: Include <math-tests.h>.
15538         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15539         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15540         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15541         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15542
15543 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15544
15545         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15546         of assigning.
15547
15548 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15549
15550         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15551         otherwise empty TRANS lines.
15552         * sysdeps/gnu/errlist.c: Regenerated.
15553
15554         * catgets/gencat.c (error_print): Use (void) in function
15555         definition.
15556         * crypt/crypt_util.c (__init_des): Likewise.
15557         * crypt/speeds.c (Stop): Likewise.
15558         (main): Likewise.
15559         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15560         * inet/ruserpass.c (token): Likewise.
15561         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15562         * intl/localealias.c (extend_alias_table): Likewise.
15563         * intl/plural-exp.c (init_germanic_plural): Likewise.
15564         * libio/fcloseall.c (__fcloseall): Likewise.
15565         * libio/genops.c (_IO_flush_all): Likewise.
15566         (_IO_flush_all_linebuffered): Likewise.
15567         (_IO_cleanup): Likewise.
15568         (_IO_iter_begin): Likewise.
15569         (_IO_iter_end): Likewise.
15570         (_IO_list_lock): Likewise.
15571         (_IO_list_unlock): Likewise.
15572         (_IO_list_resetlock): Likewise.
15573         * libio/getchar.c (getchar): Likewise.
15574         * libio/getchar_u.c (getchar_unlocked): Likewise.
15575         * libio/getwchar.c (getwchar): Likewise.
15576         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15577         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15578         * login/getpt.c (__getpt): Likewise.
15579         * login/tst-utmp.c (main): Likewise.
15580         * malloc/hooks.c (__malloc_check_init): Likewise.
15581         * malloc/malloc.c (__malloc_stats): Likewise.
15582         * malloc/mtrace.c (tr_break): Likewise.
15583         (mtrace): Likewise.
15584         (muntrace): Likewise.
15585         * misc/fstab.c (endfsent): Likewise.
15586         * misc/getclktck.c (__getclktck): Likewise.
15587         * misc/getdtsz.c (__getdtablesize): Likewise.
15588         * misc/gethostid.c (gethostid): Likewise.
15589         * misc/getpagesize.c (__getpagesize): Likewise.
15590         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15591         (__get_nprocs): Likewise.
15592         (__get_phys_pages): Likewise.
15593         (__get_avphys_pages): Likewise.
15594         * misc/getttyent.c (getttyent): Likewise.
15595         (setttyent): Likewise.
15596         (endttyent): Likewise.
15597         * misc/getusershell.c (getusershell): Likewise.
15598         (endusershell): Likewise.
15599         (setusershell): Likewise.
15600         (initshells): Likewise.
15601         * misc/hsearch.c (__hdestroy): Likewise.
15602         * misc/sync.c (sync): Likewise.
15603         * misc/syslog.c (closelog_internal): Likewise.
15604         (closelog): Likewise.
15605         * misc/ttyslot.c (ttyslot): Likewise.
15606         * misc/vhangup.c (vhangup): Likewise.
15607         * posix/fork.c (__fork): Likewise.
15608         * posix/getegid.c (__getegid): Likewise.
15609         * posix/geteuid.c (__geteuid): Likewise.
15610         * posix/getgid.c (__getgid): Likewise.
15611         * posix/getpid.c (__getpid): Likewise.
15612         * posix/getppid.c (__getppid): Likewise.
15613         * posix/getuid.c (__getuid): Likewise.
15614         * posix/pause.c (pause): Likewise.
15615         * posix/setpgrp.c (setpgrp): Likewise.
15616         * posix/setsid.c (__setsid): Likewise.
15617         * posix/test-vfork.c (noop): Likewise.
15618         * resolv/gethnamaddr.c (_endhtent): Likewise.
15619         (_gethtent): Likewise.
15620         (ht_endhostent): Likewise.
15621         (gethostent): Likewise.
15622         (dns_service): Likewise.
15623         * stdlib/drand48.c (drand48): Likewise.
15624         * stdlib/lrand48.c (lrand48): Likewise.
15625         * stdlib/mrand48.c (mrand48): Likewise.
15626         * stdlib/rand.c (rand): Likewise.
15627         * stdlib/random.c (__random): Likewise.
15628         * stdlib/setenv.c (clearenv): Likewise.
15629         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15630         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15631         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15632         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15633         (__get_nprocs): Likewise.
15634         (__get_phys_pages): Likewise.
15635         (__get_avphys_pages): Likewise.
15636         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15637         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15638         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15639         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15640         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15641         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15642         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15643         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15644         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15645         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15646         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15647         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15648         * sysdeps/posix/clock.c (clock): Likewise.
15649         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15650         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15651         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15652         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15653         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15654         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15655         (__get_nprocs_conf): Likewise.
15656         (__get_phys_pages): Likewise.
15657         (__get_avphys_pages): Likewise.
15658         * time/clock.c (clock): Likewise.
15659         * time/tzset.c (__tzname_max): Likewise.
15660
15661 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15662
15663         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15664         (__bswap_32): Do not use "register".
15665         * crypt/crypt.c (_ufc_doit_r): Likewise.
15666         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15667         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15668         * gmon/gmon.c (__monstartup): Likewise.
15669         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15670         * hurd/hurdmalloc.c (more_memory): Likewise.
15671         (malloc): Likewise.
15672         (free): Likewise.
15673         (realloc): Likewise.
15674         (malloc_fork_prepare): Likewise.
15675         (malloc_fork_parent): Likewise.
15676         (malloc_fork_child): Likewise.
15677         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15678         (_svcauth_des): Likewise.
15679         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15680         * inet/inet_net.c (inet_network): Likewise.
15681         * inet/inet_netof.c (inet_netof): Likewise.
15682         * inet/rcmd.c (__validuser2_sa): Likewise.
15683         * io/fts.c (fts_open): Likewise.
15684         (fts_load): Likewise.
15685         (fts_close): Likewise.
15686         (fts_read): Likewise.
15687         (fts_children): Likewise.
15688         (fts_build): Likewise.
15689         (fts_stat): Likewise.
15690         (fts_sort): Likewise.
15691         (fts_alloc): Likewise.
15692         (fts_lfree): Likewise.
15693         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15694         (_IO_file_xsgetn): Likewise.
15695         (_IO_file_xsgetn_mmap): Likewise.
15696         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15697         (_IO_cookie_write): Likewise.
15698         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15699         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15700         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15701         * malloc/obstack.c (_obstack_begin): Likewise.
15702         (_obstack_begin_1): Likewise.
15703         (_obstack_newchunk): Likewise.
15704         (_obstack_allocated_p): Likewise.
15705         (obstack_free): Likewise.
15706         (_obstack_memory_used): Likewise.
15707         * misc/getttyent.c (getttynam): Likewise.
15708         (getttyent): Likewise.
15709         (skip): Likewise.
15710         (value): Likewise.
15711         * misc/getusershell.c (initshells): Likewise.
15712         * misc/syslog.c (__vsyslog_chk): Likewise.
15713         * misc/ttyslot.c (ttyslot): Likewise.
15714         * nis/nis_hash.c (__nis_hash): Likewise.
15715         * posix/fnmatch_loop.c (FCT): Likewise.
15716         * posix/getconf.c (print_all): Likewise.
15717         (main): Likewise.
15718         * posix/getopt.c (exchange): Likewise.
15719         * posix/glob.c (globfree): Likewise.
15720         (prefix_array): Likewise.
15721         (__glob_pattern_type): Likewise.
15722         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15723         (NS_GET32): Likewise.
15724         (NS_PUT16): Likewise.
15725         (NS_PUT32): Likewise.
15726         * resolv/gethnamaddr.c (getanswer): Likewise.
15727         (gethostbyname2): Likewise.
15728         (gethostbyaddr): Likewise.
15729         (_gethtent): Likewise.
15730         (_gethtbyname2): Likewise.
15731         (_gethtbyaddr): Likewise.
15732         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15733         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15734         * resolv/res_init.c (__res_vinit): Likewise.
15735         (net_mask): Likewise.
15736         * resolv/res_mkquery.c (outchar): Likewise.
15737         (PRINT): Likewise.
15738         * stdio-common/printf_fp.c (outchar): Likewise.
15739         (PRINT): Likewise.
15740         * stdio-common/printf_fphex.c (outchar): Likewise.
15741         (PRINT): Likewise.
15742         * stdio-common/printf_size.c (outchar): Likewise.
15743         (PRINT): Likewise.
15744         * stdio-common/test_rdwr.c (main): Likewise.
15745         * stdio-common/tfformat.c (matches): Likewise.
15746         * stdio-common/vfprintf.c (outchar): Likewise.
15747         (printf_unknown): Likewise.
15748         (buffered_vfprintf): Likewise.
15749         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15750         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15751         (ReadFile): Likewise.
15752         * stdlib/qsort.c (SWAP): Likewise.
15753         (_quicksort): Likewise.
15754         * stdlib/setenv.c (__add_to_environ): Likewise.
15755         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15756         * stdlib/strtol_l.c (__strtol_l): Likewise.
15757         * stdlib/tst-strtod.c (main): Likewise.
15758         * stdlib/tst-strtol.c (main): Likewise.
15759         * stdlib/tst-strtoll.c (main): Likewise.
15760         * string/bits/string2.h (__strcmp_cc): Likewise.
15761         (__strcmp_cg): Likewise.
15762         (__strcspn_c1): Likewise.
15763         (__strcspn_c2): Likewise.
15764         (__strcspn_c3): Likewise.
15765         (__strspn_c1): Likewise.
15766         (__strspn_c2): Likewise.
15767         (__strspn_c3): Likewise.
15768         (__strsep_1c): Likewise.
15769         (__strsep_2c): Likewise.
15770         (__strsep_3c): Likewise.
15771         * string/memccpy.c (__memccpy): Likewise.
15772         * string/stpcpy.c (__stpcpy): Likewise.
15773         * string/strcmp.c (strcmp): Likewise.
15774         * string/strrchr.c (strrchr): Likewise.
15775         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15776         Likewise.
15777         * sysdeps/mach/hurd/getcwd.c
15778         (_hurd_canonicalize_directory_name_internal): Likewise.
15779         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15780         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15781         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15782         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15783         Likewise, in both definitions.
15784         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15785         definitions.
15786         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15787         64] (__bswap_64): Likewise.
15788         * time/test_time.c (main): Likewise.
15789         * time/tzfile.c (__tzfile_read): Likewise.
15790         (__tzfile_compute): Likewise.
15791         * time/tzset.c (__tzset_parse_tz): Likewise.
15792         (tzset_internal): Likewise.
15793         (compute_change): Likewise.
15794         * wcsmbs/wcscat.c (__wcscat): Likewise.
15795         * wcsmbs/wcschr.c (wcschr): Likewise.
15796         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15797         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15798         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15799         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15800         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15801         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15802         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15803         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15804         * wcsmbs/wmemset.c (wmemset): Likewise.
15805
15806 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15807
15808         * scripts/config.guess: Update to version 2013-05-16.
15809         * scripts/config.sub: Update to version 2013-04-24.
15810         * scripts/install-sh: Update to version 2011-11-20.07.
15811         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15812         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15813
15814 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15815
15816         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15817         * elf/sln.c: Likewise.
15818         * hurd/hurd/ioctl.h: Likewise.
15819         * hurd/hurdmalloc.c: Likewise.
15820         * hurd/xattr.c: Likewise.
15821         * include/shlib-compat.h: Likewise.
15822         * inet/ruserpass.c: Likewise.
15823         * libio/iofgets_u.c: Likewise.
15824         * libio/iofgetws_u.c: Likewise.
15825         * locale/programs/ld-identification.c: Likewise.
15826         * locale/programs/ld-time.c: Likewise.
15827         * mach/msg-destroy.c: Likewise.
15828         * nss/nss_files/files-netgrp.c: Likewise.
15829         * resolv/res_data.c: Likewise.
15830         * soft-fp/op-1.h: Likewise.
15831         * soft-fp/op-2.h: Likewise.
15832         * soft-fp/op-4.h: Likewise.
15833         * soft-fp/op-common.h: Likewise.
15834         * stdio-common/printf_fphex.c: Likewise.
15835         * stdlib/strtod_l.c: Likewise.
15836         * sunrpc/rpc/clnt.h: Likewise.
15837         * sysdeps/generic/framestate.c: Likewise.
15838         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15839         * sysdeps/i386/bsd-setjmp.S: Likewise.
15840         * sysdeps/i386/__longjmp.S: Likewise.
15841         * sysdeps/i386/setjmp.S: Likewise.
15842         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15843         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15844         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15847         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15848         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15849         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15850         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15852         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15855         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15856         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15858         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15859         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15860         * sysdeps/ieee754/support.c: Likewise.
15861         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15862         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15863         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15864         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15865         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15866         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15867         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15868         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15869         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15870         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15871         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15872         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15873         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15874         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15875         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15876         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15877         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15879
15880 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15881
15882         * posix/transbug.c: Remove executable mode.
15883
15884 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15885
15886         * crypt/speeds.c: Remove trailing whitespace.
15887         * dlfcn/default.c: Likewise.
15888         * elf/ifuncdep2.c: Likewise.
15889         * elf/ifuncmain1.c: Likewise.
15890         * elf/ifuncmain1vis.c: Likewise.
15891         * elf/testobj.h: Likewise.
15892         * elf/tst-stackguard1.c: Likewise.
15893         * gmon/sys/gmon.h: Likewise.
15894         * hurd/hurdmsg.c: Likewise.
15895         * hurd/new-fd.c: Likewise.
15896         * hurd/ports-get.c: Likewise.
15897         * iconvdata/ibm1008_420.c: Likewise.
15898         * inet/tst-getni1.c: Likewise.
15899         * inet/tst-getni2.c: Likewise.
15900         * libio/ioungetc.c: Likewise.
15901         * libio/wfiledoalloc.c: Likewise.
15902         * manual/libm-err-tab.pl: Likewise.
15903         * math/w_dremf.c: Likewise.
15904         * misc/ftruncate.c: Likewise.
15905         * posix/bug-glob2.c: Likewise.
15906         * posix/tst-pcre.c: Likewise.
15907         * posix/wait4.c: Likewise.
15908         * resolv/README: Likewise.
15909         * resolv/res_debug.h: Likewise.
15910         * resolv/tst-inet_ntop.c: Likewise.
15911         * setjmp/bug269-setjmp.c: Likewise.
15912         * soft-fp/extended.h: Likewise.
15913         * soft-fp/op-1.h: Likewise.
15914         * soft-fp/op-2.h: Likewise.
15915         * soft-fp/op-4.h: Likewise.
15916         * soft-fp/op-8.h: Likewise.
15917         * soft-fp/testit.c: Likewise.
15918         * stdio-common/bug16.c: Likewise.
15919         * stdlib/random.c: Likewise.
15920         * sunrpc/rpcsvc/rquota.x: Likewise.
15921         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15922         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15924         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15925         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15926         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15927         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15928         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15929         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15930         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15931         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15932         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15933         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15934         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15935         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15936         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15937         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15938         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15939         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15940         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15941         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15942         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15943         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15944         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15946         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15949         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15950         * sysdeps/ieee754/s_lib_version.c: Likewise.
15951         * sysdeps/mach/hurd/check_fds.c: Likewise.
15952         * sysdeps/mach/hurd/getsockname.c: Likewise.
15953         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15954         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15955         * sysdeps/powerpc/bits/link.h: Likewise.
15956         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15957         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15958         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15959         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15960         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15961         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15962         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15963         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15964         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15965         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15966         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15967         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15968         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15969         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15970         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15971         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15972         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15973         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15974         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15975         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15976         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15977         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15978         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15979         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15980         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15981         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15982         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15983         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15984         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15985         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15986         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15987         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15988         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15989         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15990         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15991         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15992         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15993         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15994         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15995         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15996         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15997         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15998         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15999         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16000         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16001         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16002         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16003         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16004         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16005         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16006         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16008         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16009         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16010         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16011         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16012         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16013         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16014         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16015         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16016         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16017         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16018         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16019         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16020         * sysdeps/powerpc/sysdep.h: Likewise.
16021         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16022         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16023         * sysdeps/sh/dl-trampoline.S: Likewise.
16024         * sysdeps/sh/memset.S: Likewise.
16025         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16026         * sysdeps/sh/strlen.S: Likewise.
16027         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16028         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16029         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16030         * sysdeps/sparc/sparc32/rem.S: Likewise.
16031         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16032         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16033         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16034         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16035         * sysdeps/sparc/sparc32/urem.S: Likewise.
16036         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16037         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16038         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16039         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16041         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16042         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16043         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16044         * sysdeps/unix/bsd/times.c: Likewise.
16045         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16046         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16050         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16051         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16052         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16053         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16054         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16055         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16056         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16057         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16058         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16059         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16060         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16061         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16062         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16063         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16064         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16065         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16066         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16067         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16068         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16069         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16070         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16071         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16072         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16073         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16074         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16075         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16076         * sysdeps/x86_64/strcspn.S: Likewise.
16077
16078 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16079
16080         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16081         generated file.  Regenerate properly from gen-translit.pl.
16082         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16083         locale/C-translit.h.
16084
16085 2013-06-05  Andreas Schwab  <schwab@suse.de>
16086
16087         [BZ #15100]
16088         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16089         week as 6 instead of -1.
16090         * time/tst-strptime.c (day_tests): Add test case.
16091
16092 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16093
16094         * sysdeps/generic/math_private.h
16095         (libc_feholdexcept_setround_53bit): Replace with
16096         libc_feholdsetround_53bit.
16097         (libc_feupdateenv_53bit): Replace with
16098         libc_feresetround_53bit.
16099         (SET_RESTORE_ROUND_53BIT): Adjust.
16100
16101 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16102
16103         * string/test-strchrnul.c: Add copyright header.
16104
16105         * posix/tst-getaddrinfo4.c: Increase test timeout.
16106
16107 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16108
16109         [BZ #15536]
16110         * math/libm-test.inc (MAX_EXP): Remove
16111         (MIN_EXP): Define.
16112         (ulp): Use MIN_EXP - MANT_DIG.
16113         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16114
16115 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16116
16117         * po/be.po: Revert last change.
16118         * po/zh_CN.po: Likewise.
16119         * po/header.pot: Likewise.
16120
16121 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16122
16123         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16124         link-libc-deps to empty as target-specific variable.
16125         * Makerules (link-libc-args): New variable.
16126         (libc-for-link): Likewise.
16127         (link-libc-deps): Likewise.
16128         (lib%.so): Depend on $(link-libc-deps).  Link with
16129         $(link-libc-args).
16130         (build-module): Link with $(link-libc-args).
16131         (build-module-asneeded): Likewise.
16132         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16133         list of objects.
16134         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16135         target-specific variable.
16136         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16137         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16138         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16139         libc.
16140         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16141         libc and ld.so.
16142         ($(objpfx)libpcprofile.so): Likewise.
16143         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16144         libc_nonshared.a.
16145         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16146         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16147         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16148         $(link-libc-deps).
16149         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16150         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16151         * login/Makefile ($(objpfx)libutil.so): Likewise.
16152         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16153         * math/Makefile ($(objpfx)libm.so): Likewise.
16154         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16155         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16156         variable instead of depending directly on libc.
16157         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16158         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16159         $(link-libc-deps).
16160         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16161         libc.
16162         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16163         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16164         ($(objpfx)libanl.so): Likewise.
16165         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16166         ld.so.
16167         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16168         $(link-libc-deps).
16169         * sysdeps/i386/fpu/Makefile: Remove file.
16170         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16171         ($(objpfx)libm.so): Remove dependency on ld.so.
16172
16173 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16174
16175         [BZ # 15553]
16176         * nis/yp_xdr.c (XDRMAXNAME): Define.
16177         (XDRMAXRECORD): Define.
16178         (xdr_domainname): Use XDRMAXNAME.
16179         (xdr_mapname): Likewise.
16180         (xdr_peername): Likewise.
16181         (xdr_keydat): Use XDRMAXRECORD.
16182         (xdr_valdat): Likewise.
16183
16184 2013-05-30  Jeff Law  <law@redhat.com>
16185
16186         [BZ #14256]
16187         * manual/errno.texi (ESTALE): Update to account for more than
16188         just NFS file systems.
16189         * sysdeps/gnu/errlist.c: Regenerated.
16190
16191 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16192
16193         [BZ #15465]
16194         * elf/Makefile (tests): Add tst-null-argv.
16195         (modules-names):  Add tst-null-argv-lib.
16196         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16197         (tst-null-argv-ENV): Set environment for tst-null-argv.
16198         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16199         (RTLD_PROGNAME): New macro.
16200         * elf/tst-null-argv.c: New test case.
16201         * elf/tst-null-argv-lib.c: Library for test case.
16202         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16203         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16204         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16205         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16206         * elf/dl-init.c (call_init): Likewise.
16207         (_dl_init): Likewise.
16208         * elf/dl-load.c (print_search_path): Likewise.
16209         (_dl_map_object): Likewise.
16210         * elf/dl-lookup.c (do_lookup_x): Likewise.
16211         (add_dependency): Likewise.
16212         (_dl_lookup_symbol_x): Likewise.
16213         (_dl_debug_bindings): Likewise.
16214         * elf/dl-open.c (_dl_show_scope): Likewise.
16215         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16216         * elf/dl-version.c (match_symbol): Likewise.
16217         (_dl_check_map_versions): Likewise.
16218         * elf/rtld.c (dl_main): Likewise.
16219         (print_unresolved): Use RTLD_PROGNAME.
16220         (print_missing_version): Likewise.
16221         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16222         (elf_machine_rela): Likewise.
16223         * sysdeps/powerpc/powerpc32/dl-machine.c
16224         (__process_machine_rela): Likewise.
16225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16226         Likewise.
16227         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16228         Likewise.
16229         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16230         Likewise.
16231         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16232         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16233         Likewise.
16234         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16235         Likewise.
16236         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16237
16238 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16239
16240         * po/be.po: Add descriptive title.
16241         * po/zh_CN.po: Likewise.
16242         * po/header.pot: Likewise.
16243
16244 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16245
16246         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16247         error message.
16248         (enlarge_archive): Likewise.
16249
16250 2013-05-28  Ben North  <ben@redfrontdoor.org>
16251
16252         * manual/arith.texi (frexp): It is the magnitude of the return
16253         value which lies in [0.5, 1), not the return value itself.
16254
16255 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16256
16257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16258
16259 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16260
16261         * stdio-common/bug26.c (main): Correct fscanf template.
16262
16263         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16264         declare _dl_skip_args.
16265
16266         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16267         Don't declare.
16268
16269         * manual/platform.texi: Add missing @end deftypefun.
16270
16271 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16272
16273         [BZ #15529]
16274         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16275         bit of mantissa of 2^16382.
16276         * math/libm-test.inc (hypot_test_data): Add more tests.
16277
16278         * math/libm-test.inc: Add drem and pow10 to list of tested
16279         functions.
16280         (pow10_test): New function.
16281         (drem_test): Likewise.
16282         (drem_test_tonearest): Likewise.
16283         (drem_test_towardzero): Likewise.
16284         (drem_test_downward): Likewise.
16285         (drem_test_upward): Likewise.
16286         (main): Call the new functions.
16287
16288         * math/libm-test.inc (finite_test_data): Remove.
16289         (finite_test): Run tests from isfinite_test_data.
16290         (gamma_test_data): Remove.
16291         (gamma_test): Run tests from lgamma_test_data.
16292         * sysdeps/i386/fpu/libm-test-ulps: Update.
16293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16294
16295 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16296
16297         * manual/platform.texi: Add PowerPC PPR function set documentation.
16298         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16299         implementation.
16300
16301 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16302
16303         * math/libm-test.inc (MAX_EXP): Define.
16304         (ULPDIFF): Define.
16305         (ulp): New function.
16306         (check_float_internal): Use ULPDIFF.
16307         (cpow_test): Disable failing test.
16308         (check_ulp): Test ulp() implemetnation.
16309         (main): Call check_ulp before starting tests.
16310
16311 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16312
16313         * math/gen-libm-test.pl (generate_testfile): Do not handle
16314         START_DATA and END_DATA.
16315         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16316         END_DATA.
16317         (acos_tonearest_test_data): Likewise.
16318         (acos_towardzero_test_data): Likewise.
16319         (acos_downward_test_data): Likewise.
16320         (acos_upward_test_data): Likewise.
16321         (acosh_test_data): Likewise.
16322         (asin_test_data): Likewise.
16323         (asin_tonearest_test_data): Likewise.
16324         (asin_towardzero_test_data): Likewise.
16325         (asin_downward_test_data): Likewise.
16326         (asin_upward_test_data): Likewise.
16327         (asinh_test_data): Likewise.
16328         (atan_test_data): Likewise.
16329         (atanh_test_data): Likewise.
16330         (atan2_test_data): Likewise.
16331         (cabs_test_data): Likewise.
16332         (cacos_test_data): Likewise.
16333         (cacosh_test_data): Likewise.
16334         (carg_test_data): Likewise.
16335         (casin_test_data): Likewise.
16336         (casinh_test_data): Likewise.
16337         (catan_test_data): Likewise.
16338         (catanh_test_data): Likewise.
16339         (cbrt_test_data): Likewise.
16340         (ccos_test_data): Likewise.
16341         (ccosh_test_data): Likewise.
16342         (ceil_test_data): Likewise.
16343         (cexp_test_data): Likewise.
16344         (cimag_test_data): Likewise.
16345         (clog_test_data): Likewise.
16346         (clog10_test_data): Likewise.
16347         (conj_test_data): Likewise.
16348         (copysign_test_data): Likewise.
16349         (cos_test_data): Likewise.
16350         (cos_tonearest_test_data): Likewise.
16351         (cos_towardzero_test_data): Likewise.
16352         (cos_downward_test_data): Likewise.
16353         (cos_upward_test_data): Likewise.
16354         (cosh_test_data): Likewise.
16355         (cosh_tonearest_test_data): Likewise.
16356         (cosh_towardzero_test_data): Likewise.
16357         (cosh_downward_test_data): Likewise.
16358         (cosh_upward_test_data): Likewise.
16359         (cpow_test_data): Likewise.
16360         (cproj_test_data): Likewise.
16361         (creal_test_data): Likewise.
16362         (csin_test_data): Likewise.
16363         (csinh_test_data): Likewise.
16364         (csqrt_test_data): Likewise.
16365         (ctan_test_data): Likewise.
16366         (ctan_tonearest_test_data): Likewise.
16367         (ctan_towardzero_test_data): Likewise.
16368         (ctan_downward_test_data): Likewise.
16369         (ctan_upward_test_data): Likewise.
16370         (ctanh_test_data): Likewise.
16371         (ctanh_tonearest_test_data): Likewise.
16372         (ctanh_towardzero_test_data): Likewise.
16373         (ctanh_downward_test_data): Likewise.
16374         (ctanh_upward_test_data): Likewise.
16375         (erf_test_data): Likewise.
16376         (erfc_test_data): Likewise.
16377         (exp_test_data): Likewise.
16378         (exp_tonearest_test_data): Likewise.
16379         (exp_towardzero_test_data): Likewise.
16380         (exp_downward_test_data): Likewise.
16381         (exp_upward_test_data): Likewise.
16382         (exp10_test_data): Likewise.
16383         (exp2_test_data): Likewise.
16384         (expm1_test_data): Likewise.
16385         (fabs_test_data): Likewise.
16386         (fdim_test_data): Likewise.
16387         (finite_test_data): Likewise.
16388         (floor_test_data): Likewise.
16389         (fma_test_data): Likewise.
16390         (fma_towardzero_test_data): Likewise.
16391         (fma_downward_test_data): Likewise.
16392         (fma_upward_test_data): Likewise.
16393         (fmax_test_data): Likewise.
16394         (fmin_test_data): Likewise.
16395         (fmod_test_data): Likewise.
16396         (fpclassify_test_data): Likewise.
16397         (frexp_test_data): Likewise.
16398         (gamma_test_data): Likewise.
16399         (hypot_test_data): Likewise.
16400         (ilogb_test_data): Likewise.
16401         (isfinite_test_data): Likewise.
16402         (isgreater_test_data): Likewise.
16403         (isgreaterequal_test_data): Likewise.
16404         (isinf_test_data): Likewise.
16405         (isless_test_data): Likewise.
16406         (islessequal_test_data): Likewise.
16407         (islessgreater_test_data): Likewise.
16408         (isnan_test_data): Likewise.
16409         (isnormal_test_data): Likewise.
16410         (issignaling_test_data): Likewise.
16411         (isunordered_test_data): Likewise.
16412         (j0_test_data): Likewise.
16413         (j1_test_data): Likewise.
16414         (jn_test_data): Likewise.
16415         (ldexp_test_data): Likewise.
16416         (lgamma_test_data): Likewise.
16417         (lrint_test_data): Likewise.
16418         (lrint_tonearest_test_data): Likewise.
16419         (lrint_towardzero_test_data): Likewise.
16420         (lrint_downward_test_data): Likewise.
16421         (lrint_upward_test_data): Likewise.
16422         (llrint_test_data): Likewise.
16423         (llrint_tonearest_test_data): Likewise.
16424         (llrint_towardzero_test_data): Likewise.
16425         (llrint_downward_test_data): Likewise.
16426         (llrint_upward_test_data): Likewise.
16427         (log_test_data): Likewise.
16428         (log10_test_data): Likewise.
16429         (log1p_test_data): Likewise.
16430         (log2_test_data): Likewise.
16431         (logb_test_data): Likewise.
16432         (logb_downward_test_data): Likewise.
16433         (lround_test_data): Likewise.
16434         (llround_test_data): Likewise.
16435         (modf_test_data): Likewise.
16436         (nearbyint_test_data): Likewise.
16437         (nextafter_test_data): Likewise.
16438         (nexttoward_test_data): Likewise.
16439         (pow_test_data): Likewise.
16440         (pow_tonearest_test_data): Likewise.
16441         (pow_towardzero_test_data): Likewise.
16442         (pow_downward_test_data): Likewise.
16443         (pow_upward_test_data): Likewise.
16444         (remainder_test_data): Likewise.
16445         (remainder_tonearest_test_data): Likewise.
16446         (remainder_towardzero_test_data): Likewise.
16447         (remainder_downward_test_data): Likewise.
16448         (remainder_upward_test_data): Likewise.
16449         (remquo_test_data): Likewise.
16450         (rint_test_data): Likewise.
16451         (rint_tonearest_test_data): Likewise.
16452         (rint_towardzero_test_data): Likewise.
16453         (rint_downward_test_data): Likewise.
16454         (rint_upward_test_data): Likewise.
16455         (round_test_data): Likewise.
16456         (scalb_test_data): Likewise.
16457         (scalbn_test_data): Likewise.
16458         (scalbln_test_data): Likewise.
16459         (signbit_test_data): Likewise.
16460         (sin_test_data): Likewise.
16461         (sin_tonearest_test_data): Likewise.
16462         (sin_towardzero_test_data): Likewise.
16463         (sin_downward_test_data): Likewise.
16464         (sin_upward_test_data): Likewise.
16465         (sincos_test_data): Likewise.
16466         (sinh_test_data): Likewise.
16467         (sinh_tonearest_test_data): Likewise.
16468         (sinh_towardzero_test_data): Likewise.
16469         (sinh_downward_test_data): Likewise.
16470         (sinh_upward_test_data): Likewise.
16471         (sqrt_test_data): Likewise.
16472         (tan_test_data): Likewise.
16473         (tan_tonearest_test_data): Likewise.
16474         (tan_towardzero_test_data): Likewise.
16475         (tan_downward_test_data): Likewise.
16476         (tan_upward_test_data): Likewise.
16477         (tanh_test_data): Likewise.
16478         (tgamma_test_data): Likewise.
16479         (trunc_test_data): Likewise.
16480         (y0_test_data): Likewise.
16481         (y1_test_data): Likewise.
16482         (yn_test_data): Likewise.
16483         (significand_test_data): Likewise.
16484
16485         * math/gen-libm-test.pl (@functions): Remove variable.
16486         (generate_testfile): Don't handle START and END lines.
16487         * math/libm-test.inc (START): New macro.
16488         (END): Likewise.
16489         (END_COMPLEX): Likewise.
16490         (acos_test): Use END macro without arguments.
16491         (acos_test_tonearest): Likewise.
16492         (acos_test_towardzero): Likewise.
16493         (acos_test_downward): Likewise.
16494         (acos_test_upward): Likewise.
16495         (acosh_test): Likewise.
16496         (asin_test): Likewise.
16497         (asin_test_tonearest): Likewise.
16498         (asin_test_towardzero): Likewise.
16499         (asin_test_downward): Likewise.
16500         (asin_test_upward): Likewise.
16501         (asinh_test): Likewise.
16502         (atan_test): Likewise.
16503         (atanh_test): Likewise.
16504         (atan2_test): Likewise.
16505         (cabs_test): Likewise.
16506         (cacos_test): Use END_COMPLEX macro without arguments.
16507         (cacosh_test): Likewise.
16508         (carg_test): Use END macro without arguments.
16509         (casin_test): Use END_COMPLEX macro without arguments.
16510         (casinh_test): Likewise.
16511         (catan_test): Likewise.
16512         (catanh_test): Likewise.
16513         (cbrt_test): Use END macro without arguments.
16514         (ccos_test): Use END_COMPLEX macro without arguments.
16515         (ccosh_test): Likewise.
16516         (ceil_test): Use END macro without arguments.
16517         (cexp_test): Use END_COMPLEX macro without arguments.
16518         (cimag_test): Use END macro without arguments.
16519         (clog_test): Use END_COMPLEX macro without arguments.
16520         (clog10_test): Likewise.
16521         (conj_test): Likewise.
16522         (copysign_test): Use END macro without arguments.
16523         (cos_test): Likewise.
16524         (cos_test_tonearest): Likewise.
16525         (cos_test_towardzero): Likewise.
16526         (cos_test_downward): Likewise.
16527         (cos_test_upward): Likewise.
16528         (cosh_test): Likewise.
16529         (cosh_test_tonearest): Likewise.
16530         (cosh_test_towardzero): Likewise.
16531         (cosh_test_downward): Likewise.
16532         (cosh_test_upward): Likewise.
16533         (cpow_test): Use END_COMPLEX macro without arguments.
16534         (cproj_test): Likewise.
16535         (creal_test): Use END macro without arguments.
16536         (csin_test): Use END_COMPLEX macro without arguments.
16537         (csinh_test): Likewise.
16538         (csqrt_test): Likewise.
16539         (ctan_test): Likewise.
16540         (ctan_test_tonearest): Likewise.
16541         (ctan_test_towardzero): Likewise.
16542         (ctan_test_downward): Likewise.
16543         (ctan_test_upward): Likewise.
16544         (ctanh_test): Likewise.
16545         (ctanh_test_tonearest): Likewise.
16546         (ctanh_test_towardzero): Likewise.
16547         (ctanh_test_downward): Likewise.
16548         (ctanh_test_upward): Likewise.
16549         (erf_test): Use END macro without arguments.
16550         (erfc_test): Likewise.
16551         (exp_test): Likewise.
16552         (exp_test_tonearest): Likewise.
16553         (exp_test_towardzero): Likewise.
16554         (exp_test_downward): Likewise.
16555         (exp_test_upward): Likewise.
16556         (exp10_test): Likewise.
16557         (exp2_test): Likewise.
16558         (expm1_test): Likewise.
16559         (fabs_test): Likewise.
16560         (fdim_test): Likewise.
16561         (finite_test): Likewise.
16562         (floor_test): Likewise.
16563         (fma_test): Likewise.
16564         (fma_test_towardzero): Likewise.
16565         (fma_test_downward): Likewise.
16566         (fma_test_upward): Likewise.
16567         (fmax_test): Likewise.
16568         (fmin_test): Likewise.
16569         (fmod_test): Likewise.
16570         (fpclassify_test): Likewise.
16571         (frexp_test): Likewise.
16572         (gamma_test): Likewise.
16573         (hypot_test): Likewise.
16574         (ilogb_test): Likewise.
16575         (isfinite_test): Likewise.
16576         (isgreater_test): Likewise.
16577         (isgreaterequal_test): Likewise.
16578         (isinf_test): Likewise.
16579         (isless_test): Likewise.
16580         (islessequal_test): Likewise.
16581         (islessgreater_test): Likewise.
16582         (isnan_test): Likewise.
16583         (isnormal_test): Likewise.
16584         (issignaling_test): Likewise.
16585         (isunordered_test): Likewise.
16586         (j0_test): Likewise.
16587         (j1_test): Likewise.
16588         (jn_test): Likewise.
16589         (ldexp_test): Likewise.
16590         (lgamma_test): Likewise.
16591         (lrint_test): Likewise.
16592         (lrint_test_tonearest): Likewise.
16593         (lrint_test_towardzero): Likewise.
16594         (lrint_test_downward): Likewise.
16595         (lrint_test_upward): Likewise.
16596         (llrint_test): Likewise.
16597         (llrint_test_tonearest): Likewise.
16598         (llrint_test_towardzero): Likewise.
16599         (llrint_test_downward): Likewise.
16600         (llrint_test_upward): Likewise.
16601         (log_test): Likewise.
16602         (log10_test): Likewise.
16603         (log1p_test): Likewise.
16604         (log2_test): Likewise.
16605         (logb_test): Likewise.
16606         (logb_test_downward): Likewise.
16607         (lround_test): Likewise.
16608         (llround_test): Likewise.
16609         (modf_test): Likewise.
16610         (nearbyint_test): Likewise.
16611         (nextafter_test): Likewise.
16612         (nexttoward_test): Likewise.
16613         (pow_test): Likewise.
16614         (pow_test_tonearest): Likewise.
16615         (pow_test_towardzero): Likewise.
16616         (pow_test_downward): Likewise.
16617         (pow_test_upward): Likewise.
16618         (remainder_test): Likewise.
16619         (remainder_test_tonearest): Likewise.
16620         (remainder_test_towardzero): Likewise.
16621         (remainder_test_downward): Likewise.
16622         (remainder_test_upward): Likewise.
16623         (remquo_test): Likewise.
16624         (rint_test): Likewise.
16625         (rint_test_tonearest): Likewise.
16626         (rint_test_towardzero): Likewise.
16627         (rint_test_downward): Likewise.
16628         (rint_test_upward): Likewise.
16629         (round_test): Likewise.
16630         (scalb_test): Likewise.
16631         (scalbn_test): Likewise.
16632         (scalbln_test): Likewise.
16633         (signbit_test): Likewise.
16634         (sin_test): Likewise.
16635         (sin_test_tonearest): Likewise.
16636         (sin_test_towardzero): Likewise.
16637         (sin_test_downward): Likewise.
16638         (sin_test_upward): Likewise.
16639         (sincos_test): Likewise.
16640         (sinh_test): Likewise.
16641         (sinh_test_tonearest): Likewise.
16642         (sinh_test_towardzero): Likewise.
16643         (sinh_test_downward): Likewise.
16644         (sinh_test_upward): Likewise.
16645         (sqrt_test): Likewise.
16646         (tan_test): Likewise.
16647         (tan_test_tonearest): Likewise.
16648         (tan_test_towardzero): Likewise.
16649         (tan_test_downward): Likewise.
16650         (tan_test_upward): Likewise.
16651         (tanh_test): Likewise.
16652         (tgamma_test): Likewise.
16653         (trunc_test): Likewise.
16654         (y0_test): Likewise.
16655         (y1_test): Likewise.
16656         (yn_test): Likewise.
16657         (significand_test): Likewise.
16658
16659 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16660
16661         [BZ #15381]
16662         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16663
16664 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16665
16666         [BZ #14894]
16667         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16668         __ppc_mdoio and __ppc_mdoom.
16669         * manual/platform.texi: Document new functions __ppc_yield,
16670         __ppc_mdoio and __ppc_mdoom.
16671
16672 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16673
16674         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16675         (main): Mention "tls" pseudo-hwcap is legacy.
16676         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16677
16678 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16679
16680         * math/gen-libm-test.pl (parse_args): Output only string of
16681         arguments as text for test name, not full call or descriptions of
16682         tests for extra outputs.
16683         (generate_testfile): Do not pass function name to parse_args.
16684         Generate this_func variable from START.
16685         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16686         field to arg_str.
16687         (struct test_ff_f_data): Likewise.
16688         (test_ff_f_data_nexttoward): Likewise.
16689         (struct test_fi_f_data): Likewise.
16690         (struct test_fl_f_data): Likewise.
16691         (struct test_if_f_data): Likewise.
16692         (struct test_fff_f_data): Likewise.
16693         (struct test_c_f_data): Likewise.
16694         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16695         (struct test_fF_f1_data): Likewise.
16696         (struct test_ffI_f1_data): Likewise.
16697         (struct test_c_c_data): Rename test_name field to arg_str.
16698         (struct test_cc_c_data): Likewise.
16699         (struct test_f_i_data): Likewise.
16700         (struct test_ff_i_data): Likewise.
16701         (struct test_f_l_data): Likewise.
16702         (struct test_f_L_data): Likewise.
16703         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16704         and extra2_name.
16705         (COMMON_TEST_SETUP): New macro.
16706         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16707         (COMMON_TEST_CLEANUP): Likewise.
16708         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16709         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16710         macros.
16711         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16712         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16713         macros.
16714         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16715         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16716         cleanup macros.
16717         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16718         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16719         macros.
16720         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16721         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16722         macros.
16723         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16724         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16725         cleanup macros.
16726         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16727         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16728         cleanup macros.
16729         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16730         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16731         cleanup macros.
16732         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16733         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16734         macros.
16735         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16736         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16737         macros.
16738         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16739         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16740         macros.
16741         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16742         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16743         cleanup macros.
16744         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16745         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16746         cleanup macros.
16747         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16748         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16749         macros.
16750         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16751         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16752         cleanup macros.
16753         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16754         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16755         macros.
16756         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16757         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16758         macros.
16759         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16760         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16761         cleanup macros.
16762         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16763
16764 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16765
16766         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16767         to _sifields.sigfault.
16768         (si_addr_lsb): Define new macro.
16769         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16772
16773 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16774
16775         [BZ #15441]
16776         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16777         returns -1.
16778         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16779         null return -1.
16780         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16781         loading the domain.
16782
16783 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16784
16785         * math/gen-libm-test.pl (parse_args): Do not include expected
16786         result in test name.
16787         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16788         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16789         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16790         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16791         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16793
16794 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16795
16796         * benchtests/Makefile: Sort function entries.
16797
16798         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16799         tanh, asinh, acosh, atanh.
16800         * benchtests/acos-inputs: New file.
16801         * benchtests/acosh-inputs: New file.
16802         * benchtests/asin-inputs: New file.
16803         * benchtests/asinh-inputs: New file.
16804         * benchtests/atanh-inputs: New file.
16805         * benchtests/cosh-inputs: New file.
16806         * benchtests/log-inputs: New file.
16807         * benchtests/sinh-inputs: New file.
16808         * benchtests/tanh-inputs: New file.
16809
16810 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16811
16812         [BZ #15339]
16813         * posix/tst-getaddrinfo4.c: New test.
16814         * posix/Makefile (tests): Add it.
16815
16816 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16817
16818         [BZ #15339]
16819         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16820         when no services were used.
16821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16822         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16823
16824 2013-05-21  Andreas Schwab  <schwab@suse.de>
16825
16826         [BZ #15014]
16827         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16828         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16829         successful.
16830         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16831         redundant variable declarations and reallocation of buffer when
16832         parsing as IPv6 address.  Always set NSS status when called from
16833         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16834         buffer too small.  Correct computation of needed size.
16835         * nss/Makefile (tests): Add test-digits-dots.
16836         * nss/test-digits-dots.c: New test.
16837
16838 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16839
16840         * benchtests/Makefile: Remove instructions for adding
16841         benchmark tests.
16842         * benchtests/README: New file to explain how to execute and
16843         enhance the benchmark tests.
16844
16845 2013-05-21  Andreas Schwab  <schwab@suse.de>
16846
16847         [BZ #15493]
16848         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16849         * setjmp/tst-sigsetjmp.c: New test.
16850
16851 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16852
16853         * sysdeps/x86_64/memset.S (memset): New implementation.
16854         (__bzero): Likewise.
16855         (__memset_tail): New function.
16856
16857 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16858
16859         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16860         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16861         __memcpy_sse2_unaligned ifunc selection.
16862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16863         Add memcpy-sse2-unaligned.S.
16864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16865         Add: __memcpy_sse2_unaligned.
16866
16867 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16868
16869         [BZ #15490]
16870         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16871         math_force_eval before restoring floating-point envrionment.
16872         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16873         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16874         Likewise.
16875         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16876         <math_private.h>.
16877         (__nearbyintl): Use math_force_eval before restoring
16878         floating-point environment.
16879         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16880
16881         * math/gen-libm-test.pl (special_functions): Remove.
16882         (parse_args): Don't handle TEST_extra.  Handle functions with no
16883         return value.
16884         * math/libm-test.inc (struct test_sincos_data): Replace with
16885         struct test_fFF_11_data.
16886         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16887         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16888         (sincos_test_data): Change element type to struct
16889         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16890         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16891         RUN_TEST_LOOP_sincos.
16892         * math/README.libm-test: Don't mention special handling of
16893         individual functions.
16894         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16895         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16896         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16897         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16898         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16900
16901         * math/gen-libm-test.pl (get_variable): Remove function.
16902         (parse_args): Don't show pointer parameters to call in test
16903         names.  Use "extra output N" in test names for extra outputs
16904         rather than naming variables.
16905
16906 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16907
16908         [BZ #15488]
16909         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16910         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16911         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16912         double tests.
16913         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16914         disable.
16915         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16916         check_long_double.
16917
16918         * math/gen-libm-test.pl (@tests): Remove variable.
16919         ($count): Likewise.
16920         (new_test): Remove function.
16921         (show_exceptions): New function.
16922         (special_functions): Use show_exceptions instead of new_test.
16923         (parse_args): Likewise.
16924         (generate_testfile): Pass only function name in generated call to
16925         print_max_error or print_complex_max_error.
16926         (get_ulps): Do not handle complex tests specially.
16927         (output_test): Rename to ...
16928         (get_all_ulps_for_test): ... this.  Return a string rather than
16929         printing to a file.  Require ulps to be present.
16930         (output_ulps): Generate arrays rather than #defines.
16931         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16932         (struct ulp_data): New type.
16933         (BUILD_COMPLEX_ULP): Remove macro.
16934         (compare_ulp_data): New function.
16935         (find_ulps): Likewise.
16936         (find_test_ulps): Likewise.
16937         (find_function_ulps): Likewise.
16938         (find_complex_function_ulps): Likewise.
16939         (print_max_error): Determine allowed ulps using
16940         find_function_ulps.
16941         (print_complex_max_error): Determine allowed ulps using
16942         find_complex_function_ulps.
16943         (check_float_internal): Determine max ulps using find_test_ulps.
16944         (check_float): Do not take max_ulp parameter.  Update call to
16945         check_float_internal.
16946         (check_complex): Likewise.
16947         (check_int): Do not take max_ulp parameter.
16948         (check_long): Likewise.
16949         (check_bool): Likewise.
16950         (check_longlong): Likewise.
16951         (struct test_f_f_data): Remove max_ulp field.
16952         (struct test_ff_f_data): Likewise.
16953         (struct test_ff_f_data_nexttoward): Likewise.
16954         (struct test_fi_f_data): Likewise.
16955         (struct test_fl_f_data): Likewise.
16956         (struct test_if_f_data): Likewise.
16957         (struct test_fff_f_data): Likewise.
16958         (struct test_c_f_data): Likewise.
16959         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16960         (struct test_fF_f1_data): Likewise.
16961         (struct test_ffI_f1_data): Likewise.
16962         (struct test_c_c_data): Remove max_ulp field.
16963         (struct test_cc_c_data): Likewise.
16964         (struct test_f_i_data): Likewise.
16965         (struct test_ff_i_data): Likewise.
16966         (struct test_f_l_data): Likewise.
16967         (struct test_f_L_data): Likewise.
16968         (struct test_sincos_data): Likewise.
16969         (RUN_TEST_f_f): Do not handle ulps.
16970         (RUN_TEST_LOOP_f_f): Likewise.
16971         (RUN_TEST_2_f): Likewise.
16972         (RUN_TEST_LOOP_2_f): Likewise.
16973         (RUN_TEST_fff_f): Likewise.
16974         (RUN_TEST_LOOP_fff_f): Likewise.
16975         (RUN_TEST_c_f): Likewise.
16976         (RUN_TEST_LOOP_c_f): Likewise.
16977         (RUN_TEST_f_f1): Likewise.
16978         (RUN_TEST_LOOP_f_f1): Likewise.
16979         (RUN_TEST_fF_f1): Likewise.
16980         (RUN_TEST_LOOP_fF_f1): Likewise.
16981         (RUN_TEST_fI_f1): Likewise.
16982         (RUN_TEST_LOOP_fI_f1): Likewise.
16983         (RUN_TEST_ffI_f1): Likewise.
16984         (RUN_TEST_LOOP_ffI_f1): Likewise.
16985         (RUN_TEST_c_c): Likewise.
16986         (RUN_TEST_LOOP_c_c): Likewise.
16987         (RUN_TEST_cc_c): Likewise.
16988         (RUN_TEST_LOOP_cc_c): Likewise.
16989         (RUN_TEST_f_i): Likewise.
16990         (RUN_TEST_LOOP_f_i): Likewise.
16991         (RUN_TEST_f_i_tg): Likewise.
16992         (RUN_TEST_LOOP_f_i_tg): Likewise.
16993         (RUN_TEST_ff_i_tg): Likewise.
16994         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16995         (RUN_TEST_f_b): Likewise.
16996         (RUN_TEST_LOOP_f_b): Likewise.
16997         (RUN_TEST_f_b_tg): Likewise.
16998         (RUN_TEST_LOOP_f_b_tg): Likewise.
16999         (RUN_TEST_f_l): Likewise.
17000         (RUN_TEST_LOOP_f_l): Likewise.
17001         (RUN_TEST_f_L): Likewise.
17002         (RUN_TEST_LOOP_f_L): Likewise.
17003         (RUN_TEST_sincos): Likewise.
17004         (RUN_TEST_LOOP_sincos): Likewise.
17005
17006 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17007
17008         [BZ #15480]
17009         [BZ #15485]
17010         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17011         main case of finite arguments, set rounding mode to FE_TONEAREST
17012         and discard exceptions.
17013         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17014         exceptions.
17015         (remainder_tonearest_test_data): New variable.
17016         (remainder_test_tonearest): New function.
17017         (remainder_towardzero_test_data): New variable.
17018         (remainder_test_towardzero): New function.
17019         (remainder_downward_test_data): New variable.
17020         (remainder_test_downward): New function.
17021         (remainder_upward_test_data): New variable.
17022         (remainder_test_upward): New function.
17023         (main): Call the new test functions.
17024
17025         * math/libm-test.inc (struct test_f_f1_data): Remove field
17026         extra_init.
17027         (struct test_fF_f1_data): Likewise.
17028         (struct test_ffI_f1_data): Likewise.
17029         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17030         based on value of EXTRA_EXPECTED.
17031         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17032         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17033         EXTRA_VAR based on value of EXTRA_EXPECTED.
17034         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17035         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17036         EXTRA_VAR based on value of EXTRA_EXPECTED.
17037         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17038         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17039         EXTRA_VAR based on value of EXTRA_EXPECTED.
17040         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17041         * math/gen-libm-test.pl (parse_args): Don't output initializers
17042         for extra output values.
17043
17044         * math/libm-test.inc (check_int): Expect result to be exactly
17045         equal to expected value and do not handle ulps.
17046         (check_long): Likewise.
17047         (check_longlong): Likewise.
17048
17049         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17050         exceptions.
17051         (cimag_test_data): Likewise.
17052         (conj_test_data): Likewise.
17053         (copysign_test_data): Likewise.
17054         (cproj_test_data): Likewise.
17055         (creal_test_data): Likewise.
17056         (fabs_test_data): Likewise.
17057         (fdim_test_data): Likewise.
17058         (finite_test_data): Likewise.
17059         (floor_test_data): Likewise.
17060         (fmax_test_data): Likewise.
17061         (fmin_test_data): Likewise.
17062         (fmod_test_data): Likewise.
17063         (fpclassify_test_data): Likewise.
17064         (frexp_test_data): Likewise.
17065         (ilogb_test_data): Likewise.
17066         (isfinite_test_data): Likewise.
17067         (isgreater_test_data): Likewise.
17068         (isgreaterequal_test_data): Likewise.
17069         (isinf_test_data): Likewise.
17070         (isless_test_data): Likewise.
17071         (islessequal_test_data): Likewise.
17072         (islessgreater_test_data): Likewise.
17073         (isnan_test_data): Likewise.
17074         (isnormal_test_data): Likewise.
17075         (issignaling_test_data): Likewise.
17076         (isunordered_test_data): Likewise.
17077         (ldexp_test_data): Likewise.
17078         (lrint_test_data): Likewise.
17079         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17080         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17081         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17082         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17083         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17084         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17085         test input.
17086         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17087         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17088         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17089         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17090         that test input.
17091         (lrint_downward_test_data): Test for "inexact" exceptions.
17092         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17093         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17094         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17095         test input.
17096         (lrint_upward_test_data): Test for "inexact" exceptions.
17097         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17098         test input.
17099         (llrint_test_data): Test for "inexact" exceptions.
17100         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17101         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17102         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17103         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17104         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17105         (llrint_downward_test_data): Test for "inexact" exceptions.
17106         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17107         (llrint_upward_test_data): Test for "inexact" exceptions.
17108         (logb_test_data): Likewise.
17109         (logb_downward_test_data): Likewise.
17110         (nextafter_test_data): Likewise.
17111         (nexttoward_test_data): Likewise.
17112         (remainder_test_data): Likewise.
17113         (remquo_test_data): Likewise.
17114         (scalbn_test_data): Likewise.
17115         (scalbln_test_data): Likewise.
17116         (signbit_test_data): Likewise.
17117         (sqrt_test_data): Likewise.
17118         (significand_test_data): Likewise.
17119
17120 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17121
17122         [BZ #15424]
17123         * benchtests/bench-modf.c (struct args): Mark arg0 as
17124         volatile.
17125         * scripts/bench.pl: Mark members of struct args as volatile.
17126
17127 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17128
17129         [BZ # 15497]
17130         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17131         negative infinity on POWER6 or lower.
17132         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17133
17134 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17135
17136         [BZ #15442]
17137         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17138         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17139         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17140         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17141         (_FP_SETQNAN): New macro.
17142         (_FP_SETQNAN_SEMIRAW): Likewise.
17143         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17144         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17145         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17146         (FP_EXTEND): Use _FP_FRAC_SNANP.
17147         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17148         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17149         into account.
17150         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17151         New macro.
17152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17153         Likewise.
17154
17155 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17156
17157         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17158         with DIVIDE_BY_ZERO_EXCEPTION.
17159         (gamma_test_data): Likewise.
17160         (lgamma_test_data): Likewise.
17161         (log_test_data): Likewise.
17162         (log10_test_data): Likewise.
17163         (log2_test_data): Likewise.
17164         (tgamma_test_data): Likewise.
17165
17166         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17167         (acos_test_tonearest): Likewise.
17168         (acos_test_towardzero): Likewise.
17169         (acos_test_downward): Likewise.
17170         (acos_test_upward): Likewise.
17171         (acosh_test): Likewise.
17172         (asin_test): Likewise.
17173         (asin_test_tonearest): Likewise.
17174         (asin_test_towardzero): Likewise.
17175         (asin_test_downward): Likewise.
17176         (asin_test_upward): Likewise.
17177         (asinh_test): Likewise.
17178         (atan_test): Likewise.
17179         (atanh_test): Likewise.
17180         (atan2_test): Likewise.
17181         (cabs_test): Likewise.
17182         (cacos_test): Likewise.
17183         (cacosh_test): Likewise.
17184         (casin_test): Likewise.
17185         (casinh_test): Likewise.
17186         (catan_test): Likewise.
17187         (catanh_test): Likewise.
17188         (cbrt_test): Likewise.
17189         (ccos_test): Likewise.
17190         (ccosh_test): Likewise.
17191         (cexp_test): Likewise.
17192         (clog_test): Likewise.
17193         (clog10_test): Likewise.
17194         (cos_test): Likewise.
17195         (cos_test_tonearest): Likewise.
17196         (cos_test_towardzero): Likewise.
17197         (cos_test_downward): Likewise.
17198         (cos_test_upward): Likewise.
17199         (cosh_test): Likewise.
17200         (cosh_test_tonearest): Likewise.
17201         (cosh_test_towardzero): Likewise.
17202         (cosh_test_downward): Likewise.
17203         (cosh_test_upward): Likewise.
17204         (cpow_test): Likewise.
17205         (csin_test): Likewise.
17206         (csinh_test): Likewise.
17207         (csqrt_test): Likewise.
17208         (ctan_test): Likewise.
17209         (ctan_test_tonearest): Likewise.
17210         (ctan_test_towardzero): Likewise.
17211         (ctan_test_downward): Likewise.
17212         (ctan_test_upward): Likewise.
17213         (ctanh_test): Likewise.
17214         (ctanh_test_tonearest): Likewise.
17215         (ctanh_test_towardzero): Likewise.
17216         (ctanh_test_downward): Likewise.
17217         (ctanh_test_upward): Likewise.
17218         (erf_test): Likewise.
17219         (erfc_test): Likewise.
17220         (exp_test): Likewise.
17221         (exp_test_tonearest): Likewise.
17222         (exp_test_towardzero): Likewise.
17223         (exp_test_downward): Likewise.
17224         (exp_test_upward): Likewise.
17225         (exp10_test): Likewise.
17226         (exp2_test): Likewise.
17227         (expm1_test): Likewise.
17228         (fmod_test): Likewise.
17229         (gamma_test): Likewise.
17230         (hypot_test): Likewise.
17231         (j0_test): Likewise.
17232         (j1_test): Likewise.
17233         (jn_test): Likewise.
17234         (lgamma_test): Likewise.
17235         (log_test): Likewise.
17236         (log10_test): Likewise.
17237         (log1p_test): Likewise.
17238         (log2_test): Likewise.
17239         (logb_test_downward): Likewise.
17240         (pow_test): Likewise.
17241         (pow_test_tonearest): Likewise.
17242         (pow_test_towardzero): Likewise.
17243         (pow_test_downward): Likewise.
17244         (pow_test_upward): Likewise.
17245         (remainder_test): Likewise.
17246         (remquo_test): Likewise.
17247         (sin_test): Likewise.
17248         (sin_test_tonearest): Likewise.
17249         (sin_test_towardzero): Likewise.
17250         (sin_test_downward): Likewise.
17251         (sin_test_upward): Likewise.
17252         (sincos_test): Likewise.
17253         (sinh_test): Likewise.
17254         (sinh_test_tonearest): Likewise.
17255         (sinh_test_towardzero): Likewise.
17256         (sinh_test_downward): Likewise.
17257         (sinh_test_upward): Likewise.
17258         (sqrt_test): Likewise.
17259         (tan_test): Likewise.
17260         (tan_test_tonearest): Likewise.
17261         (tan_test_towardzero): Likewise.
17262         (tan_test_downward): Likewise.
17263         (tan_test_upward): Likewise.
17264         (tanh_test): Likewise.
17265         (tgamma_test): Likewise.
17266         (y0_test): Likewise.
17267         (y1_test): Likewise.
17268         (yn_test): Likewise.
17269
17270         * math/gen-libm-test.pl (adjust_arg): Remove function.
17271         (special_function): Remove argument $in_func.  Only handle
17272         generating output for tables of tests, not inside functions.
17273         (parse_args): Likewise.
17274         (generate_testfile): Remove variable $in_func.  Update call to
17275         parse_args.
17276         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17277         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17278         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17279         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17280         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17281         (MAX_VALUE_INIT): Rename macro to max_value.
17282         (MIN_VALUE_INIT): Rename macro to min_value.
17283         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17284         (plus_zero): Remove variable.
17285         (minus_zero): Likewise.
17286         (plus_infty): Likewise.
17287         (minus_infty): Likewise.
17288         (qnan_value): Likewise.
17289         (max_value): Likewise.
17290         (min_value): Likewise.
17291         (min_subnorm_value): Likewise.
17292
17293 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17294
17295         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17296         uint64_t or uint32_t usage.
17297         * crypt/sha256-block.c: Likewise.
17298         * crypt/sha256-crypt.c: Likewise.
17299         * crypt/sha256.c: Likewise.
17300         * crypt/sha512-block.c: Likewise.
17301         * crypt/sha512-crypt.c: Likewise.
17302         * crypt/sha512.c: Likewise.
17303         * debug/backtrace-tst.c: Likewise.
17304         * debug/pcprofiledump.c: Likewise.
17305         * elf/cache.c: Likewise.
17306         * elf/dl-cache.c: Likewise.
17307         * elf/dl-misc.c: Likewise.
17308         * elf/dl-profile.c: Likewise.
17309         * elf/dl-support.c: Likewise.
17310         * elf/ldconfig.c: Likewise.
17311         * elf/sprof.c: Likewise.
17312         * iconv/dummy-repertoire.c: Likewise.
17313         * iconv/iconv_charmap.c: Likewise.
17314         * iconv/skeleton.c: Likewise.
17315         * iconvdata/8bit-generic.c: Likewise.
17316         * iconvdata/cp737.h: Likewise.
17317         * iconvdata/cp775.h: Likewise.
17318         * iconvdata/ibm1008.h: Likewise.
17319         * iconvdata/ibm1025.h: Likewise.
17320         * iconvdata/ibm1046.h: Likewise.
17321         * iconvdata/ibm1097.h: Likewise.
17322         * iconvdata/ibm1112.h: Likewise.
17323         * iconvdata/ibm1122.h: Likewise.
17324         * iconvdata/ibm1123.h: Likewise.
17325         * iconvdata/ibm1124.h: Likewise.
17326         * iconvdata/ibm1129.h: Likewise.
17327         * iconvdata/ibm1130.h: Likewise.
17328         * iconvdata/ibm1132.h: Likewise.
17329         * iconvdata/ibm1133.h: Likewise.
17330         * iconvdata/ibm1137.h: Likewise.
17331         * iconvdata/ibm1140.h: Likewise.
17332         * iconvdata/ibm1141.h: Likewise.
17333         * iconvdata/ibm1142.h: Likewise.
17334         * iconvdata/ibm1143.h: Likewise.
17335         * iconvdata/ibm1144.h: Likewise.
17336         * iconvdata/ibm1145.h: Likewise.
17337         * iconvdata/ibm1146.h: Likewise.
17338         * iconvdata/ibm1147.h: Likewise.
17339         * iconvdata/ibm1148.h: Likewise.
17340         * iconvdata/ibm1149.h: Likewise.
17341         * iconvdata/ibm1153.h: Likewise.
17342         * iconvdata/ibm1154.h: Likewise.
17343         * iconvdata/ibm1155.h: Likewise.
17344         * iconvdata/ibm1156.h: Likewise.
17345         * iconvdata/ibm1157.h: Likewise.
17346         * iconvdata/ibm1158.h: Likewise.
17347         * iconvdata/ibm1160.h: Likewise.
17348         * iconvdata/ibm1161.h: Likewise.
17349         * iconvdata/ibm1162.h: Likewise.
17350         * iconvdata/ibm1163.h: Likewise.
17351         * iconvdata/ibm1164.h: Likewise.
17352         * iconvdata/ibm1166.h: Likewise.
17353         * iconvdata/ibm1167.h: Likewise.
17354         * iconvdata/ibm12712.h: Likewise.
17355         * iconvdata/ibm1390.h: Likewise.
17356         * iconvdata/ibm1399.h: Likewise.
17357         * iconvdata/ibm16804.h: Likewise.
17358         * iconvdata/ibm4517.h: Likewise.
17359         * iconvdata/ibm4899.h: Likewise.
17360         * iconvdata/ibm4909.h: Likewise.
17361         * iconvdata/ibm4971.h: Likewise.
17362         * iconvdata/ibm5347.h: Likewise.
17363         * iconvdata/ibm803.h: Likewise.
17364         * iconvdata/ibm856.h: Likewise.
17365         * iconvdata/ibm901.h: Likewise.
17366         * iconvdata/ibm902.h: Likewise.
17367         * iconvdata/ibm9030.h: Likewise.
17368         * iconvdata/ibm9066.h: Likewise.
17369         * iconvdata/ibm921.h: Likewise.
17370         * iconvdata/ibm922.h: Likewise.
17371         * iconvdata/ibm9448.h: Likewise.
17372         * iconvdata/isiri-3342.h: Likewise.
17373         * iconvdata/jis0201.h: Likewise.
17374         * include/link.h: Likewise.
17375         * include/netdb.h: Likewise.
17376         * inet/check_native.c: Likewise.
17377         * inet/check_pf.c: Likewise.
17378         * inet/getipv4sourcefilter.c: Likewise.
17379         * inet/getnameinfo.c: Likewise.
17380         * inet/getsourcefilter.c: Likewise.
17381         * inet/htonl.c: Likewise.
17382         * inet/setipv4sourcefilter.c: Likewise.
17383         * inet/setsourcefilter.c: Likewise.
17384         * inet/test-inet6_opt.c: Likewise.
17385         * inet/tst-network.c: Likewise.
17386         * locale/C-collate.c: Likewise.
17387         * locale/C-ctype.c: Likewise.
17388         * locale/C-time.c: Likewise.
17389         * locale/C-translit.h: Likewise.
17390         * locale/loadarchive.c: Likewise.
17391         * locale/programs/3level.h: Likewise.
17392         * locale/programs/charmap.c: Likewise.
17393         * locale/programs/charmap.h: Likewise.
17394         * locale/programs/ld-address.c: Likewise.
17395         * locale/programs/ld-collate.c: Likewise.
17396         * locale/programs/ld-ctype.c: Likewise.
17397         * locale/programs/ld-identification.c: Likewise.
17398         * locale/programs/ld-measurement.c: Likewise.
17399         * locale/programs/ld-messages.c: Likewise.
17400         * locale/programs/ld-monetary.c: Likewise.
17401         * locale/programs/ld-name.c: Likewise.
17402         * locale/programs/ld-numeric.c: Likewise.
17403         * locale/programs/ld-paper.c: Likewise.
17404         * locale/programs/ld-telephone.c: Likewise.
17405         * locale/programs/ld-time.c: Likewise.
17406         * locale/programs/linereader.c: Likewise.
17407         * locale/programs/locale.c: Likewise.
17408         * locale/programs/locarchive.c: Likewise.
17409         * locale/programs/locfile.h: Likewise.
17410         * locale/programs/repertoire.c: Likewise.
17411         * locale/programs/simple-hash.c: Likewise.
17412         * locale/programs/simple-hash.h: Likewise.
17413         * malloc/memusage.c: Likewise.
17414         * malloc/memusagestat.c: Likewise.
17415         * nis/nis_defaults.c: Likewise.
17416         * nis/nis_hash.c: Likewise.
17417         * nis/nis_print.c: Likewise.
17418         * nis/nis_xdr.c: Likewise.
17419         * nscd/connections.c: Likewise.
17420         * nscd/hstcache.c: Likewise.
17421         * nscd/nscd_gethst_r.c: Likewise.
17422         * nscd/nscd_getserv_r.c: Likewise.
17423         * nscd/nscd_helper.c: Likewise.
17424         * nscd/servicescache.c: Likewise.
17425         * nss/makedb.c: Likewise.
17426         * nss/nss_db/db-XXX.c: Likewise.
17427         * nss/nss_db/db-initgroups.c: Likewise.
17428         * nss/nss_db/db-netgrp.c: Likewise.
17429         * nss/nss_files/files-network.c: Likewise.
17430         * nss/nss_files/files-parse.c: Likewise.
17431         * posix/bug-regex5.c: Likewise.
17432         * posix/fnmatch_loop.c: Likewise.
17433         * posix/regcomp.c: Likewise.
17434         * posix/regexec.c: Likewise.
17435         * posix/tst-rfc3484-2.c: Likewise.
17436         * posix/tst-rfc3484-3.c: Likewise.
17437         * posix/tst-rfc3484.c: Likewise.
17438         * resolv/nss_dns/dns-canon.c: Likewise.
17439         * resolv/nss_dns/dns-network.c: Likewise.
17440         * resolv/res_init.c: Likewise.
17441         * resolv/res_mkquery.c: Likewise.
17442         * resolv/tst-aton.c: Likewise.
17443         * stdlib/cxa_atexit.c: Likewise.
17444         * stdlib/cxa_finalize.c: Likewise.
17445         * stdlib/gen-fpioconst.c: Likewise.
17446         * stdlib/strtol_l.c: Likewise.
17447         * string/tst-endian.c: Likewise.
17448         * sunrpc/auth_des.c: Likewise.
17449         * sunrpc/clnt_udp.c: Likewise.
17450         * sunrpc/rtime.c: Likewise.
17451         * sunrpc/svcauth_des.c: Likewise.
17452         * sunrpc/xdr.c: Likewise.
17453         * sunrpc/xdr_intXX_t.c: Likewise.
17454         * sunrpc/xdr_rec.c: Likewise.
17455         * sysdeps/generic/ldconfig.h: Likewise.
17456         * sysdeps/generic/ldsodefs.h: Likewise.
17457         * sysdeps/generic/memusage.h: Likewise.
17458         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17460         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17461         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17462         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17463         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17464         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17465         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17466         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17467         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17468         * sysdeps/posix/getaddrinfo.c: Likewise.
17469         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17470         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17471         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17472         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17473         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17474         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17475         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17476         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17477         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17478         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17479         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17480         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17481         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17482         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17483         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17484         * sysdeps/x86_64/dl-tls.h: Likewise.
17485         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17486         * time/alt_digit.c: Likewise.
17487         * time/era.c: Likewise.
17488         * wcsmbs/tst-c16c32-1.c: Likewise.
17489
17490 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17491
17492         * math/libm-test.inc (struct test_sincos_data): New type.
17493         (RUN_TEST_LOOP_sincos): New macro.
17494         (sincos_test_data): New variable.
17495         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17496
17497 2013-05-16  Richard Henderson  <rth@redhat.com>
17498
17499         * math/atest-exp2.c (LIMB64): New macro.
17500         (CONSTSZ): New macro.
17501         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17502         (hexdig): Move ...
17503         (print_mpn_fp): ... to function scope.
17504         (read_mpn_hex): Remove.
17505         (get_log2): Remove.
17506         (exp2_mpn): Use mp_log2.
17507         (main): Use mp_exp1.
17508
17509 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17510
17511         * math/libm-test.inc: Remove comment about not testing "inexact"
17512         exceptions.
17513         (INEXACT_EXCEPTION): New macro.
17514         (NO_INEXACT_EXCEPTION): Likewise.
17515         (INVALID_EXCEPTION_OK): Update value.
17516         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17517         (OVERFLOW_EXCEPTION_OK): Likewise.
17518         (UNDERFLOW_EXCEPTION_OK): Likewise.
17519         (IGNORE_ZERO_INF_SIGN): Likewise.
17520         (ERRNO_UNCHANGED): Likewise.
17521         (ERRNO_EDOM): Likewise.
17522         (ERRNO_ERANGE): Likewise.
17523         (test_exceptions): Handle testing "inexact" exceptions.
17524         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17525         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17526         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17527         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17528         INEXACT_EXCEPTION.
17529         (rint_towardzero_test_data): Likewise.
17530         (rint_downward_test_data): Likewise.
17531         (rint_upward_test_data): Likewise.
17532
17533         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17534         with OVERFLOW_EXCEPTION.
17535         (exp10_test_data): Likewise.
17536         (exp2_test_data): Likewise.
17537         (expm1_test_data): Likewise.
17538         (lgamma_test_data): Likewise.
17539         (pow_test_data): Likewise.
17540         (tgamma_test_data): Likewise.
17541         (yn_test_data): Remove duplicate test of overflow.
17542
17543         * math/libm-test.inc (struct test_cc_c_data): New type.
17544         (RUN_TEST_LOOP_cc_c): New macro.
17545         (cpow_test_data): New variable.
17546         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17547
17548         * math/libm-test.inc (struct test_f_L_data): New type.
17549         (RUN_TEST_LOOP_f_L): New macro.
17550         (llrint_test_data): New variable.
17551         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17552         (llrint_tonearest_test_data): New variable.
17553         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17554         (llrint_towardzero_test_data): New variable.
17555         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17556         (llrint_downward_test_data): New variable.
17557         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17558         (llrint_upward_test_data): New variable.
17559         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17560         (llround_test_data): New variable.
17561         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17562
17563 2013-05-13  Peter Collingbourne  <pcc@google.com>
17564
17565         * math/atest-exp2.c (get_log2): Remove const attribute.
17566
17567 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17568
17569         * math/libm-test.inc (struct test_f_l_data): New type.
17570         (RUN_TEST_LOOP_f_l): New macro.
17571         (lrint_test_data): New variable.
17572         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17573         (lrint_tonearest_test_data): New variable.
17574         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17575         (lrint_towardzero_test_data): New variable.
17576         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17577         (lrint_downward_test_data): New variable.
17578         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17579         (lrint_upward_test_data): New variable.
17580         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17581         (lround_test_data): New variable.
17582         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17583
17584 2013-05-15  Peter Collingbourne  <pcc@google.com>
17585
17586         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17587         (EXTRACT_WORDS64) Use where appropriate.
17588         (INSERT_WORDS64) Likewise.
17589
17590         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17591         constraints with x constraints.
17592         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17593
17594         * malloc/obstack.c (_obstack_compat): Add initializer.
17595
17596 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17597
17598         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17599         si_trapno and add si_addr_lsb to _sifields.sigfault.
17600         (si_trapno): Remove macro.
17601         (si_addr_lsb): Define new macro.
17602         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17603
17604 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17605
17606         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17607         instead of TEST_f_l.
17608         (llrint_test_tonearest): Likewise.
17609         (llrint_test_towardzero): Likewise.
17610         (llrint_test_downward): Likewise.
17611         (llrint_test_upward): Likewise.
17612         (llround_test): Likewise.
17613
17614         * math/libm-test.inc (struct test_f_i_data): Add comment.
17615         (RUN_TEST_LOOP_f_b): New macro.
17616         (RUN_TEST_LOOP_f_b_tg): Likewise.
17617         (finite_test_data): New variable.
17618         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17619         (isfinite_test_data): New variable.
17620         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17621         (isinf_test_data): New variable.
17622         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17623         (isnan_test_data): New variable.
17624         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17625         (isnormal_test_data): New variable.
17626         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17627         (issignaling_test_data): New variable.
17628         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17629         (signbit_test_data): New variable.
17630         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17631
17632         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17633         with INVALID_EXCEPTION.
17634         (acosh_test_data): Likewise.
17635         (asin_test_data): Likewise.
17636         (atanh_test_data): Likewise.
17637         (fmod_test_data): Likewise.
17638         (log_test_data): Likewise.
17639         (log10_test_data): Likewise.
17640         (log2_test_data): Likewise.
17641         (pow_test_data): Likewise.
17642         (sqrt_test_data): Likewise.
17643         (y0_test_data): Likewise.
17644         (y1_test_data): Likewise.
17645         (yn_test_data): Likewise.
17646
17647         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17648         function contents.
17649
17650         * math/libm-test.inc (struct test_ff_i_data): New type.
17651         (RUN_TEST_LOOP_ff_i_tg): New macro.
17652         (isgreater_test_data): New variable.
17653         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17654         (isgreaterequal_test_data): New variable.
17655         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17656         (isless_test_data): New variable.
17657         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17658         (islessequal_test_data): New variable.
17659         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17660         (islessgreater_test_data): New variable.
17661         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17662         (isunordered_test_data): New variable.
17663         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17664
17665 2013-05-14  David S. Miller  <davem@davemloft.net>
17666
17667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17668
17669 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17670
17671         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17672
17673         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17674         extra_test to int.
17675         (struct test_f_i_data): Change type of max_ulp to int.
17676
17677         * math/libm-test.inc (test_ffI_f1_data): New type.
17678         (RUN_TEST_LOOP_ffI_f1): New macro.
17679         (remquo_test_data): New variable.
17680         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17681
17682         * setjmp/tst-setjmp-fp.c: New file.
17683         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17684         (link-libm): New variable.
17685         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17686
17687         * math/libm-test.inc (struct test_f_i_data): New type.
17688         (RUN_TEST_LOOP_f_i): New macro.
17689         (RUN_TEST_LOOP_f_i_tg): Likewise.
17690         (fpclassify_test_data): New variable.
17691         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17692         (ilogb_test_data): New variable.
17693         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17694
17695         * math/libm-test.inc (scalbln_test): Correct function name in END
17696         call.
17697
17698         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17699         (RUN_TEST_LOOP_fI_f1): New macro.
17700         (frexp_test_data): New variable.
17701         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17702
17703         * math/libm-test.inc (struct test_fF_f1_data): New type.
17704         (RUN_TEST_LOOP_fF_f1): New macro.
17705         (modf_test_data): New variable.
17706         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17707
17708         * math/libm-test.inc (struct test_f_f1_data): New type.
17709         (RUN_TEST_LOOP_f_f1): New macro.
17710         (gamma_test_data): New variable.
17711         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17712         (lgamma_test_data): New variable.
17713         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17714
17715 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17716
17717         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17718         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17719         (main): Comment "tls" pseudo-hwcap.
17720
17721 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17722
17723         * math/libm-test.inc (struct test_fl_f_data): New type.
17724         (RUN_TEST_LOOP_fl_f): New variable.
17725         (scalbln_test_data): New variable.
17726         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17727
17728         * math/libm-test.inc (struct test_fi_f_data): New type.
17729         (RUN_TEST_LOOP_fi_f): New macro.
17730         (ldexp_test_data): New variable.
17731         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17732         (scalbn_test_data): New variable.
17733         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17734
17735         * math/libm-test.inc (struct test_c_f_data): New type.
17736         (RUN_TEST_LOOP_c_f): New macro.
17737         (cabs_test_data): New variable.
17738         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17739         (carg_test_data): New variable.
17740         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17741         (cimag_test_data): New variable.
17742         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17743         (creal_test_data): New variable.
17744         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17745
17746         * math/libm-test.inc (struct test_if_f_data): New type.
17747         (RUN_TEST_LOOP_if_f): New macro.
17748         (jn_test_data): New variable.
17749         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17750         (yn_test_data): New variable.
17751         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17752
17753         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17754
17755 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17756
17757         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17758         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17759
17760 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17761
17762         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17763         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17764         (bench-deps): Add bench-timing.h.
17765         * benchtests-bench-skeleton.c: Include bench-timing.h.
17766         (main): Use TIMING_* macros instead of clock_gettime.
17767         * benchtests/bench-timing.h: New file.
17768
17769         [BZ #14582]
17770         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17771         Renamed from _LIB_VERSION.
17772         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17773
17774 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17775
17776         * math/libm-test.inc (struct test_fff_f_data): New type.
17777         (RUN_TEST_LOOP_fff_f): New macro.
17778         (fma_test_data): New variable.
17779         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17780         (fma_towardzero_test_data): New variable.
17781         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17782         (fma_downward_test_data): New variable.
17783         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17784         (fma_upward_test_data): New variable.
17785         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17786
17787         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17788         (struct test_c_c_data): New type.
17789         (RUN_TEST_LOOP_c_c): New macro.
17790         (cacos_test_data): New variable.
17791         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17792         (cacosh_test_data): New variable.
17793         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17794         (casin_test_data): New variable.
17795         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17796         (casinh_test_data): New variable.
17797         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17798         (catan_test_data): New variable.
17799         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17800         (catanh_test_data): New variable.
17801         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17802         (ccos_test_data): New variable.
17803         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17804         (ccosh_test_data): New variable.
17805         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17806         (cexp_test_data): New variable.
17807         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17808         (clog_test_data): New variable.
17809         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17810         (clog10_test_data): New variable.
17811         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17812         (conj_test_data): New variable.
17813         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17814         (cproj_test_data): New variable.
17815         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17816         (csin_test_data): New variable.
17817         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17818         (csinh_test_data): New variable.
17819         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17820         (csqrt_test_data): New variable.
17821         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17822         (ctan_test_data): New variable.
17823         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17824         (ctan_tonearest_test_data): New variable.
17825         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17826         (ctan_towardzero_test_data): New variable.
17827         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17828         (ctan_downward_test_data): New variable.
17829         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17830         (ctan_upward_test_data): New variable.
17831         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17832         (ctanh_test_data): New variable.
17833         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17834         (ctanh_tonearest_test_data): New variable.
17835         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17836         (ctanh_towardzero_test_data): New variable.
17837         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17838         (ctanh_downward_test_data): New variable.
17839         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17840         (ctanh_upward_test_data): New variable.
17841         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17842         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17843         of BUILD_COMPLEX.
17844
17845         * math/libm-test.inc (struct test_ff_f_data): New type.
17846         (struct test_ff_f_data_nexttoward): Likewise.
17847         (RUN_TEST_LOOP_2_f): New macro.
17848         (RUN_TEST_LOOP_ff_f): Likewise.
17849         (atan2_test_data): New variable.
17850         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17851         (copysign_test_data): New variable.
17852         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17853         (fdim_test_data): New variable.
17854         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17855         (fmax_test_data): New variable.
17856         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17857         (fmin_test_data): New variable.
17858         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17859         (fmod_test_data): New variable.
17860         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17861         (hypot_test_data): New variable.
17862         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17863         (nextafter_test_data): New variable.
17864         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17865         (nexttoward_test_data): New variable.
17866         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17867         (pow_test_data): New variable.
17868         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17869         (pow_tonearest_test_data): New variable.
17870         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17871         (pow_towardzero_test_data): New variable.
17872         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17873         (pow_downward_test_data): New variable.
17874         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17875         (pow_upward_test_data): New variable.
17876         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17877         (remainder_test_data): New variable.
17878         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17879         (scalb_test_data): New variable.
17880         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17881         * sysdeps/i386/fpu/libm-test-ulps: Update.
17882
17883 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17884
17885         * math/libm-test.inc (fma_test): Use max_value instead of local
17886         variable fltmax.
17887         (nextafter_test): Likewise.
17888
17889         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17890         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17891         (acos_downward_test_data): New variable.
17892         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17893         (acos_upward_test_data): New variable.
17894         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17895         (acosh_test_data): New variable.
17896         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17897         (asin_test_data): New variable.
17898         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17899         (asin_tonearest_test_data): New variable.
17900         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17901         (asin_towardzero_test_data): New variable.
17902         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17903         (asin_downward_test_data): New variable.
17904         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17905         (asin_upward_test_data): New variable.
17906         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17907         (asinh_test_data): New variable.
17908         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17909         (atan_test_data): New variable.
17910         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17911         (atanh_test_data): New variable.
17912         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17913         (cbrt_test_data): New variable.
17914         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17915         (ceil_test_data): New variable.
17916         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17917         (cos_test_data): New variable.
17918         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17919         (cos_tonearest_test_data): New variable.
17920         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17921         (cos_towardzero_test_data): New variable.
17922         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17923         (cos_downward_test_data): New variable.
17924         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17925         (cos_upward_test_data): New variable.
17926         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17927         (cosh_test_data): New variable.
17928         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17929         (cosh_tonearest_test_data): New variable.
17930         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17931         (cosh_towardzero_test_data): New variable.
17932         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17933         (cosh_downward_test_data): New variable.
17934         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17935         (cosh_upward_test_data): New variable.
17936         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17937         (erf_test_data): New variable.
17938         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17939         (erfc_test_data): New variable.
17940         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17941         (exp_test_data): New variable.
17942         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17943         (exp_tonearest_test_data): New variable.
17944         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17945         (exp_towardzero_test_data): New variable.
17946         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17947         (exp_downward_test_data): New variable.
17948         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17949         (exp_upward_test_data): New variable.
17950         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17951         (exp10_test_data): New variable.
17952         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17953         (exp2_test_data): New variable.
17954         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17955         (expm1_test_data): New variable.
17956         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17957         (fabs_test_data): New variable.
17958         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17959         (floor_test_data): New variable.
17960         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17961         (j0_test_data): New variable.
17962         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17963         (j1_test_data): New variable.
17964         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17965         (log_test_data): New variable.
17966         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17967         (log10_test_data): New variable.
17968         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17969         (log1p_test_data): New variable.
17970         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17971         (log2_test_data): New variable.
17972         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17973         (logb_test_data): New variable.
17974         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17975         (logb_downward_test_data): New variable.
17976         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17977         (nearbyint_test_data): New variable.
17978         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17979         (rint_test_data): New variable.
17980         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17981         (rint_tonearest_test_data): New variable.
17982         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17983         (rint_towardzero_test_data): New variable.
17984         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17985         (rint_downward_test_data): New variable.
17986         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17987         (rint_upward_test_data): New variable.
17988         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17989         (round_test_data): New variable.
17990         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17991         (sin_test_data): New variable.
17992         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17993         (sin_tonearest_test_data): New variable.
17994         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17995         (sin_towardzero_test_data): New variable.
17996         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17997         (sin_downward_test_data): New variable.
17998         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17999         (sin_upward_test_data): New variable.
18000         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18001         (sinh_test_data): New variable.
18002         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18003         (sinh_tonearest_test_data): New variable.
18004         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18005         (sinh_towardzero_test_data): New variable.
18006         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18007         (sinh_downward_test_data): New variable.
18008         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18009         (sinh_upward_test_data): New variable.
18010         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18011         (sqrt_test_data): New variable.
18012         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18013         (tan_test_data): New variable.
18014         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18015         (tan_tonearest_test_data): New variable.
18016         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18017         (tan_towardzero_test_data): New variable.
18018         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18019         (tan_downward_test_data): New variable.
18020         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18021         (tan_upward_test_data): New variable.
18022         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18023         (tanh_test_data): New variable.
18024         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18025         (tgamma_test_data): New variable.
18026         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18027         (trunc_test_data): New variable.
18028         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18029         (y0_test_data): New variable.
18030         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18031         (y1_test_data): New variable.
18032         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18033         (significand_test_data): New variable.
18034         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18035
18036 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18037
18038         [BZ #12387]
18039         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18040
18041 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18042
18043         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18044
18045 2013-05-10  Andreas Jaeger  <aj@suse.de>
18046
18047         [BZ #15448]
18048         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18049         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18050
18051 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18052
18053         * math/gen-libm-test.pl (adjust_arg): New function.
18054         (special_functions): Handle generating output in both functions
18055         and arrays.
18056         (parse_args): Likewise.
18057         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18058         $in_func argument to parse_args.
18059         * math/libm-test.inc (struct test_f_f_data): New type.
18060         (IF_ROUND_INIT_): New macro.
18061         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18062         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18063         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18064         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18065         (ROUND_RESTORE_): Likewise.
18066         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18067         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18068         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18069         (ROUND_RESTORE_FE_UPWARD): Likewise.
18070         (RUN_TEST_LOOP_f_f): New macro.
18071         (acos_test_data): New variable.
18072         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18073         (acos_tonearest_test_data): New variable.
18074         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18075
18076 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18077
18078         * benchtests/bench-skeleton.c (startup): Fix coding style.
18079
18080 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18081
18082         [BZ #6809]
18083         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18084         negative infinity argument.
18085         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18086         negative infinity argument.
18087         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18088         negative infinity argument.
18089         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18090         domain errors.
18091
18092 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18093
18094         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18095         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18096         * iconv/iconv_prog.c (main): Likewise.
18097         * locale/programs/charmap-dir.c (charmap_readdir)
18098         (fopen_uncompressed): Likewise.
18099         * locale/programs/locfile.c (siblings_uncached)
18100         (write_locale_data): Use lstat64 instead of lstat.
18101         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18102         stat.
18103
18104 2013-05-10  Andreas Jaeger  <aj@suse.de>
18105
18106         [BZ #15395]
18107         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18108         localization.
18109         Include <locale.h>.
18110
18111 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18112
18113         * elf/dl-close.c (_dl_close_worker): Add comments.
18114
18115 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18116
18117         [BZ #15359]
18118         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18119         high part of pi/2.
18120         (__ieee754_rem_pio2l): Update comments.
18121
18122         [BZ #15429]
18123         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18124         high part of pi/2.
18125         (__ieee754_rem_pio2l): Update comments.
18126
18127         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18128         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18129
18130         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18131         M_PI_4l.
18132
18133         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18134         (M_PI_34_LOG10El): Likewise.
18135         (M_PI2_LOG10El): Likewise.
18136         (M_PI4_LOG10El): Likewise.
18137         (M_PI_LOG10El): Likewise.
18138
18139 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18140
18141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18142
18143 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18144
18145         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18146         (MINUS_ZERO_INIT): Likewise.
18147         (PLUS_INFTY_INIT): Likewise.
18148         (MINUS_INFTY_INIT): Likewise.
18149         (QNAN_VALUE_INIT): Likewise.
18150         (MAX_VALUE_INIT): Likewise.
18151         (MIN_VALUE_INIT): Likewise.
18152         (MIN_SUBNORM_VALUE_INIT): Likewise.
18153         (plus_zero): Initialize with PLUS_ZERO_INIT.
18154         (minus_zero): Initialize with MINUS_ZERO_INIT.
18155         (plus_infty): Initialize with PLUS_INFTY_INIT.
18156         (minus_infty): Initialize with MINUS_INFTY_INIT.
18157         (qnan_value): Initialize with QNAN_VALUE_INIT.
18158         (max_value): Initialize with MAX_VALUE_INIT.
18159         (min_value): Initialize with MIN_VALUE_INIT.
18160         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18161
18162         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18163         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18164         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18165         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18166
18167         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18168         (RUN_TEST_2_f): Likewise.
18169         (RUN_TEST_ff_f): Likewise.
18170         (RUN_TEST_fi_f): Likewise.
18171         (RUN_TEST_fl_f): Likewise.
18172         (RUN_TEST_fff_f): Likewise.
18173         (RUN_TEST_c_f): Likewise.
18174         (RUN_TEST_f_f1): Likewise.
18175         (RUN_TEST_fF_f1): Likewise.
18176         (RUN_TEST_fI_f1): Likewise.
18177         (RUN_TEST_ffI_f1): Likewise.
18178         (RUN_TEST_c_c): Likewise.
18179         (RUN_TEST_cc_c): Likewise.
18180         (RUN_TEST_f_i): Likewise.
18181         (RUN_TEST_f_i_tg): Likewise.
18182         (RUN_TEST_ff_i_tg): Likewise.
18183         (RUN_TEST_f_b): Likewise.
18184         (RUN_TEST_f_b_tg): Likewise.
18185         (RUN_TEST_f_l): Likewise.
18186         (RUN_TEST_f_L): Likewise.
18187         (RUN_TEST_sincos): Likewise.
18188         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18189         whether to show exceptions.  Do not include ");\n" in return
18190         value.
18191         (special_functions): Output call to RUN_TEST_sincos instead of
18192         check_float calls.  Update calls to new_test.
18193         (parse_args): Output call to single RUN_TEST_* macro instead of
18194         check_* calls and other assignments.  Update calls to new_test.
18195
18196         [BZ #2546]
18197         [BZ #2560]
18198         [BZ #5159]
18199         [BZ #15426]
18200         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18201         input to result for tgamma overflow.
18202         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18203         (gamma_coeff): New variable.
18204         (NCOEFF): New macro.
18205         (gamma_positive): New function.
18206         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18207         underflow here.  Use gamma_positive instead of exp (lgamma) for
18208         other arguments.
18209         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18210         (gamma_coeff): New variable.
18211         (NCOEFF): New macro.
18212         (gammaf_positive): New function.
18213         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18214         underflow here.  Use gamma_positive instead of exp (lgamma) for
18215         other arguments.
18216         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18217         (gamma_coeff): New variable.
18218         (NCOEFF): New macro.
18219         (gammal_positive): New function.
18220         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18221         underflow here.  Use gamma_positive instead of exp (lgamma) for
18222         other arguments.
18223         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18224         (gamma_coeff): New variable.
18225         (NCOEFF): New macro.
18226         (gammal_positive): New function.
18227         (__ieee754_gammal_r): Handle positive infinity, overflow and
18228         underflow here.  Handle NaN the same as positive infinity.  Remove
18229         check x < 0xffffffff for negative integers.  Use gamma_positive
18230         instead of exp (lgamma) for other arguments.
18231         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18232         (gamma_coeff): New variable.
18233         (NCOEFF): New macro.
18234         (gammal_positive): New function.
18235         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18236         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18237         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18238         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18239         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18240         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18241         * sysdeps/generic/math_private.h (__gamma_productf): New
18242         prototype.
18243         (__gamma_product): Likewise.
18244         (__gamma_productl): Likewise.
18245         * math/Makefile (libm-calls): Add gamma_product.
18246         * math/libm-test.inc (tgamma_test): Add more tests.
18247         * sysdeps/i386/fpu/libm-test-ulps: Update.
18248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18249
18250 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18251
18252         * benchtests/bench-skeleton.c (main): Preheat CPU.
18253
18254 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18255
18256         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18257
18258 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18259
18260         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18261         and _dl_skip_args_internal.
18262
18263 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18264
18265         * manual/message.texi (Message Translation): Talk about users.
18266         Message to key mapping impacts design.
18267
18268 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18269
18270         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18271
18272         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18273
18274         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18275         * sysdeps/wordsize-64/glob64.c: ... here.
18276
18277         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18278         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18279         New macros.
18280
18281         * debug/getlogin_r_chk.c: Moved to ...
18282         * login/getlogin_r_chk.c: ... here.
18283         * debug/Makefile (routines): Move getlogin_r_chk to ...
18284         * login/Makefile (routines): ... here.
18285         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18286         * login/Versions (libc: GLIBC_2.4): ... here.
18287
18288         * io/poll.c (__poll): Renamed from poll.
18289         Add libc_hidden_def.
18290         (poll): Define as weak alias.
18291
18292         * debug/ptsname_r_chk.c: Moved to ...
18293         * login/ptsname_r_chk.c: ... here.
18294         * debug/Makefile (routines): Move ptsname_r_chk to ...
18295         * login/Makefile (routines): ... here.
18296         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18297         * login/Versions (libc: GLIBC_2.4): ... here.
18298
18299         * posix/getlogin.c: Moved to ...
18300         * login/getlogin.c: ... here.
18301         * posix/getlogin_r.c: Moved to ...
18302         * login/getlogin_r.c: ... here.
18303         * posix/getlogin_r.c: Moved to ...
18304         * login/getlogin_r.c: ... here.
18305         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18306         * login/Makefile (routines): ... here.
18307         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18308         * login/Versions (libc: GLIBC_2.0): ... here.
18309
18310         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18311         (setrlimit): Define as weak alias.
18312
18313         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18314         Call __ names for open, ftruncate, and close.
18315         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18316         (truncate): Define as weak alias.
18317
18318 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18319
18320         * math/gen-libm-test.pl (parse_args): Initialize x before each
18321         test of frexp, modf and remquo.
18322
18323         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18324         test signgam value.
18325
18326 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18327
18328         [BZ #15418]
18329         [BZ #15419]
18330         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18331         internal tests.
18332         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18333
18334 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18335
18336         * elf/dl-writev.h: New file.
18337         * elf/dl-misc.c: Include it.
18338         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18339         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18340
18341 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18342
18343         * math/libm-test.inc (noXFails): Remove variable.
18344         (noXPasses): Likewise.
18345         (BUILD_COMPLEX_INT): Remove macro.
18346         (print_screen): Remove xfail argument.
18347         (print_screen_max_error): Likewise.
18348         (update_stats): Likewise.
18349         (print_max_error): Likewise.  Update calls to other affected
18350         functions.
18351         (print_complex_max_error): Likewise.
18352         (test_single_exception): Update calls to print_screen.
18353         (test_single_errno): Likewise.
18354         (check_float_internal): Remove xfail argument.  Update calls to
18355         other affected functions.
18356         (check_float): Likewise.
18357         (check_complex): Likewise.
18358         (check_int): Likewise.
18359         (check_long): Likewise.
18360         (check_bool): Likewise.
18361         (check_longlong): Likewise.
18362         (main): Don't print noXFails and noXPasses.
18363         * math/gen-libm-test.pl (top level): Don't mention expected
18364         failure handling in comment.
18365         (new_test): Don't handle expected failures.
18366         (parse_args): Don't mention expected failure handling in comment.
18367         (generate_testfile): Don't handle expected failures.
18368         (parse_ulps): Likewise.
18369         (print_ulps_file): Likewise.
18370         (get_failure): Remove function.
18371         (output_test): Don't handle expected failures.
18372         * make/README.libm-test: Don't mention expected failure handling.
18373
18374         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18375         (minus_zero): Likewise.
18376         (plus_infty): Likewise.
18377         (minus_infty): Likewise.
18378         (qnan_value): Likewise.
18379         (max_value): Likewise.
18380         (min_value): Likewise.
18381         (min_subnorm_value): Likewise.
18382         (initialize): Do not initialize those variables dynamically.
18383
18384 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18385
18386         * io/open.c (__open_2): Moved to ...
18387         * io/open_2.c: ... this new file.
18388         * io/open64.c (__open64_2): Moved to ...
18389         * io/open64_2.c: ... this new file.
18390         * io/openat.c (__openat_2): Moved to ...
18391         * io/openat_2.c: ... this new file.
18392         * io/openat64.c (__openat64_2): Moved to ...
18393         * io/openat64_2.c: ... this new file.
18394         * io/Makefile (routines): Add them.
18395         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18396         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18397         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18398         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18399         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18400         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18401         (__openat64): Add hidden_ver.
18402         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18403         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18404
18405         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18406         Separately conditionalize setting of GLRO(dl_sysinfo) so
18407         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18408         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18409
18410 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18411
18412         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18413         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18414         definition.
18415         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18416         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18417         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18418         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18419         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18420
18421 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18422
18423         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18424         test signgam value.
18425
18426         * math/libm-test.inc (hypot_test): Do not use
18427         IGNORE_ZERO_INF_SIGN.
18428
18429 2013-05-03  Andreas Jaeger  <aj@suse.de>
18430
18431         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18432         Linux 3.9.
18433         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18434         (PF_MAX): Adjust for VSOCK change.
18435
18436 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18437
18438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18439
18440 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18441
18442         [BZ #15264]
18443         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18444         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18445         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18446
18447 2013-05-02  David S. Miller  <davem@davemloft.net>
18448
18449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18450
18451 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18452
18453         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18454
18455 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18456
18457         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18458
18459 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18460
18461         [BZ #14952]
18462         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18463         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18464         Use __attribute__ ((__gnu_inline__)).
18465         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18466         Don't use __attribute__ ((__gnu_inline__)).
18467
18468 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18469
18470         [BZ #15423]
18471         * math/s_catan.c (__catan): Handle small real or imaginary part of
18472         input specially to avoid spurious underflow.
18473         * math/s_catanf.c (__catanf): Likewise.
18474         * math/s_catanh.c (__catanh): Likewise.
18475         * math/s_catanhf.c (__catanhf): Likewise.
18476         * math/s_catanhl.c (__catanhl): Likewise.
18477         * math/s_catanl.c (__catanl): Likewise.
18478         * math/libm-test.inc (catan_test): Add more tests.
18479         (catanh_test): Likewise.
18480         * sysdeps/i386/fpu/libm-test-ulps: Update.
18481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18482
18483 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18484
18485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18486
18487 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18488
18489         [BZ #15416]
18490         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18491         accurately for denominator in atan2.
18492         * math/s_catanf.c (__catanf): Likewise.
18493         * math/s_catanh.c (__catanh): Likewise.
18494         * math/s_catanhf.c (__catanhf): Likewise.
18495         * math/s_catanhl.c (__catanhl): Likewise.
18496         * math/s_catanl.c (__catanl): Likewise.
18497         * math/libm-test.inc (catan_test): Add more tests.
18498         (catanh_test): Likewise.
18499         * sysdeps/i386/fpu/libm-test-ulps: Update.
18500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18501
18502 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18503
18504         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18505
18506         * benchtests/Makefile (bench): Remove slow benchmarks.
18507         * benchtests/atan-inputs: Add slow benchmark inputs.
18508         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18509         (BENCH_FUNC): Accept variant offset.
18510         (VARIANT): Define.
18511         * benchtests/bench-skeleton.c (main): Run benchmark for each
18512         variant.
18513         * benchtests/cos-inputs: Add slow benchmark inputs.
18514         * benchtests/exp-inputs: Likewise.
18515         * benchtests/pow-inputs: Likewise.
18516         * benchtests/sin-inputs: Likewise.
18517         * benchtests/slowatan-inputs: Remove.
18518         * benchtests/slowatan.c: Remove.
18519         * benchtests/slowcos-inputs: Remove.
18520         * benchtests/slowcos.c: Remove.
18521         * benchtests/slowexp-inputs: Remove.
18522         * benchtests/slowexp.c: Remove.
18523         * benchtests/slowpow-inputs: Remove.
18524         * benchtests/slowpow.c: Remove.
18525         * benchtests/slowsin-inputs: Remove.
18526         * benchtests/slowsin.c: Remove.
18527         * benchtests/slowtan-inputs: Remove.
18528         * benchtests/slowtan.c: Remove.
18529         * benchtests/tan-inputs: Add slow benchmark inputs.
18530         * scripts/bench.pl: Parse comments and directives.
18531
18532         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18533         in CPPFLAGS.
18534         ($(objpfx)bench-%.c): Remove *-ITER.
18535         * benchtests/bench-modf.c: Remove definition of ITER.
18536         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18537         (main): Loop for DURATION seconds instead of fixed number of
18538         iterations.
18539         * scripts/bench.pl: Don't expect iterations in parameters.
18540
18541 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18542
18543         * io/fchdir.c (__fchdir): Renamed from fchdir.
18544         (fchdir): Define as weak alias.
18545
18546 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18547
18548         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18549         (ERRNO_EDOM): Likewise.
18550         (ERRNO_ERANGE): Likewise.
18551         (noErrnoTests): New variable.
18552         (init_max_error): Set errno to 0.
18553         (test_single_errno): New function.
18554         (test_errno): Likewise.
18555         (check_float_internal): Call test_errno.  Set errno to 0.
18556         (check_complex): Refer to errno tests in comment.
18557         (check_int): Call test_errno.  Set errno to 0.
18558         (check_long): Likewise.
18559         (check_bool): Likewise.
18560         (check_longlong): Likewise.
18561         (cos_test): Use ERRNO_* flags for errno tests instead of
18562         check_int.
18563         (expm1_test): Likewise.
18564         (fmod_test): Likewise.
18565         (ilogb_test): Likewise.
18566         (lgamma_test): Likewise.
18567         (pow_test): Likewise.
18568         (remainder_test): Likewise.
18569         (sin_test): Likewise.
18570         (tan_test): Likewise.
18571         (yn_test): Likewise.
18572         (initialize): Set errno to 0.
18573         (main): Print number of errno tests.
18574         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18575
18576 2013-04-29  Andreas Jaeger  <aj@suse.de>
18577
18578         [BZ #15084]
18579         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18580         and RES_USEVC.
18581
18582         [BZ #15085]
18583         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18584         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18585         unimplemented.
18586
18587         [BZ #15380]
18588         * stdlib/random.c (__initstate): Return NULL if
18589         __initstate fails.
18590
18591         [BZ #15086]
18592         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18593         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18594         RES_SNGLKUPREOP.
18595
18596 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18597
18598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18599
18600 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18601
18602         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18603         of individual tests.
18604         (casin_test): Likewise.
18605         (casinh_test): Likewise.
18606
18607 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18608
18609         [BZ #15409]
18610         * math/s_catan.c (__catan): Handle arguments with large real or
18611         imaginary part separately without squaring.
18612         * math/s_catanf.c (__catanf): Likewise.
18613         * math/s_catanh.c (__catanh): Likewise.
18614         * math/s_catanhf.c (__catanhf): Likewise.
18615         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18616         and redefine.
18617         (__catanhl): Handle arguments with large real or imaginary part
18618         separately without squaring.
18619         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18620         and redefine.
18621         (__catanl): Handle arguments with large real or imaginary part
18622         separately without squaring.
18623         * math/libm-test.inc (catan_test): Add more tests.
18624         (catanh_test): Likewise.
18625         * sysdeps/i386/fpu/libm-test-ulps: Update.
18626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18627
18628 2013-04-27  Andreas Jaeger  <aj@suse.de>
18629
18630         [BZ #15007]
18631         * stdlib/stdlib.h: Update guards for qecvt.
18632         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18633         <stdlib.h>.
18634
18635 2013-04-27  Allan McRae  <allan@archlinux.org>
18636
18637         * sysdeps/i386/fpu/libm-test-ulps: Update.
18638
18639 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18640
18641         [BZ #15406]
18642         * math/s_catan.c: Include <float.h>.
18643         (__catan): Ensure underflow exception occurs for underflowed
18644         result.
18645         * math/s_catanf.c: Include <float.h>.
18646         (__catanf): Ensure underflow exception occurs for underflowed
18647         result.
18648         * math/s_catanh.c: Include <float.h>.
18649         (__catanh): Ensure underflow exception occurs for underflowed
18650         result.
18651         * math/s_catanhf.c: Include <float.h>.
18652         (__catanhf): Ensure underflow exception occurs for underflowed
18653         result.
18654         * math/s_catanhl.c: Include <float.h>.
18655         (__catanhl): Ensure underflow exception occurs for underflowed
18656         result.
18657         * math/s_catanl.c: Include <float.h>.
18658         (__catanl): Ensure underflow exception occurs for underflowed
18659         result.
18660         * math/libm-test.inc (catan_test): Add more tests.
18661         (catanh_test): Likewise.
18662
18663         [BZ #15405]
18664         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18665         underflowed result.
18666         * math/s_ccoshf.c (__ccoshf): Likewise.
18667         * math/s_ccoshl.c (__ccoshl): Likewise.
18668         * math/s_csin.c (__csin): Likewise.
18669         * math/s_csinf.c (__csinf): Likewise.
18670         * math/s_csinh.c (__csinh): Likewise.
18671         * math/s_csinhf.c (__csinhf): Likewise.
18672         * math/s_csinhl.c (__csinhl): Likewise.
18673         * math/s_csinl.c (__csinl): Likewise.
18674         * math/libm-test.inc (ccos_test): Add more tests.
18675         (ccosh_test): Likewise.
18676         (csin_test): Likewise.
18677         (csinh_test): Likewise.
18678
18679 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18680
18681         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18682         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18683         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18684         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18685         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18686         powerpc/power5+/fpu folders.
18687         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18688
18689
18690 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18691
18692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18693
18694 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18695
18696         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18697         additions to variable.
18698         [$(config-machine) = x86_64] (modules-names): Likewise.
18699         ($(objpfx)tst-audit3): Remove dependency.
18700         ($(objpfx)tst-audit3.out): Likewise.
18701         ($(objpfx)tst-audit4): Likewise.
18702         ($(objpfx)tst-audit4.out): Likewise.
18703         ($(objpfx)tst-audit5): Likewise.
18704         ($(objpfx)tst-audit5.out): Likewise.
18705         ($(objpfx)tst-audit6): Likewise.
18706         ($(objpfx)tst-audit6.out): Likewise.
18707         ($(objpfx)tst-audit7): Likewise.
18708         ($(objpfx)tst-audit7.out): Likewise.
18709         (tst-audit3-ENV): Remove variable.
18710         (tst-audit4-ENV): Likewise.
18711         (tst-audit5-ENV): Likewise.
18712         (tst-audit6-ENV): Likewise.
18713         (tst-audit7-ENV): Likewise.
18714         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18715         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18716         addition to variable.
18717         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18718         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18719         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18720         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18721         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18722         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18723         tst-audit3, tst-audit4 and tst-audit5.
18724         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18725         tst-audit6 and tst-audit7.
18726         [$(subdir) = elf] (modules-names): Add audit modules for those
18727         tests.
18728         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18729         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18730         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18731         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18732         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18733         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18734         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18735         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18736         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18737         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18738         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18739         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18740         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18741         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18742         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18743         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18744         Likewise.
18745         [$(subdir) = elf && $(config-cflags-avx) = yes]
18746         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18747         [$(subdir) = elf && $(config-cflags-avx) = yes]
18748         (CFLAGS-tst-auditmod4a.c): Likewise.
18749         [$(subdir) = elf && $(config-cflags-avx) = yes]
18750         (CFLAGS-tst-auditmod4b.c): Likewise.
18751         [$(subdir) = elf && $(config-cflags-avx) = yes]
18752         (CFLAGS-tst-auditmod6b.c): Likewise.
18753         [$(subdir) = elf && $(config-cflags-avx) = yes]
18754         (CFLAGS-tst-auditmod6c.c): Likewise.
18755         [$(subdir) = elf && $(config-cflags-avx) = yes]
18756         (CFLAGS-tst-auditmod7b.c): Likewise.
18757         * elf/tst-audit3.c: Move to ...
18758         * sysdeps/x86_64/tst-audit3.c: ... here.
18759         * elf/tst-audit4.c: Move to ...
18760         * sysdeps/x86_64/tst-audit4.c: ... here.
18761         * elf/tst-audit5.c: Move to ...
18762         * sysdeps/x86_64/tst-audit5.c: ... here.
18763         * elf/tst-audit6.c: Move to ...
18764         * sysdeps/x86_64/tst-audit6.c: ... here.
18765         * elf/tst-audit7.c: Move to ...
18766         * sysdeps/x86_64/tst-audit7.c: ... here.
18767         * elf/tst-auditmod3a.c: Move to ...
18768         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18769         * elf/tst-auditmod3b.c: Move to ...
18770         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18771         * elf/tst-auditmod4a.c: Move to ...
18772         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18773         * elf/tst-auditmod4b.c: Move to ...
18774         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18775         * elf/tst-auditmod5a.c: Move to ...
18776         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18777         * elf/tst-auditmod5b.c: Move to ...
18778         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18779         * elf/tst-auditmod6a.c: Move to ...
18780         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18781         * elf/tst-auditmod6b.c: Move to ...
18782         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18783         * elf/tst-auditmod6c.c: Move to ...
18784         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18785         * elf/tst-auditmod7a.c: Move to ...
18786         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18787         * elf/tst-auditmod7b.c: Move to ...
18788         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18789
18790 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18791
18792         [BZ #15366]
18793         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18794         define unconditionally.
18795         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18796         define unconditionally.
18797         (INT8_C, INT16_C, etc.): Likewise.
18798
18799 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18800
18801         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18802         __ehdr_start with hidden visibility.
18803
18804         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18805
18806 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18807
18808         * math/libm-test.inc (cos_test): Use accurate hex constants.
18809         (sincost_test): Likewise.
18810
18811 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18812
18813         * math/libm-test.inc (catan_test): Add more tests.
18814         (catanh_test): Likewise.
18815
18816         * math/s_catanf.c (__catanf): Use suffixed floating-point
18817         constants.
18818         * math/s_catanhf.c (__catanhf): Likewise.
18819         * math/s_catanhl.c (__catanhl): Likewise.
18820         * math/s_catanl.c (__catanl): Likewise.
18821
18822         [BZ #15394]
18823         * math/s_catan.c (__catan): Calculate imaginary part of result
18824         with log1p not log unless computing log of number close to 0.
18825         * math/s_catanf.c (__catanf): Likewise.
18826         * math/s_catanl.c (__catanl): Likewise.
18827         * math/s_catanh.c (__catanh): Calculate real part of result with
18828         log1p not log unless computing log of number close to 0.
18829         * math/s_catanhf.c (__catanhf): Likewise.
18830         * math/s_catanhl.c (__catanhl): Likewise.
18831         * math/libm-test.inc (catan_test): Add more tests.
18832         (catanh_test): Likewise.
18833         * sysdeps/i386/fpu/libm-test-ulps: Update.
18834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18835
18836 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837
18838         * benchtests/Makefile: Mention files in which fast and slow
18839         paths of math functions are implemented.
18840
18841 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18842
18843         * sysdeps/posix/timespec_get.c: New file.
18844
18845 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18846
18847         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18848         POWER.
18849         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18850         for POWER.
18851         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18852         powerpc/power5/fpu folders.
18853         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18854         * benchtests/Makefile: Add modf testcase.
18855         * benchtests/bench-modf.c: New file: Benchmark test for mo
18856
18857 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18858
18859         [BZ #14888]
18860         * time/Makefile (tests): Add tst-strptime-whitespace.
18861         * time/strptime_l.c (get_number): Use ISSPACE.
18862         (__strptime_internal): Likewise.
18863         * time/tst-strptime-whitespace.c: New test case.
18864
18865 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18866
18867         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18868         member.
18869         (_nss_files_init): Set it here.
18870
18871 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18872
18873         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18874         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18875         unsigned.
18876
18877 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18878
18879         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18880
18881 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18882
18883         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18884         size just once.
18885
18886 2013-04-21  David S. Miller  <davem@davemloft.net>
18887
18888         * po/ru.po: Update Russion translation from translation project.
18889
18890 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18891
18892         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18893         and setfsgid.
18894
18895 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18896
18897         * configure.in: Remove i386 configure warning. Remove i386 case.
18898         * configure: Regenerate.
18899         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18900         Add example to error message.
18901         * sysdeps/i386/configure: Regenerate.
18902
18903 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18904
18905         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18906         slowtan.
18907         * benchtests/cos-inputs: New file.
18908         * benchtests/slowcos-inputs: New file.
18909         * benchtests/slowcos.c: New file.
18910         * benchtests/slowtan-inputs: New file.
18911         * benchtests/slowtan.c: New file.
18912         * benchtests/tan-inputs: New file.
18913
18914 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18915
18916         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18917         considered kosher.
18918
18919 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18920
18921         * benchtests/Makefile: Include cppflags-iterator.mk to add
18922         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18923
18924         * Makefile.in (bench-clean): New target.
18925         * benchtests/Makefile (bench-clean): Likewise.
18926
18927 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18928
18929         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18930
18931 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18932
18933         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18934
18935 2013-04-15  Andreas Schwab  <schwab@suse.de>
18936
18937         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18939         * nscd/pwdcache.c (cache_addpw): Likewise.
18940         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18941         more than recsize.
18942
18943 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944
18945         * benchtests/Makefile (bench): Write all output to
18946         bench-out.tmp together.
18947
18948 2013-04-15  Andreas Schwab  <schwab@suse.de>
18949
18950         * nscd/nscd.c (main): Don't fork again after closing files.
18951
18952 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18953
18954         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18955
18956         * benchtests/Rules (bench-deps): Collect dependencies into a
18957         single variable.  Add Makefile to dependencies.
18958         ($(objpfx)bench-%.c): Depend on bench-deps.
18959
18960 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18961             Xavier Roche  <roche+kml2@exalead.com>
18962
18963         [BZ #15361]
18964         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18965         just that it's a file descriptor.
18966         * manual/llio.texi (Synchronizing AIO Operations): Update description
18967         for EBADF error from aio_fsync.
18968
18969 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18970
18971         * Rules (bench): Move target definition...
18972         * benchtests/Makefile: ... here.
18973
18974 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18975
18976         * math/libm-test.inc (cos_test): Fix PI/2 test.
18977         (sincos_test): Likewise.
18978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18979         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18980
18981 2013-04-11  Andreas Schwab  <schwab@suse.de>
18982
18983         [BZ #13988]
18984         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18985         accept exponent character only when digits were seen.
18986         * stdio-common/Makefile (tests): Add bug26.
18987         * stdio-common/bug26.c: New file.
18988
18989         [BZ #14293]
18990         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18991         non-freeable.
18992
18993 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18994
18995         * Makeconfig (rtld-prefix): Define built linker prefix.
18996         * Rules (run-bench): Use it.
18997         * math/Makefile (run-regen-ulps): Likewise.
18998
18999         * Rules (bench): Remove eval.
19000
19001 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002             Roland McGrath  <roland@hack.frob.com>
19003             Ondrej Bilka  <neleai@seznam.cz>
19004
19005         [BZ #15346]
19006         * time/getdate.c: Include ctype.h and alloca.h.
19007         (__getdate_r): Trim leading and trailing spaces of input.
19008         * time/tst-getdate.c (tests): Add tests with leading and
19009         trailing spaces.
19010
19011 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19012
19013         [BZ #14280]
19014         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19015         when computing value.
19016
19017 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19018
19019         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19020         Use testrun.sh to run libm tests.
19021
19022         [BZ #15309]
19023         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19024
19025 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19026
19027         [BZ #15264]
19028         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19029
19030 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19031
19032         * Makefile.in (regen-ulps): New target.
19033         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19034         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19035         [ifneq (no,$(PERL)] (regen-ulps): New target.
19036         [ifeq (no,$(PERL)] (regen-ulps): New target.
19037         * math/libm-test.inc (ulps_file_name): Define.
19038         (output_dir): New variable.
19039         (options): Add "output-dir" option.
19040         (parse_opt): Handle 'o' case.
19041         (main): If output_dir is non-NULL use it as a prefix
19042         otherwise use "".
19043         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19044
19045 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19046
19047         [BZ #10060, #10062]
19048         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19049         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19050         fail configure if __sync_val_compare_and_swap is not inlined.
19051         * sysdeps/i386/configure: Regenerate.
19052         * configure.in: Build for i686 when configured for i386.
19053         * configure: Regenerate.
19054         * README: Remove i386 reference.
19055
19056 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19057
19058         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19059         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19060
19061 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19062
19063         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19064         (lmsnanval): New variables.
19065         (F): Add conversion tests.
19066         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19067         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19068
19069         * stdio-common/tstdiomisc.c (F): Properly collect individual
19070         tests' results.
19071
19072         [BZ #14686, #15336]
19073         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19074         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19075         Instead, use input NaN values or generate a qNaN by arithmetic
19076         operation.  Also fix bugs to comply with the standard.
19077         * math/libm-test.inc (remainder_test): Add more tests.
19078
19079         [BZ #15335, #15342]
19080         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19081         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19082         input NaN values or generate a qNaN by arithmetic operation.
19083
19084         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19085         unreachable code.
19086
19087         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19088         definitions.
19089
19090 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19091
19092         [BZ #14478]
19093         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19094         underflowed result.
19095         * math/s_cexpf.c (__cexpf): Likewise.
19096         * math/s_cexpl.c (__cexpl): Likewise.
19097         * math/libm-test.inc (cexp_test): Add more tests.
19098
19099 2013-04-03  Andreas Schwab  <schwab@suse.de>
19100
19101         [BZ #15330]
19102         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19103         order arrays from heap if bigger than alloca cutoff.
19104
19105 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19106
19107         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19108         (SNAN_TESTS_double): Refer to GCC PR56831.
19109         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19110         GCC PR56828.
19111
19112 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19113
19114         * Rules (bench): Move bench.out after the run is complete.
19115
19116         * Rules (bench): Echo currently running benchmark.
19117
19118         * benchtests/Makefile (bench): Add atan and slowatan.
19119         * benchtests/atan-inputs: New file.
19120         * benchtests/slowatan-inputs: New file.
19121         * benchtests/slowatan.c: New file.
19122
19123         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19124         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19125         its value.
19126
19127         [BZ #15305]
19128         * sysdeps/unix/sysv/linux/kernel-features.h
19129         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19130         __ASSUME_XFS_RESTRICTED_CHOWN.
19131         * sysdeps/unix/sysv/linux/pathconf.c
19132         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19133         Save and restore errno.
19134
19135 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19136
19137         [BZ #15327]
19138         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19139         arguments using __kernel_casinh.
19140         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19141         arguments using __kernel_casinhf.
19142         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19143         arguments using __kernel_casinhl.
19144         * math/libm-test.inc (cacosh_test): Add more tests.
19145         * sysdeps/i386/fpu/libm-test-ulps: Update.
19146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19147
19148 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19149
19150         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19152
19153         * bench/Makefile (bench): Add sin and slowsin.
19154         * benchtests/sin-inputs: New file.
19155         * benchtests/slowsin-inputs: New file.
19156         * benchtests/slowsin.c: New file.
19157
19158         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19159         (bench): Add slowexp and slowpow.
19160         (exp-ITER): Increase iterations.
19161         (pow-ITER): Likewise.
19162         * benchtests/exp-inputs: Change input.
19163         * benchtests/pow-inputs: Likewise.
19164         * benchtests/slowexp-inputs: New file.
19165         * benchtests/slowexp.c: New file.
19166         * benchtests/slowpow-inputs: New file.
19167         * benchtests/slowpow.c: New file.
19168
19169 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19170
19171         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19172         instructions.
19173         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19174         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19175         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19176         * benchtests/Makefile: Add rint benchtest.
19177         * benchtests/rint-inputs: Input for rint benchtest.
19178
19179 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19180
19181         * Versions.def (libm): Add GLIBC_2.18.
19182         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19183         hidden libm prototypes.
19184         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19185         * math/Makefile (libm-calls): Add s_issignaling.
19186         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19187         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19188         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19189         declaration.
19190         * math/math.h [__USE_GNU] (issignaling): New macro.
19191         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19192         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19193         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19194         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19195         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19196         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19197         * manual/arith.texi (issignaling): New section.
19198         * manual/libm-err-tab.pl (@all_functions): Update comment.
19199         * math/gen-libm-test.pl (parse_args): Apply special handling for
19200         issignaling.
19201         * math/libm-test.inc (print_float, issignaling_test): New
19202         functions.
19203         (check_float_internal): Add issignaling checks.
19204         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19205         default definition.
19206         * sysdeps/powerpc/math-tests.h: New file.
19207         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19208         tests.
19209         * math/test-snan.c (TEST_FUNC): Likewise.
19210
19211 2013-03-30  David S. Miller  <davem@davemloft.net>
19212
19213         * po/de.po: Update from translation team.
19214
19215 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19216
19217         [BZ #10357]
19218         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19219         imaginary part less than 1.0 and real part less than 0.5
19220         specially.
19221         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19222         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19223         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19224         (cacos_test): Add more tests.
19225         (casin_test): Likewise.
19226         (casinh_test): Likewise.
19227         * sysdeps/i386/fpu/libm-test-ulps: Update.
19228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19229
19230 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19231
19232         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19233         ONE with its value.
19234
19235         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19236         (__pow_mp): Replace ONE and MONE with their values.
19237         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19238         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19240         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19241         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19242         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19243
19244         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19245
19246         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19247         (__pow_mp): Replace ZERO and MZERO with their values.
19248         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19249         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19250         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19252         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19253         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19254         (__sqr): Likewise.
19255
19256         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19257
19258         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19259
19260 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19261
19262         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19263         Declare with __attribute__ ((weak)).
19264         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19265         Call __call_tls_dtors only if it's not NULL.
19266
19267 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19268
19269         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19270         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19271         magic __ehdr_start linker symbol if it's defined.
19272         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19273         them up here if it was already done.
19274
19275         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19276         (_dl_aux_init): Use const in cast when setting it.
19277         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19278         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19279         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19280
19281         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19282         Declare them here.
19283         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19284         * csu/libc-tls.c: Nor here.
19285         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19286
19287         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19288         (__libc_message): Never call vsyslog.
19289
19290 2013-03-28  Alan Modra  <amodra@gmail.com>
19291
19292         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19293         Define as empty.
19294         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19295         Likewise.
19296
19297 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19298
19299         [BZ #15214]
19300         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19301         underflow.
19302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303
19304 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19305
19306         [BZ #15304]
19307         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19308         Don't add gid passed as argument.
19309
19310         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19311
19312 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19313
19314         [BZ #15307]
19315         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19316         imaginary part between 1.0 and 1.5 and real part less than 0.5
19317         specially.
19318         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19319         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19320         * math/libm-test.inc (cacos_test): Add more tests.
19321         (casin_test): Likewise.
19322         (casinh_test): Likewise.
19323         * sysdeps/i386/fpu/libm-test-ulps: Update.
19324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19325
19326 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19327
19328         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19329         constants.
19330         (norm): Likewise.
19331         (denorm): Likewise.
19332         (__dbl_mp): Likewise.
19333         (add_magnitudes): Likewise.
19334         (sub_magnitudes): Likewise.
19335         (__add): Likewise.
19336         (__sub): Likewise.
19337         (__mul): Likewise.
19338         (__sqr): Likewise.
19339         (__inv): Likewise.
19340         (__dvd): Likewise.
19341
19342         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19343         commented code.
19344         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19345         (__dubcos): Likewise.
19346         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19347         (__ieee754_acos): Likewise.
19348         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19349         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19350         (__exp1): Likewise.
19351         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19353         (log1): Likewise.
19354         (my_log2): Likewise.
19355         (checkint): Likewise.
19356         * sysdeps/ieee754/dbl-64/e_remainder.c
19357         (__ieee754_remainder): Likewise.
19358         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19359         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19360         (bsloww): Likewise.
19361         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19362
19363         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19364         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19365         MANTISSA_STORE_T to store computations on mantissa.  Use
19366         macros for rounding and division.
19367         (denorm): Likewise.
19368         (__dbl_mp): Likewise.
19369         (add_magnitudes): Likewise.
19370         (sub_magnitudes): Likewise.
19371         (__mul): Likewise.
19372         (__sqr): Likewise.
19373         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19374         powers of two in terms of TWOPOW macro.
19375         (mp_no): Make type of mantissa as MANTISSA_T.
19376         [!RADIXI]: Define RADIXI.
19377         [!TWO52]: Define TWO52.
19378         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19379
19380 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19381
19382         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19383         llroundl symbol when building for PPC32.
19384
19385 2013-03-24  Mark H Weaver  <mhw@netris.org>
19386
19387         * manual/arith.texi (Normalization Functions): Fix prototypes for
19388         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19389
19390 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19391
19392         [BZ #13889]
19393         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19394         high value to check if expl overflow.
19395         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19396         to check for underflow and overflow.
19397         * math/libm-test.inc: Add exp test.
19398
19399 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19400
19401         [BZ #11120]
19402         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19403         with NOT_IN_libc.
19404
19405 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19406
19407         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19408         symbol.
19409
19410 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19411
19412         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19413         wrap blocks consisting of several statements.
19414
19415         * sysdeps/generic/math-tests.h: New file.
19416         * sysdeps/i386/fpu/math-tests.h: Likewise.
19417         * math/test-snan.c: Include it.
19418         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19419
19420 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19421
19422         [BZ #15285]
19423         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19424         (__ieee754_j0l): Do not improve calculations using cos of twice
19425         input for inputs above LDBL_MAX / 2.0L.
19426         (__ieee754_y0l): Likewise.
19427         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19428         (__ieee754_j1l): Do not improve calculations using cos of twice
19429         input for inputs above LDBL_MAX / 2.0L.
19430         (__ieee754_y1l): Likewise.
19431         * math/libm-test.inc (j0_test): Add another test.
19432         (j1_test): Likewise.
19433         (y0_test): Likewise.
19434         (y1_test): Likewise.
19435         * sysdeps/i386/fpu/libm-test-ulps: Update.
19436
19437 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19438
19439         * Rules ($(objpfx)bench-%.c): Include code from a C source
19440         file.
19441
19442 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19443
19444         [BZ #15287]
19445         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19446         imaginary part 1.0 and real part less than 0.5 specially.
19447         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19448         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19449         * math/libm-test.inc (cacos_test): Add more tests.
19450         (casin_test): Likewise.
19451         (casinh_test): Likewise.
19452         * sysdeps/i386/fpu/libm-test-ulps: Update.
19453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19454
19455 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19456
19457         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19458         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19459
19460 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19461
19462         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19463         * config.make.in (config-cflags-sse4): Remove variable.
19464         (config-cflags-avx): Likewise.
19465         (config-cflags-sse2avx): Likewise.
19466         (config-cflags-novzeroupper): Likewise.
19467         (config-asflags-i686): Likewise.
19468         (have-mfma4): Likewise.
19469         (have-as-vis3): Likewise.
19470         (MIG): Likewise.
19471         * configure.in (MIG): Do not AC_SUBST.
19472         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19473         (libc_cv_cc_sse4): Do not AC_SUBST.
19474         (libc_cv_cc_avx): Likewise.
19475         (libc_cv_cc_sse2avx): Likewise.
19476         (libc_cv_cc_novzeroupper): Likewise.
19477         (libc_cv_cc_fma4): Likewise.
19478         (libc_cv_as_i686): Likewise.
19479         (libc_cv_sparc_as_vis3): Likewise.
19480         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19481         LIBC_CONFIG_VAR.
19482         (config-asflags-i686): Likewise.
19483         (config-cflags-avx): Likewise.
19484         (config-cflags-sse2avx): Likewise.
19485         (have-mfma4): Likewise.
19486         (config-cflags-novzeroupper): Likewise.
19487         * sysdeps/mach/configure.in (MIG): Likewise.
19488         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19489         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19490         LIBC_CONFIG_VAR.
19491         (config-cflags-avx): Likewise.
19492         (config-cflags-sse2avx): Likewise.
19493         (have-mfma4): Likewise.
19494         (config-cflags-novzeroupper): Likewise.
19495         * configure: Regenerated.
19496         * sysdeps/i386/configure: Likewise.
19497         * sysdeps/mach/configure: Likewise.
19498         * sysdeps/sparc/configure: Likewise.
19499         * sysdeps/x86_64/configure: Likewise.
19500
19501 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19502
19503         [BZ #14812]
19504         * locale/programs/localedef.c (options): Put N_ translation marker
19505         on argument names, not just descriptions.
19506
19507 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19508
19509         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19510
19511 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19512
19513         [BZ #14176]
19514         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19515
19516 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19517
19518         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19519         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19520         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19521         [!BEFORE_ABORT] (before_abort): New function.
19522         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19523         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19524         (writev_for_fatal): New function.
19525         (WRITEV_FOR_FATAL): New macro; call that.
19526         (backtrace_and_maps): New function.
19527         (BEFORE_ABORT): New macro; call that.
19528         (struct str_list): Type removed.
19529         (__libc_message, __libc_fatal): Functions removed.
19530         Include <sysdeps/posix/libc_fatal.c> instead.
19531
19532 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19533
19534         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19535         constants.
19536         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19537         double constants.
19538
19539 2013-03-19  Andreas Schwab  <schwab@suse.de>
19540
19541         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19542         * sysdeps/gnu/configure: Regenerate.
19543
19544         * configure.in: Substitute libc_cv_rtlddir.
19545         * configure: Regenerate.
19546         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19547         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19548         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19549         * elf/Makefile (install-others, CFLAGS-interp.c)
19550         (ldso_install, common-ldd-rewrite): Likewise.
19551         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19552         $(inst_slibdir)/$(rtld-installed-name).
19553         * scripts/rellns-sh: Add -p option.
19554         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19555         for source.
19556
19557 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19558
19559         * manual/nptl.texi: Renamed to ...
19560         * manual/threads.texi: ... this.
19561         * manual/Makefile (chapters): Update.
19562
19563 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19564
19565         [BZ #14812]
19566         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19567         on argument names, not just descriptions.
19568         * malloc/memusagestat.c (options): Likewise.
19569         * nss/getent.c (options): Likewise.
19570
19571 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19572
19573         [BZ #14812]
19574         * iconv/iconv_prog.c (options): Put N_ translation marker
19575         on argument names, not just descriptions.
19576         * iconv/iconvconfig.c (options): Likewise.
19577
19578 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19579
19580         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19581         implementation which is faster on all x86_64 architectures.
19582         Tested on AMD, Intel Nehalem, SNB, IVB.
19583         * sysdeps/x86_64/strnlen.S: Likewise.
19584
19585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19586         Remove all multiarch strlen and strnlen versions.
19587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19588         Remove strlen and strnlen related parts.
19589
19590         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19591         Inline strlen part.
19592         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19593
19594         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19595         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19596         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19597         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19598         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19599         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19600
19601 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19602
19603         * manual/memory.texi (Malloc Tunable Parameters):
19604         Sort parameters alphabetically. Add comments for missing entries.
19605
19606 2013-03-17  David S. Miller  <davem@davemloft.net>
19607
19608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19609
19610 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19611
19612         [BZ #15283]
19613         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19614         for arguments at most half maximum finite value.
19615         * math/libm-test.inc (j0_test): Add more tests.
19616         (j1_test): Likewise.
19617         (y0_test): Likewise.
19618         (y1_test): Likewise.
19619         * sysdeps/i386/fpu/libm-test-ulps: Update.
19620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19621
19622         [BZ #14155]
19623         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19624         1 / x and functions P and Q for arguments above 0x1p256L.
19625         (__ieee754_y0l): Likewise.
19626         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19627         (__ieee754_y1l): Likewise.
19628         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19629         (j1_test): Likewise.
19630         (y0_test): Likewise.
19631         (y1_test): Likewise.
19632
19633 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19634
19635         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19636         variable.
19637
19638 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19639
19640         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19641         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19642         zero since it's initialized to EXEC_PAGESIZE.
19643
19644         * sysdeps/unix/sysv/linux/ldsodefs.h
19645         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19646         * sysdeps/generic/ldsodefs.h: ... here.
19647
19648 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19649
19650         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19651
19652         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19653         math/test-snan.c.
19654         * math/test-snan.c: Renamed from
19655         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19656         * math/Makefile (tests): Add test-snan.
19657         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19658         test-powerpc-snan.
19659
19660         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19661         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19662         functions.
19663         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19664         __builtin_nan family of functions.
19665         * math/libm-test.inc (initialize): Initialize qnan_value with
19666         __builtin_nan family of functions.
19667         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19668         Remove variables.
19669         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19670         Remove functions.
19671         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19672         storage class.  Initialize qNaN_var and sNaN_var with
19673         __builtin_nan and __builtin_nans families of functions,
19674         respectively.
19675
19676         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19677         (sqrt_test): Remove duplicate test with qNaN input.
19678         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19679         (round_test, signbit_test, significand_test): Note missing +/-Inf
19680         as well as qNaN tests.
19681
19682         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19683         qNaN_var.  Fix a few strings, too.
19684         * math/libm-test.inc (nan_value): Rename to qnan_value.
19685         * math/gen-libm-test.pl (%beautify): Adjust to that.
19686         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19687         * math/test-misc.c (main): Likewise.
19688         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19689         to __qnan_bytes, and __qnan_union, respectively.
19690         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19691         Likewise.
19692         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19693         and lqnanval, respectively.
19694         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19695         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19696         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19697         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19698
19699         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19700         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19701         doubles.
19702
19703         * math/test-misc.c (main): Fix copy'n'pastos.
19704         * misc/tst-efgcvt.c (special): Likewise.
19705
19706         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19707         Remove declarations.
19708
19709 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19710
19711         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19712         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19713         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19714         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19715
19716 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19717
19718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19719         macro to return vdso values correctly in IFUNC implementations.
19720         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19721         Optimization by using IFUNC.
19722
19723 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19724             Richard Henderson  <rth@redhat.com>
19725             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19726
19727         * Makefile.in (bench): New target.
19728         * NEWS: Mention the benchmark framework.
19729         * Rules (bench): Likewise.
19730         (binaries-bench): Generate binaries for functions to
19731         benchmark.
19732         * benchtests/Makefile: New makefile for benchmark tests.
19733         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19734         programs.
19735         * benchtests/exp-inputs: New input file for EXP function.
19736         * benchtests/pow-inputs: New input file for POW function.
19737         * scripts/bench.pl: New script to generate source files for
19738         benchmark programs.
19739
19740 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19741
19742         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19743         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19744         computations on mantissa.  Use macros for rounding and
19745         division.
19746         (denorm): Likewise.
19747         (__dbl_mp): Likewise.
19748         (add_magnitudes): Likewise.
19749         (sub_magnitudes): Likewise.
19750         (__mul): Likewise.
19751         (__sqr): Likewise.
19752         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19753         powers of two in terms of TWOPOW macro.
19754         (mp_no): Make type of mantissa as MANTISSA_T.
19755         [!RADIXI]: Define RADIXI.
19756         [!TWO52]: Define TWO52.
19757         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19758
19759         * manual/nptl.texi (cindex): Modify threads to pthreads.
19760
19761 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19762
19763         * sysdeps/x86_64/preconfigure: Regenerated.
19764
19765 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19766
19767         [BZ #14155]
19768         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19769         0x1p28 and above.
19770         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19771         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19772         0x1p28 and above.
19773         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19774         * math/libm-test.inc (j0_test): Do not allow one spurious
19775         underflow exception.
19776         (y1_test): Likewise.
19777
19778 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19779
19780         * manual/Makefile (chapters): Add nptl.
19781         * manual/debug.texi (Debugging Support): Add link to Threads
19782         chapter.
19783         * manual/nptl.texi: New file.
19784
19785         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19786
19787 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19788
19789         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19790         for non-NULL pointer before the memory validity test. Pointed
19791         out by Holger Brunck <holger.brunck@keymile.com>.
19792
19793 2013-03-13  Andreas Schwab  <schwab@suse.de>
19794
19795         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19796         instead of .os.
19797
19798 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19799
19800         * timezone/zic.c: Update from tzcode 2013b.
19801
19802 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19803
19804         * manual/install.texi (Configuring and compiling):
19805         Mention i686 and i586.
19806         * INSTALL: Regenerate.
19807
19808 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19809
19810         * sysdeps/init_array/elf-init.c: New file.
19811         * csu/elf-init.c
19812         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19813         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19814
19815         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19816         __gmon_start__ as global, but as static with a .preinit_array pointer.
19817         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19818         * sysdeps/init_array/crti.S: New file, empty except for comments.
19819         * sysdeps/init_array/crtn.S: Likewise.
19820
19821 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19822
19823         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19824         definining bcopy.
19825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19826         Remove Prefer_SSE_for_memop.
19827         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19828         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19829         HAS_PREFER_SSE_FOR_MEMOP.
19830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19831         memset-x86-64.
19832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19833         Remove bzero, memset ifunc support.
19834         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19835         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19836         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19837         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19838
19839 2013-03-11  Andreas Schwab  <schwab@suse.de>
19840
19841         [BZ #15234]
19842         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19843         by SHLIB_COMPAT.
19844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19845         (GLIBC_2.16): Remove pthread_atfork.
19846
19847 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19848
19849         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19850         (ptestcases.h): Likewise.
19851
19852 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19853
19854         * Makeconfig ($(common-objpfx)config.status): Depend on
19855         sysdeps/*/preconfigure{,.in} too.
19856
19857 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19858
19859         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19860         (__free_hook): Use void * instead of __malloc_ptr_t.
19861         (__malloc_hook): Likewise.
19862         (__realloc_hook): Likewise.
19863         (__memalign_hook): Likewise.
19864         (__after_morecore_hook): Likewise.
19865         * malloc/arena.c (save_malloc_hook): Likewise.
19866         (save_free_hook): Likewise.
19867         * malloc/hooks.c (malloc_hook_ini): Likewise.
19868         (realloc_hook_ini): Likewise.
19869         (memalign_hook_ini): Likewise.
19870         * malloc/malloc.c (malloc_hook_ini): Likewise.
19871         (realloc_hook_ini): Likewise.
19872         (memalign_hook_ini): Likewise.
19873         (__free_hook): Likewise.
19874         (__malloc_hook): Likewise.
19875         (__realloc_hook): Likewise.
19876         (__memalign_hook): Likewise.
19877         (__libc_malloc): Likewise.
19878         (__libc_free): Likewise.
19879         (__libc_realloc): Likewise.
19880         (__libc_memalign): Likewise.
19881         (__libc_valloc): Likewise.
19882         (__libc_pvalloc): Likewise.
19883         (__libc_calloc): Likewise.
19884         (__posix_memalign): Likewise.
19885         * malloc/morecore.c (__sbrk): Likewise.
19886         (__default_morecore): Likewise.
19887
19888         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19889
19890         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19891         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19892         __malloc_ptrdiff_t.
19893
19894         * malloc/malloc.h (__malloc_size_t): Remove macro.
19895         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19896         __malloc_size_t.
19897         (old_memalign_hook): Likewise.
19898         (old_realloc_hook): Likewise.
19899         (struct hdr): Likewise.
19900         (flood): Likewise.
19901         (mallochook): Likewise.
19902         (memalignhook): Likewise.
19903         (reallochook): Likewise.
19904         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19905         (tr_old_realloc_hook): Likewise.
19906         (tr_old_memalign_hook): Likewise.
19907         (tr_mallochook): Likewise.
19908         (tr_reallochook): Likewise.
19909         (tr_memalignhook): Likewise.
19910
19911 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19912
19913         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19914         default_ldbl_pack and using as default implementation.
19915         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19916         implementation.
19917         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19918         redundant definition.
19919         (ldbl_insert_mantissa): Likewise.
19920         (ldbl_canonicalize): Likewise.
19921         (ldbl_nearbyint): Likewise.
19922         (ldbl_pack): Rename to ldbl_pack_ppc.
19923         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19924         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19925         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19926
19927 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19928
19929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19930         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19931         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19932         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19934         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19935         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19936         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19937
19938 2013-03-07  Andreas Jaeger  <aj@suse.de>
19939
19940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19941         bits/mman-linux.h.
19942
19943 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19944
19945         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19946         Include mpa.h and declare __MPEXP.
19947         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19948         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19949         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19950         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19951         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19952         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19953         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19954
19955         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19956         (__slowpow): Use long double EXPL and LOGL functions to
19957         compute POW.
19958         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19959         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19960         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19961         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19962         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19963         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19964
19965         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19966         intermediate variable to calculate exponent.
19967         (__sqr): Likewise.
19968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19969         Likewise.
19970         (__sqr): Likewise.
19971
19972         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19973         [!NO__SQR]: Define __sqr.
19974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19975         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19976         sysdeps/ieee754/dbl-64/mpa.c.
19977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19978
19979         [BZ #12723]
19980         * posix/Makefile (tests): Add tst-pathconf.
19981         * posix/tst-pathconf.c: New test case.
19982         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19983         _PC_PIPE_BUF.
19984         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19985
19986 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19987
19988         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19989
19990 2013-03-06  Andreas Jaeger  <aj@suse.de>
19991
19992         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19993         definition via __MAP_ANONYMOUS.
19994
19995         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19996         it's not part of Linux headers.
19997
19998         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19999         (MAP_HUGE_MASK): Define.
20000
20001         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20002         Define.
20003         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20004         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20005         Define.
20006         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20007         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20008         Define.
20009         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20010         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20011         Define.
20012         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20013
20014         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20015         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20016         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20017         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20018         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20019         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20020
20021         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20022         Handle f2fs.
20023
20024         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20025         Handle f2fs and efivarfs.
20026
20027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20028         f2fs.
20029
20030         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20031         (EFIVARFS_MAGIC): Add.
20032         (F2FS_LINK_MAX): Add.
20033
20034 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20035
20036         * stdio-common/vfprintf.c: Replace __builtin_expect with
20037         __glibc_unlikely.
20038
20039 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20040
20041         [BZ #13550]
20042         * sysdeps/generic/bp-sym.h: Remove file.
20043         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20044         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20045         <bp-sym.h> and <bp-asm.h>.
20046         (__longjmp): Don't use BP_SYM.
20047         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20048         and <bp-asm.h>.
20049         (memcpy): Don't use BP_SYM.
20050         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20051         <bp-sym.h> and <bp-asm.h>.
20052         (memcpy): Don't use BP_SYM.
20053         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20054         <bp-asm.h>.
20055         (memcpy): Don't use BP_SYM.
20056         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20057         <bp-asm.h>.
20058         (memset): Don't use BP_SYM.
20059         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20060         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20061         (__bzero): Don't use BP_SYM.
20062         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20063         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20064         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20065         <bp-sym.h> and <bp-asm.h>.
20066         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20067         pointers.
20068         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20069         <bp-sym.h> and <bp-asm.h>.
20070         (memcpy): Don't use BP_SYM.
20071         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20072         <bp-sym.h> and <bp-asm.h>.
20073         (memset): Don't use BP_SYM.
20074         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20075         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20076         (__bzero): Don't use BP_SYM.
20077         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20078         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20079         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20080         <bp-sym.h> and <bp-asm.h>.
20081         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20082         pointers.
20083         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20084         <bp-sym.h> and <bp-asm.h>.
20085         (memcpy): Don't use BP_SYM.
20086         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20087         <bp-sym.h> and <bp-asm.h>.
20088         (memset): Don't use BP_SYM.
20089         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20090         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20091         (__bzero): Don't use BP_SYM.
20092         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20093         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20094         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20095         <bp-sym.h> and <bp-asm.h>.
20096         (__memchr): Don't use BP_SYM.
20097         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20098         <bp-sym.h> and <bp-asm.h>.
20099         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20100         pointers.
20101         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20102         <bp-sym.h> and <bp-asm.h>.
20103         (memcpy): Don't use BP_SYM.
20104         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20105         <bp-sym.h> and <bp-asm.h>.
20106         (__mempcpy): Don't use BP_SYM.
20107         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20108         <bp-sym.h> and <bp-asm.h>.
20109         (__memrchr): Don't use BP_SYM.
20110         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20111         <bp-sym.h> and <bp-asm.h>.
20112         (memset): Don't use BP_SYM.
20113         (__bzero): Likewise.
20114         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20115         <bp-sym.h> and <bp-asm.h>.
20116         (__rawmemchr): Don't use BP_SYM.
20117         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20118         <bp-sym.h> and <bp-asm.h>.
20119         (__STRCMP): Don't use BP_SYM.
20120         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20121         <bp-sym.h> and <bp-asm.h>.
20122         (strchr): Don't use BP_SYM.
20123         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20124         <bp-sym.h> and <bp-asm.h>.
20125         (__strchrnul): Don't use BP_SYM.
20126         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20127         <bp-sym.h> and <bp-asm.h>.
20128         (strlen): Don't use BP_SYM.
20129         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20130         <bp-sym.h> and <bp-asm.h>.
20131         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20132         pointers.
20133         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20134         <bp-sym.h> and <bp-asm.h>.
20135         (__strnlen): Don't use BP_SYM.
20136         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20137         <bp-sym.h> and <bp-asm.h>.
20138         (__GI__setjmp): Don't use BP_SYM.
20139         (_setjmp): Likewise.
20140         (__sigsetjmp): Likewise.
20141         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20142         (L(start_addresses)): Don't use BP_SYM.
20143         (_start): Likewise.
20144         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20145         <bp-asm.h>.
20146         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20147         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20148         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20149         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20150         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20151         <bp-asm.h>.
20152         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20153         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20154         about bounded pointers.
20155         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20156         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20157         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20158         <bp-asm.h>.
20159         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20160         about bounded pointers.  Remove GKM FIXME comments.
20161         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20162         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20163         <bp-asm.h>.
20164         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20165         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20166         Remove GKM FIXME comments.
20167         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20168         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20169         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20170         <bp-asm.h>.
20171         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20172         about bounded pointers.  Remove GKM FIXME comment.
20173         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20174         and <bp-asm.h>.
20175         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20176         pointers.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20178         <bp-sym.h> and <bp-asm.h>.
20179         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20181         <bp-sym.h> and <bp-asm.h>.
20182         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20183         comment.
20184
20185 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20186
20187         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20188         call free(NULL).
20189
20190 2013-03-05  David S. Miller  <davem@davemloft.net>
20191
20192         * po/es.po: Update from translation team.
20193
20194 2013-03-05  Andreas Jaeger  <aj@suse.de>
20195
20196         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20197         <bits/mman-linux.h>.
20198         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20199         is fine.
20200         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20201         <bits/mman-linux.h> to end of file.
20202         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20203         is fine.
20204         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20205         <bits/mman-linux.h> to end of file.
20206         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20207         is fine.
20208         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20209         <bits/mman-linux.h> to end of file.
20210
20211         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20212         (MCL_CURRENT, MCL_FUTURE): Define here.
20213
20214 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20215
20216         [BZ #15232]
20217         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20218         attribute_hidden.
20219         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20220
20221 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20222
20223         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20224         fourth parameter needed for rt_sigprocmask syscall.
20225         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20226         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20227         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20228         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20229         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20230         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20231
20232 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20233
20234         [BZ #13550]
20235         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20236         comment about bounded pointers.
20237         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20238         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20239
20240 2013-03-04  Andreas Jaeger  <aj@suse.de>
20241
20242         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20243         common definitions.
20244
20245         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20246         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20247         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20248         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20249         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20250         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20251
20252 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20253
20254         [BZ #15055]
20255         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20256         __ieee754_sqrl instead of __sqrl.
20257
20258 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20259
20260         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20261         * sysdeps/powerpc/fpu_control.h: ... here.
20262         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20263         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20264         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20265         * sysdeps/powerpc/bits/mathinline.h: ... here.
20266
20267 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20268
20269         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20270         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20271         to just [NEED_DL_SYSINFO_DSO].
20272         * elf/dl-support.c: Likewise.
20273         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20274         * elf/rtld.c (dl_main): Likewise.
20275         * elf/setup-vdso.h (setup_vdso): Likewise.
20276         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20277         * sysdeps/unix/sysv/linux/dl-sysdep.c
20278         (_dl_discover_osversion): Likewise.
20279
20280 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20281
20282         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20283         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20284
20285 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20286
20287         * NEWS: Mention libm performance improvements and non-x86 PI
20288         futex support.
20289
20290         * csu/libc-start.c (__pthread_initialize_minimal): Change
20291         function arguments.
20292         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20293
20294 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20295
20296         [BZ #13550]
20297         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20298         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20299         <bp-sym.h> and <bp-asm.h>.
20300         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20301         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20302         and <bp-asm.h>.
20303         (memcpy): Don't use BP_SYM.
20304         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20305         <bp-asm.h>.
20306         (__mpn_add_n): Don't use BP_SYM.
20307         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20308         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20309         and <bp-asm.h>.
20310         (__mpn_addmul_1): Don't use BP_SYM.
20311         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20312         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20313         <bp-sym.h>.
20314         (_setjmp): Don't use BP_SYM.
20315         (__novmx_setjmp): Likewise.
20316         (__GI__setjmp): Likewise.
20317         (__vmx_setjmp): Likewise.
20318         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20319         <bp-sym.h>.
20320         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20321         (__bzero): Don't use BP_SYM.
20322         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20323         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20324         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20325         <bp-sym.h> and <bp-asm.h>.
20326         (memcpy): Don't use BP_SYM.
20327         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20328         <bp-sym.h> and <bp-asm.h>.
20329         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20330         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20331         <bp-sym.h> and <bp-asm.h>.
20332         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20333         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20334         <bp-asm.h>.
20335         (__mpn_lshift): Don't use BP_SYM.
20336         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20337         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20338         <bp-asm.h>.
20339         (memset): Don't use BP_SYM.
20340         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20341         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20342         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20343         <bp-asm.h>.
20344         (__mpn_mul_1): Don't use BP_SYM.
20345         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20346         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20347         <bp-sym.h> and <bp-asm.h>.
20348         (memcmp): Don't use BP_SYM.
20349         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20350         <bp-sym.h> and <bp-asm.h>.
20351         (memcpy): Don't use BP_SYM.
20352         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20353         <bp-sym.h> and <bp-asm.h>.
20354         (memset): Don't use BP_SYM.
20355         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20356         <bp-sym.h> and <bp-asm.h>.
20357         (strncmp): Don't use BP_SYM.
20358         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20359         <bp-sym.h> and <bp-asm.h>.
20360         (memcpy): Don't use BP_SYM.
20361         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20362         <bp-sym.h> and <bp-asm.h>.
20363         (memset): Don't use BP_SYM.
20364         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20365         <bp-sym.h> and <bp-asm.h>.
20366         (__memchr): Don't use BP_SYM.
20367         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20368         <bp-sym.h> and <bp-asm.h>.
20369         (memcmp): Don't use BP_SYM.
20370         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20371         <bp-sym.h> and <bp-asm.h>.
20372         (memcpy): Don't use BP_SYM.
20373         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20374         <bp-sym.h> and <bp-asm.h>.
20375         (__mempcpy): Don't use BP_SYM.
20376         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20377         <bp-sym.h> and <bp-asm.h>.
20378         (__memrchr): Don't use BP_SYM.
20379         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20380         <bp-sym.h> and <bp-asm.h>.
20381         (memset): Don't use BP_SYM.
20382         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20383         <bp-sym.h> and <bp-asm.h>.
20384         (__rawmemchr): Don't use BP_SYM.
20385         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20386         <bp-sym.h> and <bp-asm.h>.
20387         (__STRCMP): Don't use BP_SYM.
20388         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20389         <bp-sym.h> and <bp-asm.h>.
20390         (strchr): Don't use BP_SYM.
20391         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20392         <bp-sym.h> and <bp-asm.h>.
20393         (__strchrnul): Don't use BP_SYM.
20394         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20395         <bp-sym.h> and <bp-asm.h>.
20396         (strlen): Don't use BP_SYM.
20397         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20398         <bp-sym.h> and <bp-asm.h>.
20399         (strncmp): Don't use BP_SYM.
20400         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20401         <bp-sym.h> and <bp-asm.h>.
20402         (__strnlen): Don't use BP_SYM.
20403         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20404         <bp-asm.h>.
20405         (__mpn_rshift): Don't use BP_SYM.
20406         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20407         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20408         <bp-sym.h> and <bp-asm.h>.
20409         (__sigsetjmp): Don't use BP_SYM.
20410         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20411         (L(start_addresses)): Don't use BP_SYM.
20412         (_start): Likewise.
20413         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20414         <bp-asm.h>.
20415         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20416         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20417         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20418         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20419         <bp-asm.h>.
20420         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20421         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20422         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20423         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20424         <bp-asm.h>.
20425         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20426         comments.
20427         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20428         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20429         <bp-asm.h>.
20430         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20431         FIXME comments.
20432         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20433         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20434         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20435         <bp-asm.h>.
20436         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20437         comment.
20438         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20439         and <bp-asm.h>.
20440         (strncmp): Don't use BP_SYM,
20441         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20442         <bp-asm.h>.
20443         (__mpn_sub_n): Don't use BP_SYM.
20444         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20445         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20446         and <bp-asm.h>.
20447         (__mpn_submul_1): Don't use BP_SYM.
20448         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20450         <bp-sym.h> and <bp-asm.h>.
20451         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20453         <bp-sym.h> and <bp-asm.h>.
20454         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20455         comment.
20456
20457 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20458
20459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20460         Use ZK to minimize writes to Z.
20461         (sub_magnitudes): Simplify code a bit.
20462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20463         Use ZK to minimize writes to Z.
20464         (sub_magnitudes): Simplify code a bit.
20465
20466 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20467
20468         * csu/gmon-start.c: Add special exception to license text.
20469
20470 2013-02-27  Richard Henderson  <rth@redhat.com>
20471
20472         * scripts/config.guess: Update from config.git.
20473         * scripts/config.sub: Likewise.
20474
20475 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20476
20477         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20478
20479         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20480
20481         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20482
20483         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20484
20485         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20486
20487 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20488
20489         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20490         [$(build-shared = yes].
20491
20492 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20493
20494         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20495         (__mul): Reduce iterations for calculating mantissa.
20496
20497         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20498         MPTWO.
20499         (__mpranred): Likewise.
20500
20501         [BZ #15160]
20502         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20503         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20504
20505 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20506
20507         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20508         Define __attribute__.
20509
20510 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20511
20512         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20513         unused.
20514         * posix/regex_internal.h (__attribute): Remove.
20515         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20516         (re_string_context_at): Likewise.
20517         (bitset_not): Use __attribute__ and mark function as possibly
20518         unused.
20519         (bitset_merge): Likewise.
20520         (bitset_mask): Likewise.
20521         (re_string_char_size_at): Likewise.
20522         (re_string_wchar_at): Likewise.
20523         (re_string_elem_size_at): Likewise.
20524
20525 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20526
20527         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20528         code.
20529         (cc32): Likewise.
20530
20531         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20532         (__acr): Likewise.
20533         (__cpy): Likewise.
20534         (norm): Likewise.
20535         (denorm): Likewise.
20536         (__dbl_mp): Likewise.
20537         (add_magnitudes): Likewise.
20538         (sub_magnitudes): Likewise.
20539         (__mul): Likewise.
20540         (__inv): Likewise.
20541
20542         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20543         style.
20544
20545         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20546         style.
20547
20548         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20549         code.
20550
20551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20552         up changes with default code.
20553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20554         Likewise.
20555
20556 2013-02-24  Allan McRae  <allan@archlinux.org>
20557
20558         * manual/socket.texi (The Internet Namespace): Order menu items
20559         to match that in the file.
20560
20561         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20562         node listing of the info page menu.
20563
20564 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20565
20566         [BZ #13550]
20567         * sysdeps/i386/bp-asm.h: Remove file.
20568         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20569         (PARMS): Do not use macros from bp-asm.h.
20570         (S1): Likewise.
20571         (S2): Likewise.
20572         (SIZE): Likewise.
20573         (__mpn_add_n): Do not use BP_SYM
20574         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20575         "bp-asm.h".
20576         (PARMS): Do not use macros from bp-asm.h.
20577         (S1): Likewise.
20578         (SIZE): Likewise.
20579         (__mpn_addmul_1): Do not use BP_SYM
20580         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20581         "bp-asm.h".
20582         (PARMS): Do not use macros from bp-asm.h.
20583         (SIGMSK): Likewise.
20584         (_setjmp): Likewise.  Do not use BP_SYM.
20585         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20586         "bp-asm.h".
20587         (PARMS): Do not use macros from bp-asm.h.
20588         (SIGMSK): Likewise.
20589         (setjmp): Likewise.  Do not use BP_SYM.
20590         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20591         "bp-asm.h".
20592         (PARMS): Do not use macros from bp-asm.h.
20593         (__frexp): Do not use BP_SYM.
20594         (frexp): Likewise.
20595         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20596         "bp-asm.h".
20597         (PARMS): Do not use macros from bp-asm.h.
20598         (__frexpf): Do not use BP_SYM.
20599         (frexpf): Likewise.
20600         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20601         "bp-asm.h".
20602         (PARMS): Do not use macros from bp-asm.h.
20603         (__frexpl): Do not use BP_SYM.
20604         (frexpl): Likewise.
20605         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20606         "bp-asm.h".
20607         (PARMS): Do not use macros from bp-asm.h.
20608         (__remquo): Do not use BP_SYM.
20609         (remquo): Likewise.
20610         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20611         "bp-asm.h".
20612         (PARMS): Do not use macros from bp-asm.h.
20613         (__remquof): Do not use BP_SYM.
20614         (remquof): Likewise.
20615         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20616         "bp-asm.h".
20617         (PARMS): Do not use macros from bp-asm.h.
20618         (__remquol): Do not use BP_SYM.
20619         (remquol): Likewise.
20620         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20621         "bp-asm.h".
20622         (PARMS): Do not use macros from bp-asm.h.
20623         (DEST): Likewise.
20624         (SRC): Likewise.
20625         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20626         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20627         "bp-asm.h".
20628         (PARMS): Do not use macros from bp-asm.h.
20629         (strlen): Do not use BP_SYM.
20630         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20631         "bp-asm.h".
20632         (PARMS): Do not use macros from bp-asm.h.
20633         (S1): Likewise.
20634         (S2): Likewise.
20635         (SIZE): Likewise.
20636         (__mpn_add_n): Do not use BP_SYM.
20637         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20638         "bp-asm.h".
20639         (PARMS): Do not use macros from bp-asm.h.
20640         (S1): Likewise.
20641         (SIZE): Likewise.
20642         (__mpn_addmul_1): Do not use BP_SYM.
20643         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20644         weak_alias.
20645         (bzero): Likewise.
20646         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20647         "bp-asm.h".
20648         (PARMS): Do not use macros from bp-asm.h.
20649         (S): Likewise.
20650         (SIZE): Likewise.
20651         (__mpn_lshift): Do not use BP_SYM.
20652         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20653         "bp-asm.h".
20654         (PARMS): Do not use macros from bp-asm.h.
20655         (DEST): Likewise.
20656         (SRC): Likewise.
20657         (LEN): Likewise.
20658         (memcpy): Likewise.  Do not use BP_SYM.
20659         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20660         libc_hidden_def and weak_alias.
20661         (mempcpy): Do not use BP_SYM in weak_alias.
20662         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20663         "bp-asm.h".
20664         (PARMS): Do not use macros from bp-asm.h.
20665         (DEST): Likewise.
20666         (LEN): Likewise.
20667         [!BZERO_P] (CHR): Likewise.
20668         (memset): Likewise.  Do not use BP_SYM.
20669         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20670         "bp-asm.h".
20671         (PARMS): Do not use macros from bp-asm.h.
20672         (S1): Likewise.
20673         (SIZE): Likewise.
20674         (__mpn_mul_1): Do not use BP_SYM.
20675         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20676         "bp-asm.h".
20677         (PARMS): Do not use macros from bp-asm.h.
20678         (S): Likewise.
20679         (SIZE): Likewise.
20680         (__mpn_rshift): Do not use BP_SYM.
20681         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20682         "bp-asm.h".
20683         (PARMS): Do not use macros from bp-asm.h.
20684         (STR): Likewise.
20685         (CHR): Likewise.
20686         (strchr): Likewise.  Do not use BP_SYM.
20687         (index): Do not use BP_SYM in weak_alias.
20688         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20689         "bp-asm.h".
20690         (PARMS): Do not use macros from bp-asm.h.
20691         (DEST): Likewise.
20692         (SRC): Likewise.
20693         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20694         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20695         "bp-asm.h".
20696         (PARMS): Do not use macros from bp-asm.h.
20697         (strlen): Do not use BP_SYM.
20698         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20699         "bp-asm.h".
20700         (PARMS): Do not use macros from bp-asm.h.
20701         (S1): Likewise.
20702         (S2): Likewise.
20703         (SIZE): Likewise.
20704         (__mpn_sub_n): Do not use BP_SYM.
20705         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20706         "bp-asm.h".
20707         (PARMS): Do not use macros from bp-asm.h.
20708         (S1): Likewise.
20709         (SIZE): Likewise.
20710         (__mpn_submul_1): Do not use BP_SYM.
20711         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20712         "bp-asm.h".
20713         (PARMS): Do not use macros from bp-asm.h.
20714         (S1): Likewise.
20715         (S2): Likewise.
20716         (SIZE): Likewise.
20717         (__mpn_add_n): Do not use BP_SYM.
20718         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20719         weak_alias.
20720         (bzero): Likewise.
20721         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20722         "bp-asm.h".
20723         (PARMS): Do not use macros from bp-asm.h.
20724         (BLK2): Likewise.
20725         (LEN): Likewise.
20726         (memcmp): Do not use BP_SYM.
20727         (bcmp): Do not use BP_SYM in weak_alias.
20728         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20729         "bp-asm.h".
20730         (PARMS): Do not use macros from bp-asm.h.
20731         (DEST): Likewise.
20732         (SRC): Likewise.
20733         (LEN): Likewise.
20734         (memcpy): Likewise.  Do not use BP_SYM.
20735         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20736         "bp-asm.h".
20737         (PARMS): Do not use macros from bp-asm.h.
20738         (DEST): Likewise.
20739         (SRC): Likewise.
20740         (LEN): Likewise.
20741         (memmove): Likewise.  Do not use BP_SYM.
20742         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20743         "bp-asm.h".
20744         (PARMS): Do not use macros from bp-asm.h.
20745         (DEST): Likewise.
20746         (SRC): Likewise.
20747         (LEN): Likewise.
20748         (__mempcpy): Likewise.  Do not use BP_SYM.
20749         (mempcpy): Do not use BP_SYM in weak_alias.
20750         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20751         "bp-asm.h".
20752         (PARMS): Do not use macros from bp-asm.h.
20753         (DEST): Likewise.
20754         (LEN): Likewise.
20755         [!BZERO_P] (CHR): Likewise.
20756         (memset): Likewise.  Do not use BP_SYM.
20757         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20758         "bp-asm.h".
20759         (PARMS): Do not use macros from bp-asm.h.
20760         (STR2): Likewise.
20761         (strcmp): Do not use BP_SYM.
20762         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20763         "bp-asm.h".
20764         (PARMS): Do not use macros from bp-asm.h.
20765         (STR): Likewise.
20766         (DELIM): Likewise.
20767         [USE_AS_STRTOK_R] (SAVE): Likewise.
20768         (FUNCTION): Likewise.  Do not use BP_SYM.
20769         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20770         aliases.
20771         (strtok_r): Likewise.
20772         (__GI___strtok_r): Likewise.
20773         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20774         (PARMS): Do not use macros from bp-asm.h.
20775         (S): Likewise.
20776         (SIZE): Likewise.
20777         (__mpn_lshift): Do not use BP_SYM.
20778         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20779         (PARMS): Do not use macros from bp-asm.h.
20780         (STR): Likewise.
20781         (CHR): Likewise.
20782         (__memchr): Do not use BP_SYM.
20783         (memchr): Do not use BP_SYM in weak_alias.
20784         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20785         (PARMS): Do not use macros from bp-asm.h.
20786         (BLK2): Likewise.
20787         (LEN): Likewise.
20788         (memcmp): Do not use BP_SYM.
20789         (bcmp): Do not use BP_SYM in weak_alias.
20790         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20791         (PARMS): Do not use macros from bp-asm.h.
20792         (S1): Likewise.
20793         (SIZE): Likewise.
20794         (__mpn_mul_1): Do not use BP_SYM.
20795         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20796         "bp-asm.h".
20797         (PARMS): Do not use macros from bp-asm.h.
20798         (STR): Likewise.
20799         (CHR): Likewise.
20800         (__rawmemchr): Do not use BP_SYM.
20801         (rawmemchr): Do not use BP_SYM in weak_alias.
20802         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20803         (PARMS): Do not use macros from bp-asm.h.
20804         (S): Likewise.
20805         (SIZE): Likewise.
20806         (__mpn_rshift): Do not use BP_SYM.
20807         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20808         (PARMS): Do not use macros from bp-asm.h.
20809         (SIGMSK): Likewise.
20810         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20811         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20812         (_start): Do not use BP_SYM.
20813         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20814         (PARMS): Do not use macros from bp-asm.h.
20815         (DEST): Likewise.
20816         (SRC): Likewise.
20817         (__stpcpy): Likewise.  Do not use BP_SYM.
20818         (stpcpy): Do not use BP_SYM in weak_alias.
20819         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20820         "bp-asm.h".
20821         (PARMS): Do not use macros from bp-asm.h.
20822         (DEST): Likewise.
20823         (SRC): Likewise.
20824         (LEN): Likewise.
20825         (__stpncpy): Likewise.  Do not use BP_SYM.
20826         (stpncpy): Do not use BP_SYM in weak_alias.
20827         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20828         (PARMS): Do not use macros from bp-asm.h.
20829         (STR): Likewise.
20830         (CHR): Likewise.
20831         (strchr): Likewise.  Do not use BP_SYM.
20832         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20833         "bp-asm.h".
20834         (PARMS): Do not use macros from bp-asm.h.
20835         (STR): Likewise.
20836         (CHR): Likewise.
20837         (__strchrnul): Likewise.  Do not use BP_SYM.
20838         (strchrnul): Do not use BP_SYM in weak_alias.
20839         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20840         "bp-asm.h".
20841         (PARMS): Do not use macros from bp-asm.h.
20842         (STOP): Likewise.
20843         (strcspn): Do not use BP_SYM.
20844         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20845         "bp-asm.h".
20846         (PARMS): Do not use macros from bp-asm.h.
20847         (STR): Likewise.
20848         (STOP): Likewise.
20849         (strpbrk): Likewise.  Do not use BP_SYM.
20850         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20851         "bp-asm.h".
20852         (PARMS): Do not use macros from bp-asm.h.
20853         (STR): Likewise.
20854         (CHR): Likewise.
20855         (strrchr): Likewise.  Do not use BP_SYM.
20856         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20857         (PARMS): Do not use macros from bp-asm.h.
20858         (SKIP): Likewise.
20859         (strspn): Do not use BP_SYM.
20860         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20861         (PARMS): Do not use macros from bp-asm.h.
20862         (STR): Likewise.
20863         (DELIM): Likewise.
20864         (SAVE): Likewise.
20865         (FUNCTION): Likewise.  Do not use BP_SYM.
20866         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20867         aliases.
20868         (strtok_r): Likewise.
20869         (__GI___strtok_r): Likewise.
20870         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20871         (PARMS): Do not use macros from bp-asm.h.
20872         (S1): Likewise.
20873         (S2): Likewise.
20874         (SIZE): Likewise.
20875         (__mpn_sub_n): Do not use BP_SYM.
20876         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20877         "bp-asm.h".
20878         (PARMS): Do not use macros from bp-asm.h.
20879         (S1): Likewise.
20880         (SIZE): Likewise.
20881         (__mpn_submul_1): Do not use BP_SYM.
20882         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20883         <bp-sym.h>.
20884         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20885         and <bp-asm.h>.
20886         (PARMS): Do not use macros from bp-asm.h.
20887         (FLAGS): Likewise.
20888         (PTID): Likewise.
20889         (TLS): Likewise.
20890         (CTID): Likewise.
20891         (__clone): Do not use BP_SYM.
20892         (clone): Do not use BP_SYM in weak_alias.
20893         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20894         and <bp-asm.h>.
20895         (PARMS): Do not use macros from bp-asm.h.
20896         (LEN): Likewise.
20897         (__mmap64): Do not use BP_SYM.
20898         (mmap64): Do not use BP_SYM in weak_alias.
20899         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20900         <bp-sym.h> and <bp-asm.h>.
20901         (PARMS): Do not use macros from bp-asm.h.
20902         (__posix_fadvise64_l64): Do not use BP_SYM.
20903         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20904         (PARMS): Do not use macros from bp-asm.h.
20905         (NSOPS): Likewise.
20906         (semtimedop): Do not use BP_SYM.
20907         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20908         and <bp-asm.h>.
20909
20910 2013-02-21  Allan McRae  <allan@archlinux.org>
20911
20912         * manual/message.texi (Charset conversion in gettext):
20913         Move @end statement to beginning of line.
20914
20915 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20916
20917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20918         static.
20919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20920         Likewise.
20921
20922         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20923         (denorm): Likewise.
20924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20926
20927 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20928
20929         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20930         tail-call to the resolved function if pltexit isn't needed.
20931
20932 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933
20934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20935         or Y being zero as being unlikely.
20936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20937         Likewise.
20938
20939 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20940
20941         * manual/nss.texi (System Databases and Name Service Switch):
20942         Remove frobnicate @pxref.
20943
20944 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20945
20946         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20947         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20948
20949 2013-02-20  Petr Machata  <pmachata@redhat.com>
20950
20951         * elf/elf.h (R_ARM_TARGET1): New macro.
20952         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20953         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20954         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20955         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20956         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20957         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20958         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20959         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20960         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20961         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20962         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20963         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20964         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20965         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20966         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20967         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20968         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20969         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20970         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20971         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20972         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20973         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20974         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20975         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20976         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20977         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20978         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20979         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20980         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20981         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20982         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20983         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20984         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20985         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20986         (R_ARM_THM_GOT_BREL12): Likewise.
20987         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20988         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20989         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20990         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20991         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20992         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20993         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20994         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20995         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20996
20997 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20998
20999         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21000         __attribute_used__ to __attribute__ ((unused)).
21001
21002 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21003
21004         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21005         powerpc mpa.c.
21006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21007         comment formatting.
21008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21009
21010 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21011
21012         [BZ #13550]
21013         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21014         Remove macro.
21015         (ENTER): Remove both macro definitions.
21016         (LEAVE): Likewise.
21017         (CHECK_BOUNDS_LOW): Likewise.
21018         (CHECK_BOUNDS_HIGH): Likewise.
21019         (CHECK_BOUNDS_BOTH): Likewise.
21020         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21021         (RETURN_BOUNDED_POINTER): Likewise.
21022         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21023         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21024         (POP_ERRNO_LOCATION_RETURN): Likewise.
21025         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21026         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21027         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21028         macros.
21029         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21030         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21031         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21032         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21033         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21034         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21035         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21036         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21037         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21038         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21039         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21040         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21041         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21042         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21043         removed macros.
21044         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21045         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21046         macros.
21047         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21048         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21049         * sysdeps/i386/i586/memset.S (memset): Likewise.
21050         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21051         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21052         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21053         macros.
21054         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21055         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21056         Change uses of L(2) to L(out).
21057         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21058         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21059         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21060         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21061         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21062         removed macros.
21063         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21064         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21065         macros.
21066         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21067         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21068         (RETURN): Do not use macro LEAVE.
21069         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21070         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21071         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21072         * sysdeps/i386/i686/memset.S (memset): Likewise.
21073         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21074         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21075         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21076         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21077         Likewise.
21078         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21079         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21080         L(1_2) and L(1_3) into L(1).
21081         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21082         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21083         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21084         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21085         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21086         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21087         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21088         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21089         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21090         macros.
21091         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21092         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21093         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21094         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21095         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21096         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21097         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21098         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21099         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21100         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21101         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21102         * sysdeps/i386/strspn.S (strspn): Likewise.
21103         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21104         conditional code.
21105         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21106         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21107         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21108         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21109         L(1_3) into L(1_1).
21110         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21111         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21112         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21113         macros.
21114         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21115
21116 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21117
21118         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21119         macro.
21120
21121 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21122
21123         * math/atest-exp.c (exp_mpn): Remove ROUND.
21124         * math/atest-exp2.c (exp_mpn): Likewise.
21125         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21126
21127         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21128         * stdlib/tst-tls-atexit-lib.c: Likewise.
21129         * stdlib/tst-tls-atexit.c: Likewise.
21130
21131 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21132
21133         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21134         and __attribute_alloc_size__.
21135
21136 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21137
21138         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21139         __attribute_alloc_size__.
21140         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21141         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21142
21143 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21144
21145         * include/programs/xmalloc.h: New file.
21146         * catgets/gencat.c: Include it.
21147         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21148         * elf/pldd.c: Likewise.
21149         * iconv/iconv_charmap.c: Likewise.
21150         * iconv/iconvconfig.c: Likewise.
21151         * iconv/strtab.c: Likewise.
21152         * locale/programs/locale.c: Likewise.
21153         * locale/programs/localedef.h: Likewise.
21154         * locale/programs/simple-hash.c: Likewise.
21155         * nscd/nscd.h: Likewise.
21156         * nss/makedb.c: Likewise.
21157         * sysdeps/generic/ldconfig.h: Likewise.
21158
21159 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21160
21161         * Versions.def: Add GLIBC_2.18.
21162         * include/link.h (struct link_map): New member l_tls_dtor_count.
21163         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21164         (__call_tls_dtors): Likewise.
21165         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21166         __cxa_thread_atexit_impl.
21167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21168         Likewise.
21169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21170         Likewise.
21171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21172         Likewise.
21173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21174         Likewise.
21175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21179         Likewise.
21180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21182         Likewise.
21183         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21184         (tests): Add test case tst-tls-atexit.
21185         (modules-names): Add shared library for tst-tls-atexit.
21186         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21187         (GLIBC_PRIVATE): Add __call_tls_dtors.
21188         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21189         for libstdc++.
21190         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21191         * stdlib/tst-tls-atexit.c: New test case.
21192         * stdlib/tst-tls-atexit-lib.c: New test case.
21193
21194         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21195
21196         * elf/Versions (ld): Add _dl_find_dso_for_object.
21197         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21198         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21199         (dl_open_worker): Use _dl_find_dso_for_object.
21200         * elf/dl-sym.c (do_sym): Likewise.
21201         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21202
21203 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21204
21205         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21206         Syntactic changes only.
21207         (_dl_runtime_profile): Do a tail-call to the resolved function.
21208
21209 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21210
21211         [BZ #13550]
21212         * sysdeps/x86_64/bp-asm.h: Remove file.
21213         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21214         <bp-sym.h> and <bp-asm.h>.
21215         (__clone): Do not use BP_SYM.
21216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21217         <bp-sym.h> and <bp-asm.h>.
21218         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21219         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21220         "bp-asm.h".
21221         (_setjmp): Do not use BP_SYM.
21222         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21223         "bp-asm.h".
21224         (setjmp): Do not use BP_SYM.
21225         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21226         libc_hidden_def.
21227         (mempcpy): Do not use BP_SYM in weak_alias.
21228         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21229         "bp-asm.h".
21230         (strchr): Do not use BP_SYM.
21231         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21232         "bp-asm.h".
21233         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21234         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21235         (_start): Do not use BP_SYM.
21236         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21237         "bp-asm.h".
21238         (strcat): Do not use BP_SYM.
21239         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21240         "bp-asm.h".
21241         (STRCMP): Do not use BP_SYM.
21242         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21243         "bp-asm.h".
21244         (STRCPY): Do not use BP_SYM.
21245         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21246         "bp-asm.h".
21247         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21248         "bp-asm.h".
21249         (FUNCTION): Do not use BP_SYM.
21250         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21251         weak_alias.
21252         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21253
21254 2013-02-17  Andreas Jaeger  <aj@suse.de>
21255
21256         * time/Versions: Sort entries.
21257         * string/Versions: Likewise.
21258         * resolv/Versions: Likewise.
21259         * posix/Versions: Likewise.
21260         * iconv/Versions: Likewise.
21261         * elf/Versions: Likewise.
21262         * wcsmbs/Versions: Likewise.
21263
21264 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21265
21266         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21267         loop termination condition.
21268
21269         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21270         variable to calculate EZ.
21271         (__sqr): Likewise.
21272
21273         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21274         the lower precision input.
21275
21276 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21277
21278         [BZ #13550]
21279         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21280         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21281         (run-via-rtld-prefix): Do not handle %-bp tests.
21282         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21283         (all-object-suffixes): Remove .ob.
21284         (bppfx): Remove variable.
21285         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21286         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21287         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21288         [$(build-bounded) = yes] (libtype.ob): Likewise.
21289         * Makerules (elide-routines.ob): Remove variable.
21290         (do-tests-clean): Do not handle *-bp.out.
21291         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21292         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21293         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21294         (tests): Do not include $(tests-bp.out).
21295         (xtests): Do not include $(xtests-bp.out).
21296         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21297         [$(build-bounded) = yes] ($(addprefix
21298         $(objpfx),$(binaries-bounded))): Remove rule.
21299         ($(objpfx)%-bp.out): Remove rule.
21300         * config.make.in (build-bounded): Remove variable.
21301         * crypt/Makefile [$(build-bounded) = yes]
21302         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21303         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21304         append to variable.
21305         [$(build-bounded) = yes] (install-lib): Likewise.
21306         [$(build-bounded) = yes] (generated): Likewise.
21307         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21308         Remove rule.
21309         * intl/Makefile [$(build-bounded) = yes]
21310         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21311         * math/Makefile [$(build-bounded) = yes]
21312         ($(tests:%=$(objpfx)%-bp): Likewise.
21313         * misc/Makefile [$(build-bounded) = yes]
21314         ($(objpfx)tst-tsearch-bp): Likewise.
21315         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21316         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21317         Remove dependency.
21318         * string/Makefile (o-objects.ob): Remove variable.
21319         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21320         (CFLAGS-.ob): Remove variable.
21321         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21322         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21323         both definitions of variable.
21324         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21325         (ASFLAGS-.ob): Remove variable.
21326
21327 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21328
21329         [BZ #13550]
21330         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21331         Remove __BOUNDED_POINTERS__ from condition.
21332         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21333         * string/bits/string2.h [!__NO_STRING_INLINES &&
21334         !__BOUNDED_POINTERS__]: Likewise.
21335         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21336         Likewise.
21337         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21338         Remove conditional code.
21339         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21340         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21341         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21342         condition.
21343
21344         [BZ #13550]
21345         * csu/libc-start.c: Do not include <bp-sym.h>.
21346         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21347         * elf/dl-open.c: Do not include <bp-sym.h>.
21348         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21349         * math/fegetenv.c: Do not include <bp-sym.h>.
21350         (fegetenv): Do not use BP_SYM in versioned symbols.
21351         * nptl/sysdeps/pthread/bits/libc-lockP.h
21352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21353         <bp-sym.h>.
21354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21355         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21357         (__pthread_mutex_destroy): Likewise.
21358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21359         (__pthread_mutex_lock): Likewise.
21360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21361         (__pthread_mutex_trylock): Likewise.
21362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21363         (__pthread_mutex_unlock): Likewise.
21364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21365         (__pthread_mutexattr_init): Likewise.
21366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21367         (__pthread_mutexattr_destroy): Likewise.
21368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21369         (__pthread_mutexattr_settype): Likewise.
21370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21371         (__pthread_rwlock_init): Likewise.
21372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21373         (__pthread_rwlock_destroy): Likewise.
21374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21375         (__pthread_rwlock_rdlock): Likewise.
21376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21377         (__pthread_rwlock_tryrdlock): Likewise.
21378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21379         (__pthread_rwlock_wrlock): Likewise.
21380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21381         (__pthread_rwlock_trywrlock): Likewise.
21382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21383         (__pthread_rwlock_unlock): Likewise.
21384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21385         (__pthread_key_create): Likewise.
21386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21387         (__pthread_setspecific): Likewise.
21388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21389         (__pthread_getspecific): Likewise.
21390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21391         Likewise.
21392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21393         (_pthread_cleanup_push_defer): Likewise.
21394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21395         (_pthread_cleanup_pop_restore): Likewise.
21396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21397         (pthread_setcancelstate): Likewise.
21398         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21399         <bp-sym.h>.
21400         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21401         (memchr): Do not use BP_SYM in weak_alias.
21402         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21403         (fegetenv): Do not use BP_SYM in versioned symbols.
21404         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21405         (fesetenv): Do not use BP_SYM in versioned symbols.
21406         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21407         (feupdateenv): Do not use BP_SYM in versioned symbols.
21408         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21409         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21410         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21411         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21412         (open64): Do not use BP_SYM in weak_alias.
21413         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21414         (fegetenv): Do not use BP_SYM in versioned symbols.
21415         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21416         (fesetenv): Do not use BP_SYM in versioned symbols.
21417         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21418         (feupdateenv): Do not use BP_SYM in versioned symbols.
21419         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21420         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21421         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21422         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21423         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21424         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21425         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21426         <bp-sym.h>.
21427         (__libc_start_main): Do not use BP_SYM.
21428
21429 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21430
21431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21432         redundant return line.
21433         (norm): Likewise.
21434         (denorm): Likewise.
21435         (dbl_mp): Likewise.
21436         (sub_magnitudes): Likewise.
21437         (__add): Likewise.
21438         (__sub): Likewise.
21439         (__mul): Likewise.
21440         (__inv): Likewise.
21441         (__dvd): Likewise.
21442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21443         (norm): Likewise.
21444         (denorm): Likewise.
21445         (dbl_mp): Likewise.
21446         (sub_magnitudes): Likewise.
21447         (__add): Likewise.
21448         (__sub): Likewise.
21449         (__mul): Likewise.
21450         (__inv): Likewise.
21451         (__dvd): Likewise.
21452
21453         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21454         instead of __mul.
21455         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21456         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21457         (cc32): Likewise.
21458
21459         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21460         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21461         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21462         of __mul for squares.
21463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21464         function
21465         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21466         Likewise.
21467         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21468         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21469
21470 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21471
21472         [BZ #13550]
21473         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21474         code.
21475         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21476         prototype or function definition.  Rename ubp_* variables and
21477         parameters.  Remove argv definitions conditional on
21478         [__BOUNDED_POINTERS__].
21479         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21480         * elf/dl-runtime.c (_dl_fixup): Likewise.
21481         * include/set-hooks.h (RUN_HOOK): Likewise.
21482         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21483         definition.
21484         * string/strcpy.c (strcpy): Do not use __unbounded.
21485         * sysdeps/generic/frame.h (struct layout): Likewise.
21486         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21487         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21488         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21489         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21490         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21491         (__backtrace): Likewise.
21492         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21493         use __ptrvalue.
21494         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21495         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21496         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21497         Likewise.
21498         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21499         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21500         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21501         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21502         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21503         Do not use __unbounded.
21504         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21505         Rename __unboundedrlimits parameter to rlimits in prototype.
21506         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21507         Do not use __unbounded.
21508         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21509         not use __ptrvalue.
21510         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21511         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21512         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21513         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21514         __ptrvalue or __unbounded.
21515         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21516         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21517         use __unbounded.
21518         (__new_msgctl): Do not use __ptrvalue.
21519         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21520         __unbounded.
21521         (__libc_msgrcv): Do not use __ptrvalue.
21522         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21523         startup_info): Do not use __unbounded.
21524         (__libc_start_main): Likewise.  Rename ubp_* variables and
21525         parameters.  Remove argv definitions conditional on
21526         [__BOUNDED_POINTERS__].
21527         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21528         __ptrvalue.
21529         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21530         use __unbounded.
21531         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21532         or __ptrvalue.
21533         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21534         use __unbounded.
21535         (__new_shmctl): Do not use __ptrvalue.
21536         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21537         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21538         Likewise.
21539         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21540         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21541         (__libc_sigaction): Likewise.
21542         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21543         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21544         Likewise.
21545         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21546
21547 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21548
21549         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21550
21551         * string/mempcpy.c: Implement by calling memcpy.
21552
21553 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21554
21555         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21556
21557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21558         evaluation.
21559
21560         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21561         values in the mantissa.
21562
21563         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21564         minimize writes to Z.
21565         (sub_magnitudes): Simplify code a bit.
21566
21567 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21568
21569         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21570         from the message.  The linker prefixes all warnings with that already.
21571
21572 2013-02-12  Andreas Schwab  <schwab@suse.de>
21573
21574         [BZ #15078]
21575         * posix/regexec.c (extend_buffers): Add parameter min_len.
21576         (check_matching): Pass minimum needed length.
21577         (clean_state_log_if_needed): Likewise.
21578         (get_subexp): Likewise.
21579         * posix/Makefile (tests): Add bug-regex34.
21580         (bug-regex34-ENV): Define.
21581         * posix/bug-regex34.c: New file.
21582
21583         [BZ #11561]
21584         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21585         elements compare against the byte sequence of it, not its name.
21586         * posix/Makefile (tests): Add bug-regex35.
21587         (bug-regex35-ENV): Define.
21588         * posix/bug-regex35.c: New file.
21589
21590 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21591
21592         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21593         comment.
21594         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21595         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21596         (CHECK_EOL): Add undef.
21597
21598 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21599
21600         * bits/stdlib-bsearch.h: New file.
21601         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21602         * stdlib/stdlib.h: Likewise.
21603
21604 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21605
21606         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21607         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21608         declaration.
21609         * manual/search.texi (Array Search Function): Add missing const in
21610         lfind prototype.
21611         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21612         declaration to use rlim_t.
21613         (Basic Scheduling Functions): Remove erroneous const from
21614         sched_getparam prototype.  Remove erroneous * from
21615         sched_get_priority_max and sched_get_priority_min prototypes.
21616         (Resource Usage): Fix summary @comment on vtimes to refer to
21617         sys/vtimes.h rather than vtimes.h.
21618         Add missing *s in vtimes prototype.
21619         (Limits on Resources): Fix ulimit prototype to return long int.
21620         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21621         prototypes to use long int rather than double.
21622         (BSD Random): Fix initstate and setstate to use char *, not void *.
21623         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21624         prototype to make second argument 'struct aiocb64 *const[]'.
21625         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21626         (Status of AIO Operations): Remove erroneous const in aio_return and
21627         aio_return64 prototypes.
21628         (Synchronizing I/O): Fix sync prototype to return void.
21629         * manual/startup.texi (Suboptions): Remove an erroneous const in
21630         getsubopt prototype.
21631         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21632         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21633         use size_t rather than int.
21634         (Scanning All Users): Likewise for getpwent_r.
21635         (Setting Groups): Add missing const to setgroups prototype.
21636         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21637         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21638         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21639         'const void *' rather than 'const char *'.
21640         (Host Address Functions): Likewise for inet_ntop.
21641         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21642         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21643         ssize_t for return value.
21644         (Sending Data): Likewise for send, sendto, sendmsg.
21645         (Socket Option Functions): Add a missing const in setsockopt prototype.
21646         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21647         use wchar_t for the argument.
21648         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21649         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21650         take no arguments.
21651         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21652         double/float/long double for second argument.
21653         Fix return types of significand, significandf, significandl.
21654         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21655         argument in fchmod prototype.
21656         (File Owner): Use uid_t and gid_t in fchown prototype.
21657         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21658         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21659         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21660         use 'const struct dirent **' as argument types to CMP function pointer
21661         argument.
21662         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21663         (File Times): Fix summary magic @comment for struct utimbuf and utime
21664         to refer to utime.h, not time.h.
21665         * manual/string.texi (Argz Functions): Add missing const in
21666         argz_extract and argz_next prototypes.
21667         (Finding Tokens in a String): Likewise for basename.
21668         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21669         (Copying and Concatenation): Fix typo in wmemmove prototype.
21670         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21671         (Signal Stack): Remove erroneous const in sigstack prototype.
21672         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21673         prototype.
21674         (Simple Calendar Time): Likewise for stime.
21675         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21676         prototype.
21677         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21678         say sys/sysctl.h instead.
21679         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21680         and vsyslog prototypes.
21681
21682 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21683
21684         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21685         Remove.
21686
21687 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21688
21689         * misc/sys/mman.h: Fix typo in mremap comment.
21690
21691 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21692
21693         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21694         the '\0' terminator.
21695
21696 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21697
21698         [BZ #13550]
21699         * debug/segfault.c: Don't include <bp-checks.h>.
21700         * sysdeps/generic/bp-checks.h: Remove file.
21701         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21702         (__GETDENTS): Don't use CHECK_N.
21703         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21704         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21705         (__getgroups): Don't use CHECK_N.
21706         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21707         (setgroups): Don't use CHECK_N.
21708         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21709         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21710         (__libc_msgrcv): Don't use CHECK_N.
21711         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21712         (__libc_msgsnd): Don't use CHECK_N.
21713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21714         <bp-checks.h>.
21715         (__libc_pread): Don't use CHECK_N.
21716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21717         include <bp-checks.h>.
21718         (__libc_pread64): Don't use CHECK_N.
21719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21720         include <bp-checks.h>.
21721         (__libc_pwrite): Don't use CHECK_N.
21722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21723         include <bp-checks.h>.
21724         (__libc_pwrite64): Don't use CHECK_N.
21725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21726         <bp-checks.h>.
21727         (__libc_pread): Don't use CHECK_N.
21728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21729         include <bp-checks.h>.
21730         (__libc_pread64): Don't use CHECK_N.
21731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21732         include <bp-checks.h>.
21733         (__libc_pwrite): Don't use CHECK_N.
21734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21735         include <bp-checks.h>.
21736         (__libc_pwrite64): Don't use CHECK_N.
21737         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21738         (do_pread): Don't use CHECK_N.
21739         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21740         (do_pread64): Don't use CHECK_N.
21741         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21742         (do_pwrite): Don't use CHECK_N.
21743         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21744         (do_pwrite64): Don't use CHECK_N.
21745         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21746         (__libc_readv): Don't use CHECK_N.
21747         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21748         (semop): Don't use CHECK_N.
21749         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21750         <bp-checks.h>.
21751         (semtimedop): Don't use CHECK_N.
21752         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21753         (__libc_pread): Don't use CHECK_N.
21754         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21755         <bp-checks.h>.
21756         (__libc_pread64): Don't use CHECK_N.
21757         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21758         <bp-checks.h>.
21759         (__libc_pwrite): Don't use CHECK_N.
21760         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21761         <bp-checks.h>.
21762         (__libc_pwrite64): Don't use CHECK_N.
21763         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21764         <bp-checks.h>.
21765         (__libc_msgrcv): Don't use CHECK_N.
21766         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21767         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21768         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21769         (__libc_writev): Don't use CHECK_N.
21770
21771 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21772
21773         * string/strcpy.c: Removed unused variable.
21774
21775         * Makeconfig (+sysdep-includes): Define with := rather than =.
21776         Use an existing include/ subdir of each sysdeps dir before it.
21777
21778 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21779
21780         * nscd/connection.c (register_traced_file): Comment function.
21781         [HAVE_INOTIFY] (union __inev): Define.
21782         [HAVE_INOTIFY] (inotify_check_files): New function.
21783         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21784         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21785         clear_db_cache.
21786         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21787
21788 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21789
21790         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21791         loaded if not already and that a failure is permanent.
21792
21793 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21794
21795         [BZ #15006]
21796         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21797         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21798
21799 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21800
21801         [BZ #13550]
21802         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21803         (CHECK_1_NULL_OK): Likewise.
21804         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21805         (__fxstat): Do not use CHECK_1.
21806         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21807         <bp-checks.h>.
21808         (___fxstat64): Do not use CHECK_1.
21809         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21810         <bp-checks.h>.
21811         (__fxstatat): Do not use CHECK_1.
21812         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21813         <bp-checks.h>.
21814         (__fxstatat64): Do not use CHECK_1.
21815         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21816         <bp-checks.h>.
21817         (__fxstat): Do not use CHECK_1.
21818         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21819         <bp-checks.h>.
21820         (__fxstatat): Do not use CHECK_1.
21821         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21822         <bp-checks.h>.
21823         (__getresgid): Do not use CHECK_1.
21824         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21825         <bp-checks.h>.
21826         (__getresuid): Do not use CHECK_1.
21827         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21828         <bp-checks.h>.
21829         (__lxstat): Do not use CHECK_1.
21830         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21831         <bp-checks.h>.
21832         (__old_msgctl): Do not use CHECK_1.
21833         (__new_msgctl): Likewise.
21834         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21835         <bp-checks.h>.
21836         (__new_setrlimit): Do not use CHECK_1.
21837         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21838         <bp-checks.h>.
21839         (__old_shmctl): Do not use CHECK_1.
21840         (__new_shmctl): Likewise.
21841         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21842         <bp-checks.h>.
21843         (__xstat): Do not use CHECK_1.
21844         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21845         (__lxstat): Do not use CHECK_1.
21846         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21847         <bp-checks.h>.
21848         (___lxstat64): Do not use CHECK_1.
21849         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21850         (__old_msgctl): Do not use CHECK_1.
21851         (__new_msgctl): Likewise.
21852         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21853         <bp-checks.h>.
21854         (__gettimeofday): Do not use CHECK_1.
21855         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21856         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21857         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21858         <bp-checks.h>.
21859         (__gettimeofday): Do not use CHECK_1.
21860         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21861         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21862         (__new_shmctl): Do not use CHECK_1.
21863         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21864         <bp-checks.h>.
21865         (do_sigtimedwait): Do not use CHECK_1.
21866         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21867         <bp-checks.h>.
21868         (do_sigwaitinfo): Do not use CHECK_1.
21869         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21870         <bp-checks.h>.
21871         (msgctl): Do not use CHECK_1.
21872         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21873         <bp-checks.h>.
21874         (shmctl): Do not use CHECK_1.
21875         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21876         (ustat): Do not use CHECK_1.
21877         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21878         <bp-checks.h>.
21879         (__fxstat): Do not use CHECK_1.
21880         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21881         <bp-checks.h>.
21882         (__fxstatat): Do not use CHECK_1.
21883         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21884         <bp-checks.h>.
21885         (__lxstat): Do not use CHECK_1.
21886         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21887         <bp-checks.h>.
21888         (__xstat): Do not use CHECK_1.
21889         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21890         (__xstat): Do not use CHECK_1.
21891         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21892         (___xstat64): Do not use CHECK_1.
21893
21894         [BZ #13550]
21895         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21896         definitions.
21897         (CHECK_BOUNDS_HIGH): Likewise.
21898         * string/strcpy.c: Do not include <bp-checks.h>.
21899         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21900
21901 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21902
21903         * nscd/nscd-client.h (__nscd_drop_map_ref):
21904         Add __attribute__ ((unused)).
21905         * nis/nss-nisplus.h (niserr2nss): Likewise.
21906
21907         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21908         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21909
21910         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21911         Remove inline keyword.
21912         * include/rounding-mode.h (round_away): Likewise.
21913         * libio/wfileops.c (adjust_wide_data): Likewise.
21914         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21915         (__m128i_strloadu_tolower): Likewise.
21916         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21917         (__m128i_strloadu_tolower): Likewise.
21918         * time/mktime.c (ydhms_diff): Likewise.
21919         * locale/elem-hash.h (elem_hash): Likewise.
21920         * locale/setlocale.c (setdata): Likewise.
21921         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21922         (re_string_wchar_at): Likewise.
21923         (bitset_not, bitset_merge, bitset_mask): Likewise.
21924         [!(__GNUC__ > 3)] (inline): Remove macro.
21925         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21926         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21927         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21928         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21929         * string/memcmp.c (memcmp_bytes): Likewise.
21930         * locale/programs/locarchive.c (compute_hashval): Likewise.
21931         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21932         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21933         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21934         * nss/getent.c (print_rpc, print_protocols): Likewise.
21935         (print_passwd, print_group, print_aliases): Likewise.
21936         * nis/nss-nisplus.h (niserr2nss): Likewise.
21937         * nscd/connections.c (restart_p): Likewise.
21938         Change return type to bool.
21939
21940 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21941
21942         * Makeconfig (all-Depend-files): Add existing
21943         $(sorted-subdirs:=/Depend) files.
21944         (all-subdirs): Remove nss.
21945         * sysdeps/unix/inet/Subdirs: Add it here instead.
21946         * hesiod/Depend: New file.
21947
21948         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21949         instead of calling alloca.
21950
21951         * io/lseek.c (__lseek): Rename to __libc_lseek.
21952         Define __lseek as an alias.
21953
21954         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21955
21956 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21957
21958         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21959         else clause and remove check for non-standard endianness.
21960
21961 2013-02-04  David S. Miller  <davem@davemloft.net>
21962
21963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21964
21965 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21966
21967         [BZ #13550]
21968         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21969         (__ubp_memchr): Remove prototype.
21970         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21971         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21972         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21973         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21974         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21975         Remove alias.
21976         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21977         (__ubp_memchr): Likewise.
21978         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21979         (__ubp_memchr): Likewise.
21980         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21981         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21982         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21983         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21984         CHECK_STRING.
21985         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21986         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21987         (__getcwd): Do not use CHECK_STRING.
21988         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21989         <bp-checks.h>.
21990         (__real_chown): Do not use CHECK_STRING.
21991         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21992         <bp-checks.h>.
21993         (fchownat): Do not use CHECK_STRING.
21994         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21995         CHECK_STRING.
21996         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21997         <bp-checks.h>.
21998         (__lchown): Do not use CHECK_STRING.
21999         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22000         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22001         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22002         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22004         include <bp-checks.h>.
22005         (truncate64): Do not use CHECK_STRING.
22006         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22007         <bp-checks.h>.
22008         (__real_chown): Do not use CHECK_STRING.
22009         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22010         <bp-checks.h>.
22011         (__lchown): Do not use CHECK_STRING.
22012         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22013         <bp-checks.h>.
22014         (__chown): Do not use CHECK_STRING.
22015         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22016         <bp-checks.h>.
22017         (truncate64): Do not use CHECK_STRING.
22018         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22019         Likewise.
22020         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22021         (__xmknod): Do not use CHECK_STRING.
22022         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22023         <bp-checks.h>.
22024         (__xmknodat): Do not use CHECK_STRING.
22025         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22026         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22027
22028 2013-02-04  Andreas Schwab  <schwab@suse.de>
22029
22030         [BZ #14142]
22031         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22032         * include/netdb.h: Likewise for h_errno.
22033         * elf/tst-stackguard1.c: Include <tls.h>.
22034
22035 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22036
22037         * elf/link.h (struct link_map): Extend the l_addr comment.
22038         * include/link.h (struct link_map): Likewise.
22039
22040 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22041
22042         [BZ #13550]
22043         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22044         (BOUNDED_1): Remove macro.
22045         * debug/backtrace.c: Don't include <bp-checks.h>.
22046         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22047         (__backtrace): Likewise.
22048         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22049         <bp-checks.h>.
22050         (__backtrace): Don't use BOUNDED_1.
22051         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22052         <bp-checks.h>.
22053         (__backtrace): Don't use BOUNDED_1.
22054         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22055         (__backtrace): Don't use BOUNDED_1.
22056         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22057         (shmat): Don't use BOUNDED_N.
22058
22059 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22060
22061         [BZ #13550]
22062         * sysdeps/generic/bp-start.h: Remove file.
22063         * csu/libc-start.c: Don't include <bp-start.h>.
22064         (LIBC_START_MAIN): Set up __environ directly instead of using
22065         INIT_ARGV_and_ENVIRON.
22066         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22067         <bp-start.h>.
22068
22069         [BZ #13550]
22070         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22071         definitions.
22072         (CHECK_FCNTL): Likewise.
22073         (CHECK_N_PAGES): Likewise.
22074
22075         [BZ #13550]
22076         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22077         definitions.
22078         (CHECK_SIGSET_NULL_OK): Likewise.
22079         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22080         <bp-checks.h>.
22081         (sigpending): Don't use CHECK_SIGSET.
22082         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22083         <bp-checks.h>.
22084         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22085         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22086         <bp-checks.h>.
22087         (do_sigsuspend): Don't use CHECK_SIGSET.
22088         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22089         use CHECK_SIGSET.
22090         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22091         (do_sigwait): Don't use CHECK_SIGSET.
22092         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22093         use CHECK_SIGSET.
22094         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22095         include <bp-checks.h>.
22096         (sigpending): Don't use CHECK_SIGSET.
22097         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22098         include <bp-checks.h>.
22099         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22100         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22101         <bp-checks.h>.
22102         (sigpending): Don't use CHECK_SIGSET.
22103         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22104         <bp-checks.h>.
22105         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22106
22107         [BZ #13550]
22108         * sysdeps/generic/bp-semctl.h: Remove file.
22109         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22110         <bp-checks.h> and <bp-semctl.h>.
22111         (__old_semctl): Don't use CHECK_SEMCTL.
22112         (__new_semctl): Likewise.
22113         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22114         and <bp-semctl.h>.
22115         (__old_semctl): Don't use CHECK_SEMCTL.
22116         (__new_semctl): Likewise.
22117         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22118         <bp-checks.h> and <bp-semctl.h>.
22119         (__old_semctl): Don't use CHECK_SEMCTL.
22120         (__new_semctl): Likewise.
22121         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22122         <bp-checks.h> and <bp-semctl.h>.
22123         (semctl): Don't use CHECK_SEMCTL.
22124
22125         [BZ #13550]
22126         * Makerules (elide-bp-thunks): Remove variable.
22127         (elide-routines.oS): Don't use $(elide-bp-thunks).
22128         (elide-routines.os): Likewise.
22129         (elide-routines.o): Likewise.
22130         (elide-routines.op): Likewise.
22131         (elide-routines.og): Likewise.
22132         (objects): Don't use $(bp-thunks).
22133         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22134         include.
22135         (common-generated): Do not add s-proto-bp.d.
22136         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22137         (int): Likewise.
22138         (typ): Likewise.
22139         Do not generate makefile rules for bounded-pointer thunks.
22140         * sysdeps/generic/bp-thunks.h: Remove file.
22141         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22142         * sysdeps/unix/s-proto-bp.S: Likewise.
22143
22144         [BZ #15062]
22145         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22146         parts of result separately when argument is not close to line from
22147         -i to i and one part of argument is small.
22148         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22149         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22150         * math/libm-test.inc (cacos_test): Add more tests.
22151         (casin_test): Likewise.
22152         (casinh_test): Likewise.
22153         * sysdeps/i386/fpu/libm-test-ulps: Update.
22154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22155
22156 2013-01-31  David S. Miller  <davem@davemloft.net>
22157
22158         * po/de.po: Update from translation team.
22159
22160 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22161
22162         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22163
22164 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22165
22166         * configure.in (_AC_PROG_CC_C89): New definition.
22167         * configure: Regenerate.
22168
22169         * configure.in (AC_PROG_CPP): New definition.
22170         * configure: Regenerate.
22171
22172 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22173
22174         * debug/tst-backtrace.h: New file.
22175         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22176         (ret): Remove variable.
22177         (x): Likewise.
22178         (FAIL): Remove macro.
22179         (NO_INLINE): Likewise.
22180         (fn1): Use match function instead of strstr.
22181         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22182         (ret): Remove variable.
22183         (x): Likewise.
22184         (FAIL): Remove macro.
22185         (NO_INLINE): Likewise.
22186         (fn): Use match function instead of strstr.
22187         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22188         (ret): Remove variable.
22189         (x): Likewise.
22190         (FAIL): Remove macro.
22191         (NO_INLINE): Likewise.
22192         (handle_signal): Use match function instead of strstr.
22193         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22194         (ret): Remove variable.
22195         (x): Likewise.
22196         (FAIL): Remove macro.
22197         (NO_INLINE): Likewise.
22198         (handle_signal): Use match function instead of strstr.
22199
22200 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22201
22202         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22203
22204 2013-01-23  David S. Miller  <davem@davemloft.net>
22205
22206         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22207         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22208         argument of CAS if possible.
22209         * sysdeps/sparc/sparc64/bits/atomic.h
22210         (__arch_compare_and_exchange_val_32_acq): Likewise.
22211         (__arch_compare_and_exchange_val_64_acq): Likewise.
22212
22213 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22214
22215         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22216         * sysdeps/posix/ulimit.c: ... this.
22217         Include <limits.h>.
22218         * sysdeps/unix/bsd/ulimit.c: Remove file.
22219
22220 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22221
22222         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22223         (LDFLAGS-tst-array5): Likewise.
22224
22225 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22226
22227         [BZ #15036]
22228         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22229         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22230         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22231         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22232
22233 2013-01-21  David S. Miller  <davem@davemloft.net>
22234
22235         * sysdeps/sparc/backtrace.c: New file.
22236         * sysdeps/sparc/sparc32/backtrace.h: New file.
22237         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22238         * sysdeps/sparc/sparc64/backtrace.h: New file.
22239         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22240         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22241         -funwind-tables.
22242
22243 2013-01-21  Andreas Schwab  <schwab@suse.de>
22244
22245         [BZ #15020]
22246         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22247         closed its stdout.
22248
22249 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22250
22251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22252         "mpa2.h".
22253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22254
22255 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22256             Mark Mitchell  <mark@codesourcery.com>
22257             Tom de Vries  <tom@codesourcery.com>
22258             Paul Pluzhnikov  <ppluzhnikov@google.com>
22259
22260         * debug/tst-backtrace2.c: New file.
22261         * debug/tst-backtrace3.c: Likewise.
22262         * debug/tst-backtrace4.c: Likewise.
22263         * debug/tst-backtrace5.c: Likewise.
22264         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22265         (CFLAGS-tst-backtrace3.c): Likewise.
22266         (CFLAGS-tst-backtrace4.c): Likewise.
22267         (CFLAGS-tst-backtrace5.c): Likewise.
22268         (LDFLAGS-tst-backtrace2): Likewise.
22269         (LDFLAGS-tst-backtrace3): Likewise.
22270         (LDFLAGS-tst-backtrace4): Likewise.
22271         (LDFLAGS-tst-backtrace5): Likewise.
22272         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22273         tst-backtrace4 and tst-backtrace5.
22274
22275 2013-01-18  Anton Blanchard  <anton@samba.org>
22276             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22277
22278         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22279         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22280         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22281         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22283         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22284         "+r" and remove output regs list as redundant.  Add explicit inline
22285         asm to specify register of return val to work around compiler codegen
22286         bug.  Remove (int) cast on return value.  Add return type parameter to
22287         use in macro so that this macro does not truncate return value for
22288         64-bit values.
22289         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22290         pass to INTERNAL_VSYSCALL_NCS.
22291         (INLINE_VSYSCALL): Add 'long int' as return type to
22292         INTERNAL_VSYSCALL_NCS macro invocation.
22293         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22294         INTERNAL_VSYSCALL_NCS macro invocation.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22296
22297 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22298
22299         [BZ #14496]
22300         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22301         Fix application of SIMD FP exception mask.
22302
22303         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22304         mp_no from a power of two.
22305         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22306         __mpexp_twomm1.  Use __pow_mp.
22307
22308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22309         multiplication.
22310
22311 2013-01-17  David S. Miller  <davem@davemloft.net>
22312
22313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22314
22315 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22316
22317         [BZ #15023]
22318         * include/complex.h: Condition contents on [!_COMPLEX_H].
22319         (__kernel_casinhf): New prototype.
22320         (__kernel_casinh): Likewise.
22321         (__kernel_casinhl): Likewise.
22322         * math/Makefile (libm_calls): Add k_casinh.
22323         * math/k_casinh.c: New file.
22324         * math/k_casinhf.c: Likewise.
22325         * math/k_casinhl.c: Likewise.
22326         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22327         finite nonzero arguments.
22328         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22329         finite nonzero arguments.
22330         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22331         finite nonzero arguments.
22332         * math/s_casinh.c: Do not include <float.h>.
22333         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22334         * math/s_casinhf.c: Do not include <float.h>.
22335         (__casinhf): Move code for finite nonzero arguments to
22336         k_casinhf.c.
22337         * math/s_casinhl.c: Do not include <float.h>.
22338         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22339         redefine.
22340         (__casinhl): Move code for finite nonzero arguments to
22341         k_casinhl.c.
22342         * math/libm-test.inc (cacos_test): Add more tests.
22343         * sysdeps/i386/fpu/libm-test-ulps: Update.
22344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22345
22346 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22347
22348         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22349         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22350         [!HAVE_MREMAP]: Remove [defined linux] case.
22351         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22352
22353 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22354
22355         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22356
22357 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22358
22359         * elf/elf.h (R_386_SIZE32): New relocation.
22360         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22361         R_386_SIZE32.
22362         (elf_machine_rela): Likewise.
22363         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22364         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22365
22366 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22367
22368         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22369         (FP_FAST_FMA): Do not define.
22370         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22371         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22372         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22373         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22374         !_SOFT_FLOAT]: Likewise.
22375         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22376         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22377         value.
22378         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22379         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22380         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22381         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22382         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22383         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22384         file.
22385
22386 2013-01-16  Andreas Schwab  <schwab@suse.de>
22387
22388         [BZ #14327]
22389         * include/stdlib.h (__mktemp): Add declaration.
22390         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22391         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22392
22393 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22394
22395         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22396         definitions.
22397         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22398         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22399         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22400         definitions here.
22401         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22402         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22403         definitions.
22404         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22405         and ONE.
22406         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22407         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22408         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22409         definitions.
22410         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22411         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22412         definitions.
22413         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22414
22415         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22416
22417 2013-01-15  David S. Miller  <davem@davemloft.net>
22418
22419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22420         trunc{,f} to libm-sysdep_routes.
22421         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22423         file.
22424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22426         file.
22427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22428         file.
22429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22431         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22432         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22433         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22434         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22435         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22436         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22437
22438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22439         nearbyint{,f} to libm-sysdep_routes.
22440         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22442         New file.
22443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22444         file.
22445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22446         New file.
22447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22448         file.
22449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22451         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22452         file.
22453         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22454         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22455         file.
22456         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22457         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22458         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22459
22460         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22461         libc_feholdexcept and libc_fesetenv.
22462
22463 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22464
22465         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22466
22467 2013-01-14  David S. Miller  <davem@davemloft.net>
22468
22469         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22470         (SPARC_ASM_VIS2_IFUNC): Likewise.
22471         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22473         use of 'siam' instruction.
22474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22475         Likewise.
22476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22477         Likewise.
22478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22479         Likewise.
22480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22485         file.
22486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22487         file.
22488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22489         file.
22490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22491         file.
22492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22493         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22495         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22497         new VIS2 routines.
22498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22501         Likewise.
22502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22504         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22507         routines to libm-sysdep_routines.
22508         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22509
22510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22511         fdim/fdimf to libm-sysdep_routines.
22512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22513         file.
22514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22516         file.
22517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22520         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22521         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22522         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22523         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22524
22525 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22526
22527         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22528         to optimize copies.
22529
22530         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22532         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22533
22534         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22535         local variable MPTWO.
22536         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22537         Likewise.
22538
22539 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22540
22541         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22542         GLOB_NOESCAPE.
22543
22544 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22545
22546         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22547
22548 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22549
22550         * manual/pattern.texi (glob_t): Document gl_flags.
22551         (glob64_t): Likewise.
22552
22553 2013-01-11  David S. Miller  <davem@davemloft.net>
22554
22555         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22556         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22557         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22558         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22559         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22560         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22561         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22562         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22563         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22564         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22565         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22566         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22567         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22568
22569         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22570         sparc V9 rather than using V8 code.
22571         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22572         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22573
22574         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22575         Move to...
22576         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22577         Here.
22578
22579 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22580
22581         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22582         not in the main loop.
22583         * configure: Regenerated.
22584
22585 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22586
22587         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22588         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22589         to just #else.
22590         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22591         [!__GLIBC_HAVE_LONG_LONG] case.
22592         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22593         condition to just #else.
22594         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22595         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22596         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22597         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22598         unconditional.
22599         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22600         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22601         #elif condition to just #else.
22602         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22603         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22604         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22605         #elif condition to just #else.
22606
22607 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22608
22609         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22610         (EF_MIPS_ARCH_64): Fix value.
22611         (EF_MIPS_ARCH_32R2): New.
22612         (EF_MIPS_ARCH_64R2): New.
22613
22614 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22615
22616         * Makeconfig (+link-pie-before-libc): New.
22617         (+link-pie-after-libc): Likewise.
22618         (+link-pie-tests): Likewise.
22619         (+link-pie): Rewritten.
22620         (link-before-libc): Remove $(config-LDFLAGS).
22621         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22622         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22623         (config-LDFLAGS): Renamed to ...
22624         (rtld-LDFLAGS): This.
22625         (rtld-tests-LDFLAGS): New macro.
22626         (link-libc-rpath-link): Likewise.
22627         (link-libc-tests-rpath-link): Likewise.
22628         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22629         (link-libc): Prepand $(link-libc-rpath-link).
22630         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22631         (test-program-prefix): New macro.
22632         (test-via-rtld-prefix): Likewise.
22633         (test-program-cmd): Likewise.
22634         (host-test-program-cmd): Likewise.
22635         * Makefile ($(common-objpfx)testrun.sh): Replace
22636         $(run-program-prefix) with $(test-program-prefix).
22637         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22638         $(rtld-LDFLAGS).
22639         ($(common-objpfx)shlib.lds): Likewise.
22640         (build-module-helper): Likewise.
22641         ($(common-objpfx)format.lds): Likewise.
22642         * Rules (binaries-pie-tests): New.
22643         (binaries-pie-notests): Likewise.
22644         (binaries-pie): Rewritten.
22645         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22646         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22647         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22648         (make-test-out): Replace $(host-built-program-cmd) with
22649         $(host-test-program-cmd).
22650         * config.make.in (build-hardcoded-path-in-tests): New variable.
22651         * configure.in (--enable-hardcoded-path-in-tests): New configure
22652         option.
22653         (hardcoded_path_in_tests): New AC_SUBST.
22654         * configure: Regenerated.
22655         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22656         $(built-program-cmd) with $(test-program-cmd).
22657         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22658         (test_program_cmd): This.
22659         * elf/Makefile ($(objpfx)order.out): Run test with
22660         $(test-program-prefix).
22661         ($(objpfx)order2.out): Likewise.
22662         ($(objpfx)tst-initorder.out): Likewise.
22663         ($(objpfx)tst-initorder2.out): Likewise.
22664         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22665         $(test-program-cmd).
22666         ($(objpfx)tst-array1-static.out): Likewise.
22667         ($(objpfx)tst-array2.out): Likewise.
22668         ($(objpfx)tst-array3.out): Likewise.
22669         ($(objpfx)tst-array4.out): Likewise.
22670         ($(objpfx)tst-array5.out): Likewise.
22671         ($(objpfx)tst-array5-static.out): Likewise.
22672         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22673         $(test-program-cmd).
22674         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22675         $(run-program-prefix) with $(test-program-prefix).
22676         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22677         (test_program_prefix): This.
22678         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22679         $(run-program-prefix) with $(test-program-prefix).
22680         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22681         (test_program_prefix): This.
22682         * iconvdata/tst-tables.sh: Likewise.
22683         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22684         $(run-program-prefix) with $(test-program-prefix).
22685         ($(objpfx)tst-translit.out): Likewise.
22686         ($(objpfx)tst-gettext2.out): Likewise.
22687         ($(objpfx)tst-gettext4.out): Likewise.
22688         ($(objpfx)tst-gettext6.out): Likewise.
22689         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22690         (test_program_prefix): This.
22691         * intl/tst-gettext2.sh: Likewise.
22692         * intl/tst-gettext4.sh  Likewise.
22693         * intl/tst-gettext6.sh: Likewise.
22694         * intl/tst-translit.sh: Likewise.
22695         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22696         with $(test-program-cmd).
22697         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22698         $(run-program-prefix) with $(test-program-prefix).
22699         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22700         (test_program_prefix): This.
22701         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22702         $(run-program-prefix) with $(test-program-prefix).
22703         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22704         (test_program_prefix): This.
22705         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22706         * posix/Makefile ($(objpfx)globtest.out): Replace
22707         $(run-via-rtld-prefix) and $(test-wrapper) with
22708         $(test-program-prefix) and $(test-via-rtld-prefix).
22709         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22710         $(test-program-prefix).
22711         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22712         $(host-test-program-cmd).
22713         (tst-spawn-ARGS): Likewise.
22714         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22715         $(test-program-prefix).
22716         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22717         (test_via_rtld_prefix): This.
22718         (test_wrapper): Renamed to ...
22719         (test_program_prefix): This.
22720         (run_program_prefix): Replaced by test_program_prefix.
22721         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22722         (test_program_prefix): This.
22723         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22724         with $(host-test-program-cmd).
22725         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22726         $(run-program-prefix) with $(test-program-prefix).
22727         ($(objpfx)tst-printf.out): Likewise.
22728         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22729         $(test-program-cmd).
22730         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22731         (test_program_prefix): This.
22732         * stdio-common/tst-unbputc.sh: Likewise.
22733         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22734         $(run-program-prefix) with $(test-program-prefix).
22735         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22736         (test_program_prefix): This.
22737         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22738         $(built-program-cmd) with $(test-program-cmd).
22739
22740 2013-01-11  Andreas Jaeger  <aj@suse.de>
22741
22742         [BZ #15003]
22743         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22744         value. Sync with Linux 3.7.
22745
22746 2013-01-10  David S. Miller  <davem@davemloft.net>
22747
22748         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22749         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22750         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22751
22752 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22753
22754         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22755         never set.
22756         * configure: Regenerated.
22757
22758 2013-01-10  David S. Miller  <davem@davemloft.net>
22759
22760         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22761         sparc V9 rather than using V8 code.
22762         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22763         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22764
22765 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22766
22767         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22768         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22769         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22770         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22771         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22772         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22773         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22774         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22775         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22776         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22777         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22778         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22779         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22780         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22781         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22782         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22783         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22784         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22785         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22786         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22787         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22788         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22789         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22790         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22791         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22792         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22793         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22794
22795 2013-01-10  David S. Miller  <davem@davemloft.net>
22796
22797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22798
22799 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22800
22801         * posix/Makefile (tests-static): New variable.
22802         (tests): Add $(tests-static).
22803         (tst-exec-static-ARGS): New variable.
22804         (tst-spawn-static-ARGS): Likewise.
22805         * posix/tst-exec-static.c: New file.
22806         * posix/tst-spawn-static.c: Likewise.
22807         * posix/tst-exec.c: Support run directly.
22808         * posix/tst-spawn.c: Likewise.
22809
22810 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22811
22812         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22813         long.
22814         * math/bits/mathcalls.h (llrint): Likewise.
22815         (llround): Likewise.
22816         * stdlib/stdlib.h (struct drand48_data): Likewise.
22817         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22818         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22819         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22820         Likewise.
22821         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22822         Likewise.
22823         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22824         (elf_greg_t): Likewise.
22825         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22826         (__jmp_buf): Likewise.
22827         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22828         definitions.
22829         (llrint): Likewise, for all definitions.
22830         (llrintl): Likewise.
22831
22832         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22833         Remove [__GNUC__] condition.
22834         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22835         condition to just [__USE_ISOC99].
22836         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22837
22838 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22839
22840         [BZ #14200]
22841         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22842         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22843         defined.
22844         (_POSIX_V6_ILP32_OFF32): Likewise.
22845         (_XBS5_ILP32_OFF32): Likewise.
22846         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22847         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22848
22849 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22850
22851         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22852
22853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22854         doubles __mpexp_twomm1.  Adjust usage.
22855         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22856         Remove.
22857
22858 2013-01-10  Andreas Schwab  <schwab@suse.de>
22859
22860         [BZ #14964]
22861         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22862         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22863
22864 2013-01-09  David S. Miller  <davem@davemloft.net>
22865
22866         [BZ #15003]
22867         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22868         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22869         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22870         (TCP_FASTOPEN): Define.
22871         (tcp_repair_opt): New structure.
22872         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22873         enum values.
22874         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22875         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22876         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22877         (tcp_cookie_transactions): New structure.
22878
22879 2013-01-09  Anton Blanchard  <anton@samba.org>
22880
22881         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22882         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22883         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22884         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22885
22886 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22887
22888         * include/features.h (__USE_ANSI): Remove.
22889
22890 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22891
22892         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22893
22894         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22895
22896 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22897
22898         * sysdeps/s390/fpu/libm-test-ulps: Update.
22899
22900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22901
22902         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22903         (__acr): Likewise.
22904         (__cpy): Likewise.
22905         (norm): Likewise.
22906         (denorm): Likewise.
22907         (__mp_dbl): Likewise.
22908         (__dbl_mp): Likewise.
22909         (add_magnitudes): Likewise.
22910         (sub_magnitudes): Likewise.
22911         (__add): Likewise.
22912         (__sub): Likewise.
22913         (__mul): Likewise.
22914         (__inv): Likewise.
22915         (__dvd): Likewise.
22916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22917         (__acr): Likewise.
22918         (__cpy): Likewise.
22919         (norm): Likewise.
22920         (denorm): Likewise.
22921         (__mp_dbl): Likewise.
22922         (__dbl_mp): Likewise.
22923         (add_magnitudes): Likewise.
22924         (sub_magnitudes): Likewise.
22925         (__add): Likewise.
22926         (__sub): Likewise.
22927         (__mul): Likewise.
22928         (__inv): Likewise.
22929         (__dvd): Likewise.
22930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22931         (__acr): Likewise.
22932         (__cpy): Likewise.
22933         (norm): Likewise.
22934         (denorm): Likewise.
22935         (__mp_dbl): Likewise.
22936         (__dbl_mp): Likewise.
22937         (add_magnitudes): Likewise.
22938         (sub_magnitudes): Likewise.
22939         (__add): Likewise.
22940         (__sub): Likewise.
22941         (__mul): Likewise.
22942         (__inv): Likewise.
22943         (__dvd): Likewise.
22944
22945 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22946
22947         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22948         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22949         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22950         2 && __USE_EXTERN_INLINES]: Likewise.
22951
22952 2013-01-08  Andreas Jaeger  <aj@suse.de>
22953
22954         [BZ# 14985]
22955         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22956         Remove.
22957         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22958         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22959
22960 2013-01-07  Anton Blanchard  <anton@samba.org>
22961
22962         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22963         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22964         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22965         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22966         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22967         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22968         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22969         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22971         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22972         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22973         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22974         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22975         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22976         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22977         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22978         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22979         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22980         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22981         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22982         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22983         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22984         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22985         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22986         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22987         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22988         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22989         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22990         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22991         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22992         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22994         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22995         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22996         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22997         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22998         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22999         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23000         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23001         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23002         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23003         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23004         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23005
23006 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23007
23008         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23009         (__MALLOC_PMT): Likewise.
23010         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23011         [__GNUC__], only on [_LIBC].
23012         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23013         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23014         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23015         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23016         forward declaration.
23017         (realloc_hook_ini): Likewise.
23018         (memalign_hook_ini): Likewise.
23019         (__libc_memalign): Do not use __MALLOC_PMT in variable
23020         declaration.
23021         (__libc_valloc): Likewise.
23022         (__libc_pvalloc): Likewise.
23023         (__libc_calloc): Likewise.
23024         (__posix_memalign): Likewise.
23025
23026         [BZ #14996]
23027         * math/s_casinh.c: Include <float.h>.
23028         (__casinh): Do not do computation with squaring and square root
23029         for large arguments.
23030         * math/s_casinhf.c: Include <float.h>.
23031         (__casinhf): Do not do computation with squaring and square root
23032         for large arguments.
23033         * math/s_casinhl.c: Include <float.h>.
23034         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23035         (__casinhl): Do not do computation with squaring and square root
23036         for large arguments.
23037         * math/libm-test.inc (casin_test): Add more tests.
23038         (casinh_test): Likewise.
23039         * sysdeps/i386/fpu/libm-test-ulps: Update.
23040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23041
23042 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23043
23044         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23045         (__x86_64_raw_data_cache_size): Likewise.
23046         (__x86_64_data_cache_size_half): Likewise.
23047         (__x86_64_raw_data_cache_size_half): Likewise.
23048         (__x86_64_shared_cache_size): Likewise.
23049         (__x86_64_raw_shared_cache_size): Likewise.
23050         (__x86_64_shared_cache_size_half): Likewise.
23051         (__x86_64_raw_shared_cache_size_half): Likewise.
23052         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23053         to ...
23054         (__x86_data_cache_size): This.
23055         (__x86_64_raw_data_cache_size): Renamed to ...
23056         (__x86_raw_data_cache_size): This.
23057         (__x86_64_data_cache_size_half): Renamed to ...
23058         (__x86_data_cache_size_half): This.
23059         (__x86_64_raw_data_cache_size_half): Renamed to ...
23060         (__x86_raw_data_cache_size_half): This.
23061         (__x86_64_shared_cache_size): Renamed to ...
23062         (__x86_shared_cache_size): This.
23063         (__x86_64_raw_shared_cache_size): Renamed to ...
23064         (__x86_raw_shared_cache_size): This.
23065         (__x86_64_shared_cache_size_half): Renamed to ...
23066         (__x86_shared_cache_size_half): This.
23067         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23068         (__x86_raw_shared_cache_size_half): This.
23069         * sysdeps/x86_64/memcpy.S: Updated.
23070         * sysdeps/x86_64/memset.S: Likewise.
23071         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23072         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23073         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23074
23075 2013-01-04  David S. Miller  <davem@davemloft.net>
23076
23077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23078
23079 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23080
23081         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23082         1 to avoid redefinition warning.
23083         (__USE_GNU): Don't define.
23084         (init_signaling_nan): Protoize.
23085
23086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23087
23088 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23089
23090         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23092         (__cpymn): Likewise.
23093         (norm): Remove commented code.
23094         (denorm): Likewise.
23095         (__mp_dbl): Likewise.
23096         (__inv): Likewise.
23097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23098         (__cpymn): Likewise.
23099         (norm): Remove commented code.
23100         (denorm): Likewise.
23101         (__mp_dbl): Likewise.
23102         (__inv): Likewise.
23103
23104         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23105         mp_no value for 1.0 and 2.0.
23106         (norm): Use RADIXI instead of radixi.d.
23107         (denorm): Likewise.
23108         (__mul): Use 0.0 instead of zero.d.
23109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23110         mp_no value for 1.0 and 2.0.
23111         (norm): Use RADIXI instead of radixi.d.
23112         (denorm): Likewise.
23113         (__mul): Use 0.0 instead of zero.d.
23114
23115 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23116
23117         [BZ #14994]
23118         * math/s_casinh.c (__casinh): Reduce finite argument to first
23119         quadrant then set signs of results at the end.
23120         * math/s_casinhf.c (__casinhf): Likewise.
23121         * math/s_casinhl.c (__casinhl): Likewise.
23122         * math/libm-test.inc (casin_test): Add more tests.
23123         (casinh_test): Likewise.
23124         * sysdeps/i386/fpu/libm-test-ulps: Update.
23125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23126
23127 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23128
23129         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23130
23131         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23132
23133         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23134         declarations.
23135         (denorm): Likewise.
23136         (__mp_dbl): Likewise.
23137         (__inv): Likewise.
23138
23139         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23140         and adjust the header comment.
23141
23142         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23143         variable name from declaration.
23144
23145 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23146
23147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23148         Initialize COMMON_CPUID_INDEX_7 element.
23149         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23150         (CPUID_RTM): Likewise.
23151         (HAS_RTM): Likewise.
23152         (COMMON_CPUID_INDEX_7): New enum.
23153
23154 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23155
23156         [BZ #14981]
23157         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23158         size is zero, record memory as freed.
23159
23160 2013-01-03  Andreas Jaeger  <aj@suse.de>
23161
23162         * po/ia.po: Add new Interlingua translation.
23163
23164 2012-01-03  Allan McRae  <allan@archlinux.org>
23165
23166         * locale/programs/localedef.c: Fix description of '--posix' flag.
23167
23168 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23169
23170         * NEWS: Update dates in second copyright notice.
23171         * README: Update copyright dates in example.
23172         * manual/libc.texinfo: Update copyright dates.
23173         * scripts/test-installation.pl: Update copyright date in --version
23174         output.
23175
23176         * hurd/ctty-input.c: Fix copyright notice formatting.
23177         * hurd/ctty-output.c: Likewise.
23178         * hurd/dtable.c: Likewise.
23179         * hurd/hurd-raise.c: Likewise.
23180         * hurd/hurdprio.c: Likewise.
23181         * hurd/msgportdemux.c: Likewise.
23182         * misc/sys/file.h: Likewise.
23183         * misc/sys/ioctl.h: Likewise.
23184         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23185         * sysdeps/mach/hurd/chdir.c: Likewise.
23186         * sysdeps/mach/hurd/fchdir.c: Likewise.
23187         * sysdeps/mach/hurd/rename.c: Likewise.
23188         * sysdeps/mach/hurd/rmdir.c: Likewise.
23189         * sysdeps/mach/hurd/seekdir.c: Likewise.
23190         * sysdeps/mach/hurd/setsid.c: Likewise.
23191         * sysdeps/posix/wait3.c: Likewise.
23192
23193         * All files with FSF copyright notices: Update copyright dates
23194         using scripts/update-copyrights.
23195         * intl/plural.c: Regenerated.
23196         * locale/programs/charmap-kw.h: Likewise.
23197         * locale/programs/locfile-kw.h: Likewise.
23198
23199 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23200
23201         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23202         four values.
23203
23204         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23205         calculation loop and add branch prediction.
23206
23207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23208         check access beyond bounds of m1np.
23209
23210         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23211         MPTWO.
23212         (__inv): Remove local variable MPTWO to use the global
23213         constant.
23214         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23215         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23216         variable MPTWO.
23217         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23218         MP3HALFS static const.
23219
23220 2013-01-01  David S. Miller  <davem@davemloft.net>
23221
23222         * po/ca.po: Update from translation team.
23223
23224 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23225
23226         * scripts/update-copyrights: New file.
23227         * Makeconfig: Reformat copyright notice.
23228         * ctype/ctype.h: Likewise.
23229         * debug/swprintf_chk.c: Likewise.
23230         * elf/dl-cache.c: Likewise.
23231         * elf/dl-debug.c: Likewise.
23232         * elf/dl-object.c: Likewise.
23233         * grp/initgroups.c: Likewise.
23234         * hurd/Makefile: Likewise.
23235         * hurd/hurd/signal.h: Likewise.
23236         * hurd/hurdfault.c: Likewise.
23237         * hurd/hurdioctl.c: Likewise.
23238         * hurd/hurdlookup.c: Likewise.
23239         * hurd/intr-msg.c: Likewise.
23240         * iconv/gconv_open.c: Likewise.
23241         * libio/swprintf.c: Likewise.
23242         * locale/lc-ctype.c: Likewise.
23243         * locale/nl_langinfo.c: Likewise.
23244         * mach/Machrules: Likewise.
23245         * mach/Makefile: Likewise.
23246         * malloc/obstack.h: Likewise.
23247         * manual/Makefile: Likewise.
23248         * manual/tsort.awk: Likewise.
23249         * misc/bits/stab.def: Likewise.
23250         * nis/nis_print_group_entry.c: Likewise.
23251         * nis/nis_table.c: Likewise.
23252         * nis/nss_compat/compat-pwd.c: Likewise.
23253         * nis/nss_compat/compat-spwd.c: Likewise.
23254         * po/Makefile: Likewise.
23255         * posix/fnmatch.c: Likewise.
23256         * posix/regex.h: Likewise.
23257         * resolv/Makefile: Likewise.
23258         * resolv/nss_dns/dns-network.c: Likewise.
23259         * resolv/res_hconf.c: Likewise.
23260         * scripts/gen-sorted.awk: Likewise.
23261         * soft-fp/soft-fp.h: Likewise.
23262         * stdio-common/printf.h: Likewise.
23263         * stdlib/monetary.h: Likewise.
23264         * stdlib/random.c: Likewise.
23265         * stdlib/random_r.c: Likewise.
23266         * sysdeps/generic/Makefile: Likewise.
23267         * sysdeps/gnu/Makefile: Likewise.
23268         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23269         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23270         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23272         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23274         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23275         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23276         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23277         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23278         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23279         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23280         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23281         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23282         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23283         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23284         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23285         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23286         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23288         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23289         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23290         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23291         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23292         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23293         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23294         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23295         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23296         * sysdeps/mach/hurd/errnos.awk: Likewise.
23297         * sysdeps/mach/hurd/fork.c: Likewise.
23298         * sysdeps/mach/hurd/getcwd.c: Likewise.
23299         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23300         * sysdeps/mach/hurd/mmap.c: Likewise.
23301         * sysdeps/mach/hurd/utimes.c: Likewise.
23302         * sysdeps/mach/hurd/xmknod.c: Likewise.
23303         * sysdeps/posix/profil.c: Likewise.
23304         * sysdeps/posix/readdir_r.c: Likewise.
23305         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23306         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23307         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23308         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23310         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23311         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23312         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23314         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23315         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23316         * sysdeps/pthread/lio_listio.c: Likewise.
23317         * sysdeps/sparc/dl-procinfo.h: Likewise.
23318         * sysdeps/unix/i386/sysdep.S: Likewise.
23319         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23320         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23321         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23322         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23324         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23325         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23326         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23327         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23328         * sysdeps/wordsize-32/divdi3.c: Likewise.
23329         * time/sys/time.h: Likewise.
23330         * wcsmbs/Makefile: Likewise.
23331
23332 2013-01-01  David S. Miller  <davem@davemloft.net>
23333
23334         * po/fr.po: Update from translation team.
23335
23336         * catgets/gencat.c: Update copyright year.
23337         * csu/version.c: Likewise.
23338         * debug/catchsegv.sh: Likewise.
23339         * debug/pcprofiledump.c: Likewise.
23340         * debug/xtrace.sh: Likewise.
23341         * elf/ldconfig.c: Likewise.
23342         * elf/ldd.bash.in: Likewise.
23343         * elf/pldd.c: Likewise.
23344         * elf/sotruss.ksh: Likewise.
23345         * elf/sprof.c: Likewise.
23346         * iconv/iconv_prog.c: Likewise.
23347         * iconv/iconvconfig.c: Likewise.
23348         * locale/programs/locale.c: Likewise.
23349         * locale/programs/localedef.c: Likewise.
23350         * login/programs/pt_chown.c: Likewise.
23351         * malloc/memusage.sh: Likewise.
23352         * malloc/memusagestat.c: Likewise.
23353         * malloc/mtrace.pl: Likewise.
23354         * nscd/nscd.c: Likewise.
23355         * nss/getent.c: Likewise.
23356         * nss/makedb.c: Likewise.
23357         * posix/getconf.c: Likewise.
23358
23359 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23360
23361         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23362         numbers.
23363
23364 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23365
23366         * math/bits/mathcalls.h (modf): Use __nonnull.
23367
23368 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23369
23370         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23371         (split): Use macro CN instead of the bare value.
23372         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23373         could be used.
23374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23375         instead of the bare value.
23376         (power1): Likewise.
23377
23378 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23379
23380         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23381         __ATAN_TWOM.
23382         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23383
23384         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23385         their values.
23386         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23387         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23388         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23389         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23390
23391 2012-12-28  Andreas Jaeger  <aj@suse.de>
23392
23393         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23394         values are from Linux 3.7.
23395
23396         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23397         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23398
23399 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23400
23401         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23402         TRUE case.
23403
23404         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23405         (norm): Likewise.
23406         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23407         variables with preprocessor constants.
23408         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23409         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23410         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23411
23412 2012-12-27  Bruno Haible  <bruno@clisp.org>
23413
23414         [BZ #14317]
23415         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23416         only if needed.
23417
23418 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23419
23420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23421         and use variable directly.
23422         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23423
23424         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23425         MPONE.
23426         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23427         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23428         variable MPONE.
23429         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23430         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23431         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23432         include directive.  Remove local variable MPONE.
23433         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23434         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23435         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23436
23437 2012-12-25  David S. Miller  <davem@davemloft.net>
23438
23439         * version.h (RELEASE): Set to "development".
23440         (VERSION): Set to "2.17.90".
23441         * NEWS: Add 2.18 section.
23442
23443 2012-12-21  David S. Miller  <davem@davemloft.net>
23444
23445         * po/hr.po: Update from translation team.
23446
23447 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23448
23449         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23450
23451 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23452
23453         * NEWS:  Mention new memcpy for MIPS.
23454
23455 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23456
23457         * manual/contrib.texi (Contributors): Spelling correction.
23458
23459 2012-12-15  David S. Miller  <davem@davemloft.net>
23460
23461         * po/ru.po: Update from translation team.
23462
23463 2012-12-13  David S. Miller  <davem@davemloft.net>
23464
23465         * NEWS: Mention IFUNC testsuite enhancements.
23466
23467         * po/pl.po: Update from translation team.
23468         * po/bg.po: Likewise.
23469
23470         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23471         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23472
23473 2012-12-11  David S. Miller  <davem@davemloft.net>
23474
23475         * po/sv.po: Update from translation team.
23476
23477         * po/vi.po: Update from translation team.
23478
23479         * po/cs.po: Update from translation team.
23480
23481         * po/de.po: Update from translation team.
23482         * po/eo.po: Likewise.
23483         * po/nl.po: Likewise.
23484
23485 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23486
23487         [BZ #14246]
23488         * manual/argp.texi (Argp Helper Functions): Move node to follow
23489         Argp Parsing State.
23490
23491         [BZ #14872]
23492         * manual/conf.texi (Limits on File System Capacity): Mention if
23493         terminating null is included in the max size.
23494
23495 2012-12-10  Andreas Jaeger  <aj@suse.de>
23496
23497         * po/cs.po: Update from translation team.
23498
23499 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23500
23501         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23502         void pointer and cast to uintptr_t.
23503         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23504         path.
23505         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23506         * sysdeps/s390/s390-64/memset.S: Likewise.
23507
23508 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23509
23510         [BZ #14833]
23511         * menual/message.texi (Message Translation): Fix typos.
23512         (Helper programs for gettext): Likewise.
23513
23514 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23515
23516         [BZ #14898]
23517         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23518         Change to -1.
23519
23520 2012-12-07  David S. Miller  <davem@davemloft.net>
23521
23522         * po/libc.pot: Update.
23523
23524 2012-12-07  Richard Henderson  <rth@redhat.com>
23525
23526         [BZ #10114]
23527         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23528         normal/normal case to before the switch.
23529         (_FP_DIV): Likewise.
23530
23531 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23532             Mike Frysinger  <vapier@gentoo.org>
23533
23534         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23535         check for __NR_fadvise64_64.
23536
23537 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23538
23539         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23540         0, not just to plain "0" as a statement.
23541         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23542         with cw.
23543
23544 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23545
23546         * NEWS: Use sourceware.org in Bugzilla URL.
23547
23548 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23549
23550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23551         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23552
23553         * stdio-common/tst-put-error.c (do_test): Add newline to the
23554         padded test to ensure flush.
23555
23556 2012-12-05  Jeff Law  <law@redhat.com>
23557
23558         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23559
23560 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23561
23562         * README: Don't refer to ports add-on as distributed separately.
23563         Mention AArch64 in list of systems supported in the ports add-on.
23564
23565         * LICENSES: Add more non-FSF copyright and license notices.
23566
23567         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23568         ((unused)).
23569
23570         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23571
23572         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23573         10000 as width of padded output.
23574
23575 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23576
23577         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23578
23579         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23580         variable LX with __attribute__ ((unused)).
23581         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23582         Likewise.
23583         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23585         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23586         with __attribute__ ((unused)).
23587
23588 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23589
23590         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23591
23592 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23593
23594         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23595         (CFLAGS-nldbl-acos.c): New variable.
23596         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23597         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23598         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23599         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23600         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23601         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23602         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23603         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23604         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23605         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23606         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23607         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23608         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23609         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23610         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23611         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23612         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23613         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23614         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23615         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23616         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23617         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23618         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23619         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23620         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23621         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23622         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23623         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23624         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23625         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23626         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23627         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23628         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23629         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23630         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23631         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23632         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23633         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23634         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23635         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23636         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23637         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23638         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23639         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23640         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23641         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23642         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23643         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23644         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23645         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23646         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23647         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23648         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23649         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23650         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23651         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23652         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23653         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23654         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23655         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23656         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23657         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23658         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23659         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23660         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23661         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23662         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23663         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23664         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23665         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23666         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23667         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23668         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23669         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23670         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23671         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23672         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23673         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23674         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23675         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23676         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23677         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23678         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23679         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23680         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23681         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23682         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23683         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23684         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23685         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23686         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23687         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23688         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23689         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23690         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23691         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23692         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23693
23694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23695         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23696
23697         [BZ #14914]
23698         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23699         whole low double instead of just low 47 bits when splitting values
23700         into two parts.
23701
23702 2012-12-03  Allan McRae  <allan@archlinux.org>
23703
23704         * manual/stdio.texi (Predefined Printf Handlers): Remove
23705         @hsep and @vsep usage.
23706
23707 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23708
23709         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23710         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23711
23712 2012-12-03  Jeff Law  <law@redhat.com>
23713
23714         * time/sys/time.h (settimeofday): Do not mark TV argument
23715         as __nonnull.
23716
23717 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23718
23719         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23720         when currently writing and seek to current position when not.
23721         * libio/Makefile (tests): Remove bug-fclose1.
23722         * libio/bug-fclose1.c: Delete.
23723
23724 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23725
23726         * manual/arith.texi (feenableexcept): Fix typo.
23727         (fedisableexcept): Likewise.
23728
23729 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23730
23731         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23732         second, differently-typed declaration, rather than a cast.
23733
23734 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23735
23736         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23737         * include/rpc/svc.h: ... here.
23738
23739 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23740
23741         [BZ #13013]
23742         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23743         depending n and resplen2 to catch cases where answer
23744         equals answerp2.
23745
23746 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23747
23748         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23749         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23750
23751 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23752
23753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23754
23755 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23756
23757         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23758
23759 2012-11-28  Jeff Law  <law@redhat.com>
23760
23761         [BZ #13761]
23762         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23763         dataset_temporary.  Track alloca usage into alloca_used.
23764         If dataset is large allocate and release it via malloc/free.
23765
23766 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23767
23768         [BZ #14197]
23769         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23770
23771 2012-11-28  David S. Miller  <davem@davemloft.net>
23772
23773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23774
23775 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23776
23777         [BZ #14803]
23778         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23779         of pi/2 rounded to nearest to 64 bits.
23780         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23781         nearest to 64 bits.
23782         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23783         bits.
23784
23785 2012-11-28  Jeff Law <law@redhat.com>
23786             Martin Osvald <mosvald@redhat.com>
23787
23788         [BZ #14889]
23789         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23790         * sunrpc/svc.c: Include time.h.
23791         (__svc_accept_failed): New function.
23792         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23793         any reason other than EINTR, call __svc_accept_failed.
23794         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23795         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23796
23797 2012-11-28  Andreas Schwab  <schwab@suse.de>
23798
23799         * scripts/abilist.awk: Also handle indirect functions in .opd
23800         section.
23801
23802 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23803
23804         [BZ #13881]
23805         * sysdeps/x86/fpu/powl_helper.c: New file.
23806         * sysdeps/x86/fpu/Makefile: Likewise.
23807         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23808         (p3): New object.
23809         (__ieee754_powl): Use __powl_helper for finite arguments except
23810         integer exponents below 8.
23811         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23812         (p3): New object.
23813         (__ieee754_powl): Use __powl_helper for finite arguments except
23814         integer exponents below 8.
23815         * math/libm-test.inc (pow_test): Add more tests and enable some
23816         previously disabled tests.
23817         * sysdeps/i386/fpu/libm-test-ulps: Update.
23818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23819
23820 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23821             Carlos O'Donell  <carlos_odonell@mentor.com>
23822
23823         * nss/makedb.c (is_prime): Assert that input is odd and greater
23824         than 4.  Note that fact in a comment too.
23825         (next_prime): Add 4 to input.
23826
23827 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23828
23829         [BZ #11741]
23830         * libio/Makefile (tests): Add test case tst-fwrite-error.
23831         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23832         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23833         * libio/tst-fwrite-error.c: New test case.
23834
23835 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23836
23837         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23838         before casting to void *.
23839         * include/libc-internal.h (__pointer_type): New macro.
23840         (__integer_if_pointer_type_sub): Likewise.
23841         (__integer_if_pointer_type): Likewise.
23842         (cast_to_integer): Likewise.
23843         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23844         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23845         before casting to atomic64_t.
23846         (atomic_exchange_acq): Likewise.
23847         (__arch_exchange_and_add_body): Likewise.
23848         (__arch_add_body): Likewise.
23849         (atomic_add_negative): Likewise.
23850         (atomic_add_zero): Likewise.
23851
23852 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23853
23854         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23855         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23856         (add_fdes): Likewise.
23857         (linear_search_fdes): Likewise.
23858         (binary_search_unencoded_fdes): Likewise.
23859
23860 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23861
23862         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23863
23864 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23865
23866         * configure.in: Autodetect C++ header directories.
23867         * configure: Regenerated.
23868
23869 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23870
23871         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23872
23873 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23874
23875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23876
23877 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23878
23879         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23880         LDBL_MANT_DIG == 106]: Disable some tests.
23881         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23882         Likewise.
23883         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23884         Likewise.
23885
23886         [BZ #14871]
23887         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23888         input for small inputs.  Return +/- pi/2 for large inputs.
23889         * math/libm-test.inc (atan_test): Add more tests.
23890
23891         * sysdeps/generic/unwind-dw2-fde-glibc.c
23892         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23893         __attribute__ ((unused)).
23894
23895         [BZ #14645]
23896         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23897         x * y if x and y are nonzero and z is zero.
23898
23899         [BZ #14811]
23900         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23901         nonzero exponents with absolute value below 0x1p-117 to +/-
23902         0x1p-117.
23903
23904         [BZ #14869]
23905         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23906         up arguments below 2**-450, not just those below 2**-500.
23907         * math/libm-test.inc (hypot_test): Add another test.
23908
23909         [BZ #14868]
23910         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23911         Return a+b for ratio over 2**120, not 2**60.
23912         * math/libm-test.inc (hypot_test): Add another test.
23913
23914         * math/libm-test.inc (clog_test): Use
23915         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23916         (clog10_test): Likewise.
23917
23918         [BZ #6778]
23919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23920
23921 2012-11-22  Andreas Schwab  <schwab@suse.de>
23922
23923         * sysdeps/i386/fpu/libm-test-ulps: Update.
23924
23925 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23926
23927         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23928         printf output with newline.
23929
23930 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23931
23932         [BZ #14865]
23933         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23934         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23935         -z nodlopen, -z initfirst and -z execstack support.
23936         * configure: Regenerated.
23937
23938         * elf/elf.h (DF_1_NODIRECT): New macro.
23939         (DF_1_IGNMULDEF): Likewise.
23940         (DF_1_NOKSYMS): Likewise.
23941         (DF_1_NOHDR): Likewise.
23942         (DF_1_EDITED): Likewise.
23943         (DF_1_NORELOC): Likewise.
23944         (DF_1_SYMINTPOSE): Likewise.
23945         (DF_1_GLOBAUDIT): Likewise.
23946         (DF_1_SINGLETON): Likewise.
23947         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23948         DT_1_SUPPORTED_MASK bits.
23949         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23950
23951 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23952
23953         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23954
23955 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23956
23957         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23958         macro.
23959
23960         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23961         (sendmmsg): Move declarations...
23962         * socket/sys/socket.h: ... here.
23963         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23964         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23965         include it from...
23966         * socket/recvmmsg.c: ... this new file.
23967         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23968         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23969         definition of __sendmmsg hidden.
23970         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23971         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23972         Move ENOSYS stub into and include it from...
23973         * socket/sendmmsg.c: ... this new file.
23974         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23975         (sysdep_routines): Move recvmmsg and sendmmsg...
23976         * socket/Makefile (routines): ... here.
23977         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23978         (GLIBC_PRIVATE): Add __sendmmsg.
23979         * include/sys/socket.h (__sendmmsg): Add declarations.
23980         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23981         sendmmsg.
23982
23983 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23984
23985         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23986         variable I1 with __attribute__ ((unused)).
23987         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23988
23989 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23990
23991         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23992         DUMMY variables with __attribute__ ((unused)).
23993
23994         * bits/byteswap.h: Include <bits/types.h>.
23995         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23996
23997 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23998
23999         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24000         string_t.  Do not manually set errno.
24001         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24002         length with __strnlen.  Make sure to both set errno and return it on
24003         failure.
24004
24005 2012-11-19  David S. Miller  <davem@davemloft.net>
24006
24007         With help from Joseph Myers.
24008         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24009         very large arguments properly.
24010         * math/libm-test.inc (atan_test): New tests.
24011         (atan2_test): New tests.
24012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24014
24015 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24016
24017         [BZ #14856]
24018         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24019         Define to 3.
24020
24021         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24022         [POSIX] (EADDRNOTAVAIL): Likewise.
24023         [POSIX] (EAFNOSUPPORT): Likewise.
24024         [POSIX] (EALREADY): Likewise.
24025         [POSIX] (ECONNABORTED): Likewise.
24026         [POSIX] (ECONNREFUSED): Likewise.
24027         [POSIX] (ECONNRESET): Likewise.
24028         [POSIX] (EDESTADDRREQ): Likewise.
24029         [POSIX] (EDQUOT): Likewise.
24030         [POSIX] (EHOSTUNREACH): Likewise.
24031         [POSIX] (EIDRM): Likewise.
24032         [POSIX] (EISCONN): Likewise.
24033         [POSIX] (ELOOP): Likewise.
24034         [POSIX] (EMULTIHOP): Likewise.
24035         [POSIX] (ENETDOWN): Likewise.
24036         [POSIX] (ENETUNREACH): Likewise.
24037         [POSIX] (ENOBUFS): Likewise.
24038         [POSIX] (ENODATA): Likewise.
24039         [POSIX] (ENOLINK): Likewise.
24040         [POSIX] (ENOMSG): Likewise.
24041         [POSIX] (ENOPROTOOPT): Likewise.
24042         [POSIX] (ENOSR): Likewise.
24043         [POSIX] (ENOSTR): Likewise.
24044         [POSIX] (ENOTCONN): Likewise.
24045         [POSIX] (ENOTSOCK): Likewise.
24046         [POSIX] (EOPNOTSUPP): Likewise.
24047         [POSIX] (EOVERFLOW): Likewise.
24048         [POSIX] (EPROTO): Likewise.
24049         [POSIX] (EPROTONOSUPPORT): Likewise.
24050         [POSIX] (EPROTOTYPE): Likewise.
24051         [POSIX] (ESTALE): Likewise.
24052         [POSIX] (ETIME): Likewise.
24053         [POSIX] (ETXTBSY): Likewise.
24054         [POSIX] (EWOULDBLOCK): Likewise.
24055         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24056         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24057         [POSIX] (SEEK_CUR): Likewise.
24058         [POSIX] (SEEK_END): Likewise.
24059         [POSIX || UNIX98] (mode_t): Do not require.
24060         [POSIX] (off_t): Likewise.
24061         [POSIX] (pid_t): Likewise.
24062         [POSIX] (sys/stat.h): Do not allow header.
24063         [POSIX] (unistd.h): Likewise.
24064         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24065         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24066         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24067         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24068         require.
24069         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24070         sigevent): Specify elements.
24071         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24072         entry.
24073         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24074         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24075
24076         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24077         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24078         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24079         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24080         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24081         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24082         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24083         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24084         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24085         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24086         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24087         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24088         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24089         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24090         Likewise.
24091         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24092         Likewise.
24093         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24094         Likewise.
24095         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24096         Likewise.
24097         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24098         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24099         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24100         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24101         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24102         Specify lower bound on value.
24103         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24104         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24105         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24106         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24107         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24108         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24109         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24110         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24111         value.
24112         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24113         as optional.
24114         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24115         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24116         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24117         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24118         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24119         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24120         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24121         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24122         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24123         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24124         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24125         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24126         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24127         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24128         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24129         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24130         entry.
24131         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24132         optional.
24133         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24134         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24135         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24136         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24137         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24138         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24139         Likewise.
24140         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24141         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24142         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24143         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24144         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24145         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24146         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24147         as optional.
24148         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24149         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24150         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24151         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24152         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24153         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24154         specify as optional.
24155         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24156         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24157         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24158         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24159         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24160         [XPG3] (NL_LANGMAX): Likewise.
24161         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24162         [POSIX || XPG3] (NL_NMAX): Likewise.
24163         [POSIX || XPG3] (NL_SETMAX): Likewise.
24164         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24165         [XPG3] (NZERO): Likewise.
24166         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24167         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24168         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24169         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24170         (REG_ERANGE): Expect.
24171         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24172         optional-constant.
24173         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24174         Use (void) in prototype.
24175         [POSIX] (*_t): Allow.
24176         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24177         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24178         (WRDE_BADVAL): Expect.
24179
24180         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24181         expect.
24182         [XPG3 || XPG4] (O_RSYNC): Likewise.
24183         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24184         Likewise.
24185         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24186         [XPG3 || XPG4] (sigqueue): Likewise.
24187         [XPG3 || XPG4] (sigtimedwait): Likewise.
24188         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24189         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24190         [XPG3 || XPG4] (vsnprintf): Likewise.
24191         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24192         Likewise.
24193         [XPG3 || XPG4] (blksize_t): Likewise.
24194         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24195         Likewise.
24196         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24197         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24198         [XPG3 || XPG4] (struct itimerspec): Likewise.
24199         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24200         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24201         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24202         [XPG3 || XPG4] (clockid_t): Likewise.
24203         [XPG3 || XPG4] (timer_t): Likewise.
24204         [XPG3 || XPG4] (clock_getres): Likewise.
24205         [XPG3 || XPG4] (clock_gettime): Likewise.
24206         [XPG3 || XPG4] (clock_settime): Likewise.
24207         [XPG3 || XPG4] (nanosleep): Likewise.
24208         [XPG3 || XPG4] (timer_create): Likewise.
24209         [XPG3 || XPG4] (timer_delete): Likewise.
24210         [XPG3 || XPG4] (timer_gettime): Likewise.
24211         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24212         [XPG3 || XPG4] (timer_settime): Likewise.
24213         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24214         [XPG3 || XPG4] (getlogin_r): Likewise.
24215         [XPG3 || XPG4] (pread): Likewise.
24216         [XPG3 || XPG4] (pthread_atfork): Likewise.
24217         [XPG3 || XPG4] (pwrite): Likewise.
24218
24219         [BZ #14835]
24220         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24221         <bits/siginfo.h>.
24222
24223 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24224
24225         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24226         finalizing MALLSTREAM.
24227
24228         * sysdeps/mach/hurd/syncfs.c: New file.
24229
24230 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24231
24232         [BZ #14719]
24233         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24234         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24235         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24236         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24237         (_nss_dns_gethostbyname4_r): Likewise.
24238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24239         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24240
24241 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24242
24243         [BZ #13763]
24244         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24245
24246 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24247
24248         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24249         * elf/cache.c (print_entry): Print ",AArch64" for
24250         FLAG_AARCH64_LIB64
24251
24252         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24253         * elf/cache.c (print_entry): Print ",hard-float" for
24254         FLAG_ARM_LIBHF.
24255
24256 2012-11-18  David S. Miller  <davem@davemloft.net>
24257
24258         With help from Joseph Myers.
24259         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24260         cutoff to 2**-13.
24261         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24262         cutoff to 2**-25.
24263         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24264         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24265         small.
24266         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24267         * math/libm-test.inc (y0_test): New tests.
24268         (y1_test): New tests.
24269         * sysdeps/i386/fpu/libm-test-ulps: Update.
24270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24272
24273 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24274
24275         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24276         64-bit targets.
24277         * configure: Regenerated.
24278
24279 2012-11-17  David S. Miller  <davem@davemloft.net>
24280
24281         [BZ #14811]
24282         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24283         nonzero exponents with absolute value below 0x1p-128 to +/-
24284         0x1p-128.
24285
24286 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24287
24288         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24289
24290         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24291
24292         * posix/getconf-speclist.c: New file.
24293         * posix/posix-envs.def: Likewise.
24294         * posix/confstr.c (START_ENV_GROUP): New macro.
24295         (END_ENV_GROUP): Likewise.
24296         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24297         (KNOWN_PRESENT_ENV_STRING): Likewise.
24298         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24299         (UNKNOWN_ENVIRONMENT): Likewise.
24300         (confstr): Include posix-envs.def instead of handling
24301         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24302         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24303         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24304         (END_ENV_GROUP): Likewise.
24305         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24306         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24307         (UNKNOWN_ENVIRONMENT): Likewise.
24308         (__sysconf): Include posix-envs.def instead of handling associated
24309         cases directly here.
24310         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24311         preprocessing getconf-speclist.c rather than running getconf or
24312         generating empty file.
24313
24314 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24315
24316         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24317
24318 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24319
24320         [BZ #14672]
24321         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24322
24323 2012-11-16  David S. Miller  <davem@davemloft.net>
24324
24325         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24326         smaller than LDBL_EPSILON/2.0L, just return xm1.
24327
24328 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24329
24330         * elf/tst-array1.c (init): Set constructor priority to 1000.
24331         (fini): Set destructor priority to 1000.
24332         * elf/tst-array2dep.c: Likewise.
24333
24334 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24335
24336         [BZ #11741]
24337         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24338         (_IO_new_file_xsputn): Also return EOF if none of the input
24339         data was written when overflow failed.
24340         * libio/iopadn.c (_IO_padn): Likewise.
24341         * libio/iowpadn.c (_IO_wpadn): Likewise.
24342         * stdio-common/tst-put-error.c: Add copyright notice.
24343         (do_test): Add case for printing padded string.
24344         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24345         _IO_padn returned error.
24346         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24347         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24348         return EOF.
24349
24350 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24351
24352         * libio/libioP.h: Add comment note that the references to C++
24353         bits are now obsolete.
24354
24355 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24356
24357         * math/libm-test.inc (check_complex): Use asprintf.
24358
24359 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24360
24361         * debug/pcprofiledump.c (print_version): Update copyright year.
24362         * malloc/memusagestat.c (print_version): Likewise.
24363
24364 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24365
24366         [BZ #14831]
24367         * elf/Makefile (tests): Add tst-audit8.
24368         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24369         ($(objpfx)tst-audit8.out): New target.
24370         (tst-audit8-ENV): New variable.
24371         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24372         audit if l_reloc_result is NULL.
24373         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24374         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24375         * elf/tst-audit8.c: New file.
24376
24377 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24378
24379         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24380         * misc/Makefile (CFLAGS-select.c): Define.
24381         * posix/Makefile (CFLAGS-pause.c): Define.
24382
24383 2012-11-13  David S. Miller  <davem@davemloft.net>
24384
24385         * crypt/Makefile: Move test targets after toplevel Rules
24386         inclusion.  Grab any necessary sysdep routines when linking.
24387         * crypt/md5.c (md5_process_block): Remove define, we will always
24388         name it __md5_process_block.
24389         (md5_finish_ctx): Update md5_process_block call.
24390         (md5_stream): Likewise.
24391         (md5_process_bytes): Likewise.
24392         (md5_process_block): Rename to __md5_process_block and move to ...
24393         * crypt/md5-block.c: ... here.
24394         * crypt/sha256.c (sha256_process_block): Move to ...
24395         * crypt/sha256-block.c: ... here.
24396         * crypt/sha512.c (sha512_process_block): Move to ...
24397         * crypt/sha512-block.c: ... here.
24398         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24399         path.
24400         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24401         * sysdeps/sparc/sparc64/multiarch/Makefile
24402         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24403         crypt subdir.
24404         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24405         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24406         multiarch changes.
24407         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24408         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24409         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24410         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24411         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24412         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24413         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24414         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24415         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24416         file.
24417         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24418         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24419         file.
24420         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24421
24422 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24423
24424         * timezone/tzselect.ksh: Update from tzcode git revision
24425         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24426         * timezone/zdump.c: Likewise.
24427         * timezone/zic.c: Likewise.
24428         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24429         in TZVERSION setting, not $(PKGVERSION).
24430         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24431         REPORT_BUGS_TO settings.
24432
24433         [BZ #14838]
24434         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24435         macro.
24436
24437 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24438
24439         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24440         detection to immediately after _FP_ROUND().
24441         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24442         bits are 0.
24443
24444 2012-11-11  David S. Miller  <davem@davemloft.net>
24445
24446         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24447         inttypes.h
24448         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24449         __close rather than their public counterparts.
24450
24451 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24452
24453         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24454         file.
24455         [UNIX98] (sem_timedwait): Do not expect.
24456         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24457         [XPG4 || UNIX98] (sockatmark): Do not expect.
24458         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24459         (clock_getcpuclockid): Do not expect.
24460         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24461         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24462         Do not expect.
24463         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24464         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24465         [UNIX98] (vwscanf): Likewise.
24466         [UNIX98] (vswscanf): Likewise.
24467
24468 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24469
24470         * timezone/version.h: Remove file.
24471         * timezone/README: Do not refer to version.h.
24472         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24473         $(objpfx)version.h.
24474         ($(objpfx)zdump.o): Likewise.
24475         ($(objpfx)version.h): New target.
24476
24477         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24478         2012i.
24479         * timezone/README: Don't mention modification to tzselect.ksh.
24480         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24481         work on unmodified tzselect.ksh.  Substitute version numbers in
24482         tzselect.ksh.
24483
24484         * Makefile (format-me): Remove.
24485         (INSTALL): Adjust indentation.  Use commands directly instead of
24486         using $(format-me).
24487
24488         * aclocal.m4 (ACX_PKGVERSION): New macro.
24489         (ACX_BUGURL): Likewise.
24490         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24491         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24492         (REPORT_BUGS_TO): Likewise.
24493         * configure: Regenerated.
24494         * config.h.in (PKGVERSION): New macro.
24495         (REPORT_BUGS_TO): Likewise.
24496         * config.make.in (PKGVERSION): New variable.
24497         (PKGVERSION_TEXI): Likewise.
24498         (REPORT_BUGS_TO): Likewise.
24499         (REPORT_BUGS_TEXI): Likewise.
24500         * Makefile (format-me): Use -I$(common-objpfx)manual.
24501         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24502         ($(common-objpfx)manual/%): New target.
24503         (manual/%): Remove target.
24504         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24505         (print_version): Use PKGVERSION.
24506         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24507         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24508         and REPORT_BUGS_TO.
24509         ($(objpfx)xtrace): Likewise.
24510         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24511         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24512         (print_version): Use PKGVERSION.
24513         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24514         (do_version): Use PKGVERSION.
24515         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24516         REPORT_BUGS_TO.
24517         (common-ldd-rewrite): Likewise.
24518         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24519         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24520         (print_version): Use PKGVERSION.
24521         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24522         * elf/pldd.c (argp_program_bug_address): Remove variable.
24523         (more_help): New function.
24524         (argp): Use more_help.
24525         (print_version): Use PKGVERSION.
24526         * elf/sln.c (main): Use PKGVERSION.
24527         (usage): Use REPORT_BUGS_TO.
24528         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24529         (top level): Use PKGVERSION.
24530         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24531         (print_version): Use PKGVERSION.
24532         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24533         (print_version): Use PKGVERSION.
24534         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24535         (print_version): Use PKGVERSION.
24536         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24537         (print_version): Use PKGVERSION.
24538         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24539         (print_version): Use PKGVERSION.
24540         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24541         (print_version): Use PKGVERSION.
24542         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24543         and BUGURL.
24544         ($(objpfx)memusage): Likewise.
24545         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24546         (do_version): Use PKGVERSION.
24547         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24548         (print_version): Use PKGVERSION.
24549         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24550         ($PKGVERSION): New variable.
24551         ($REPORT_BUGS_TO): Likewise.
24552         (usage): Use $REPORT_BUGS_TO.
24553         (top level): Use $PKGVERSION.
24554         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24555         ($(objpfx)pkgvers.texi): New rule.
24556         ($(objpfx)stamp-pkgvers): Likewise.
24557         * manual/install.texi: Include pkgvers.texi.
24558         (--with-pkgversion): Document new configure option.
24559         (--with-bugurl): Likewise.
24560         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24561         than necessarily for this particular distribution.  Use
24562         REPORT_BUGS_TO for where to report bugs.
24563         * INSTALL: Regenerated.
24564         * manual/libc.texinfo: Include pkgvers.texi.
24565         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24566         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24567         (print_version): Use PKGVERSION.
24568         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24569         (print_version): Use PKGVERSION.
24570         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24571         (print_version): Use PKGVERSION.
24572         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24573         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24574         macro.
24575         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24576         (print_version): Use PKGVERSION.
24577         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24578         (print_version): Use PKGVERSION.
24579         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24580         and PKGVERSION.
24581
24582         * timezone/checktab.awk: Update from tzcode 2012i.
24583         * timezone/ialloc.c: Likewise.
24584         * timezone/private.h: Likewise.
24585         * timezone/scheck.c: Likewise.
24586         * timezone/tzfile.h: Likewise.
24587         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24588         (TZVERSION): Hardcode tzcode version number.
24589         * timezone/zdump.c: Update from tzcode 2012i.
24590         * timezone/zic.c: Likewise.
24591         * timezone/version.h: New file.
24592         * timezone/README: Describe version.h.  Update upstream location.
24593
24594         [BZ #14824]
24595         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24596         (mktemp): Enable declaration.
24597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24598         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24600         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24601         Likewise.
24602         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24603         Likewise.
24604         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24605         Likewise.
24606         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24607         Likewise.
24608         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24609         Likewise.
24610         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24611         Likewise.
24612
24613         [BZ #14821]
24614         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24615         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24616         for copies of such integer values.
24617         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24618         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24619
24620 2012-11-09  Andreas Jaeger  <aj@suse.de>
24621
24622         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24623         definitions and declarations that are provided by
24624         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24625
24626 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24627
24628         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24629         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24630         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24631         definition.
24632
24633 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24634
24635         * elf/elf.h: Update comment before AArch64 relocations.
24636
24637 2012-11-07  David S. Miller  <davem@davemloft.net>
24638
24639         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24640         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24641         (__start_context): Declare.
24642         (__makecontext_ret): Delete.
24643         (__makecontext): Hook up __start_context instead of
24644         __makecontext_ret.
24645         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24646         (sysdep_routines): Add __start_context when in stdlib.
24647
24648 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24649
24650         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24651         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24652         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24653         hardcoded "nm".
24654         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24655         (READELF): New variable.  Use it instead of hardcoded "readelf".
24656
24657 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24658
24659         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24660         * sysdeps/x86/Makefile: Here.
24661         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24662         * sysdeps/x86/tst-xmmymm.sh: This.
24663
24664 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24665
24666         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24667         expectations.
24668         [UNIX98] (pthread_barrier_t): Do not expect.
24669         [UNIX98] (pthread_barrierattr_t): Likewise.
24670         [UNIX98] (pthread_spinlock_t): Likewise.
24671         [UNIX98] (pthread_barrier_destroy): Likewise.
24672         [UNIX98] (pthread_barrier_init): Likewise.
24673         [UNIX98] (pthread_barrier_wait): Likewise.
24674         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24675         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24676         [UNIX98] (pthread_barrierattr_init): Likewise.
24677         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24678         [UNIX98] (pthread_getcpuclockid): Likewise.
24679         [UNIX98] (pthread_mutex_timedlock): Likewise.
24680         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24681         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24682         [UNIX98] (pthread_sigmask): Likewise.
24683         [UNIX98] (pthread_spin_destroy): Likewise.
24684         [UNIX98] (pthread_spin_init): Likewise.
24685         [UNIX98] (pthread_spin_lock): Likewise.
24686         [UNIX98] (pthread_spin_trylock): Likewise.
24687         [UNIX98] (pthread_spin_unlock): Likewise.
24688         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24689         Do not expect.
24690         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24691         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24692         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24693         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24694         [XPG3 || XPG4] (pthread_key_t): Likewise.
24695         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24696         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24697         [XPG3 || XPG4] (pthread_once_t): Likewise.
24698         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24699         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24700         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24701         [XPG3 || XPG4] (pthread_t): Likewise.
24702
24703         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24704         not expect.
24705         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24706
24707         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24708         Change function return type to int.
24709
24710         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24711         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24712         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24713         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24714         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24715         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24716         [!POSIX] (posix_madvise): Likewise.
24717         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24718         && !UNIX98].
24719         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24720         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24721         (mode_t): Likewise.
24722         (posix_mem_offset): Likewise.
24723         (posix_typed_mem_get_info): Likewise.
24724         (posix_typed_mem_open): Likewise.
24725
24726         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24727         Change condition to [XOPEN2K8].
24728
24729         * conform/conformtest.pl: Preprocess allow-header data with -x c
24730         instead of from stdin.
24731         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24732         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24733         [C99-based standards] (cerfc): Likewise.
24734         [C99-based standards] (cexp2): Likewise.
24735         [C99-based standards] (cexpm1): Likewise.
24736         [C99-based standards] (clog10): Likewise.
24737         [C99-based standards] (clog1p): Likewise.
24738         [C99-based standards] (clog2): Likewise.
24739         [C99-based standards] (clgamma): Likewise.
24740         [C99-based standards] (ctgamma): Likewise.
24741         [C99-based standards] (cerff): Likewise.
24742         [C99-based standards] (cerfcf): Likewise.
24743         [C99-based standards] (cexp2f): Likewise.
24744         [C99-based standards] (cexpm1f): Likewise.
24745         [C99-based standards] (clog10f): Likewise.
24746         [C99-based standards] (clog1pf): Likewise.
24747         [C99-based standards] (clog2f): Likewise.
24748         [C99-based standards] (clgammaf): Likewise.
24749         [C99-based standards] (ctgammaf): Likewise.
24750         [C99-based standards] (cerfl): Likewise.
24751         [C99-based standards] (cerfcl): Likewise.
24752         [C99-based standards] (cexp2l): Likewise.
24753         [C99-based standards] (cexpm1l): Likewise.
24754         [C99-based standards] (clog10l): Likewise.
24755         [C99-based standards] (clog1pl): Likewise.
24756         [C99-based standards] (clog2l): Likewise.
24757         [C99-based standards] (clgammal): Likewise.
24758         [C99-based standards] (ctgammal): Likewise.
24759         * conform/data/inttypes.h-data [C99-based standards]: Include
24760         stdint.h-data.  Remove all expectations for stdint.h contents.
24761         [C99-based standards] (PRI*): Do not allow.
24762         [C99-based standards] (SCN*): Likewise.
24763         [C99-based standards] (*_t): Likewise.
24764         [C99-based-standards] (PRId8): Expect macro.
24765         [C99-based-standards] (PRIi8): Likewise.
24766         [C99-based-standards] (PRIo8): Likewise.
24767         [C99-based-standards] (PRIu8): Likewise.
24768         [C99-based-standards] (PRIx8): Likewise.
24769         [C99-based-standards] (PRIX8): Likewise.
24770         [C99-based-standards] (SCNd8): Likewise.
24771         [C99-based-standards] (SCNi8): Likewise.
24772         [C99-based-standards] (SCNo8): Likewise.
24773         [C99-based-standards] (SCNu8): Likewise.
24774         [C99-based-standards] (SCNx8): Likewise.
24775         [C99-based-standards] (PRIdLEAST8): Likewise.
24776         [C99-based-standards] (PRIiLEAST8): Likewise.
24777         [C99-based-standards] (PRIoLEAST8): Likewise.
24778         [C99-based-standards] (PRIuLEAST8): Likewise.
24779         [C99-based-standards] (PRIxLEAST8): Likewise.
24780         [C99-based-standards] (PRIXLEAST8): Likewise.
24781         [C99-based-standards] (SCNdLEAST8): Likewise.
24782         [C99-based-standards] (SCNiLEAST8): Likewise.
24783         [C99-based-standards] (SCNoLEAST8): Likewise.
24784         [C99-based-standards] (SCNuLEAST8): Likewise.
24785         [C99-based-standards] (SCNxLEAST8): Likewise.
24786         [C99-based-standards] (PRIdFAST8): Likewise.
24787         [C99-based-standards] (PRIiFAST8): Likewise.
24788         [C99-based-standards] (PRIoFAST8): Likewise.
24789         [C99-based-standards] (PRIuFAST8): Likewise.
24790         [C99-based-standards] (PRIxFAST8): Likewise.
24791         [C99-based-standards] (PRIXFAST8): Likewise.
24792         [C99-based-standards] (SCNdFAST8): Likewise.
24793         [C99-based-standards] (SCNiFAST8): Likewise.
24794         [C99-based-standards] (SCNoFAST8): Likewise.
24795         [C99-based-standards] (SCNuFAST8): Likewise.
24796         [C99-based-standards] (SCNxFAST8): Likewise.
24797         [C99-based-standards] (PRId16): Likewise.
24798         [C99-based-standards] (PRIi16): Likewise.
24799         [C99-based-standards] (PRIo16): Likewise.
24800         [C99-based-standards] (PRIu16): Likewise.
24801         [C99-based-standards] (PRIx16): Likewise.
24802         [C99-based-standards] (PRIX16): Likewise.
24803         [C99-based-standards] (SCNd16): Likewise.
24804         [C99-based-standards] (SCNi16): Likewise.
24805         [C99-based-standards] (SCNo16): Likewise.
24806         [C99-based-standards] (SCNu16): Likewise.
24807         [C99-based-standards] (SCNx16): Likewise.
24808         [C99-based-standards] (PRIdLEAST16): Likewise.
24809         [C99-based-standards] (PRIiLEAST16): Likewise.
24810         [C99-based-standards] (PRIoLEAST16): Likewise.
24811         [C99-based-standards] (PRIuLEAST16): Likewise.
24812         [C99-based-standards] (PRIxLEAST16): Likewise.
24813         [C99-based-standards] (PRIXLEAST16): Likewise.
24814         [C99-based-standards] (SCNdLEAST16): Likewise.
24815         [C99-based-standards] (SCNiLEAST16): Likewise.
24816         [C99-based-standards] (SCNoLEAST16): Likewise.
24817         [C99-based-standards] (SCNuLEAST16): Likewise.
24818         [C99-based-standards] (SCNxLEAST16): Likewise.
24819         [C99-based-standards] (PRIdFAST16): Likewise.
24820         [C99-based-standards] (PRIiFAST16): Likewise.
24821         [C99-based-standards] (PRIoFAST16): Likewise.
24822         [C99-based-standards] (PRIuFAST16): Likewise.
24823         [C99-based-standards] (PRIxFAST16): Likewise.
24824         [C99-based-standards] (PRIXFAST16): Likewise.
24825         [C99-based-standards] (SCNdFAST16): Likewise.
24826         [C99-based-standards] (SCNiFAST16): Likewise.
24827         [C99-based-standards] (SCNoFAST16): Likewise.
24828         [C99-based-standards] (SCNuFAST16): Likewise.
24829         [C99-based-standards] (SCNxFAST16): Likewise.
24830         [C99-based-standards] (PRId32): Likewise.
24831         [C99-based-standards] (PRIi32): Likewise.
24832         [C99-based-standards] (PRIo32): Likewise.
24833         [C99-based-standards] (PRIu32): Likewise.
24834         [C99-based-standards] (PRIx32): Likewise.
24835         [C99-based-standards] (PRIX32): Likewise.
24836         [C99-based-standards] (SCNd32): Likewise.
24837         [C99-based-standards] (SCNi32): Likewise.
24838         [C99-based-standards] (SCNo32): Likewise.
24839         [C99-based-standards] (SCNu32): Likewise.
24840         [C99-based-standards] (SCNx32): Likewise.
24841         [C99-based-standards] (PRIdLEAST32): Likewise.
24842         [C99-based-standards] (PRIiLEAST32): Likewise.
24843         [C99-based-standards] (PRIoLEAST32): Likewise.
24844         [C99-based-standards] (PRIuLEAST32): Likewise.
24845         [C99-based-standards] (PRIxLEAST32): Likewise.
24846         [C99-based-standards] (PRIXLEAST32): Likewise.
24847         [C99-based-standards] (SCNdLEAST32): Likewise.
24848         [C99-based-standards] (SCNiLEAST32): Likewise.
24849         [C99-based-standards] (SCNoLEAST32): Likewise.
24850         [C99-based-standards] (SCNuLEAST32): Likewise.
24851         [C99-based-standards] (SCNxLEAST32): Likewise.
24852         [C99-based-standards] (PRIdFAST32): Likewise.
24853         [C99-based-standards] (PRIiFAST32): Likewise.
24854         [C99-based-standards] (PRIoFAST32): Likewise.
24855         [C99-based-standards] (PRIuFAST32): Likewise.
24856         [C99-based-standards] (PRIxFAST32): Likewise.
24857         [C99-based-standards] (PRIXFAST32): Likewise.
24858         [C99-based-standards] (SCNdFAST32): Likewise.
24859         [C99-based-standards] (SCNiFAST32): Likewise.
24860         [C99-based-standards] (SCNoFAST32): Likewise.
24861         [C99-based-standards] (SCNuFAST32): Likewise.
24862         [C99-based-standards] (SCNxFAST32): Likewise.
24863         [C99-based-standards] (PRId64): Likewise.
24864         [C99-based-standards] (PRIi64): Likewise.
24865         [C99-based-standards] (PRIo64): Likewise.
24866         [C99-based-standards] (PRIu64): Likewise.
24867         [C99-based-standards] (PRIx64): Likewise.
24868         [C99-based-standards] (PRIX64): Likewise.
24869         [C99-based-standards] (SCNd64): Likewise.
24870         [C99-based-standards] (SCNi64): Likewise.
24871         [C99-based-standards] (SCNo64): Likewise.
24872         [C99-based-standards] (SCNu64): Likewise.
24873         [C99-based-standards] (SCNx64): Likewise.
24874         [C99-based-standards] (PRIdLEAST64): Likewise.
24875         [C99-based-standards] (PRIiLEAST64): Likewise.
24876         [C99-based-standards] (PRIoLEAST64): Likewise.
24877         [C99-based-standards] (PRIuLEAST64): Likewise.
24878         [C99-based-standards] (PRIxLEAST64): Likewise.
24879         [C99-based-standards] (PRIXLEAST64): Likewise.
24880         [C99-based-standards] (SCNdLEAST64): Likewise.
24881         [C99-based-standards] (SCNiLEAST64): Likewise.
24882         [C99-based-standards] (SCNoLEAST64): Likewise.
24883         [C99-based-standards] (SCNuLEAST64): Likewise.
24884         [C99-based-standards] (SCNxLEAST64): Likewise.
24885         [C99-based-standards] (PRIdFAST64): Likewise.
24886         [C99-based-standards] (PRIiFAST64): Likewise.
24887         [C99-based-standards] (PRIoFAST64): Likewise.
24888         [C99-based-standards] (PRIuFAST64): Likewise.
24889         [C99-based-standards] (PRIxFAST64): Likewise.
24890         [C99-based-standards] (PRIXFAST64): Likewise.
24891         [C99-based-standards] (SCNdFAST64): Likewise.
24892         [C99-based-standards] (SCNiFAST64): Likewise.
24893         [C99-based-standards] (SCNoFAST64): Likewise.
24894         [C99-based-standards] (SCNuFAST64): Likewise.
24895         [C99-based-standards] (SCNxFAST64): Likewise.
24896         [C99-based-standards] (PRIdMAX): Likewise.
24897         [C99-based-standards] (PRIiMAX): Likewise.
24898         [C99-based-standards] (PRIoMAX): Likewise.
24899         [C99-based-standards] (PRIuMAX): Likewise.
24900         [C99-based-standards] (PRIxMAX): Likewise.
24901         [C99-based-standards] (PRIXMAX): Likewise.
24902         [C99-based-standards] (SCNdMAX): Likewise.
24903         [C99-based-standards] (SCNiMAX): Likewise.
24904         [C99-based-standards] (SCNoMAX): Likewise.
24905         [C99-based-standards] (SCNuMAX): Likewise.
24906         [C99-based-standards] (SCNxMAX): Likewise.
24907         [C99-based-standards] (PRIdPTR): Likewise.
24908         [C99-based-standards] (PRIiPTR): Likewise.
24909         [C99-based-standards] (PRIoPTR): Likewise.
24910         [C99-based-standards] (PRIuPTR): Likewise.
24911         [C99-based-standards] (PRIxPTR): Likewise.
24912         [C99-based-standards] (PRIXPTR): Likewise.
24913         [C99-based-standards] (SCNdPTR): Likewise.
24914         [C99-based-standards] (SCNiPTR): Likewise.
24915         [C99-based-standards] (SCNoPTR): Likewise.
24916         [C99-based-standards] (SCNuPTR): Likewise.
24917         [C99-based-standards] (SCNxPTR): Likewise.
24918         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24919         allow.
24920         * conform/data/stdint.h-data: Update comments to clarify
24921         requirements.
24922         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24923         type.
24924         [C99-based standards] (INT8_MAX): Likewise.
24925         [C99-based standards] (INT16_MIN): Likewise.
24926         [C99-based standards] (INT16_MAX): Likewise.
24927         [C99-based standards] (INT32_MIN): Likewise.
24928         [C99-based standards] (INT32_MAX): Likewise.
24929         [C99-based standards] (INT64_MIN): Likewise.
24930         [C99-based standards] (INT64_MAX): Likewise.
24931         [C99-based standards] (UINT8_MAX): Likewise.
24932         [C99-based standards] (UINT16_MAX): Likewise.
24933         [C99-based standards] (UINT32_MAX): Likewise.
24934         [C99-based standards] (UINT64_MAX): Likewise.
24935         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24936         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24937         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24938         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24939         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24940         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24941         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24942         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24943         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24944         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24945         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24946         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24947         [C99-based standards] (INT_FAST8_MIN): Likewise.
24948         [C99-based standards] (INT_FAST8_MAX): Likewise.
24949         [C99-based standards] (INT_FAST16_MIN): Likewise.
24950         [C99-based standards] (INT_FAST16_MAX): Likewise.
24951         [C99-based standards] (INT_FAST32_MIN): Likewise.
24952         [C99-based standards] (INT_FAST32_MAX): Likewise.
24953         [C99-based standards] (INT_FAST64_MIN): Likewise.
24954         [C99-based standards] (INT_FAST64_MAX): Likewise.
24955         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24956         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24957         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24958         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24959         [C99-based standards] (INTPTR_MIN): Likewise.
24960         [C99-based standards] (INTPTR_MAX): Likewise.
24961         [C99-based standards] (UINTPTR_MAX): Likewise.
24962         [C99-based standards] (INTMAX_MIN): Likewise.
24963         [C99-based standards] (INTMAX_MAX): Likewise.
24964         [C99-based standards] (UINTMAX_MAX): Likewise.
24965         [C99-based standards] (PTRDIFF_MIN): Likewise.
24966         [C99-based standards] (PTRDIFF_MAX): Likewise.
24967         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24968         [C99-based standards] (SIZE_MAX): Likewise.
24969         [C99-based standards] (WCHAR_MAX): Likewise.
24970         [C99-based standards] (WINT_MAX): Likewise.
24971         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24972         constraint on value.
24973         [C99-based standards] (WCHAR_MIN): Likewise.
24974         [C99-based standards] (WINT_MIN): Likewise.
24975         [C99-based standards] (*_t): Allow.
24976         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24977         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24978         Include math.h-data and complex.h-data.  Remove all expectations
24979         of math.h and complex.h contents.
24980         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24981         at end of line.
24982         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24983         (struct tm): Expect tag.
24984         [C99-based-standards] (wcstof): Expect function.
24985         [C99-based-standards] (wcstold): Likewise.
24986         [C99-based-standards] (wcstoll): Likewise.
24987         [C99-based-standards] (wcstoull): Likewise.
24988         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24989         macro-int-constant.  Specify type.
24990         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24991         constraint on value.
24992         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24993         Specify type.
24994         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24995         Specify value.
24996         [ISO C standards]: Do not allow headers.
24997         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24998         wcs[abcdefghijklmnopqrstuvwxyz]*.
24999         [ISO C standards] (*_t): Do not allow.
25000         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25001         Expect function.
25002         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25003         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25004         Specify type.
25005         [ISO C standards]: Do not allow headers.
25006         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25007         is[abcdefghijklmnopqrstuvwxyz]*.
25008         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25009         to[abcdefghijklmnopqrstuvwxyz]*.
25010         [ISO C standards] (*_t): Do not allow.
25011         * conform/data/stdalign.h-data: New file.
25012         * conform/data/stdbool.h-data: Likewise.
25013         * conform/data/stdnoreturn.h-data: Likewise.
25014
25015 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25016
25017         [BZ #14815]
25018         * manual/filesys.texi (Directory Entries): Typo fix.
25019         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25020
25021 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25022
25023         * elf/elf.h (EM_AARCH64): New macro.
25024         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25025         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25026         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25027         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25028         (R_AARCH64_TLSDESC): Likewise.
25029         (NT_ARM_TLS): Likewise.
25030         (NT_ARM_HW_BREAK): Likewise.
25031         (NT_ARM_HW_WATCH): Likewise.
25032
25033 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25034
25035         [BZ #14811]
25036         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25037         (__ieee754_powl): Saturate nonzero exponents with absolute value
25038         below 0x1p-79 to +/- 0x1p-79.
25039         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25040         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25041         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25042         nonzero exponents with absolute value below 0x1p-32 to +/-
25043         0x1p-32.
25044         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25045         (__ieee754_powl): Saturate nonzero exponents with absolute value
25046         below 0x1p-79 to +/- 0x1p-79.
25047         * math/libm-test.inc (pow_test): Add more tests.
25048
25049 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25050
25051         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25052         _dl_s390_cap_flags with kernel. Increase string length.
25053         (_dl_s390_platforms): Add z196 and zEC12.
25054
25055 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25056
25057         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25058         Change XOPEN21K to XOPEN2K.
25059
25060 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25061
25062         * string/memmove.c: Use memcpy when possible.
25063
25064 2012-11-06  Andreas Jaeger  <aj@suse.de>
25065
25066         * po/eo.po: Update from translation team.
25067
25068 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25069
25070         [BZ #14793]
25071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25072         exponent and small x and y exponents, scale x or y up.  Increase
25073         by 2 the exponent used in scaling up.
25074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25075         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25076         * math/libm-test.inc (fma_test): Add more tests.
25077         (fma_test_towardzero): Likewise.
25078         (fma_test_downward): Likewise.
25079         (fma_test_upward): Likewise.
25080
25081 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25082
25083         [BZ #14805]
25084         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25085         fenv_t *.
25086
25087         [BZ #14801]
25088         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25089         namespace for names of struct fields.
25090         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25091         fenv_t fields.
25092         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25093         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25094
25095 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25096
25097         [BZ #3665]
25098         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25099
25100 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25101
25102         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25103         PTR_DEMANGLE.
25104
25105         [BZ #5246]
25106         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25107         PTR_DEMANGLE.
25108
25109 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25110
25111         [BZ #14797]
25112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25113         definitely overflow as x * y not x * y + z.
25114         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25115         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25116         * math/libm-test.inc (fma_test): Add more tests.
25117         (fma_test_towardzero): Likewise.
25118         (fma_test_downward): Likewise.
25119         (fma_test_upward): Likewise.
25120
25121 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25122
25123         [BZ #157]
25124
25125         * include/stub-tag.h: Remove file.
25126         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25127         '#include' of it.
25128         * manual/maint.texi (Porting): Don't reference it.
25129         * Makerules ($(objpfx)stubs): Likewise.
25130         * dirent/closedir.c: Don't include <stub-tag.h>.
25131         * dirent/dirfd.c: Likewise.
25132         * dirent/fdopendir.c: Likewise.
25133         * dirent/getdents.c: Likewise.
25134         * dirent/getdents64.c: Likewise.
25135         * dirent/opendir.c: Likewise.
25136         * dirent/readdir.c: Likewise.
25137         * dirent/readdir64.c: Likewise.
25138         * dirent/readdir64_r.c: Likewise.
25139         * dirent/readdir_r.c: Likewise.
25140         * dirent/rewinddir.c: Likewise.
25141         * dirent/seekdir.c: Likewise.
25142         * dirent/telldir.c: Likewise.
25143         * gmon/profil.c: Likewise.
25144         * grp/setgroups.c: Likewise.
25145         * inet/if_index.c: Likewise.
25146         * io/access.c: Likewise.
25147         * io/chdir.c: Likewise.
25148         * io/chmod.c: Likewise.
25149         * io/chown.c: Likewise.
25150         * io/close.c: Likewise.
25151         * io/dup.c: Likewise.
25152         * io/dup2.c: Likewise.
25153         * io/dup3.c: Likewise.
25154         * io/euidaccess.c: Likewise.
25155         * io/faccessat.c: Likewise.
25156         * io/fchdir.c: Likewise.
25157         * io/fchmod.c: Likewise.
25158         * io/fchmodat.c: Likewise.
25159         * io/fchown.c: Likewise.
25160         * io/fchownat.c: Likewise.
25161         * io/fcntl.c: Likewise.
25162         * io/flock.c: Likewise.
25163         * io/fstatfs.c: Likewise.
25164         * io/fstatfs64.c: Likewise.
25165         * io/fstatvfs.c: Likewise.
25166         * io/fstatvfs64.c: Likewise.
25167         * io/futimens.c: Likewise.
25168         * io/fxstat.c: Likewise.
25169         * io/fxstat64.c: Likewise.
25170         * io/fxstatat.c: Likewise.
25171         * io/fxstatat64.c: Likewise.
25172         * io/getcwd.c: Likewise.
25173         * io/isatty.c: Likewise.
25174         * io/lchmod.c: Likewise.
25175         * io/lchown.c: Likewise.
25176         * io/link.c: Likewise.
25177         * io/linkat.c: Likewise.
25178         * io/lseek.c: Likewise.
25179         * io/lseek64.c: Likewise.
25180         * io/lxstat64.c: Likewise.
25181         * io/mkdir.c: Likewise.
25182         * io/mkdirat.c: Likewise.
25183         * io/mkfifo.c: Likewise.
25184         * io/mkfifoat.c: Likewise.
25185         * io/open.c: Likewise.
25186         * io/open64.c: Likewise.
25187         * io/openat.c: Likewise.
25188         * io/openat64.c: Likewise.
25189         * io/pipe.c: Likewise.
25190         * io/pipe2.c: Likewise.
25191         * io/poll.c: Likewise.
25192         * io/posix_fadvise.c: Likewise.
25193         * io/posix_fadvise64.c: Likewise.
25194         * io/posix_fallocate.c: Likewise.
25195         * io/posix_fallocate64.c: Likewise.
25196         * io/read.c: Likewise.
25197         * io/readlink.c: Likewise.
25198         * io/readlinkat.c: Likewise.
25199         * io/rmdir.c: Likewise.
25200         * io/sendfile.c: Likewise.
25201         * io/sendfile64.c: Likewise.
25202         * io/statfs.c: Likewise.
25203         * io/statfs64.c: Likewise.
25204         * io/statvfs.c: Likewise.
25205         * io/statvfs64.c: Likewise.
25206         * io/symlink.c: Likewise.
25207         * io/symlinkat.c: Likewise.
25208         * io/ttyname.c: Likewise.
25209         * io/ttyname_r.c: Likewise.
25210         * io/umask.c: Likewise.
25211         * io/unlink.c: Likewise.
25212         * io/unlinkat.c: Likewise.
25213         * io/utime.c: Likewise.
25214         * io/utimensat.c: Likewise.
25215         * io/write.c: Likewise.
25216         * io/xmknod.c: Likewise.
25217         * io/xmknodat.c: Likewise.
25218         * io/xstat.c: Likewise.
25219         * io/xstat64.c: Likewise.
25220         * login/getpt.c: Likewise.
25221         * login/grantpt.c: Likewise.
25222         * login/unlockpt.c: Likewise.
25223         * math/e_acoshl.c: Likewise.
25224         * math/e_acosl.c: Likewise.
25225         * math/e_asinl.c: Likewise.
25226         * math/e_atan2l.c: Likewise.
25227         * math/e_atanhl.c: Likewise.
25228         * math/e_coshl.c: Likewise.
25229         * math/e_expl.c: Likewise.
25230         * math/e_fmodl.c: Likewise.
25231         * math/e_gammal_r.c: Likewise.
25232         * math/e_hypotl.c: Likewise.
25233         * math/e_j0l.c: Likewise.
25234         * math/e_j1l.c: Likewise.
25235         * math/e_jnl.c: Likewise.
25236         * math/e_lgammal_r.c: Likewise.
25237         * math/e_log10l.c: Likewise.
25238         * math/e_log2l.c: Likewise.
25239         * math/e_logl.c: Likewise.
25240         * math/e_powl.c: Likewise.
25241         * math/e_rem_pio2l.c: Likewise.
25242         * math/e_sinhl.c: Likewise.
25243         * math/e_sqrtl.c: Likewise.
25244         * math/fclrexcpt.c: Likewise.
25245         * math/fedisblxcpt.c: Likewise.
25246         * math/feenablxcpt.c: Likewise.
25247         * math/fegetenv.c: Likewise.
25248         * math/fegetexcept.c: Likewise.
25249         * math/fegetround.c: Likewise.
25250         * math/feholdexcpt.c: Likewise.
25251         * math/fesetenv.c: Likewise.
25252         * math/fesetround.c: Likewise.
25253         * math/feupdateenv.c: Likewise.
25254         * math/fgetexcptflg.c: Likewise.
25255         * math/fraiseexcpt.c: Likewise.
25256         * math/fsetexcptflg.c: Likewise.
25257         * math/ftestexcept.c: Likewise.
25258         * math/k_cosl.c: Likewise.
25259         * math/k_rem_pio2l.c: Likewise.
25260         * math/k_sinl.c: Likewise.
25261         * math/k_tanl.c: Likewise.
25262         * math/s_asinhl.c: Likewise.
25263         * math/s_atanl.c: Likewise.
25264         * math/s_cbrtl.c: Likewise.
25265         * math/s_erfl.c: Likewise.
25266         * math/s_expm1l.c: Likewise.
25267         * math/s_log1pl.c: Likewise.
25268         * math/s_tanhl.c: Likewise.
25269         * misc/acct.c: Likewise.
25270         * misc/brk.c: Likewise.
25271         * misc/chflags.c: Likewise.
25272         * misc/chroot.c: Likewise.
25273         * misc/fchflags.c: Likewise.
25274         * misc/fgetxattr.c: Likewise.
25275         * misc/flistxattr.c: Likewise.
25276         * misc/fremovexattr.c: Likewise.
25277         * misc/fsetxattr.c: Likewise.
25278         * misc/fsync.c: Likewise.
25279         * misc/ftruncate.c: Likewise.
25280         * misc/futimes.c: Likewise.
25281         * misc/futimesat.c: Likewise.
25282         * misc/getdomain.c: Likewise.
25283         * misc/getdtsz.c: Likewise.
25284         * misc/gethostid.c: Likewise.
25285         * misc/gethostname.c: Likewise.
25286         * misc/getloadavg.c: Likewise.
25287         * misc/getpagesize.c: Likewise.
25288         * misc/getsysstats.c: Likewise.
25289         * misc/getxattr.c: Likewise.
25290         * misc/gtty.c: Likewise.
25291         * misc/ioctl.c: Likewise.
25292         * misc/lgetxattr.c: Likewise.
25293         * misc/listxattr.c: Likewise.
25294         * misc/llistxattr.c: Likewise.
25295         * misc/lremovexattr.c: Likewise.
25296         * misc/lsetxattr.c: Likewise.
25297         * misc/lutimes.c: Likewise.
25298         * misc/madvise.c: Likewise.
25299         * misc/mincore.c: Likewise.
25300         * misc/mlock.c: Likewise.
25301         * misc/mlockall.c: Likewise.
25302         * misc/mmap.c: Likewise.
25303         * misc/mprotect.c: Likewise.
25304         * misc/msync.c: Likewise.
25305         * misc/munlock.c: Likewise.
25306         * misc/munlockall.c: Likewise.
25307         * misc/munmap.c: Likewise.
25308         * misc/preadv.c: Likewise.
25309         * misc/preadv64.c: Likewise.
25310         * misc/ptrace.c: Likewise.
25311         * misc/pwritev.c: Likewise.
25312         * misc/pwritev64.c: Likewise.
25313         * misc/readv.c: Likewise.
25314         * misc/reboot.c: Likewise.
25315         * misc/remap_file_pages.c: Likewise.
25316         * misc/removexattr.c: Likewise.
25317         * misc/revoke.c: Likewise.
25318         * misc/select.c: Likewise.
25319         * misc/setdomain.c: Likewise.
25320         * misc/setegid.c: Likewise.
25321         * misc/seteuid.c: Likewise.
25322         * misc/sethostid.c: Likewise.
25323         * misc/sethostname.c: Likewise.
25324         * misc/setregid.c: Likewise.
25325         * misc/setreuid.c: Likewise.
25326         * misc/setxattr.c: Likewise.
25327         * misc/sstk.c: Likewise.
25328         * misc/stty.c: Likewise.
25329         * misc/swapoff.c: Likewise.
25330         * misc/swapon.c: Likewise.
25331         * misc/sync.c: Likewise.
25332         * misc/syncfs.c: Likewise.
25333         * misc/syscall.c: Likewise.
25334         * misc/truncate.c: Likewise.
25335         * misc/ualarm.c: Likewise.
25336         * misc/usleep.c: Likewise.
25337         * misc/ustat.c: Likewise.
25338         * misc/utimes.c: Likewise.
25339         * misc/vhangup.c: Likewise.
25340         * misc/writev.c: Likewise.
25341         * posix/_exit.c: Likewise.
25342         * posix/alarm.c: Likewise.
25343         * posix/execve.c: Likewise.
25344         * posix/fexecve.c: Likewise.
25345         * posix/fork.c: Likewise.
25346         * posix/fpathconf.c: Likewise.
25347         * posix/getaddrinfo.c: Likewise.
25348         * posix/getegid.c: Likewise.
25349         * posix/geteuid.c: Likewise.
25350         * posix/getgid.c: Likewise.
25351         * posix/getgroups.c: Likewise.
25352         * posix/getlogin.c: Likewise.
25353         * posix/getlogin_r.c: Likewise.
25354         * posix/getpgid.c: Likewise.
25355         * posix/getpid.c: Likewise.
25356         * posix/getppid.c: Likewise.
25357         * posix/getresgid.c: Likewise.
25358         * posix/getresuid.c: Likewise.
25359         * posix/getsid.c: Likewise.
25360         * posix/getuid.c: Likewise.
25361         * posix/glob64.c: Likewise.
25362         * posix/nanosleep.c: Likewise.
25363         * posix/pathconf.c: Likewise.
25364         * posix/pause.c: Likewise.
25365         * posix/posix_madvise.c: Likewise.
25366         * posix/pread.c: Likewise.
25367         * posix/pread64.c: Likewise.
25368         * posix/pwrite.c: Likewise.
25369         * posix/pwrite64.c: Likewise.
25370         * posix/sched_getaffinity.c: Likewise.
25371         * posix/sched_getp.c: Likewise.
25372         * posix/sched_gets.c: Likewise.
25373         * posix/sched_primax.c: Likewise.
25374         * posix/sched_primin.c: Likewise.
25375         * posix/sched_rr_gi.c: Likewise.
25376         * posix/sched_setaffinity.c: Likewise.
25377         * posix/sched_setp.c: Likewise.
25378         * posix/sched_sets.c: Likewise.
25379         * posix/sched_yield.c: Likewise.
25380         * posix/setgid.c: Likewise.
25381         * posix/setlogin.c: Likewise.
25382         * posix/setpgid.c: Likewise.
25383         * posix/setresgid.c: Likewise.
25384         * posix/setresuid.c: Likewise.
25385         * posix/setsid.c: Likewise.
25386         * posix/setuid.c: Likewise.
25387         * posix/sleep.c: Likewise.
25388         * posix/spawni.c: Likewise.
25389         * posix/sysconf.c: Likewise.
25390         * posix/times.c: Likewise.
25391         * posix/wait.c: Likewise.
25392         * posix/wait3.c: Likewise.
25393         * posix/wait4.c: Likewise.
25394         * posix/waitpid.c: Likewise.
25395         * resolv/gai_sigqueue.c: Likewise.
25396         * resource/getpriority.c: Likewise.
25397         * resource/getrlimit.c: Likewise.
25398         * resource/getrusage.c: Likewise.
25399         * resource/nice.c: Likewise.
25400         * resource/setpriority.c: Likewise.
25401         * resource/setrlimit.c: Likewise.
25402         * resource/ulimit.c: Likewise.
25403         * rt/aio_cancel.c: Likewise.
25404         * rt/aio_fsync.c: Likewise.
25405         * rt/aio_read.c: Likewise.
25406         * rt/aio_sigqueue.c: Likewise.
25407         * rt/aio_suspend.c: Likewise.
25408         * rt/aio_write.c: Likewise.
25409         * rt/clock_getres.c: Likewise.
25410         * rt/clock_gettime.c: Likewise.
25411         * rt/clock_nanosleep.c: Likewise.
25412         * rt/clock_settime.c: Likewise.
25413         * rt/lio_listio.c: Likewise.
25414         * rt/mq_close.c: Likewise.
25415         * rt/mq_getattr.c: Likewise.
25416         * rt/mq_notify.c: Likewise.
25417         * rt/mq_open.c: Likewise.
25418         * rt/mq_receive.c: Likewise.
25419         * rt/mq_send.c: Likewise.
25420         * rt/mq_setattr.c: Likewise.
25421         * rt/mq_timedreceive.c: Likewise.
25422         * rt/mq_timedsend.c: Likewise.
25423         * rt/mq_unlink.c: Likewise.
25424         * rt/shm_open.c: Likewise.
25425         * rt/shm_unlink.c: Likewise.
25426         * rt/timer_create.c: Likewise.
25427         * rt/timer_delete.c: Likewise.
25428         * rt/timer_getoverr.c: Likewise.
25429         * rt/timer_gettime.c: Likewise.
25430         * rt/timer_settime.c: Likewise.
25431         * setjmp/__longjmp.c: Likewise.
25432         * setjmp/setjmp.c: Likewise.
25433         * signal/kill.c: Likewise.
25434         * signal/killpg.c: Likewise.
25435         * signal/raise.c: Likewise.
25436         * signal/sigaction.c: Likewise.
25437         * signal/sigaltstack.c: Likewise.
25438         * signal/sigblock.c: Likewise.
25439         * signal/sigignore.c: Likewise.
25440         * signal/sigintr.c: Likewise.
25441         * signal/signal.c: Likewise.
25442         * signal/sigpause.c: Likewise.
25443         * signal/sigpending.c: Likewise.
25444         * signal/sigqueue.c: Likewise.
25445         * signal/sigreturn.c: Likewise.
25446         * signal/sigset.c: Likewise.
25447         * signal/sigsetmask.c: Likewise.
25448         * signal/sigstack.c: Likewise.
25449         * signal/sigsuspend.c: Likewise.
25450         * signal/sigtimedwait.c: Likewise.
25451         * signal/sigvec.c: Likewise.
25452         * signal/sigwait.c: Likewise.
25453         * signal/sigwaitinfo.c: Likewise.
25454         * signal/sysv_signal.c: Likewise.
25455         * socket/accept.c: Likewise.
25456         * socket/accept4.c: Likewise.
25457         * socket/bind.c: Likewise.
25458         * socket/connect.c: Likewise.
25459         * socket/getpeername.c: Likewise.
25460         * socket/getsockname.c: Likewise.
25461         * socket/getsockopt.c: Likewise.
25462         * socket/isfdtype.c: Likewise.
25463         * socket/listen.c: Likewise.
25464         * socket/recv.c: Likewise.
25465         * socket/recvfrom.c: Likewise.
25466         * socket/recvmsg.c: Likewise.
25467         * socket/send.c: Likewise.
25468         * socket/sendmsg.c: Likewise.
25469         * socket/sendto.c: Likewise.
25470         * socket/setsockopt.c: Likewise.
25471         * socket/shutdown.c: Likewise.
25472         * socket/sockatmark.c: Likewise.
25473         * socket/socket.c: Likewise.
25474         * socket/socketpair.c: Likewise.
25475         * stdio-common/ctermid.c: Likewise.
25476         * stdio-common/cuserid.c: Likewise.
25477         * stdio-common/remove.c: Likewise.
25478         * stdio-common/rename.c: Likewise.
25479         * stdio-common/renameat.c: Likewise.
25480         * stdio-common/tempname.c: Likewise.
25481         * stdlib/getcontext.c: Likewise.
25482         * stdlib/makecontext.c: Likewise.
25483         * stdlib/setcontext.c: Likewise.
25484         * stdlib/swapcontext.c: Likewise.
25485         * stdlib/system.c: Likewise.
25486         * streams/fattach.c: Likewise.
25487         * streams/fdetach.c: Likewise.
25488         * streams/getmsg.c: Likewise.
25489         * streams/getpmsg.c: Likewise.
25490         * streams/putmsg.c: Likewise.
25491         * streams/putpmsg.c: Likewise.
25492         * sysdeps/unix/bsd/getpt.c: Likewise.
25493         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25494         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25495         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25497         Likewise.
25498         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25499         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25500         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25501         * sysvipc/msgctl.c: Likewise.
25502         * sysvipc/msgget.c: Likewise.
25503         * sysvipc/msgrcv.c: Likewise.
25504         * sysvipc/msgsnd.c: Likewise.
25505         * sysvipc/semctl.c: Likewise.
25506         * sysvipc/semget.c: Likewise.
25507         * sysvipc/semop.c: Likewise.
25508         * sysvipc/semtimedop.c: Likewise.
25509         * sysvipc/shmat.c: Likewise.
25510         * sysvipc/shmctl.c: Likewise.
25511         * sysvipc/shmdt.c: Likewise.
25512         * sysvipc/shmget.c: Likewise.
25513         * termios/tcdrain.c: Likewise.
25514         * termios/tcflow.c: Likewise.
25515         * termios/tcflush.c: Likewise.
25516         * termios/tcgetattr.c: Likewise.
25517         * termios/tcgetpgrp.c: Likewise.
25518         * termios/tcsendbrk.c: Likewise.
25519         * termios/tcsetattr.c: Likewise.
25520         * termios/tcsetpgrp.c: Likewise.
25521         * time/adjtime.c: Likewise.
25522         * time/clock.c: Likewise.
25523         * time/getitimer.c: Likewise.
25524         * time/gettimeofday.c: Likewise.
25525         * time/setitimer.c: Likewise.
25526         * time/settimeofday.c: Likewise.
25527         * time/stime.c: Likewise.
25528         * time/time.c: Likewise.
25529
25530 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25531
25532         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25533         /usr/old/bin.
25534
25535         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25536         instead of spaces.
25537         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25538
25539 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25540
25541         [BZ #14796]
25542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25543         FE_TONEAREST before applying Dekker multiplication and Knuth
25544         addition.  Clear inexact exceptions and check for exact zero
25545         results afterwards.
25546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25547         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25549         * math/libm-test.inc (fma_test): Add more tests.
25550         (fma_test_towardzero): Likewise.
25551         (fma_test_downward): Likewise.
25552         (fma_test_upward): Likewise.
25553         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25554         function.
25555         (libc_fesetround): New macro.
25556         (libc_fesetroundf): Likewise.
25557         (libc_fesetroundl): Likewise.
25558         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25559         function.
25560         (libc_fesetround_387): Likewise.
25561         (libc_fesetroundf): New macro.
25562         (libc_fesetround): Likewise.
25563         (libc_fesetroundl): Likewise.
25564         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25565         function.
25566         (libc_fesetroundf): New macro.
25567         (libc_fesetround): Likewise.
25568         (libc_fesetroundl): Likewise.
25569         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25570         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25571         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25572         libm_hidden_ver.
25573         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25574         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25575         libm_hidden_def.
25576         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25577         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25578         libm_hidden_ver.
25579         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25580         libm_hidden_def.
25581
25582         [BZ #3439]
25583         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25584         integer constant usable in #if and use that to give value to enum
25585         constant.
25586         (FE_DIVBYZERO): Likewise.
25587         (FE_UNDERFLOW): Likewise.
25588         (FE_OVERFLOW): Likewise.
25589         (FE_INVALID): Likewise.
25590         (FE_INVALID_SNAN): Likewise.
25591         (FE_INVALID_ISI): Likewise.
25592         (FE_INVALID_IDI): Likewise.
25593         (FE_INVALID_ZDZ): Likewise.
25594         (FE_INVALID_IMZ): Likewise.
25595         (FE_INVALID_COMPARE): Likewise.
25596         (FE_INVALID_SOFTWARE): Likewise.
25597         (FE_INVALID_SQRT): Likewise.
25598         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25599         (FE_TONEAREST): Likewise.
25600         (FE_TOWARDZERO): Likewise.
25601         (FE_UPWARD): Likewise.
25602         (FE_DOWNWARD): Likewise.
25603         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25604         (FE_DIVBYZERO): Likewise.
25605         (FE_OVERFLOW): Likewise.
25606         (FE_UNDERFLOW): Likewise.
25607         (FE_INEXACT): Likewise.
25608         (FE_TONEAREST): Likewise.
25609         (FE_DOWNWARD): Likewise.
25610         (FE_UPWARD): Likewise.
25611         (FE_TOWARDZERO): Likewise.
25612         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25613         (FE_UNDERFLOW): Likewise.
25614         (FE_OVERFLOW): Likewise.
25615         (FE_DIVBYZERO): Likewise.
25616         (FE_INVALID): Likewise.
25617         (FE_TONEAREST): Likewise.
25618         (FE_TOWARDZERO): Likewise.
25619         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25620         (FE_OVERFLOW): Likewise.
25621         (FE_UNDERFLOW): Likewise.
25622         (FE_DIVBYZERO): Likewise.
25623         (FE_INEXACT): Likewise.
25624         (FE_TONEAREST): Likewise.
25625         (FE_TOWARDZERO): Likewise.
25626         (FE_UPWARD): Likewise.
25627         (FE_DOWNWARD): Likewise.
25628         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25629         (FE_DIVBYZERO): Likewise.
25630         (FE_OVERFLOW): Likewise.
25631         (FE_UNDERFLOW): Likewise.
25632         (FE_INEXACT): Likewise.
25633         (FE_TONEAREST): Likewise.
25634         (FE_DOWNWARD): Likewise.
25635         (FE_UPWARD): Likewise.
25636         (FE_TOWARDZERO): Likewise.
25637
25638 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25639
25640         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25641
25642 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25643
25644         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25645         commands.  Quote $PWD.
25646         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25647         -x" by "export".
25648         (remove_newlines): Remove.
25649
25650 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25651
25652         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25653         * stdlib/stdlib.h (atof): Moved to ...
25654         * include/bits/stdlib-float.h: Here.  New file.
25655         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25656         * stdlib/bits/stdlib-float.h: New file.
25657         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25658         -mno-sse -mno-mmx.
25659         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25660         <xmmintrin.h>.
25661
25662 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25663
25664         * conform/conformtest.pl (@headers): Add fenv.h.
25665         * conform/data/fenv.h-data: New file.
25666         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25667         include of <math/fenv.h>.
25668
25669         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25670         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25671         && !UNIX98].  Enables tests for XOPEN2K8.
25672         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25673         POSIX2008]: Likewise.
25674
25675         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25676         (struct rusage): Do not expect type or its members.
25677
25678         [BZ #3439]
25679         * math/math.h (FP_NAN): Define macro to integer constant usable in
25680         #if and use that to give value to enum constant.
25681         (FP_INFINITE): Likewise.
25682         (FP_ZERO): Likewise.
25683         (FP_SUBNORMAL): Likewise.
25684         (FP_NORMAL): Likewise.
25685
25686 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25687
25688         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25689         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25690         arguments.
25691
25692 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25693
25694         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25695         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25696         autoconf-time if not.
25697         * configure.in: Remove AC_PREREQ.
25698
25699 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25700
25701         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25702         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25703         of the internal implementation.
25704
25705 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25706
25707         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25708         except include of <misc/sys/syslog.h>.
25709
25710 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25711
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25713         function returns with a NULL context exit with zero.
25714
25715 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25716
25717         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25718
25719 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25720
25721         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25722         (run_program_cmd): This.
25723         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25724         (tst_langinfo): New variable.  Use it.
25725
25726 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25727
25728         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25729         floating point opcodes.
25730
25731 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25732
25733         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25734         variable.
25735
25736         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25737
25738         * sysdeps/mach/hurd/powerpc: Remove directory.
25739         * sysdeps/mach/powerpc: Likewise.
25740
25741 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25742
25743         * scripts/check-local-headers.sh: Ignore c++ headers.
25744
25745 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25746
25747         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25748         __libc_cleanup_region_start argument.
25749
25750 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25751
25752         [BZ #14784]
25753         [BZ #14785]
25754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25755         x * y using scaling, not as x * y + z.
25756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25758         * math/libm-test.inc (fma_test): Add more tests.
25759         (fma_test_towardzero): Likewise.
25760         (fma_test_downward): Likewise.
25761         (fma_test_upward): Likewise.
25762
25763 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25764
25765         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25766
25767 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25768
25769         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25770         New variable.
25771
25772 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25773
25774         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25775
25776 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25777
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25779         Fix sort order.
25780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25781         Likewise.
25782
25783 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25784
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25786         Fix the order of the list for glibc 2.17.
25787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25788         Likewise.
25789
25790 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25791
25792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25793
25794 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25795
25796         [BZ #14610]
25797         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25798         for low part of x being zero before using __atanl (y).
25799         * math/libm-test.inc (atan2_test): Add another test.
25800
25801         * manual/install.texi (Configuring and compiling): Document
25802         general use of test-wrapper and test-wrapper-env.
25803         * INSTALL: Regenerated.
25804
25805         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25806         (__fma): Do not extract and scale down low bits on after-rounding
25807         systems when result rounded to normal precision would have normal
25808         exponent.
25809         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25810         (__fmal): Do not extract and scale down low bits on after-rounding
25811         systems when result rounded to normal precision would have normal
25812         exponent.
25813         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25814         (__fmal): Do not extract and scale down low bits on after-rounding
25815         systems when result rounded to normal precision would have normal
25816         exponent.
25817         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25818         macro.
25819         (fma_test): Add more tests.
25820         (fma_test_towardzero): Likewise.
25821         (fma_test_downward): Likewise.
25822         (fma_test_upward): Likewise.
25823
25824 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25825
25826         * sysdeps/i386/tininess.h: Renamed to ...
25827         * sysdeps/x86/tininess.h: This.
25828         * sysdeps/x86_64/tininess.h: Removed.
25829
25830 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25831
25832         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25833         input.  Use $(build-program-cmd).
25834         ($(objpfx)tst-array1-static.out): Likewise.
25835         ($(objpfx)tst-array2.out): Likewise.
25836         ($(objpfx)tst-array3.out): Likewise.
25837         ($(objpfx)tst-array4.out): Likewise.
25838         ($(objpfx)tst-array5.out): Likewise.
25839         ($(objpfx)tst-array5-static.out): Likewise.
25840
25841 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25842
25843         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25844         if defined.
25845
25846         * nss/nsswitch.h (nss_interface_function): Provide new
25847         macro for use with NSS functions.
25848         * grp/initgroups.c: Use new macro.
25849         * nss/getXXbyYY.c: Likewise.
25850         * nss/getXXbyYY_r.c: Likewise.
25851         * nss/getXXent.c: Likewise.
25852         * nss/getXXent_r.c: Likewise.
25853         * sysdeps/posix/getaddrinfo.c: Likewise.
25854
25855 2012-10-30  Andreas Jaeger  <aj@suse.de>
25856
25857         * po/ru.po: Update Russion translation from translation project.
25858
25859 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25860
25861         [BZ #14152]
25862         [BZ #14783]
25863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25864         result and shift together with sticky bit instead of replicating
25865         round-to-nearest rounding.
25866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25867         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25868         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25869         missing underflow exceptions.
25870         (fma_test_towardzero): Add more tests.
25871         (fma_test_downward): Likewise.
25872         (fma_test_upward): Likewise.
25873
25874         [BZ #14047]
25875         * sysdeps/generic/tininess.h: New file.
25876         * sysdeps/i386/tininess.h: Likewise.
25877         * sysdeps/sh/tininess.h: Likewise.
25878         * sysdeps/x86_64/tininess.h: Likewise.
25879         * stdlib/tst-strtod-underflow.c: Likewise.
25880         * stdlib/tst-tininess.c: Likewise.
25881         * stdlib/strtod_l.c: Include <tininess.h>.
25882         (round_and_return): Do not set errno for exact underflow cases.
25883         Force an underflow exception when setting errno for underflow.
25884         Determine underflow based on rounding to normal precision if
25885         TININESS_AFTER_ROUNDING.
25886         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25887         ERANGE for exact underflow cases.
25888         * stdlib/Makefile (tests): Add tst-tininess and
25889         tst-strtod-underflow.
25890         ($(objpfx)tst-tininess): Use $(link-libm).
25891         ($(objpfx)tst-strtod-underflow): Likewise.
25892
25893 2012-10-30  Andreas Jaeger  <aj@suse.de>
25894
25895         [BZ#14767]
25896         * elf/Makefile (tests): Remove conditional for have-initfini-array
25897         since this is now always required and the variable does not exist
25898         anymore.
25899         (tests-static): Likewise.
25900         (modules-names): Likewise.
25901
25902         * po/eo.po: Add Esperanto translation from translation project.
25903
25904         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25905         merged with constructor/destructor.
25906         (init_array): Likewise.
25907         * elf/tst-array2dep.c (fini_array): Likewise.
25908         (init_array): Likewise.
25909
25910 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25911
25912         * manual/message.texi: Delete @cartouche tags.
25913
25914 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25915
25916         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25917         EOPNOTSUPP.
25918         * sysdeps/mach/hurd/fsync.c: Likewise.
25919
25920         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25921         [_POSIX_REALTIME_SIGNALS]: Change condition to
25922         [_POSIX_REALTIME_SIGNALS > 0].
25923
25924 2012-10-27  Andreas Jaeger  <aj@suse.de>
25925
25926         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25927         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25929         [__WORDSIZE != 64]: Likewise.
25930
25931 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25932
25933         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25934         *  iconvdata/tst-tables.sh: Likewise.
25935
25936 2012-10-25  David S. Miller  <davem@davemloft.net>
25937
25938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25939         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25940         of strtoull.
25941
25942         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25943         ifunc-impl-list.c
25944         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25945         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25946         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25947         file.
25948
25949 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25950
25951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25952         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25953         __getdirentries.
25954
25955 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25956             Jim Blandy  <jimb@codesourcery.com>
25957
25958         * scripts/cross-test-ssh.sh: New file.
25959         * manual/install.texi (Configuring and compiling): Document use of
25960         cross-test-ssh.sh.
25961         * INSTALL: Regenerated.
25962
25963 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25964
25965         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25966         EOPNOTSUPP.
25967
25968 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25969
25970         * Makeconfig (run-program-prefix): Fix comment.
25971
25972 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25973             Jim Blandy  <jimb@codesourcery.com>
25974
25975         * Makeconfig (test-wrapper): New variable,
25976         (test-wrapper-env): Likewise.
25977         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25978         (run-built-tests): Define to yes.
25979         (run-program-prefix): Use $(test-wrapper).
25980         (built-program-cmd): Likewise.
25981         * Rules (make-test-out): Use $(test-wrapper-env) and
25982         $(host-built-program-cmd).
25983         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25984         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25985         tst-pathopt.sh.
25986         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25987         $(test-wrapper-env) to tst-rtld-load-self.sh.
25988         ($(objpfx)order2.out): Use $(test-wrapper).
25989         ($(objpfx)tst-initorder.out): Likewise.
25990         ($(objpfx)tst-initorder2.out): Likewise.
25991         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25992         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25993         (test_wrapper_env): New variable.  Use it to run ld.so.
25994         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25995         Use it to run ld.so.
25996         (test_wrapper_env): Likewise.
25997         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25998         $(test-wrapper) to run-iconv-test.sh.
25999         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26000         (ICONV): Use $test_wrapper.
26001         * posix/Makefile ($(objpfx)globtest.out): Pass
26002         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26003         globtest.sh, not $(run-program-prefix).
26004         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26005         (test_wrapper): Likewise.
26006         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26007         set together with run_via_rtld_prefix.
26008         (run_program_prefix): Define in terms of test_wrapper and
26009         run_via_rtld_prefix.
26010
26011 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26012
26013         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26014         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26015         Targets removed.
26016
26017         [BZ #14743]
26018         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26019         Declare __clock_getres, __clock_gettime, __clock_settime,
26020         __clock_nanosleep, and __clock_getcpuclockid.
26021         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26022         Remove librt_hidden_def (clock_gettime).
26023         * sysdeps/unix/clock_gettime.c: Likewise.
26024         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26025         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26026         * rt/clock_getres.c: Define __clock_getres as an alias.
26027         * sysdeps/posix/clock_getres.c: Likewise.
26028         * rt/clock_settime.c: Define __clock_settime as an alias.
26029         * sysdeps/unix/clock_settime.c: Likewise.
26030         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26031         * sysdeps/unix/clock_nanosleep.c: Likewise.
26032         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26033         * rt/clock-compat.c: New file.
26034         * rt/Makefile (librt-routines): Add clock-compat and move
26035         $(clock-routines) to ...
26036         (routines): ... here, new variable.
26037         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26038         Don't add get_clockfreq here.
26039         * rt/Versions (libc: GLIBC_2.17): New version set.
26040         Add clock_* symbols here.
26041         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26042         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26043         (GLIBC_2.17): Add clock_* symbols.
26044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26048         Likewise.
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26050         Likewise.
26051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26055         * NEWS: Mention the move.
26056
26057         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26058         Use __open, __read, __close rather than their public counterparts.
26059         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26060         (__get_clockfreq_via_cpuinfo): Likewise.
26061         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26062         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26063
26064         * config.h.in (HAVE_IFUNC): New #undef.
26065         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26066         was successful.
26067         * configure: Regenerated.
26068
26069 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26070
26071         * configure.in: Move READELF check to start of file.
26072         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26073         libc_cv_asm_gnu_indirect_function in the process.
26074         * configure: Regenerated.
26075
26076 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26077
26078         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26079         send the output to /dev/null.
26080         (libc_cv_cc_with_libunwind): Likewise.
26081         (libc_cv_as_noexecstack): Likewise.
26082         * configure: Regenerate.
26083
26084 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26085
26086         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26087
26088         * posix/globtest.sh (TMPDIR): Do not set.
26089         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26090         (testout): Likewise.
26091
26092 2012-10-24  Andreas Jaeger  <aj@suse.de>
26093
26094         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26095         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26096         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26097         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26098         posix_fadvise64, posix_fallocate64.
26099
26100         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26101         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26102         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26103         Likewise.
26104         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26105         Likewise.
26106         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26107
26108         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26109         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26110         <bits/fcntl-linux.h>.
26111         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26112
26113         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26114         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26115         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26116         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26117         [__WORDSIZE != 64]: Likewise.
26118
26119 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26120
26121         * Makeconfig (run-built-tests): New variable.
26122         * Rules [$(cross-compiling) = yes]: Change condition to
26123         [$(run-built-tests) = no].
26124         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26125         to [$(run-built-tests) = yes].
26126         * elf/Makefile [$(cross-compiling) = no]: Likewise
26127         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26128         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26129         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26130         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26131         * io/Makefile [$(cross-compiling) = no]: Likewise.
26132         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26133         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26134         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26135         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26136         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26137         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26138         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26139         * string/Makefile [$(cross-compiling) = no]: Likewise.
26140
26141         * posix/Makefile ($(objpfx)globtest.out): Pass
26142         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26143         $(rtld-installed-name).
26144         * posix/globtest.sh (elf_objpfx): Remove variable.
26145         (rtld_installed_name): Likewise.
26146         (library_path): Likewise.
26147         (run_program_prefix): New variable.  Use for running globtest
26148         binary.
26149
26150 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26151             Joseph Myers  <joseph@codesourcery.com>
26152
26153         * Makeconfig (host-built-program-cmd): New variable.
26154         * elf/Makefile (tst-stackguard1-ARGS): Use
26155         $(host-built-program-cmd).
26156         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26157         (tst-spawn-ARGS): Likewise.
26158         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26159
26160 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26161             Jim Blandy  <jimb@codesourcery.com>
26162
26163         * Makeconfig (run-via-rtld-prefix): New variable.
26164         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26165         (built-program-cmd): Likewise.
26166
26167 2012-10-22  Andreas Jaeger  <aj@suse.de>
26168
26169         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26170         __O_RSYNC if it exists, otherwise to O_SYNC.
26171
26172 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26173             Joseph Myers  <joseph@codesourcery.com>
26174
26175         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26176         /dev/null.
26177         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26178         from /dev/null
26179         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26180         /dev/null.
26181
26182 2012-10-22  Andreas Jaeger  <aj@suse.de>
26183
26184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26185         Define always.
26186         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26187
26188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26189         bits/fcntl-linux.h.
26190
26191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26192         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26193
26194         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26195         to __O_LARGEFILE.
26196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26197         to __O_LARGEFILE.
26198
26199 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26200             Joseph Myers  <joseph@codesourcery.com>
26201
26202         * config.make.in (NM): New variable.
26203
26204 2012-10-21  Andreas Jaeger  <aj@suse.de>
26205
26206         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26207         definitions and declarations that are provided by
26208         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26209
26210 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26211
26212         [BZ #14683]
26213         * elf/Makefile (tests-static): Add tst-leaks1-static.
26214         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26215         ($(objpfx)tst-leaks1-static): New rule.
26216         ($(objpfx)tst-leaks1-static-mem): Likewise.
26217         (tst-leaks1-static-ENV): New macro.
26218         * elf/dl-open.c (dl_open_worker): Check the main application
26219         only if SHARED is defined.
26220         * elf/tst-leaks1-static.c: New file.
26221
26222 2012-10-20  Andreas Jaeger  <aj@suse.de>
26223
26224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26225         generic values for Linux.
26226         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26227         and declarations that are provided by <bits/fcntl-linux.h> and
26228         include <bits/fcntl-linux.h>.
26229         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26231
26232 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26233
26234         * io/fcntl.h: Move include of <bits/types.h> to the top and
26235         include it unconditionally.
26236
26237 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26238
26239         * wcsmbs/Makefile (tests-ifunc): New variable.
26240         (tests): Add $(tests-ifunc).
26241         * wcsmbs/test-wcschr-ifunc.c: New file.
26242         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26243         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26244         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26245         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26246         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26247
26248         * string/Makefile (tests-ifunc): New variable.
26249         (tests): Add $(tests-ifunc).
26250         * string/test-memccpy.c (TEST_NAME): New macro.
26251         * string/test-memchr.c (TEST_NAME): Likewise.
26252         * string/test-memcmp.c (TEST_NAME): Likewise.
26253         * string/test-memcpy.c (TEST_NAME): Likewise.
26254         * string/test-memmem.c (TEST_NAME): Likewise.
26255         * string/test-memmove.c (TEST_NAME): Likewise.
26256         * string/test-memset.c (TEST_NAME): Likewise.
26257         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26258         * string/test-stpcpy.c (TEST_NAME): Likewise.
26259         * string/test-stpncpy.c (TEST_NAME): Likewise.
26260         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26261         * string/test-strcasestr.c (TEST_NAME): Likewise.
26262         * string/test-strcat.c (TEST_NAME): Likewise.
26263         * string/test-strchr.c (TEST_NAME): Likewise.
26264         * string/test-strcmp.c(TEST_NAME): Likewise.
26265         * string/test-strcpy.c (TEST_NAME): Likewise.
26266         * string/test-strcspn.c (TEST_NAME): Likewise.
26267         * string/test-strlen.c (TEST_NAME): Likewise.
26268         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26269         * string/test-strncmp.c (TEST_NAME): Likewise.
26270         * string/test-strncpy.c (TEST_NAME): Likewise.
26271         * string/test-strnlen.c (TEST_NAME): Likewise.
26272         * string/test-strpbrk.c (TEST_NAME): Likewise.
26273         * string/test-strrchr.c (TEST_NAME): Likewise.
26274         * string/test-strspn.c (TEST_NAME): Likewise.
26275         * string/test-strstr.c (TEST_NAME): Likewise.
26276         * string/test-bcopy-ifunc.c: New file.
26277         * string/test-bzero-ifunc.c: Likewise.
26278         * string/test-memccpy-ifunc.c: Likewise.
26279         * string/test-memchr-ifunc.c: Likewise.
26280         * string/test-memcmp-ifunc.c: Likewise.
26281         * string/test-memcpy-ifunc.c: Likewise.
26282         * string/test-memmem-ifunc.c: Likewise.
26283         * string/test-memmove-ifunc.c: Likewise.
26284         * string/test-mempcpy-ifunc.c: Likewise.
26285         * string/test-memset-ifunc.c: Likewise.
26286         * string/test-rawmemchr-ifunc.c: Likewise.
26287         * string/test-stpcpy-ifunc.c: Likewise.
26288         * string/test-stpncpy-ifunc.c: Likewise.
26289         * string/test-strcasecmp-ifunc.c: Likewise.
26290         * string/test-strcasestr-ifunc.c: Likewise.
26291         * string/test-strcat-ifunc.c: Likewise.
26292         * string/test-strchr-ifunc.c: Likewise.
26293         * string/test-strchrnul-ifunc.c: Likewise.
26294         * string/test-strcmp-ifunc.c: Likewise.
26295         * string/test-strcpy-ifunc.c: Likewise.
26296         * string/test-strcspn-ifunc.c: Likewise.
26297         * string/test-strlen-ifunc.c: Likewise.
26298         * string/test-strncasecmp-ifunc.c: Likewise.
26299         * string/test-strncat-ifunc.c: Likewise.
26300         * string/test-strncmp-ifunc.c: Likewise.
26301         * string/test-strncpy-ifunc.c: Likewise.
26302         * string/test-strnlen-ifunc.c: Likewise.
26303         * string/test-strpbrk-ifunc.c: Likewise.
26304         * string/test-strrchr-ifunc.c: Likewise.
26305         * string/test-strspn-ifunc.c: Likewise.
26306         * string/test-strstr-ifunc.c: Likewise.
26307
26308         * debug/Makefile (tests-ifunc): New variable.
26309         (tests): Add $(tests-ifunc).
26310         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26311         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26312         * debug/test-stpcpy_chk-ifunc.c: New file.
26313         * debug/test-strcpy_chk-ifunc.c: Likewise.
26314
26315 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26316
26317         [BZ #13601]
26318         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26319         header is not read in.
26320
26321 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26322
26323         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26324         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26325         directly.  Pass built executable to script as
26326         $(built-program-cmd).
26327         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26328         $testprogram without using LD_LIBRARY_PATH and $ldso.
26329
26330         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26331         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26332         $(rtld-installed-name).
26333         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26334         (rtld_installed_name): Likewise.
26335         (library_path): Likewise.
26336         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26337         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26338         $(run-program-prefix) to tst-tables.sh.
26339         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26340         it to run tst-table-from and tst-table-to.
26341         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26342         Pass it to tst-table.sh.
26343         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26344         $(run-program-prefix) to tst-gettext.sh.
26345         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26346         tst-translit.sh.
26347         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26348         tst-gettext2.sh.
26349         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26350         to run tst-gettext.
26351         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26352         to run tst-gettext2.
26353         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26354         to run tst-translit.
26355         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26356         $(run-program-prefix) to tst-mtrace.sh.
26357         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26358         to run tst-mtrace.
26359         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26360         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26361         $(rtld-installed-name).
26362         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26363         (rtld_installed_name): Likewise.
26364         (run_program_prefix): New variable.  Use it to run wordexp-test.
26365
26366         * Makeconfig (ARCH): Remove all definitions.
26367         (machine): Likewise.
26368         [ARCH]: Remove conditional code.
26369         [!objdir]: Give error.
26370         [!objdir] (objpfx): Remove.
26371         [!objdir] (common-objpfx): Likewise.
26372         [!objdir] (common-objdir): Likewise.
26373         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26374         AC_CONFIG_FILES call.
26375         * configure: Regenerated.
26376
26377         [BZ #13888]
26378         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26379         or TMPDIR.
26380         (testout): Likewise.
26381
26382         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26383         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26384         $(rtld-installed-name).
26385         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26386         (rtld_installed_name): Likwise.
26387         (runit): Remove function.
26388         (run_getconf): New variable,  Use it for running getconf binary.
26389
26390 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26391
26392         [BZ #14716]
26393         * string/test-memmem.c (check_result): New function.
26394         (do_one_test): Use it.
26395         (check1): New function.
26396         (test_main): Use it.
26397
26398 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26399
26400         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26401
26402 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26403
26404         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26405         (_G_LSEEK64): Likewise.
26406         (_G_MMAP64): Likewise.
26407         (_G_FSTAT64): Likewise.
26408         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26409         (_G_LSEEK64): Likewise.
26410         (_G_MMAP64): Likewise.
26411         (_G_FSTAT64): Likewise.
26412         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26413         unconditional.  Call __mmap64 directly.
26414         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26415         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26416         __lseek64 directly.
26417         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26418         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26419         __mmap64 directly.
26420         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26421         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26422         __lseek64 directly.
26423         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26424         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26425         __lseek64 directly.
26426         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26427         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26428         __lseek64 directly.
26429         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26430         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26431         __fxstat64 directly.
26432         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26433         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26434         unconditional.
26435         (freopen64) [!_G_OPEN64]: Remove conditional code.
26436         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26437         unconditional.
26438         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26439         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26440         unconditional.
26441         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26442         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26443         unconditional.
26444         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26445         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26446         unconditional.
26447         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26448         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26449         unconditional.
26450         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26451         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26452         unconditional.
26453         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26454         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26455         unconditional.
26456         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26457
26458 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26459
26460         [BZ #12140]
26461         * manual/memory.texi (Malloc Tunable Parameters): Add note
26462         about free list pointers overwriting some perturb bytes.
26463         Wording suggested by Roland McGrath.
26464
26465 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26466
26467         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26468         (lgamma_test): Likewise.
26469         (tgamma_test): Likewise.
26470
26471 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26472
26473         [BZ #14700]
26474         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26475         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26476
26477 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26478
26479         * NEWS: Mention BZ #14716.
26480         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26481         when removing AVAILABLE1_USES_J macro.
26482
26483 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26484
26485         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26486         (__bswap_64): __uint64_t for unsigned 64-bit int.
26487
26488 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26489
26490         * include/string.h (memmem): Declare libc hidden alias.
26491         * string/memmem.c (memmem): Define libc hidden alias.
26492         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26493         __read, __close instead of open, read, close.
26494
26495 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26496
26497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26498         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26499         global and hidden.
26500         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26501         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26502         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26503         Likewise.
26504         (__rawmemchr_sse2): Likewise.
26505         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26506         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26507         (__strchr_sse2): Likewise.
26508         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26509         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26510         (__strcasecmp_sse2): Likewise.
26511         (__strncasecmp_sse2): Likewise.
26512         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26513         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26514         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26515         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26516         (__strrchr_sse2): Likewise.
26517         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26518         ifunc-impl-list.c.
26519         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26520         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26521         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26522         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26523         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26524         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26525         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26526         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26527         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26528         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26529         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26530         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26531         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26532         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26533         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26534         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26535         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26536         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26537         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26538         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26539         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26540         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26541         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26542         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26543         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26544         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26545         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26546         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26547         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26548         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26549
26550         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26551         global and hidden.
26552         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26553         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26554         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26555         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26556         Likewise.
26557         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26558         Likewise.
26559         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26560         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26561         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26562         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26563         ifunc-impl-list.c.
26564         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26565         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26566         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26567         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26568         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26569         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26570         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26571         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26572         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26573         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26574         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26575         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26576         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26577         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26578         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26579         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26580         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26581         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26582         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26583         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26584         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26585         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26586         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26587         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26588         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26589         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26590         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26591         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26592         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26593         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26594         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26595         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26596         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26597         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26598         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26599         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26600         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26601         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26602         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26603         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26604         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26605
26606         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26607         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26608         * include/ifunc-impl-list.h: New file.
26609         * misc/ifunc-impl-list.c: Likewise.
26610         * misc/Makefile (routines): Add ifunc-impl-list.
26611         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26612         * string/test-string.h: Include <ifunc-impl-list.h>.
26613         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26614         TEST_NAME]: New variables.
26615         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26616         are defined.
26617         (test_init): Call __libc_ifunc_impl_list to initialize
26618         func_list if TEST_IFUNC and TEST_NAME are defined.
26619
26620         * string/Makefile (strop-tests): Add bcopy and bzero.
26621         * string/test-bcopy.c: New file.
26622         * string/test-bzero.c: Likewise.
26623         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26624         defined.
26625         * string/test-memset.c: Support bzero test if TEST_BZERO is
26626         defined.
26627         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26628         __libc_memmove.
26629         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26630         __libc_memset.
26631         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26632         of memset.
26633
26634 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26635
26636         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26637         * configure: Regenerated.
26638
26639         * Makeconfig (+link-static-before-libc): Don't include
26640         $(link-static-libc).
26641
26642         * libio/libio.h (_IO_pos_t): Remove.
26643
26644 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26645
26646         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26647         McGrath.
26648
26649 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26650
26651         * crypt/crypt-entry.c: Include fips-private.h.
26652         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26653         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26654         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26655         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26656
26657 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26658
26659         * crypt/crypt-private.h: Include stdbool.h.
26660         (_ufc_setup_salt_r): Return bool.
26661         * crypt/crypt-entry.c: Include errno.h.
26662         (__crypt_r): Return NULL with EINVAL for bad salt.
26663         * crypt/crypt_util.c (bad_for_salt): New.
26664         (_ufc_setup_salt_r): Check that salt is long enough and within
26665         the specified alphabet.
26666         * crypt/badsalttest.c: New file.
26667         * crypt/Makefile (tests): Add it.
26668         ($(objpfx)badsalttest): New.
26669
26670 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26671
26672         * NEWS: Add entry for BZ #14602.
26673
26674 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26675
26676         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26677         type-generic.
26678         * math/libm-test.inc: Update comment listing what functions and
26679         macros are tested.
26680         (isgreater_test): New function.
26681         (isgreaterequal_test): Likewise.
26682         (isless_test): Likewise.
26683         (islessequal_test): Likewise.
26684         (islessgreater_test): Likewise.
26685         (isunordered_test): Likewise.
26686         (main): Call the new functions.
26687
26688 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26689
26690         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26691         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26692         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26693         * sysdeps/i386/configure: Regenerated.
26694         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26695         * sysdeps/mach/configure: Regenerated.
26696         * sysdeps/mach/hurd/configure: Regenerated.
26697         * sysdeps/powerpc/configure: Regenerated.
26698         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26699         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26700         * sysdeps/s390/s390-32/configure: Regenerated.
26701         * sysdeps/s390/s390-64/configure: Regenerated.
26702         * sysdeps/sh/configure: Regenerated.
26703         * sysdeps/sparc/configure: Regenerated.
26704         * sysdeps/unix/sysv/linux/configure: Regenerated.
26705         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26706         * sysdeps/x86_64/configure: Regenerated.
26707
26708         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26709         defined.  Don't check if MAP is NULL.
26710
26711 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26712
26713         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26714         (_G_stat64): Likewise.
26715         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26716         (_G_stat64): Likewise.
26717         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26718         instead of struct _G_stat64.
26719         * libio/fileops.c (mmap_remap_check): Likewise.
26720         (decide_maybe_mmap): Likewise.
26721         (_IO_new_file_seekoff): Likewise.
26722         (_IO_file_stat): Likewise.
26723         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26724         _G_off64_t.
26725         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26726         instead of struct _G_stat64.
26727         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26728
26729 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26730
26731         [BZ #14602]
26732         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26733         Replace with ...
26734         (CHECK_EOL): New macro.
26735         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26736         CHECK_EOL.
26737         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26738         Replace with CHECK_EOL.
26739         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26740         Replace with CHECK_EOL.
26741
26742 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26743
26744         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26745         type-generic.
26746         * math/libm-test.inc: Update comment listing what functions and
26747         macros are tested.
26748         (finite_test): New function.
26749         (isinf_test): Likewise.
26750         (isnan_test): Likewise.
26751         (fpclassify_test): Test subnormal input.
26752         (isfinite_test): Likewise.
26753         (isnormal_test): Likewise.
26754         (main): Call the new functions.
26755
26756 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26757
26758         [BZ #14660]
26759         * Makerules (%.dynsym): Force C locale when running
26760         $(OBJDUMP) --dynamic-syms.
26761
26762 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26763
26764         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26765         <stdint.h>.
26766
26767 2012-10-06  David S. Miller  <davem@davemloft.net>
26768
26769         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26770         upper 32-bits of the length value in %o2 since we use branch-on-register
26771         tests which consider the entire 64-bit register.
26772
26773 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26774
26775         * string/test-strstr.c (check2): Add a test for page boundary.
26776
26777 2012-10-05  David S. Miller  <davem@davemloft.net>
26778
26779         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26780         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26781         file.
26782         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26783         sysdep_routines.
26784         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26785         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26786         and bzero when HWCAP_SPARC_CRYPTO is present.
26787
26788 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26789
26790         [BZ #14602]
26791         * string/test-strstr.c (check2): New function.
26792         (test_main): Call check2.
26793
26794         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26795         and bug-strchr1.
26796         * string/bug-strcasestr1.c (do_test): Moved to ...
26797         * string/test-strcasestr.c (check1): Here.  New function.
26798         (do_one_test): Break out result checking code into ...
26799         (check_result): This.  New function.
26800         (do_one_test): Call check_result.
26801         (test_main): Call check1.
26802         * string/bug-strchr1.c (do_test): Moved to ...
26803         * string/test-strchr.c (check1): Here.  New function.
26804         (do_one_test): Break out result checking code into ...
26805         (check_result): This.  New function.
26806         (do_one_test): Call check_result.
26807         (test_main): Call check1.
26808         * string/bug-strstr1.c (main): Moved to ...
26809         * string/test-strstr.c (check1): Here.  New function.
26810         (do_one_test): Break out result checking code into ...
26811         (check_result): This.  New function.
26812         (do_one_test): Call check_result.
26813         (test_main): Call check1.
26814         * string/bug-strcasestr1.c: Removed.
26815         * string/bug-strchr1.c: Likewise.
26816         * string/bug-strstr1.c: Likewise.
26817
26818         * elf/Makefile (dl-routines): Add hwcaps.
26819         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26820         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26821         (_dl_important_hwcaps): Moved to ...
26822         * elf/dl-hwcaps.c: Here.  New file.
26823         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26824
26825         [BZ #14557]
26826         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26827         if IS_IN_rtld isn't defined.
26828
26829         * elf/dl-support.c (_dl_sysinfo_map): New.
26830         Include "get-dynamic-info.h" and "setup-vdso.h".
26831         (_dl_non_dynamic_init): Call setup_vdso.
26832         * elf/dynamic-link.h: Don't include <assert.h>.
26833         (elf_get_dynamic_info): Moved to ...
26834         * elf/get-dynamic-info.h: Here.  New file.
26835         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26836         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26837         * elf/setup-vdso.h: Here.  New file.
26838         * elf/rtld.c: Include "setup-vdso.h".
26839         (dl_main): Call setup_vdso.
26840
26841 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26842
26843         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26844         creal in comment listing functions tested.  List finite, isinf,
26845         isnan, isless, islessequal, isgreater, isgreaterequal,
26846         islessgreater, isunordered, lgamma_r and pow10 as functions and
26847         macros not tested.  Mention which functions not tested are aliases
26848         for other functions.  Fix typo.  Note that signs of NaNs are not
26849         tested.
26850
26851         * scripts/config.guess: Update from config.git.
26852         * scripts/config.sub: Likewise.
26853
26854 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26855
26856         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26857         * misc/madvise.c (madvise): Renamed to __madvise.
26858         Make madvise a weak alias.
26859         * include/sys/mman.h: Declare __madvise.
26860         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26861         * sysdeps/unix/syscalls.list
26862         (madvise): Make __madvise the strong name, and madvise a weak alias.
26863         * sysdeps/unix/sysv/linux/syscalls.list
26864         (madvise, mmap): Remove redundant entries.
26865         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26866         * malloc/malloc.c (mtrim): Likewise.
26867         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26868
26869 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26870
26871         * sysdeps/mach/hurd/dl-cache.c: File removed.
26872         * config.h.in (USE_LDCONFIG): New #undef.
26873         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26874         * configure: Regenerated.
26875         * elf/Makefile (dl-routines): Add dl-cache only under
26876         [$(use-ldconfig) = yes].
26877         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26878         cache on [USE_LDCONFIG].
26879         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26880         [USE_LDCONFIG].
26881         * elf/rtld.c (dl_main): Likewise.
26882
26883 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26884
26885         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26886         _SC_LEVEL4_CACHE_LINESIZE.
26887
26888 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26889
26890         * sysdeps/unix/bsd/confstr.h: File removed.
26891
26892 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26893
26894         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26895         sys/sdt-config.h.
26896
26897 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26898
26899         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26900         Make 'mapoff' field ElfW(Off) rather than off_t.
26901
26902 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26903
26904         * nscd/Makefile: Remove nscd-cflags and all its users.
26905         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26906         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26907
26908         [BZ #10631]
26909         * malloc.c (malloc_printerr): Clarify error message.
26910
26911 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26912
26913         [BZ #14648]
26914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26915         Set bit_FMA_Usable if FMA is supported.
26916         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26917         macro.
26918         (bit_FMA4_Usable): Updated.
26919         (index_FMA_Usable): New macro.
26920         (CPUID_FMA): Likewise
26921         (HAS_FMA): Defined with bit_FMA_Usable.
26922
26923 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26924
26925         * bits/types.h (__swblk_t): Type removed.
26926         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26927         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26928         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26929         (__SWBLK_T_TYPE): Likewise.
26930         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26931         (__SWBLK_T_TYPE): Likewise.
26932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26933         (__SWBLK_T_TYPE): Likewise.
26934         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26935         (__SWBLK_T_TYPE): Likewise.
26936
26937 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26938             Honza Horak <hhorak@redhat.com>
26939
26940         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26941         (xdr_mapname): Use YPMAXMAP as maxsize.
26942         (xdr_peername): Use YPMAXPEER as maxsize.
26943         (xdr_keydat): Use YPAXRECORD as maxsize.
26944         (xdr_valdat): Use YPMAXRECORD as maxsize.
26945
26946 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26947
26948         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26949
26950         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26951         * csu/init-first.c: ... here.
26952         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26953         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26954         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26955         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26956         * sysdeps/i386/init-first.c: File removed.
26957         * sysdeps/sh/init-first.c: File removed.
26958
26959 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26960
26961         [BZ #14645]
26962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26963         if x * y might underflow to zero and z is zero.
26964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26966         * math/libm-test.inc (min_subnorm_value): New variable.
26967         (fma_test): Add more tests.
26968         (fma_test_towardzero): Likewise.
26969         (fma_test_downward): Likewise
26970         (fma_test_upward): Likewise.
26971         (initialize): Set min_subnorm_value.
26972
26973 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26974
26975         [BZ #14638]
26976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26977         0 + 0.
26978         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26979         mode for addition resulting in exact zero.
26980         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26981         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26982         exact 0 + 0.
26983         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26985         * math/libm-test.inc (fma_test): Add more tests.
26986         (fma_test_towardzero): New function.
26987         (fma_test_downward): Likewise.
26988         (fma_test_upward): Likewise.
26989         (main): Call the new functions.
26990
26991 2012-09-28  David S. Miller  <davem@davemloft.net>
26992
26993         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26994
26995 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26996
26997         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26998         instead of SIGALRM.
26999
27000         * sysdeps/gnu/_G_config.h: Moved to ...
27001         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27002         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27003         * sysdeps/generic/_G_config.h: ... here.
27004
27005         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27006
27007         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27008
27009         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27010         Conditionalize target on [libnss_test1.so-version].
27011
27012         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27013
27014         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27015         (elfobjdir): Move out of conditionals.
27016
27017         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27018         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27019         (__nss_lookup_function): Conditionalize label remove_from_tree on
27020         [!DO_STATIC_NSS || SHARED], matching its only use.
27021
27022 2012-09-28  David S. Miller  <davem@davemloft.net>
27023
27024         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27025         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27026         file.
27027         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27028         sysdep_routines.
27029         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27031         when HWCAP_SPARC_CRYPTO is present.
27032
27033 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27034
27035         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27036
27037 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27038
27039         [BZ #6530]
27040         * stdio-common/vfprintf.c (process_string_arg): Revert
27041         2000-07-22 change.
27042
27043 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27044
27045         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27046         for testcase.
27047         * stdio-common/tst-sprintf.c: Include <locale.h>
27048         (main): Test sprintf's handling of incomplete multibyte
27049         characters.
27050
27051 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27052
27053         * elf/dl-runtime.c (VERSYMIDX): Removed.
27054         * elf/dl-version.c (VERSYMIDX): Likewise.
27055         * elf/do-rel.h (VERSYMIDX): Likewise.
27056         (VALIDX): Likewise.
27057         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27058         * elf/rtld.c (VALIDX): Likewise.
27059         (ADDRIDX): Likewise.
27060         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27061         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27062         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27063         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27064         (VALIDX): Likewise.
27065         (ADDRIDX): Likewise.
27066
27067 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27068
27069         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27070
27071 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27072
27073         [BZ #11438]
27074         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27075         to global scope.
27076         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27077         addresses are in the same scope as 192.0.2/24.
27078         * posix/gai.conf: Document new scope table defaults.
27079
27080 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27081
27082         [BZ #5298]
27083         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27084         for ftell.  Compute offsets from write pointers instead.
27085         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27086
27087 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27088
27089         [BZ #14543]
27090         * libio/Makefile (tests): New test case tst-fseek.
27091         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27092         combination works in wide mode.
27093         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27094         state when the external buffer state changes.
27095
27096 2012-09-27  David S. Miller  <davem@davemloft.net>
27097
27098         [BZ #14376]
27099         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27100         pass reloc->r_addend in as the 'high' argument to
27101         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27102
27103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27104
27105 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27106
27107         * rt/tst-aio2.c: Include <pthread.h>.
27108         * rt/tst-aio3.c: Likewise.
27109
27110 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27111
27112         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27113
27114 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27115
27116         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27117         contents on [SHARED].
27118
27119 2012-09-26  Marek Polacek  <polacek@redhat.com>
27120
27121         [BZ #14530]
27122         [BZ #13741]
27123         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27124         for C++ and GCC <4.3 as well as for non GCC compilers.
27125
27126 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27127
27128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27129
27130 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27131
27132         * Makefile.in (all, install): Declare with .PHONY.
27133         Reported by Michael Hope <michael.hope@linaro.org>.
27134
27135 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27136
27137         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27138         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27139         system header.
27140         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27141         Likewise.
27142         (sydep_routines): Add the new and the internal functions.
27143         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27144         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27146         (GLIBC_2.17): Add the new function.
27147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27148         (GLIBC_2.17): Likewise.
27149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27150         (GLIBC_2.17): Likewise.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27152         (GLIBC_2.17): Likewise.
27153         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27154
27155 2012-09-25  Alan Modra  <amodra@gmail.com>
27156
27157         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27158         Add release barrier before setting once_control to say
27159         initialisation is done.  Add hints on lwarx.  Use macro in
27160         place of isync.
27161         (clear_once_control): Add release barrier.
27162
27163 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27164
27165         [BZ #13629]
27166         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27167         specially.
27168         * math/s_clog10.c (__clog10): Likewise.
27169         * math/s_clog10f.c (__clog10f): Likewise.
27170         * math/s_clog10l.c (__clog10l): Likewise.
27171         * math/s_clogf.c (__clogf): Likewise.
27172         * math/s_clogl.c (__clogl): Likewise.
27173         * math/Makefile (libm-calls): Add x2y2m1.
27174         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27175         (__x2y2m1): Likewise.
27176         (__x2y2m1l): Likewise.
27177         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27178         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27179         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27180         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27181         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27182         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27183         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27184         * sysdeps/i386/fpu/libm-test-ulps: Update.
27185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27186
27187         [BZ #14621]
27188         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27189         int as type of variable DEPTH.
27190         (glob): Use size_t instead of int as type of variables NEWCOUNT
27191         and OLD_PATHC.
27192
27193 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27194
27195         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27196         Add s_sincosf-sse2.
27197         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27198         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27199         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27200         macros for using routine as __sincosf_ia32.
27201         Use macro for function declaration and weak_alias.
27202         * sysdeps/i386/fpu/libm-test-ulps: Update.
27203
27204         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27206
27207         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27208         subnormal argument.
27209         * math/s_cexpf.c (__cexpf): Likewise.
27210         * math/s_csinf.c (__csinf): Likewise.
27211         * math/s_csinhf.c (__csinhf): Likewise.
27212         * math/s_ctanf.c (__ctanf): Likewise.
27213         * math/s_ctanhf.c (__ctanhf): Likewise.
27214         * math/s_ccosh.c (__ccoshf): Likewise.
27215         * math/s_cexp.c (__cexpl): Likewise.
27216         * math/s_csin.c (__csin): Likewise.
27217         * math/s_csinh.c (__csinh): Likewise.
27218         * math/s_ctan.c (__ctan): Likewise.
27219         * math/s_ctanh.c (ctanh): Likewise.
27220         * math/s_ccoshl.c (__ccoshl): Likewise.
27221         * math/s_cexpl.c (__cexpl): Likewise.
27222         * math/s_csinl.c (__csinl): Likewise.
27223         * math/s_csinhl.c (__csinhl): Likewise.
27224         * math/s_ctanl.c (__ctanl): Likewise.
27225         * math/s_ctanhl.c (__ctanhl): Likewise.
27226
27227 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27228
27229         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27230         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27231         (_IO_off_t): Define to __off_t, not _G_off_t.
27232         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27233         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27234         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27235         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27236         type of __dummy and __dummy2 fields.
27237         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27238         (_G_ssize_t): Likewise.
27239         (_G_off_t): Likewise.
27240         (_G_pid_t): Likewise.
27241         (_G_uid_t): Likewise.
27242         (_G_wchar_t): Likewise.
27243         (_G_wint_t): Likewise.
27244         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27245         (_G_ssize_t): Likewise.
27246         (_G_off_t): Likewise.
27247         (_G_pid_t): Likewise.
27248         (_G_uid_t): Likewise.
27249         (_G_wchar_t): Likewise.
27250         (_G_wint_t): Likewise.
27251         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27252         (_G_ssize_t): Likewise.
27253         (_G_off_t): Likewise.
27254         (_G_pid_t): Likewise.
27255         (_G_uid_t): Likewise.
27256         (_G_wchar_t): Likewise.
27257         (_G_wint_t): Likewise.
27258
27259 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27260
27261         * malloc/arena.c: Include malloc-sysdep.h.
27262         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27263         is sufficient to shrink the heap or an unmap is needed.
27264         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27265         new function check_may_shrink_heap.
27266         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27267         new function check_may_shrink_heap.
27268
27269 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27270
27271         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27272         comments.
27273
27274 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27275
27276         * catgets/test-gencat.sh: Add "set -e".
27277         * elf/tst-pathopt.sh: Likewise.
27278         * grp/tst_fgetgrent.sh: Likewise.
27279         * iconvdata/run-iconv-test.sh: Likewise.
27280         * intl/tst-gettext.sh: Likewise.
27281         * intl/tst-gettext2.sh: Likewise.
27282         * intl/tst-gettext4.sh: Likewise.
27283         * intl/tst-gettext6.sh: Likewise.
27284         * intl/tst-translit.sh: Likewise.
27285         * io/ftwtest-sh: Likewise.
27286         * libio/test-freopen.sh: Likewise.
27287         * malloc/tst-mtrace.sh: Likewise.
27288         * posix/globtest.sh: Likewise.
27289         * posix/tst-getconf.sh: Likewise.
27290         * posix/wordexp-tst.sh: Likewise.
27291         * stdio-common/tst-printf.sh: Likewise.
27292         * stdio-common/tst-unbputc.sh: Likewise.
27293         * stdlib/tst-fmtmsg.sh: Likewise.
27294         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27295         * catgets/Makefile: Do not specify -e option when running
27296         testsuite shell scripts.
27297         * elf/Makefile: Likewise.
27298         * grp/Makefile: Likewise.
27299         * iconvdata/Makefile: Likewise.
27300         * intl/Makefile: Likewise.
27301         * io/Makefile: Likewise.
27302         * libio/Makefile: Likewise.
27303         * malloc/Makefile: Likewise.
27304         * posix/Makefile: Likewise.
27305         * stdio-common/Makefile: Likewise.
27306         * stdlib/Makefile: Likewise.
27307         * sysdeps/x86_64/Makefile: Likewise.
27308
27309         * io/ftwtest-sh: Add copyright header.
27310         * posix/globtest.sh: Likewise.
27311         * posix/tst-getconf.sh: Likewise.
27312         * posix/wordexp-tst.sh: Likewise.
27313         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27314
27315 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27316
27317         [BZ #13679]
27318         * Makeconfig (+link): Defined as $(+link-static) if
27319         $(build-shared) isn't yes.
27320         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27321         isn't yes.
27322         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27323
27324         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27325
27326         [BZ #14562]
27327         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27328         new chunk size with MALLOC_ALIGN_MASK.
27329
27330 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27331
27332         [BZ #5044]
27333         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27334         <rounding-mode.h>.
27335         (__printf_fphex): Determine rounding using get_rounding_mode and
27336         round_away.
27337         * stdio-common/tst-printf-round.c (struct hex_test): New
27338         structure.
27339         (hex_tests): New variable.
27340         (test_hex_in_one_mode): New function.
27341         (do_test): Also run tests for hex float output.
27342
27343 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27344
27345         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27346         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27347         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27348         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27349         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27350         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27351         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27352         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27353
27354 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27355
27356         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27357         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27358         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27359         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27360
27361 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27362
27363         [BZ #14579]
27364         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27365         mode only.
27366         * elf/tst-rtld-load-self.sh: New test.
27367         * elf/Makefile: Run it.
27368
27369 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27370
27371         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27372         (tst-writev-ENV): Remove.
27373         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27374
27375 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27376
27377         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27378
27379 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27380
27381         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27382         unconditional.
27383         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27384         Likewise.
27385         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27386         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27387         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27388         Likewise.
27389
27390 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27391
27392         [BZ #14587]
27393         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27394         * config.make.in (have-cpp-asm-debuginfo): Removed.
27395         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27396         * configure: Regenerated.
27397
27398 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27399
27400         [BZ #5044]
27401         * stdio-common/printf_fp.c: Include <stdbool.h> and
27402         <rounding-mode.h>.
27403         (___printf_fp): Determine rounding using get_rounding_mode and
27404         round_away.
27405         * stdio-common/tst-printf-round.c: New file.
27406         * stdio-common/Makefile (tests): Add tst-printf-round.
27407         (link-libm): New variable.
27408         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27409
27410 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27411
27412         [BZ #14576]
27413         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27414         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27415         Likewise.
27416         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27417         Likewise.
27418
27419 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27420
27421         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27422         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27423         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27424         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27425
27426 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27427
27428         [BZ #14518]
27429         * include/rounding-mode.h: New file.
27430         * sysdeps/generic/get-rounding-mode.h: Likewise.
27431         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27432         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27433         (MAX_VALUE): New macro.
27434         (MIN_VALUE): Likewise.
27435         (overflow_value): New function.
27436         (underflow_value): Likewise.
27437         (round_and_return): Use overflow_value and underflow_value to
27438         determine return values in overflow and underflow cases.  Use
27439         round_away to determine rounding depending on rounding mode.
27440         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27441         determine return values in overflow and underflow cases.
27442         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27443         (struct test_results): New structure.
27444         (struct test): Use struct test_results to store expected results
27445         for all rounding modes.
27446         (TEST): Include expected results for all rounding modes.
27447         (test_in_one_mode): New function.
27448         (do_test): Use test_in_one_mode to compute and check results.
27449         Check results for all rounding modes.
27450         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27451         $(link-libm).
27452
27453 2012-12-09  Allan McRae  <allan@archlinux.org>
27454
27455         * sysdeps/i386/fpu/libm-test-ulps: Update
27456
27457 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27458
27459         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27460         (_G_int32_t): Likewise.
27461         (_G_uint16_t): Likewise.
27462         (_G_uint32_t): Likewise.
27463         (_G_HAVE_BOOL): Likewise.
27464         (_G_HAVE_ATEXIT): Likewise.
27465         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27466         (_G_HAVE_IO_FILE_OPEN): Likewise.
27467         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27468         (_G_int32_t): Likewise.
27469         (_G_uint16_t): Likewise.
27470         (_G_uint32_t): Likewise.
27471         (_G_HAVE_BOOL): Likewise.
27472         (_G_HAVE_ATEXIT): Likewise.
27473         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27474         (_G_HAVE_IO_FILE_OPEN): Likewise.
27475         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27476         (_G_int32_t): Likewise.
27477         (_G_uint16_t): Likewise.
27478         (_G_uint32_t): Likewise.
27479         (_G_HAVE_BOOL): Likewise.
27480         (_G_HAVE_ATEXIT): Likewise.
27481         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27482         (_G_HAVE_IO_FILE_OPEN): Likewise.
27483
27484 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27485
27486         * csu/libc-tls.c: Update copyright years.
27487
27488 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27489
27490         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27491         [!_G_USING_THUNKS]: Remove conditional code.
27492         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27493         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27494
27495         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27496         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27497         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27498         (_G_VTABLE_LABEL_PREFIX): Likewise.
27499         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27500         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27501         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27502         (_G_VTABLE_LABEL_PREFIX): Likewise.
27503         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27504         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27505         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27506         (_G_VTABLE_LABEL_PREFIX): Likewise.
27507         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27508
27509 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27510
27511         * libio/Makefile: Include ../Makeconfig before tests.
27512         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27513         only if $(build-shared) is yes.
27514
27515         * iconv/gconv_db.c: Update copyright years.
27516
27517 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27518
27519         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27520         unwind info if defined PIC. Fix special cases description.
27521         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27522
27523         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27524         DP_HI_MASK entry.
27525         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27526
27527 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27528
27529         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27530
27531         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27532         is NULL.
27533
27534         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27535         (LDLIBS-tst-chk4): This.
27536         (LDFLAGS-tst-chk5): Renamed to ...
27537         (LDLIBS-tst-chk5): This.
27538         (LDFLAGS-tst-chk6): Renamed to ...
27539         (LDLIBS-tst-chk6): This.
27540         (LDFLAGS-tst-lfschk4): Renamed to ...
27541         (LDLIBS-tst-lfschk4): This.
27542         (LDFLAGS-tst-lfschk5): Renamed to ...
27543         (LDLIBS-tst-lfschk5): This.
27544         (LDFLAGS-tst-lfschk6): Renamed to ...
27545         (LDLIBS-tst-lfschk6): This.
27546
27547         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27548         on $(common-objpfx)soversions.mk.
27549
27550 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27551
27552         [BZ #10014]
27553         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27554         example host name.
27555
27556 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27557
27558         * malloc/arena.c (arena_get_retry): New function that gets
27559         another arena for the caller to try its request on.
27560         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27561         current arena cannot fulfill the request.
27562         (__libc_memalign): Likewise.
27563         (__libc_memalign): Likewise.
27564         (__libc_pvalloc): Likewise.
27565         (__libc_calloc): Likewise.
27566
27567 2012-09-05  John Tobey  <john.tobey@gmail.com>
27568
27569         [BZ #13542]
27570         * manual/arith.texi (Operations on Complex): Fix description
27571         of carg branch cut.
27572
27573 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27574
27575         [BZ #10014]
27576         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27577         host name.
27578
27579         [BZ #10038]
27580         * manual/memory.texi (Memory): Make order of menu items match
27581         order of sections.
27582
27583 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27584
27585         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27586         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27587         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27588
27589 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27590
27591         * csu/libc-tls.c (static_dtv): Renamed to ...
27592         (_dl_static_dtv): This.  Make it global.
27593         (_dl_initial_dtv): Removed.
27594         (__libc_setup_tls): Updated.
27595         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27596         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27597         DL_INITIAL_DTV.
27598
27599 2012-09-06  Petr Machata  <pmachata@redhat.com>
27600
27601         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27602         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27603         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27604         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27605
27606 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27607
27608         [BZ #14545]
27609         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27610         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27611         freeing dtv[-1].
27612
27613 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27614
27615         [BZ #14544]
27616         * Makeconfig (link-static-before-libc): Replace $(+prector)
27617         with $(+prectorT).
27618         (link-static-after-libc): Replace $(+postctor) with
27619         $(+postctorT).
27620         (link-bounded): Replace $(+prector)/$(+postctor) with
27621         $(+prectorT)/$(+postctorT).
27622         (+prectorT): New macro.
27623         (+postctorT): Likewise.
27624
27625 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27626
27627         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27628         (round_str): Handle values above the maximum for IBM long double
27629         as inexact.
27630         * stdlib/tst-strtod-round.c (tests): Regenerated.
27631
27632 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27633
27634         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27635         assembler flag.
27636         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27637         zarch_nohighgprs around the zarch optimized routines.
27638         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27639         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27640         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27641         for zarch.
27642
27643 2012-09-05  David S. Miller  <davem@davemloft.net>
27644
27645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27646
27647         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27648         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27649         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27650         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27651         entries.
27652
27653 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27654
27655         * malloc/arena.c: Fold copyright years.
27656         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27657
27658 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27659
27660         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27661
27662 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27663
27664         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27665
27666 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27667
27668         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27669         change internal state upon failure.
27670
27671 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27672
27673         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27674         * malloc/memusage.c (mmap): Likewise.
27675         (mmap64, mremap): Likewise.  Adjust name in comment.
27676
27677 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27678
27679         * libio/fileops.c: Fix typos in comments.
27680         * libio/oldfileops.c: Likewise.
27681         * libio/wfileops.c: Likewise.
27682
27683 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27684
27685         [BZ #1349]
27686         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27687         (tst-malloc-usable-ENV): Set environment for test case.
27688         * malloc/hooks.c (malloc_check_get_size): New function to get
27689         requested size.
27690         * malloc/malloc.c (musable): Use malloc_check_get_size.
27691         * malloc/tst-malloc-usable.c: New test case.
27692
27693 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27694
27695         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27696
27697 2012-09-05  Allan McRae  <allan@archlinux.org>
27698
27699         [BZ #13966]
27700         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27701         determine header location.
27702         * configure: Regenerated.
27703
27704 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27705
27706         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27707         float format.
27708         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27709         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27710         format.
27711         (test): Regenerate.
27712
27713 2012-09-04  David S. Miller  <davem@davemloft.net>
27714
27715         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27716         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27717         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27718
27719 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27720
27721         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27722         failures.
27723
27724         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27725
27726 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27727
27728         [BZ #9914]
27729         * libio/iogetdelim.c: Include <limits.h>.
27730         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27731         + len + 1 would overflow.
27732
27733 2012-09-03  Andreas Jaeger  <aj@suse.de>
27734
27735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27736         * sysdeps/i386/fpu/libm-test-ulps: Update.
27737
27738 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27739
27740         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27741         Add s_sinf-sse2, s_conf-sse2.
27742
27743         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27744         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27745         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27746         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27747
27748         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27749         for using routine as __sinf_ia32.
27750         Use macro for function declaration and weak_alias.
27751         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27752         for using routine as __cosf_ia32.
27753         Use macro for function declaration and weak_alias.
27754
27755         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27756         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27757
27758         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27759         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27761
27762         * math/libm-test.inc (cos_test): Add more test cases.
27763         (sin_test): Likewise.
27764         (sincos_test): Likewise.
27765
27766 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27767
27768         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27769         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27770         hidden.
27771         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27772
27773 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27774
27775         [BZ #14538]
27776         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27777         first element of the GOT.
27778         (elf_machine_load_address): Return the difference between
27779         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27780
27781 2012-09-01  Allan McRae  <allan@archlinux.org>
27782
27783         [BZ #13412]
27784         * configure.in (AWK): Require gawk version 3.0 or later.
27785         * configure: Regenerated.
27786
27787 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27788
27789         * sysdeps/unix/sysv/linux/kernel-features.h
27790         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27791         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27792         [__NR_clock_getres]: Make code unconditional.
27793         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27794         (clock_getcpuclockid): Remove code left unreachable by removal of
27795         conditionals.
27796         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27797         code unconditional.
27798         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27799         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27800         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27801         Make code unconditional.
27802         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27803         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27804         * sysdeps/unix/sysv/linux/clock_settime.c
27805         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27806         conditional code.
27807         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27808         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27809
27810 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27811
27812         [BZ #14476]
27813         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27814         scripts/test-installation.pl.
27815
27816         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27817         and $ld_so_version if it is set.
27818
27819 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27820
27821         [BZ #14516]
27822         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27823         failure if reading from procfs failed.
27824         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27825
27826 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27827
27828         * sysdeps/unix/sysv/linux/kernel-features.h
27829         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27830         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27831         Remove conditional code.
27832         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27833         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27834         Remove conditional code.
27835         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27836         * sysdeps/unix/sysv/linux/i386/fxstat.c
27837         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27839         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27840         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27841         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27842         * sysdeps/unix/sysv/linux/i386/lxstat.c
27843         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27844         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27845         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27846         Remove conditional code.
27847         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27848         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27849         Remove conditional code.
27850         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27851         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27852         <kernel-features.h>.
27853         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27854         Remove.
27855         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27856         Remove conditional code.
27857         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27858         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27859         Remove conditional.
27860
27861 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27862
27863         [BZ #5400]
27864         * NEWS: Add fixed bug number.
27865
27866 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27867
27868         [BZ #14519]
27869         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27870         underflowing exponent in case of negative sign.
27871         * stdlib/tst-strtod-round-data: Add more tests.
27872         * stdlib/tst-strtod-round.c (tests): Regenerated.
27873
27874         [BZ #3479]
27875         * stdlib/strtod_l.c (NDIG): Remove.
27876         (HEXNDIG): Likewise.
27877         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27878         smallest representable value.
27879         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27880         lie within an exact representation of 1/2 ulp of the result.
27881         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27882         unconditionally.
27883         (TENS_P9_IDX): Define unconditionally.
27884         (TENS_P9_SIZE): Likewise.
27885         (TENS_P10_IDX): Likewise.
27886         (TENS_P10_SIZE): Likewise.
27887         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27888         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27889         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27890         entries for 10^2^13 and 10^2^14.
27891         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27892         (TENS_P13_IDX): Define.
27893         (TENS_P13_SIZE): Likewise.
27894         (TENS_P14_IDX): Likewise.
27895         (TENS_P14_SIZE): Likewise.
27896         (_fpioconst_pow10): Change array size to
27897         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27898         unconditional.
27899         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27900         1024]: Add entries for 10^2^13 and 10^2^14.
27901         [LAST_POW10 > _LAST_POW10]: Remove #error.
27902         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27903         (_fpioconst_pow10): Change array size to
27904         FPIOCONST_POW10_ARRAY_SIZE.
27905         * stdlib/gen-fpioconst.c: New file.
27906         * stdlib/gen-tst-strtod-round.c: Likewise.
27907         * stdlib/tst-strtod-round-data: Likewise.
27908         * stdlib/tst-strtod-round.c: Likewise.
27909         * stdlib/Makefile (tests): Add tst-strtod-round.
27910
27911         [BZ #14459]
27912         * stdlib/strtod_l.c: Include <stdint.h>.
27913         (NDEBUG): Do not define.
27914         (round_and_return): Change EXPONENT parameter to type intmax_t.
27915         Rearrange calculations to avoid internal overflow possibilities.
27916         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27917         Rearrange calculations to avoid internal overflow possibilities.
27918         Assert that number fits inside MPNSIZE limbs.
27919         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27920         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27921         calculations and add assertions to avoid internal overflow
27922         possibilities.  Add casts to avoid signed/unsigned operations.
27923         * stdlib/tst-strtod-overflow.c: New file.
27924         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27925
27926 2012-08-25  Marek Polacek  <polacek@redhat.com>
27927
27928         * time/time.h: Fix some typos in comments.
27929
27930 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27931
27932         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27933         * posix/tst-rfc3484-2.c: Likewise.
27934         * posix/tst-rfc3484-3.c: Likewise.
27935
27936 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27937
27938         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27939         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27940
27941 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27942
27943         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27944         #include of fxstatat64.c.
27945
27946 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27947
27948         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27949         * shadow/getspent_r.c: Likewise.
27950         * shadow/getspnam.c: Likewise.
27951         * shadow/getspnam_r.c: Likewise.
27952         * gshadow/getsgent.c: Likewise.
27953         * gshadow/getsgent_r.c: Likewise.
27954         * gshadow/getsgnam.c: Likewise.
27955         * gshadow/getsgnam_r.c: Likewise.
27956         * inet/getnetbyad.c: Likewise.
27957         * inet/getnetbyad_r.c: Likewise.
27958         * inet/getnetbynm.c: Likewise.
27959         * inet/getnetbynm_r.c: Likewise.
27960         * inet/getnetent.c: Likewise.
27961         * inet/getnetent_r.c: Likewise.
27962         * inet/getproto.c: Likewise.
27963         * inet/getproto_r.c: Likewise.
27964         * inet/getprtent.c: Likewise.
27965         * inet/getprtent_r.c: Likewise.
27966         * inet/getprtname.c: Likewise.
27967         * inet/getprtname_r.c: Likewise.
27968         * inet/getrpcbyname.c: Likewise.
27969         * inet/getrpcbyname_r.c: Likewise.
27970         * inet/getrpcbynumber.c: Likewise.
27971         * inet/getrpcbynumber_r.c: Likewise.
27972         * inet/getrpcent.c: Likewise.
27973         * inet/getrpcent_r.c: Likewise.
27974         * inet/getaliasent.c: Likewise.
27975         * inet/getaliasent_r.c: Likewise.
27976         * inet/getaliasname.c: Likewise.
27977         * inet/getaliasname_r.c: Likewise.
27978         * nscd/getgrgid_r.c: Likewise.
27979         * nscd/getgrnam_r.c: Likewise.
27980         * nscd/gethstbyad_r.c: Likewise.
27981         * nscd/gethstbynm3_r.c: Likewise.
27982         * nscd/getpwnam_r.c: Likewise.
27983         * nscd/getpwuid_r.c: Likewise.
27984         * nscd/getsrvbynm_r.c: Likewise.
27985         * nscd/getsrvbypt_r.c: Likewise.
27986         * nscd/gai.c: Likewise.
27987
27988         * configure.in (build_nscd): New substituted variable, set
27989         by --disable-build-nscd and defaults to $use_nscd.
27990         * configure: Regenerated.
27991         * config.make.in (build-nscd): New substituted variable.
27992         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27993         Change conditional to require [$(build-nscd) = yes] as well.
27994         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27995
27996         [BZ# 13696]
27997         * configure.in (use_nscd): New substituted variable, set by
27998         --disable-nscd.  If enabled, define USE_NSCD.
27999         * configure: Regenerated.
28000         * config.h.in: Add USE_NSCD.
28001         * config.make.in (use-nscd): New substituted variable.
28002         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28003         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28004         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28005         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28006         (CFLAGS-getgrnam_r.c): Likewise.
28007         (CFLAGS-initgroups.c): Likewise.
28008         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28009         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28010         Variables removed.
28011         * inet/getnetgrent_r.c
28012         (nscd_setnetgrent): New function, broken out of ...
28013         (setnetgrent): ... here.  Call it.
28014         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28015         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28016         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28017         * nscd/Makefile (routines, aux): Move definitions after include of
28018         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28019         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28020         Conditionalize on [USE_NSCD].
28021         (is_nscd, nscd_init_cb): Likewise.
28022         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28023         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28024         * nss/nss_db/db-init.c: Likewise.
28025         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28026         [USE_NSCD].
28027         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28028         (make_request): Use it.
28029         (cache_valid_p): New function.
28030         (__check_pf): Use it.
28031         * NEWS: Add item for --disable-nscd.
28032
28033 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28034
28035         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28036         to support sed >= 4.2.1-20-ga9bf076.
28037         * configure: Regenerated.
28038
28039 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28040
28041         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28042         Conditionalize whole body on [IREL].
28043
28044 2012-08-22  Jeff Law <law@redhat.com>
28045
28046         [BZ #14505]
28047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28048         if the family is PF_UNSPEC.
28049
28050 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28051
28052         * Makerules (lib-version): Rename from V.
28053         (install-lib-nosubdir): Change V to lib-version.
28054
28055 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28056
28057         [BZ #14252]
28058         * powerpc32/power6/wcschr.c: New file.
28059         * powerpc32/power6/wcscpy.c: New file.
28060         * powerpc32/power6/wcsrchr.c: New file.
28061         * powerpc64/power6/wcschr.c: New file.
28062         * powerpc64/power6/wcscpy.c: New file.
28063         * powerpc64/power6/wcsrchr.c: New file.
28064
28065 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28066
28067         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28068         (two_way_short_needle): Use it.
28069         * string/strstr.c (AVAILABLE1_USES_J): Define.
28070         * string/strcasestr.c: Likewise.
28071
28072         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28073         array references.
28074         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28075
28076         [BZ #11607]
28077         * NEWS: Add an entry.
28078         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28079         define their defaults.
28080         (two_way_short_needle): Detect end-of-string on-the-fly.
28081         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28082         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28083         * string/bug-strcasestr1.c: New test.
28084         * string/Makefile: Run it.
28085
28086 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28087
28088         [BZ #11607]
28089         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28090         the first character.
28091
28092 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28093
28094         * csu/elf-init.c (__libc_csu_irel): Function removed.
28095         * csu/libc-start.c (apply_irel): New function.
28096         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28097
28098 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28099
28100         * sysdeps/unix/sysv/linux/kernel-features.h
28101         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28102         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28103         <kernel-features.h>.
28104         [__NR_fadvise64_64]: Make code unconditional.
28105         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28106         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28107         !__NR_fadvise64_64)]: Likewise.
28108         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28109         !__NR_fadvise64_64))]: Likewise.
28110         [__NR_fadvise64]: Make code unconditional.
28111         [!__NR_fadvise64]: Remove conditional code.
28112         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28113         <kernel-features.h>.
28114         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28115         unconditional.
28116         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28117         conditional code.
28118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28119         not include <kernel-features.h>.
28120         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28121         unconditional.
28122         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28123         conditional code.
28124         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28125         include <kernel-features.h>.
28126         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28127         unconditional.
28128         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28129         conditional code.
28130
28131 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28132
28133         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28134         slight instruction rearrangements per scrollpipe analysis.
28135         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28136
28137 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28138
28139         * manual/syslog.texi (syslog; vsyslog, closelog):
28140         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28141         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28142
28143         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28144         DSOCAPS to match condition on defining it.
28145
28146 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28147
28148         * sysdeps/unix/sysv/linux/kernel-features.h
28149         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28151         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28152         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28154         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28155         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28157         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28158         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28159
28160         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28161         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28162
28163         * sysdeps/unix/sysv/linux/kernel-features.h
28164         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28165         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28166         unconditional.
28167         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28168         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28169         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28170         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28171         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28172         Make code unconditional.
28173         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28174         (__mmap64) [!__NR_mmap2]: Likewise.
28175         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28176         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28177         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28178         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28179         [__NR_mmap2]: Make code unconditional.
28180         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28181         (__mmap64) [!__NR_mmap2]: Likewise.
28182
28183 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28184
28185         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28186
28187 2012-08-18  Andreas Jaeger  <aj@suse.de>
28188
28189         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28190
28191 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28192
28193         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28194         * include/unistd.h (__have_sock_cloexec): Likewise.
28195         (__have_pipe2): Likewise.
28196         (__have_dup3): Likewise.
28197
28198 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28199
28200         [BZ #9685]
28201         * include/unistd.h (__have_pipe2): Change define into an extern int.
28202         (__have_dup3): Likewise.
28203         * socket/have_sock_cloexec.c: Include fcntl.h.
28204         (__have_pipe2): New variable.
28205         (__have_dup3): Likewise.
28206
28207 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28208
28209         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28210
28211 2012-08-17  Marek Polacek  <polacek@redhat.com>
28212
28213         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28214         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28215
28216 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28217
28218         * configure.in: Add AC_SUBST for sysheaders.
28219         * configure: Regenerated.
28220         * config.make.in (sysheaders): New substituted variable.
28221
28222         * sysdeps/unix/mkfifo.c: Moved ...
28223         * sysdeps/posix/mkfifo.c: ... here.
28224         * sysdeps/unix/mkfifoat.c: Moved ...
28225         * sysdeps/posix/mkfifoat.c: ... here.
28226
28227         * sysdeps/unix/utime.c: Moved ...
28228         * sysdeps/posix/utime.c: ... here.
28229
28230         * sysdeps/unix/time.c: Moved ...
28231         * sysdeps/posix/time.c: ... here.
28232         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28233         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28234
28235         * sysdeps/unix/nice.c: Moved ...
28236         * sysdeps/posix/nice.c: ... here.
28237
28238         * sysdeps/unix/alarm.c: Moved ...
28239         * sysdeps/posix/alarm.c: ... here.
28240
28241         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28242
28243 2012-08-17  Jeff Law <law@redhat.com>
28244
28245         * intl/Makefile (codeset_mo): New variable.
28246         ($(codeset_mo)): New target.
28247         (tst-codeset.out): Depend on that.  Remove explicit rule.
28248         (tst-gettext3.out, tst-gettext5.out): Likewise.
28249         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28250         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28251         * intl/tst-codeset.sh: Remove.
28252         * intl/tst-gettext3.sh: Likewise.
28253         * intl/tst-gettext5.sh: Likewise.
28254
28255 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28256
28257         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28258         * sysdeps/unix/syscalls.list: ... here.
28259
28260         * sysdeps/posix/getaddrinfo.c
28261         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28262         (gaiconf_init, gaiconf_reload): Use them.
28263         [!_STATBUF_ST_NSEC]
28264         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28265         Define using time_t rather than struct timespec.
28266
28267         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28268         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28269         Macros removed.
28270         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28271         [!NO_THREADS].
28272         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28273         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28274         Likewise.
28275
28276         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28277         __libc_cleanup_push argument.
28278
28279         * bits/param.h: New file.
28280         * misc/sys/param.h: New file.
28281         * include/sys/param.h: New file.
28282         * misc/Makefile (headers): Add bits/param.h.
28283         * sysdeps/generic/sys/param.h: File removed.
28284         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28285         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28286         * sysdeps/mach/hurd/bits/param.h: New file.
28287         * sysdeps/mach/hurd/sys/param.h: File removed.
28288
28289         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28290         last change.
28291
28292         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28293         [_IO_MTSAFE_IO].
28294         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28295         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28296         New macros.
28297
28298         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28299         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28300         rather than -D_IO_MTSAFE_IO conditionally.
28301         * stdio-common/Makefile (CPPFLAGS): Likewise.
28302         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28303         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28304         Use $(libio-mtsafe).
28305         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28306         of -D_IO_MTSAFE_IO.
28307         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28308         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28309         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28310         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28311         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28312         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28313         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28314         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28315         (CFLAGS-fread_u_chk.c): Likewise.
28316         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28317         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28318         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28319         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28320         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28321         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28322         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28323         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28324         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28325
28326         * libio/Makefile: Test [$(libc-reentrant) = yes]
28327         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28328
28329         * Makeconfig
28330         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28331         * sysdeps/pthread/configure: File removed.
28332         * sysdeps/pthread/Makeconfig: New file.
28333         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28334         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28335
28336 2012-08-16  Gary Benson  <gbenson@redhat.com>
28337
28338         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28339         unmapping the first object in a namespace.
28340
28341 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28342
28343         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28344         (__internal_setnetgrent): ... this.  Add internal_function to
28345         definition.  Add libc_hidden_def.
28346         (setnetgrent): Update caller.
28347         (internal_endnetgrent): Renamed to ...
28348         (__internal_endnetgrent): ... this.  Add internal_function to
28349         definition.  Add libc_hidden_def.
28350         (endnetgrent): Update caller.
28351         (internal_getnetgrent_r): Renamed to ...
28352         (__internal_getnetgrent_r): ... this.  Add internal_function to
28353         definition.  Add libc_hidden_def.
28354         (__getnetgrent_r): Update caller.
28355         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28356
28357 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28358
28359         * stdlib/longlong.h: Update from GCC.
28360
28361 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28362
28363         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28364         on _QL, which is set by umul_ppmm but never used.
28365         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28366         variables, which are set by GMP macros but never used.
28367         * stdio-common/_itowa.c (_itowa): Likewise.
28368         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28369         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28370
28371 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28372
28373         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28374         struct La_sh_regs is not constant.
28375         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28376         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28377         and struct La_sparc64_regs are not constant.
28378
28379 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28380
28381         * sysdeps/unix/sysv/linux/kernel-features.h
28382         (__ASSUME_POSIX_TIMERS): Remove.
28383         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28384         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28385         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28386         Make code unconditional.
28387         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28388         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28389         Make code unconditional.
28390         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28391         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28392         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28393         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28394         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28395         Make code unconditional.
28396         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28397         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28398         (__libc_missing_posix_timers): Remove.
28399
28400 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28401
28402         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28403         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28404
28405         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28406
28407         * elf/dl-sym.c: Include <stdlib.h>.
28408
28409         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28410         constants, which avoids warnings in 32-bit builds.
28411
28412         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28413         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28414
28415         * misc/lseek.c: File moved to ...
28416         * io/lseek.c: ... here.
28417
28418         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28419
28420         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28421         shifting LEN more than 31 bits at once.
28422
28423 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28424
28425         [BZ #14195]
28426         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28427         segmentation fault for a case of two empty input strings.
28428         * string/test-strncasecmp.c (check1): Renamed to...
28429         (bz12205): ...this.
28430         (bz14195): Add new testcase for two empty input strings and N > 0.
28431         (test_main): Call new testcase, adapt for renamed function.
28432
28433 2012-08-15  Andreas Jaeger  <aj@suse.de>
28434
28435         [BZ #14090]
28436         * crypt/md5test2.c: New test, based on test supplied by Serge
28437         Belyshev <belyshev@depni.sinp.msu.ru>.
28438         * crypt/Makefile (xtests): Add md5test-giant..
28439         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28440
28441 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28442
28443         [BZ #14090]
28444         * crypt/md5.c (md5_process_block): Don't assume the buffer
28445         length is less than 2**32.
28446         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28447         length is less than 2**64.
28448
28449 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28450
28451         * string/str-two-way.h: Include <sys/param.h>.
28452         (MAX): Macro removed.
28453
28454         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28455         Move #define and #undef of memmove to just before and after
28456         including <string.h>.
28457
28458         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28459         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28460         and after including <string.h>.  Move declarations of
28461         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28462         to before #include "string/memmove.c".
28463
28464         * include/dirent.h: Declare __getdirentries.
28465
28466         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28467         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28468
28469 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28470
28471         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28472         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28473         * sysdeps/i386/configure: Regenerated.
28474         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28475         STABS_CURRENT_FILE, and STABS_FUN.
28476         (END): Remove call to STABS_FUN_END.
28477         (STABS_CURRENT_FILE1): Delete.
28478         (STABS_CURRENT_FILE): Likewise.
28479         (STABS_FUN): Likewise.
28480         (STABS_FUN_END): Likewise.
28481         (STABS_FUN2): Likewise.
28482         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28483         * sysdeps/x86_64/configure: Regenerated.
28484
28485 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28486
28487         * elf/dl-open.c: Include <atomic.h>.
28488         * elf/dl-lookup.c: Likewise.
28489
28490 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28491
28492         * sysdeps/unix/sysv/linux/kernel-features.h
28493         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28494         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28495         unconditionally.
28496         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28497         unconditionally.
28498         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28499         condition on __ASSUME_CLONE_THREAD_FLAGS.
28500
28501 2012-08-14  Andreas Jaeger  <aj@suse.de>
28502
28503         * sysdeps/i386/fpu/libm-test-ulps: Update.
28504
28505 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28506
28507         * include/atomic.h (atomic_exchange_and_add): Split into ...
28508         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28509         New atomic macros.
28510
28511 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28512
28513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28514
28515 2012-08-13  Jeff Law <law@redhat.com>
28516
28517         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28518         null byte in the output string.
28519
28520 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28521
28522         * sysdeps/unix/sysv/linux/kernel-features.h
28523         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28524         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28525         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28526         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28527         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28528         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28529         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28530
28531 2012-08-09  Jeff Law <law@redhat.com>
28532
28533         [BZ #13939]
28534         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28535         When avoid_arena is set, don't retry in the that arena.  Pick the
28536         next one, whatever it might be.
28537         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28538         (arena_lock): Pass in new parameter to arena_get2.
28539         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28540         arena_get2.
28541         (__libc_malloc): Unify retrying after main arena failure with
28542         __libc_memalign version.
28543         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28544
28545 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28546
28547         [BZ #14166]
28548         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28549         to __redirect_strstr.
28550         (__strstr_sse42): Use typeof __redirect_strstr.
28551         (__strstr_ia32): Likewise.
28552         (__libc_strstr): New prototype.
28553         (strstr): Renamed to ...
28554         (__libc_strstr): This.
28555         (strstr): New strong alias of __libc_strstr.
28556         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28557         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28558         __redirect_time.
28559         Include <time.h>.
28560         (__libc_time): New prototype.
28561         (time_ifunc): Replace time with __libc_time.
28562         (time): New strong alias and hidden definition of __libc_time.
28563         (__GI_time): Remove strong alias.
28564         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28565         Include <stddef.h>.
28566         (memmove): Redefined to __redirect_memmove.
28567         (__memmove_sse2): Use typeof __redirect_memmove.
28568         (__memmove_ssse3): Likewise.
28569         (__memmove_ssse3_back): Likewise.
28570         (__libc_memmove): New prototype.
28571         (memmove): Renamed to ...
28572         (__libc_memmove): This.
28573         (memmove): New strong alias of __libc_memmove.
28574
28575 2012-08-08  Mark Salter  <msalter@redhat.com>
28576
28577         * elf/elf.h
28578         (R_MN10300_TLS_GD): Define.
28579         (R_MN10300_TLS_LD): Likewise.
28580         (R_MN10300_TLS_LDO): Likewise.
28581         (R_MN10300_TLS_GOTIE): Likewise.
28582         (R_MN10300_TLS_IE): Likewise.
28583         (R_MN10300_TLS_LE): Likewise.
28584         (R_MN10300_TLS_DTPMOD): Likewise.
28585         (R_MN10300_TLS_DTPOFF): Likewise.
28586         (R_MN10300_TLS_TPOFF): Likewise.
28587         (R_MN10300_SYM_DIFF): Likewise.
28588         (R_MN10300_ALIGN): Likewise.
28589         (R_MN10300_NUM): Update.
28590
28591 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28592
28593         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28594         Remove.
28595
28596 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28597
28598         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28599
28600         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28601         sysdeps/unix -> sysdeps/posix move.
28602         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28603
28604 2012-08-07      Allan McRae     <allan@archlinux.org>
28605
28606         [BZ #14303]
28607         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28608         (SUNOS_CPP): Likewise.
28609         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28610         not found.
28611         (open_input): Call CPP using execvp.
28612
28613 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28614
28615         * sysdeps/unix/sysv/linux/kernel-features.h
28616         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28617         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28618         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28619         (__ASSUME_WAITID_SYSCALL): Likewise.
28620         * sysdeps/unix/sysv/linux/dl-execstack.c
28621         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28622         code unconditional.
28623         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28624         conditional code.
28625         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28626         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28627         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28628         code.
28629         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28630         unconditional.
28631         [__ASSUME_WAITID_SYSCALL]: Likewise.
28632         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28633
28634 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28635
28636         * sysdeps/unix/closedir.c: Renamed to ...
28637         * sysdeps/posix/closedir.c: ... here.
28638         * sysdeps/unix/dirfd.c: Renamed to ...
28639         * sysdeps/posix/dirfd.c: ... here.
28640         * sysdeps/unix/dirstream.h: Renamed to ...
28641         * sysdeps/posix/dirstream.h: ... here.
28642         * sysdeps/unix/fdopendir.c: Renamed to ...
28643         * sysdeps/posix/fdopendir.c: ... here.
28644         * sysdeps/unix/opendir.c: Renamed to ...
28645         * sysdeps/posix/opendir.c: ... here.
28646         * sysdeps/unix/readdir.c: Renamed to ...
28647         * sysdeps/posix/readdir.c: ... here.
28648         * sysdeps/unix/readdir_r.c: Renamed to ...
28649         * sysdeps/posix/readdir_r.c: ... here.
28650         * sysdeps/unix/rewinddir.c: Renamed to ...
28651         * sysdeps/posix/rewinddir.c: ... here.
28652         * sysdeps/unix/seekdir.c: Renamed to ...
28653         * sysdeps/posix/seekdir.c: ... here.
28654         * sysdeps/unix/telldir.c: Renamed to ...
28655         * sysdeps/posix/telldir.c: ... here.
28656         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28657         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28658         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28659         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28660
28661         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28662         * bits/fcntl.h: ... here.
28663
28664         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28665         not 0.
28666         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28667         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28668         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28669         (struct flock): Move l_start, l_len to the beginning.
28670         Use __pid_t for l_pid.
28671         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28672         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28673         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28674         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28675         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28676         [__USE_LARGEFILE64] (struct flock64): New type.
28677         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28678
28679         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28680         * bits/dirent.h: ... here.
28681
28682         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28683         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28684
28685 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28686
28687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28688         Change from 2.6.0 to 2.6.16.
28689         * sysdeps/unix/sysv/linux/configure: Regenerated.
28690         * sysdeps/unix/sysv/linux/kernel-features.h
28691         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28692         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28693         version.
28694         (__ASSUME_UTIMES): Likewise.
28695         (__ASSUME_CLONE_STOPPED): Remove.
28696         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28697         architectures, not kernel version.
28698         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28699         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28700         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28701         (__ASSUME_WAITID_SYSCALL): Likewise.
28702         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28703         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28704         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28705         refer to older versions.
28706
28707 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28708
28709         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28710         Define alphasort64 as an alias.
28711         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28712         Define versionsort64 as an alias.
28713         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28714         Define scandir64 as an alias.
28715         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28716         Define scandirat64 as an alias.
28717         * dirent/alphasort64.c (alphasort64):
28718         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28719         * dirent/versionsort64.c: Likewise.
28720         * dirent/scandir64.c: Likewise.
28721         * dirent/scandirat64.c: Likewise.
28722         * sysdeps/wordsize-64/alphasort.c: File removed.
28723         * sysdeps/wordsize-64/alphasort64.c: File removed.
28724         * sysdeps/wordsize-64/scandir.c: File removed.
28725         * sysdeps/wordsize-64/scandir64.c: File removed.
28726         * sysdeps/wordsize-64/scandirat.c: File removed.
28727         * sysdeps/wordsize-64/scandirat64.c: File removed.
28728         * sysdeps/wordsize-64/versionsort.c: File removed.
28729         * sysdeps/wordsize-64/versionsort64.c: File removed.
28730         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28731         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28732         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28733         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28734         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28735         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28736         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28737         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28738
28739         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28740         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28741         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28742         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28743         [defined __arch64__ || defined __sparcv9]
28744         (__INO_T_MATCHES_INO64_T): New macro.
28745         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28746         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28747         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28748         * sysdeps/unix/sysv/linux/bits/dirent.h
28749         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28750         (_DIRENT_MATCHES_DIRENT64): New macro.
28751
28752         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28753         Define lockf64 as an alias.
28754         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28755         Define fseeko64 as an alias.
28756         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28757         Define ftello64 as an alias.
28758         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28759         Define _IO_fgetpos64 and fgetpos64 as aliases.
28760         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28761         Define _IO_fsetpos64 and fsetpos64 as aliases.
28762         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28763         Conditionalize body on this.
28764         * libio/fseeko64.c: Likewise.
28765         * libio/ftello64.c: Likewise.
28766         * libio/iofgetpos64.c: Likewise.
28767         * libio/iofsetpos64.c: Likewise.
28768         * sysdeps/wordsize-64/lockf.c: File removed.
28769         * sysdeps/wordsize-64/lockf64.c: File removed.
28770         * sysdeps/wordsize-64/fseeko.c: File removed.
28771         * sysdeps/wordsize-64/fseeko64.c: File removed.
28772         * sysdeps/wordsize-64/ftello.c: File removed.
28773         * sysdeps/wordsize-64/ftello64.c: File removed.
28774         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28775         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28776         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28777         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28778         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28779         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28780         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28781         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28782         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28783         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28784         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28785         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28786         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28787         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28788
28789         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28790         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28791         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28793         [defined __arch64__ || defined __sparcv9]
28794         (__OFF_T_MATCHES_OFF64_T): New macro.
28795         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28796         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28798         (__OFF_T_MATCHES_OFF64_T): New macro.
28799
28800 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28801
28802         * stdlib/secure-getenv.c (__secure_getenv): Replace
28803         GLIBC_2_16 with GLIBC_2_17.
28804
28805 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28806
28807         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28808         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28809
28810 2012-08-03  David S. Miller  <davem@davemloft.net>
28811
28812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28813
28814 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28815
28816         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28817         Remove.
28818         (__ASSUME_CORRECT_SI_PID): Likewise.
28819         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28820         (__ASSUME_TMPFS_NAME): Likewise.
28821         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28822         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28823         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28824         (HAVE_AUX_SECURE): Make definition unconditional.
28825         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28826         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28827
28828 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28829
28830         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28831         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28832         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28833         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28834         __eloop_threshold instead of SYMLOOP_MAX.
28835
28836         * sysdeps/generic/eloop-threshold.h: New file.
28837         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28838         of MAXSYMLINKS.
28839         * elf/chroot_canon.c (chroot_canon): Likewise.
28840
28841 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28842
28843         [BZ #13717]
28844         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28845         Change to 2.6.0 everywhere.
28846         * sysdeps/unix/sysv/linux/configure: Regenerated.
28847         * sysdeps/unix/sysv/linux/kernel-features.h
28848         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28849         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28850         kernel versions.
28851         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28852         (__ASSUME_FUTEX_REQUEUE): Remove.
28853         (__ASSUME_STATFS64): Define unconditionally.
28854         (__ASSUME_AT_SECURE): Likewise.
28855         (__ASSUME_CORRECT_SI_PID): Likewise.
28856         (__ASSUME_TGKILL): Define without depending on kernel version for
28857         i386.
28858         (__ASSUME_UTIMES): Likewise.
28859         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28860         kernel version.
28861         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28862         (__ASSUME_TMPFS_NAME): Likewise.
28863         * README: Update reference to Linux kernel versions.
28864
28865 2012-08-02  Marek Polacek  <polacek@redhat.com>
28866
28867         [BZ# 14150]
28868         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28869         libc_cv_asm_type_prefix with %.
28870         * configure: Regenerated.
28871         * include/libc-symbols.h: Remove comment about
28872         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28873         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28874         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28875         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28876         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28877         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28878         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28879         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28880         * elf/tst-unique2mod1.c: Likewise.
28881         * elf/tst-unique1mod2.c: Likewise.
28882         * elf/tst-unique1mod1.c: Likewise.
28883         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28884         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28885         Replace ASM_TYPE_DIRECTIVE with .type.
28886         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28887         * sysdeps/i386/sysdep.h: Likewise.
28888         * sysdeps/x86_64/sysdep.h: Likewise.
28889         * sysdeps/sh/sysdep.h: Likewise.
28890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28891         Do not define ASM_TYPE_DIRECTIVE.
28892         * sysdeps/powerpc/sysdep.h: Likewise.
28893         * sysdeps/powerpc/powerpc32/sysdep.h:
28894         Replace ASM_TYPE_DIRECTIVE with .type.
28895         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28896         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28897         * sysdeps/i386/fpu/e_powf.S: Likewise.
28898         * sysdeps/i386/fpu/e_expl.S: Likewise.
28899         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28900         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28901         * sysdeps/i386/fpu/e_pow.S: Likewise.
28902         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28903         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28904         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28905         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28906         * sysdeps/i386/fpu/e_log2.S: Likewise.
28907         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28908         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28909         * sysdeps/i386/fpu/e_powl.S: Likewise.
28910         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28911         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28912         * sysdeps/i386/fpu/e_logl.S: Likewise.
28913         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28914         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28915         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28916         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28917         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28918         * sysdeps/i386/fpu/e_log.S: Likewise.
28919         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28920         * sysdeps/i386/fpu/e_logf.S: Likewise.
28921         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28922         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28923         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28924         * sysdeps/i386/fpu/e_log10.S: Likewise.
28925         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28926         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28927         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28928         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28929         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28930         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28931         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28932         * sysdeps/i386/i686/strtok.S: Likewise.
28933         * sysdeps/i386/i386-mcount.S: Likewise.
28934         * sysdeps/i386/strtok.S: Likewise.
28935         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28936         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28937         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28938         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28939         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28940         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28941         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28942         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28943         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28944         * sysdeps/x86_64/_mcount.S: Likewise.
28945         * sysdeps/x86_64/strtok.S: Likewise.
28946         * sysdeps/sh/_mcount.S: Likewise.
28947
28948 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28949
28950         * libio/iofopen.c: Include <fcntl.h>.
28951         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28952         (_IO_fopen64, fopen64): Define as aliases.
28953         * libio/iofopen64.c: Include <fcntl.h>.
28954         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28955         Conditionalize body on this.
28956         * sysdeps/wordsize-64/iofopen.c: File removed.
28957         * sysdeps/wordsize-64/iofopen64.c: File removed.
28958
28959 2012-08-01  Marek Polacek  <polacek@redhat.com>
28960
28961         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28962         Use dlfcn directly instead of a variable.
28963         (binfmt-subdir): Do not define.
28964         (dlfcn): Likewise.
28965
28966 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28967
28968         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28969         Remove all definitions.
28970         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28971         <kernel-features.h>.
28972         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28973         (miss_F_GETOWN_EX): Remove all definitions.
28974         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28975         macro definition.
28976         [!__ASSUME_FCNTL64]: Remove conditional code.
28977         [__ASSUME_FCNTL64]: Make code unconditional.
28978         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28979         <kernel-features.h>.
28980         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28981         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28982         (lockf64) [__NR_fcntl64]: Make code unconditional.
28983         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28984
28985         * sysdeps/unix/sysv/linux/kernel-features.h
28986         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28987         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28988         Make code unconditional.
28989         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28990         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28992         [__NR_vfork]: Make code unconditional.
28993         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28994         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28996         [__NR_vfork]: Make code unconditional.
28997         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28998         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28999
29000 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29001
29002         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29003         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29004
29005         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29006         Define mkstemp64 as an alias.
29007         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29008         Define mkstemps64 as an alias.
29009         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29010         Define mkostemp64 as an alias.
29011         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29012         Define mkostemps64 as an alias.
29013         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29014         Conditionalize body on this.
29015         * misc/mkostemp64.c: Likewise.
29016         * misc/mkostemps64.c: Likewise.
29017         * misc/mkstemps64.c: Likewise.
29018         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29019         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29020         * sysdeps/wordsize-64/mkostemp.c: File removed.
29021         * sysdeps/wordsize-64/mkstemp.c: File removed.
29022         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29023         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29024         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29025         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29026
29027         [BZ #14138]
29028         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29029         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29030         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29031         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29032
29033         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29034         compat_symbol macros from <shlib-compat.h> rather than the underlying
29035         default_symbol_version and symbol_version macros, so that DEFAULT
29036         lines in shlib-versions are respected.
29037         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29038
29039 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29040
29041         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29042         Declare with warn_unused_result.
29043         (setgid, setregid, setegid, setresgid): Likewise.
29044         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29045         Likewise.
29046         * WUR-REPORT: Remove set*id functions.
29047
29048 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29049
29050         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29051
29052 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29053
29054         [BZ #10191]
29055         * include/sys/socket.h (__libc_accept, __libc_accept4):
29056         Add attribute_hidden.
29057         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29058
29059         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29060         use of PTR_MANGLE.
29061         * inet/getnetgrent_r.c (setup): Likewise.
29062
29063         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29064
29065 2012-07-31  David S. Miller  <davem@davemloft.net>
29066
29067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29068
29069 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29070
29071         [BZ #13629]
29072         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29073         value between 1.0 and 2.0 and smaller part has absolute value less
29074         than 1.0.
29075         * math/s_clog10.c (__clog10): Likewise.
29076         * math/s_clog10f.c (__clog10f): Likewise.
29077         * math/s_clog10l.c (__clog10l): Likewise.
29078         * math/s_clogf.c (__clogf): Likewise.
29079         * math/s_clogl.c (__clogl): Likewise.
29080         * math/libm-test.inc (clog_test): Add more tests.
29081         (clog10_test): Likewise.
29082         * sysdeps/i386/fpu/libm-test-ulps: Update.
29083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29084
29085 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29086
29087         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29088         Exit with zero in case no suitable GID is found, and write a
29089         message to standard error.
29090
29091 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29092
29093         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29094         rather than to 1.
29095         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29096         (MAXPATHLEN): Removed.
29097         (NOGROUP, NODEV): New macros.
29098         (setbit, clrbit, isset, isclr): New macros.
29099         (howmany, roundup, powerof2): New macros.
29100         (DEV_BSIZE): New macro.
29101
29102         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29103         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29104
29105         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29106         definition on [!__NO_LONG_DOUBLE_MATH].
29107
29108         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29109         PTR_MANGLE and PTR_DEMANGLE.
29110
29111         * socket/accept4.c (accept4): Rename to __libc_accept4.
29112         Define accept4 as a weak alias.
29113
29114         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29115         on [_DIRENT_HAVE_D_TYPE].
29116         * io/ftw.c (ftw_dir): Likewise.
29117
29118         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29119
29120         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29121
29122         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29123         Use the BSD numbers rather than the arbitrary ones we had.
29124         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29125         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29126         (SIGXCPU, SIGXFSZ): New macros.
29127         (_NSIG): Now 32.
29128
29129         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29130         initializer on [_LIBC_REENTRANT].
29131
29132         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29133         definitions inside [_POSIX_MAPPED_FILES].
29134
29135         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29136
29137         * dirent/opendir.c: Include <fcntl.h>.
29138
29139         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29140         (__libc_getspecific): Likewise.
29141         (__libc_key_create): Likewise.
29142
29143         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29144         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29145         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29146         (tmpfile64): Define as alias.
29147         * sysdeps/wordsize-64/tmpfile.c: File removed.
29148         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29149         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29150         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29151
29152         * stdio-common/vfscanf.c: Include <stdbool.h>.
29153         * nss/makedb.c: Likewise.
29154         * stdio-common/_i18n_number.h: Likewise.
29155         * argp/argp-help.c: Likewise.
29156         * posix/wordexp.c: Likewise.
29157         * sysdeps/posix/spawni.c: Likewise.
29158         * nss/nss_files/files-initgroups.c: Likewise.
29159         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29160         * nss/nss_files/files-initgroups.c: Likewise.
29161         * nss/nss_db/db-netgrp.c: Likewise.
29162         * nss/nss_db/db-initgroups.c: Likewise.
29163         * io/fchmodat.c: Include <sys/stat.h>.
29164
29165         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29166         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29167
29168         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29169         [HAVE_MMAP].
29170
29171         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29172         Add multiple inclusion protection.
29173
29174 2012-07-27  David S. Miller  <davem@davemloft.net>
29175
29176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29177
29178 2012-07-27  Gary Benson  <gbenson@redhat.com>
29179
29180         [BZ #14298]
29181         * elf/rtld.c: Include <stap-probe.h>.
29182         (dl_main): Added static probes "init_start" and "init_complete".
29183         * elf/dl-load.c: Include <stap-probe.h>.
29184         (lose): Take new parameter "nsid".
29185         Added static probe "map_failed".
29186         (_dl_map_object_from_fd): Pass namespace id to lose.
29187         Added static probe "map_start".
29188         (open_verify): Pass namespace id to lose.
29189         * elf/dl-open.c: Include <stap-probe.h>.
29190         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29191         and "reloc_complete".
29192         * elf/dl-close.c: Include <stap-probe.h>.
29193         (_dl_close_worker): Added static probes "unmap_start" and
29194         "unmap_complete".
29195         * elf/rtld-debugger-interface.txt: New file documenting the above.
29196
29197 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29198
29199         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29200         rather than a string variable.
29201         * sunrpc/rpc_main.c (h_output): Likewise.
29202         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29203
29204 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29205
29206         * inet/check_native.c: New file.
29207
29208 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29209
29210         [BZ #13629]
29211         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29212         if larger part has absolute value 1.0.
29213         * math/s_clog10.c (__clog10): Likewise.
29214         * math/s_clog10f.c (__clog10f): Likewise.
29215         * math/s_clog10l.c (__clog10l): Likewise.
29216         * math/s_clogf.c (__clogf): Likewise.
29217         * math/s_clogl.c (__clogl): Likewise.
29218         * math/libm-test.inc (clog_test): Add more tests.
29219         (clog10_test): Likewise.
29220         * sysdeps/i386/fpu/libm-test-ulps: Update.
29221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29222
29223         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29224         (pltexit): Likewise.
29225         (La_regs): Likewise.
29226         (La_retval): Likewise.
29227         (int_retval): Likewise.
29228         Update #error for removed macros to refer only to definitions in
29229         tst-audit.h.
29230         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29231         macro.
29232         (pltexit): Likewise.
29233         (La_regs): Likewise.
29234         (La_retval): Likewise.
29235         (int_retval): Likewise.
29236         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29237         macro.
29238         (pltexit): Likewise.
29239         (La_regs): Likewise.
29240         (La_retval): Likewise.
29241         (int_retval): Likewise.
29242         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29243         macro.
29244         (pltexit): Likewise.
29245         (La_regs): Likewise.
29246         (La_retval): Likewise.
29247         (int_retval): Likewise.
29248         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29249         macro.
29250         (pltexit): Likewise.
29251         (La_regs): Likewise.
29252         (La_retval): Likewise.
29253         (int_retval): Likewise.
29254         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29255         macro.
29256         (pltexit): Likewise.
29257         (La_regs): Likewise.
29258         (La_retval): Likewise.
29259         (int_retval): Likewise.
29260         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29261         macro.
29262         (pltexit): Likewise.
29263         (La_regs): Likewise.
29264         (La_retval): Likewise.
29265         (int_retval): Likewise.
29266         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29267         macro definitions in tst-audit.h.
29268         * sysdeps/i386/tst-audit.h: New file.
29269         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29270         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29271         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29272         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29273         * sysdeps/sh/tst-audit.h: Likewise.
29274         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29275         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29276         * sysdeps/x86_64/tst-audit.h: Likewise.
29277
29278 2012-07-26  Andreas Jaeger  <aj@suse.de>
29279
29280         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29281         ptrace.
29282
29283         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29284         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29285         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29286         PTRACE_O_MASK.
29287         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29288         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29289         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29290
29291         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29292         value.
29293
29294         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29295         _sigsys.
29296         (si_call_addr, si_syscall, si_arch): Define new macro.
29297         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29298         _sigsys.
29299         (si_call_addr, si_syscall, si_arch): Define new marcro.
29300         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29301         _sigsys.
29302         (si_call_addr, si_syscall, si_arch): Define new macro.
29303         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29304         _sigsys.
29305         (si_call_addr, si_syscall, si_arch): Define new macro.
29306
29307 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29308
29309         [BZ #13717]
29310         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29311         Change to 2.4.21 where previously 2.4.1.
29312         * sysdeps/unix/sysv/linux/configure: Regenerated.
29313         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29314         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29315         Linux kernel version.
29316         (__ASSUME_STD_AUXV): Remove.
29317         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29318         kernel version.
29319         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29320         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29321         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29322         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29323         (__ASSUME_NETLINK_SUPPORT): Likewise.
29324         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29325         (__no_netlink_support): Remove conditional definition.
29326         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29327         Remove.
29328         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29329         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29330         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29331         (if_nameindex_ioctl): Remove.
29332         (if_nameindex_netlink): Do not handle __no_netlink_support.
29333         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29334         code.
29335         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29336         Remove conditional code.
29337         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29338         code.
29339         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29340         unconditional.
29341         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29342         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29343         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29344         Remove.
29345         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29346         [!__ASSUME_STD_AUXV]: Remove conditional code.
29347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29348         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29349         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29351         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29352         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29353         code.
29354         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29356         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29357         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29358         conditional code.
29359         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29361         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29362         code.
29363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29364         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29365         conditional code.
29366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29367         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29368         code unconditional.
29369         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29370         conditional code.
29371         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29372         unconditional.
29373         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29374         conditional code.
29375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29376         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29377         unconditional.
29378         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29379         conditional code.
29380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29381         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29382         code unconditional.
29383         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29384         conditional code.
29385         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29386         unconditional.
29387         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29388         conditional code.
29389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29390         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29391         code unconditional.
29392         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29393         conditional code.
29394         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29395         unconditional.
29396         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29397         conditional code.
29398
29399 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29400
29401         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29402         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29403         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29404         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29405         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29406         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29407         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29408         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29409         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29410         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29411         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29412         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29413         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29414         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29415         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29416         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29417         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29419         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29421         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29422         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29423         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29424
29425 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29426
29427         * Versions.def: Add GLIBC_2.17.
29428         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29429         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29430         Introduce __libc_secure_getenv.
29431         * stdlib/Versions (2.17): Add secure_getenv
29432         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29433         * stdlib/secure-getenv.c: Rename __secure_getenv to
29434         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29435         symbol __secure_getenv for GLIBC_2.0.
29436         * stdlib/tst-secure-getenv.c: New.
29437         * stdlib/Makefile (tests): Add testcase.
29438         * manual/startup.texi (Environment Access): Document
29439         secure_getenv.
29440         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29441         __libc_secure_getenv.
29442         * inet/ruserpass.c (ruserpass): Likewise.
29443         * malloc/mtrace.c (mtrace): Likewise.
29444         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29445         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29446         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29447         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29448         HAVE_SECURE_GETENV.
29449         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29450         __secure_getenv to __libc_secure_getenv.
29451         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29453         Likewise.
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29455         Likewise.
29456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29463
29464 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29465
29466         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29467         (struct La_i86_retval): Likewise.
29468         (struct La_x86_64_regs): Likewise.
29469         (struct La_x86_64_retval): Likewise.
29470         (struct La_x32_regs): Likewise.
29471         (struct La_x32_retval): Likewise.
29472         (struct La_ppc32_regs): Likewise.
29473         (struct La_ppc32_retval): Likewise.
29474         (struct La_ppc64_regs): Likewise.
29475         (struct La_ppc64_retval): Likewise.
29476         (struct La_sh_regs): Likewise.
29477         (struct La_sh_retval): Likewise.
29478         (struct La_s390_32_regs): Likewise.
29479         (struct La_s390_32_retval): Likewise.
29480         (struct La_s390_64_regs): Likewise.
29481         (struct La_s390_64_retval): Likewise.
29482         (struct La_sparc32_regs): Likewise.
29483         (struct La_sparc32_retval): Likewise.
29484         (struct La_sparc64_regs): Likewise.
29485         (struct La_sparc64_retval): Likewise.
29486         (struct audit_ifaces): Remove architecture-specific pltenter and
29487         pltexit members.
29488         * sysdeps/i386/ldsodefs.h: New file.
29489         * sysdeps/powerpc/ldsodefs.h: Likewise.
29490         * sysdeps/s390/ldsodefs.h: Likewise.
29491         * sysdeps/sh/ldsodefs.h: Likewise.
29492         * sysdeps/sparc/ldsodefs.h: Likewise.
29493         * sysdeps/x86_64/ldsodefs.h: Likewise.
29494
29495 2012-07-25  Marek Polacek  <polacek@redhat.com>
29496
29497         [BZ #6808]
29498         * math/libm-test.inc (yn_test): Add another test.
29499         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29500         to ERANGE when the result is +-Inf.
29501         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29502         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29503         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29504         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29505
29506 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29507
29508         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29509         equal to 0.
29510         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29511         clock_t.
29512         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29513
29514 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29515
29516         * configure.in <sysdeps resolving>: Correct printing
29517         Implies_before.
29518         * configure: Regenerate.
29519
29520 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29521
29522         * math/w_ilogb.c: Include <limits.h>.
29523         * math/w_ilogbl.c: Likewise.
29524
29525 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29526
29527         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29528         va_copy.  Document allowing for unavailable va_copy only as
29529         pre-C99 compatibility.
29530         * manual/string.texi (Copying and Concatenation): Use va_copy
29531         instead of __va_copy in concat example.
29532
29533 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29534
29535         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29536         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29537         it if not null.
29538
29539         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29540         with O_NOLINK passed to __file_name_lookup.
29541
29542         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29543         with O_NOLINK passed to __file_name_lookup.
29544
29545         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29546         negative N or less than NGIDS.
29547
29548         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29549         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29550         enough.  Use memcpy instead of strncpy.
29551
29552 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29553
29554         * elf/Makefile (check-data): Remove.
29555         (localplt.data): New vpath directive.
29556         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29557         instead of $(check-data).
29558         * scripts/data/localplt-generic.data: Move to ...
29559         * sysdeps/generic/localplt.data: ... here.
29560         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29561         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29562         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29564         ... here.
29565         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29567         ... here.
29568         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29570         ... here.
29571         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29573         ... here.
29574         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29576         ... here.
29577         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29579         ... here.
29580
29581 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29582
29583         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29584         PPC32 and PPC64 files.
29585         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29586         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29587
29588 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29589
29590         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29591         __makecontext_ret to ...
29592         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29593         ... here and call exit if uc_link is NULL.  New file.
29594         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29595         __makecontext_ret.S.
29596         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29597         __makecontext_ret to ...
29598         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29599         ... here and call exit if uc_link is NULL.  New file.
29600         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29601         __makecontext_ret.S.
29602
29603 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29604
29605         * elf/elf.h (R_390_IRELATIVE): New definition.
29606         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29607         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29608         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29609         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29610         (elf_machine_lazy_rel): Likewise.
29611         * sysdeps/s390/dl-irel.h: New file.
29612         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29613         * sysdeps/s390/s390-64/memset.S: New asm code.
29614         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29615         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29616         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29617         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29618         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29619         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29620         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29621         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29622         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29623         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29624         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29625         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29626         * sysdeps/s390/s390-32/memset.S: New asm code.
29627         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29628
29629 2012-07-17  Marek Polacek  <polacek@redhat.com>
29630
29631         [BZ #14349]
29632         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29633         * sysdeps/s390/s390-64/configure.in: Likewise.
29634         * sysdeps/sparc/configure.in: Likewise.
29635         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29636         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29637         * sysdeps/i386/configure.in: Likewise.
29638         * sysdeps/x86_64/configure.in: Likewise.
29639         * sysdeps/sh/configure.in: Likewise.
29640         * sysdeps/s390/s390-32/configure: Regenerated.
29641         * sysdeps/s390/s390-64/configure: Likewise.
29642         * sysdeps/x86_64/configure: Likewise.
29643         * sysdeps/sh/configure: Likewise.
29644         * sysdeps/powerpc/powerpc64/configure: Likewise.
29645         * sysdeps/powerpc/powerpc32/configure: Likewise.
29646         * sysdeps/sparc/configure: Likwise.
29647         * sysdeps/i386/configure: Likewise.
29648
29649         * elf/dl-open.c: Comment fixes.
29650
29651 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29652
29653         * Makefile [CXX] (check-data): Remove.
29654         [CXX] (c++-types.data): New vpath directive.
29655         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29656         vpath.  Do not allow for C++ type data being missing.
29657         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29658         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29659         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29660         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29661         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29662         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29663         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29665         ... here.
29666         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29668         ... here.
29669         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29671         ... here.
29672         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29674         ... here.
29675         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29677         ... here.
29678         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29680         ... here.
29681         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29683         ... here.
29684         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29686
29687         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29688         definitions to architecture-specific files.
29689         (TLS_IE): Likewise.
29690         (TLS_LD): Likewise.
29691         (TLS_GD): Likewise.
29692         * sysdeps/i386/tls-macros.h: New file.
29693         * sysdeps/powerpc/tls-macros.h: Likewise.
29694         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29695         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29696         * sysdeps/sh/tls-macros.h: Likewise.
29697         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29698         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29699         * sysdeps/x86_64/tls-macros.h: Likewise.
29700
29701 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29702
29703         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29704         zero value for regular exit case.
29705
29706         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29707         (__start_context): Preserve zero value for regular exit case.
29708
29709 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29710             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29711
29712         * manual/setjmp.texi (setcontext): Clarify normal process
29713         termination when uc_link is the null pointer.
29714         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29715         exit call.
29716
29717 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29718
29719         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29720         preprocessor.  Test for each exception mask separately.
29721
29722 2012-07-16  Andreas Jaeger  <aj@suse.de>
29723
29724         * po/ru.po: Update from translation team.
29725
29726 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29727
29728         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29729         equal to 0.
29730         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29731         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29732         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29733         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29734         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29735
29736 2012-07-13  Andreas Jaeger  <aj@suse.de>
29737
29738         * po/fr.po: Update from translation team.
29739
29740 2012-07-12  Marek Polacek  <polacek@redhat.com>
29741
29742         [BZ #14173]
29743         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29744         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29745         loop condition.
29746
29747 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29748
29749         [BZ #13717]
29750         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29751         Change to 2.4.1 where previously 2.4.0.
29752         * sysdeps/unix/sysv/linux/configure: Regenerated.
29753         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29754         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29755         version.
29756         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29757         (__ASSUME_AT_CLKTCK): Remove.
29758         (__ASSUME_AT_PAGESIZE): Likewise.
29759         (__ASSUME_AT_XID): Likewise.
29760         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29761         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29762         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29763         unconditionally.
29764         (HAVE_AUX_PAGESIZE): Likewise.
29765         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29766         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29767         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29768
29769 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29770
29771         [BZ #14307]
29772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29773         the temporary buffer used to invoke __gethostbyname2_r,
29774         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29775         host_data / struct gaih_addrtuple.
29776         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29777         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29778         header file nss/nsswitch.h.
29779         * nss/nsswitch.h (global scope): Add definition of implementation
29780         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29781         resolv/nss_dns/dns-host.c).
29782
29783 2012-07-11  Andreas Jaeger  <aj@suse.de>
29784
29785         * po/fr.po: Update from translation team.
29786
29787         * po/sv.po: Update from translation team
29788         * po/fr.po: Another update from translation team.
29789
29790 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29791
29792         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29793         for subnormals or multiply small sinh result by itself.
29794         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29796
29797 2012-07-11  David S. Miller  <davem@davemloft.net>
29798
29799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29800
29801 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29802
29803         [BZ #14347]
29804         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29805         (INTERNAL_MARK): Shift it here.
29806
29807 2012-07-10  Marek Polacek  <polacek@redhat.com>
29808
29809         [BZ #14151]
29810         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29811         libc_cv_asm_global_directive with .globl.
29812         * configure: Regenerated.
29813         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29814         with .globl.
29815         * sysdeps/i386/configure: Regenerated.
29816         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29817         with .globl.
29818         * sysdeps/x86_64/configure: Regenerated.
29819         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29820         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29821         * elf/tst-unique2mod2.c: Likewise.
29822         * elf/tst-unique2mod1.c: Likewise.
29823         * elf/tst-unique1mod2.c: Likewise.
29824         * elf/tst-unique1mod1.c: Likewise.
29825         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29826         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29827         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29828         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29829         * sysdeps/mach/sysdep.h: Likewise.
29830         * sysdeps/i386/sysdep.h: Likewise.
29831         * sysdeps/i386/i386-mcount.S: Likewise.
29832         * sysdeps/x86_64/_mcount.S: Likewise.
29833         * sysdeps/x86_64/sysdep.h: Likewise.
29834         * sysdeps/sh/_mcount.S: Likewise.
29835         * sysdeps/sh/sysdep.h: Likewise.
29836         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29837         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29838         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29839         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29840         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29841         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29842         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29843         * locale/localeinfo.h: Likewise.
29844         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29845         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29846
29847 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29848
29849         [BZ #14336]
29850         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29851         system".
29852         * manual/message.texi (The Uniforum approach): Likewise.
29853         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29854         (glibc iconv Implementation): Likewise.
29855
29856 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29857
29858         [BZ #14337]
29859         * math/s_clog.c (__clog): Avoid scaling a value down where that
29860         could result in underflow.
29861         * math/s_clog10.c (__clog10): Likewise.
29862         * math/s_clog10f.c (__clog10f): Likewise.
29863         * math/s_clog10l.c (__clog10l): Likewise.
29864         * math/s_clogf.c (__clogf): Likewise.
29865         * math/s_clogl.c (__clogl): Likewise.
29866         * math/libm-test.inc (clog_test): Add more tests.
29867         (clog10_test): Likewise.
29868         * sysdeps/i386/fpu/libm-test-ulps: Update.
29869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29870
29871 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29872
29873         [BZ #14283]
29874         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29875         by 7 not 8 to examine high bit of fractional part.
29876
29877         [BZ #14042]
29878         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29879         for call to __mcount_internal.
29880         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29881         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29882         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29883
29884 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29885
29886         [BZ #14154]
29887         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29888         approximation for values within 0x1p-13f of an odd multiple of
29889         pi/4.
29890         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29891         exception.  Add more tests.
29892         * sysdeps/i386/fpu/libm-test-ulps: Update.
29893
29894         [BZ #6778]
29895         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29896         inputs and return -1 for them.  Do not check for +Inf in case not
29897         reachable for +Inf.
29898         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29899         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29900         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29901         and return -1 for them.  Do not check for +Inf in case not
29902         reachable for +Inf.
29903         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29904         define.
29905         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29906         and return -1 for them.  Do not check for +Inf in case not
29907         reachable for +Inf.
29908         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29909         spurious underflow.
29910         * sysdeps/i386/fpu/libm-test-ulps: Update.
29911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29912
29913 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29914
29915         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29916
29917 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29918
29919         [BZ #14157]
29920         [BZ #14331]
29921         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29922         could result in spurious underflow.  Scale down values above
29923         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29924         * math/s_csqrtf.c (__csqrtf): Likewise.
29925         * math/s_csqrtl.c (__csqrtl): Likewise.
29926         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29927         spurious underflow.
29928         * sysdeps/i386/fpu/libm-test-ulps: Update.
29929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29930
29931 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29932
29933         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29934         xopen-msg.sed.
29935         * catgets/xopen-msg.awk: New file.
29936         * catgets/xopen-msg.sed: Removed.
29937
29938         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29939         po2text.sed.
29940         * intl/po2test.awk: New file.
29941         * intl/po2test.sed: Removed.
29942
29943 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29944
29945         [BZ #14328]
29946         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29947         or multiply small sinh result by itself.
29948         * math/s_ctanf.c (__ctanf): Likewise.
29949         * math/s_ctanh.c (__ctanh): Likewise.
29950         * math/s_ctanhf.c (__ctanhf): Likewise.
29951         * math/s_ctanhl.c (__ctanhl): Likewise.
29952         * math/s_ctanl.c (__ctanl): Likewise.
29953         * math/libm-test.inc (ctan_test_tonearest): New function.
29954         (ctan_test_towardzero): Likewise.
29955         (ctan_test_downward): Likewise.
29956         (ctan_test_upward): Likewise.
29957         (ctanh_test_tonearest): Likewise.
29958         (ctanh_test_towardzero): Likewise.
29959         (ctanh_test_downward): Likewise.
29960         (ctanh_test_upward): Likewise.
29961         (main): Call these new functions.
29962         * sysdeps/i386/fpu/libm-test-ulps: Update.
29963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29964
29965 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29966
29967         * .gitignore: Delete /ports entry.
29968
29969 2012-07-03  Andreas Jaeger  <aj@suse.de>
29970
29971         * po/bg.po: Update from translation team.
29972         * po/cs.po: Likewise.
29973         * po/de.po: Likewise.
29974         * po/hr.po: Likewise.
29975         * po/nl.pl: Likewise.
29976         * po/pl.po: Likewise.
29977         * po/vi.po: Likewise.
29978
29979 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29980
29981         * Makeconfig [!+link] (+link-before-libc): New variable.
29982         [!+link] (+link-after-libc): Likewise.
29983         [!+link] (+link-tests): Likewise.
29984         [!+link] (+link): Define in terms of $(+link-before-libc) and
29985         $(+link-after-libc).
29986         [!+link-static] (+link-static-before-libc): New variable.
29987         [!+link-static] (+link-static-after-libc): Likewise.
29988         [!+link-static] (+link-static-tests): Likewise.
29989         [!+link-static] (+link-static): Define in terms of
29990         $(+link-static-before-libc) and $(+link-static-after-libc).
29991         [build-shared] (link-libc-before-gnulib): New variable.
29992         [build-shared] (link-libc-tests): Likewise.
29993         [build-shared] (link-libc): Define in terms of
29994         $(link-libc-before-gnulib).
29995         [!build-shared] (link-libc-tests): New variable.
29996         (link-libc-static-tests): New variable.
29997         [!gnulib] (gnulib-arch): New variable.
29998         [!gnulib] (gnulib-tests): Likewise.
29999         [!gnulib] (static-gnulib-arch): Likewise.
30000         [!gnulib] (static-gnulib-tests): Likewise.
30001         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30002         Define with "=" instead of ":=".
30003         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30004         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30005         * Rules (binaries-all-notests): New variable.
30006         (binaries-all-tests): Likewise.
30007         (binaries-static-notests): Likewise.
30008         (binaries-static-tests): Likewise.
30009         (binaries-all): Define using $(binaries-all-notests) and
30010         $(binaries-all-tests).
30011         (binaries-static): Define using $(binaries-static-notests) and
30012         $(binaries-static-tests).
30013         (binaries-shared-tests): New variable.
30014         (binaries-shared-notests): Likewise.
30015         (binaries-shared): Remove variable.
30016         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30017         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30018         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30019         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30020         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30021         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30022         * elf/Makefile (sln-modules): New variable.
30023         (extra-objs): Add $(sln-modules:=.o).
30024         (ldconfig-modules): Add static-stubs.
30025         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30026         * elf/static-stubs.c: New file.
30027
30028         [BZ #14283]
30029         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30030         by 7 not 8 to examine high bit of fractional part.  Use volatile
30031         variables when splitting into final array of floats if
30032         __FLT_EVAL_METHOD__ != 0.
30033         * math/libm-test.inc (cos_test): Add another test.
30034         (sin_test): Likewise.
30035         * sysdeps/i386/fpu/libm-test-ulps: Update.
30036
30037         [BZ #14273]
30038         * math/libm-test.inc (cosh_test): Add more tests.
30039
30040         * version.h (RELEASE): Set to "development".
30041         (VERSION): Set to "2.16.90".
30042
30043 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30044
30045         * NEWS: Update copyright. Remove last-updated date.
30046         Mention math library bug fixes and timezone data changes.
30047         * README: Mention GNU/Hurd, x32, and HPPA support status.
30048
30049 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30050
30051         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30052
30053 2012-06-27  Andreas Jaeger  <aj@suse.de>
30054
30055         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30056
30057 2012-06-25  Andreas Jaeger  <aj@suse.de>
30058
30059         * sysdeps/s390/fpu/libm-test-ulps: Update.
30060
30061 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30062             Thomas Schwinge  <thomas@codesourcery.com>
30063
30064         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30065         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30066         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30067         fanotify_mark.
30068
30069 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30070
30071         * sysdeps/mach/start.c: Remove file.
30072         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30073         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30074         * sysdeps/sh/init-first.c: Likewise.
30075
30076         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30077         registers for frame unwinding purposes, add CFI directives.
30078         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30079         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30080         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30081         Likewise.
30082
30083         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30084         __fortify_fail returning.
30085         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30086
30087         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30088         sysdeps/sh/____longjmp_chk.S.
30089         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30090         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30091         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30092         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30093
30094         * sysdeps/sh/abort-instr.h: New file.
30095         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30096         process in case exit returns.
30097
30098         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30099         initialize the GOT register before use.
30100
30101         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30102         calculation of ARGC > 4.
30103
30104         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30105         meaningful names to some local labels.
30106
30107 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30108             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30109
30110         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30111         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30112         (__arch_compare_and_exchange_val_16_acq): Likewise.
30113         (__arch_compare_and_exchange_val_32_acq): Likewise.
30114         (atomic_exchange_and_add): Fix gUSA sequence.
30115         (atomic_add): Likewise.
30116         (atomic_add_negative): Likewise.
30117         (atomic_add_zero): Likewise.
30118         (atomic_bit_test_set): Likewise.
30119
30120 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30121
30122         [BZ #13579]
30123         * include/link.h (struct link_map): Add l_free_initfini.
30124         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30125         l_initfini.
30126         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30127         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30128         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30129         set.
30130
30131 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30132
30133         * configure.in: Use AC_LANG_SOURCE.
30134         * configure: Regenerate.
30135
30136 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30137
30138         * configure.in (libc_cv_localstatedir): New substituted variable.
30139         * configure: Regenerated.
30140         * config.make.in (localstatedir): New variable, substituted from
30141         libc_cv_localstatedir.
30142         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30143         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30144         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30145         * sysdeps/gnu/configure: Regenerated.
30146
30147 2012-06-21  Jeff Law  <law@redhat.com>
30148
30149         [BZ #14277]
30150         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30151         free.  Simplify list management for _LIBC case.
30152
30153 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30154
30155         [BZ #14273]
30156         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30157         Clear sign bit of 64-bit integer value before comparing against
30158         overflow value.
30159
30160         * sysdeps/mach/configure: Regenerated.
30161
30162 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30163
30164         [BZ #14278]
30165         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30166
30167 2012-06-21  Jeff Law  <law@redhat.com>
30168
30169         [BZ #13882]
30170         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30171         uint16_t for elements in the "seen" array to avoid char overflows.
30172         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30173         * elf/dl-open.c (dl_open_worker): Likewise.
30174
30175 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30176
30177         * scripts/list-sources.sh: Scan PORTS for translations.
30178         * po/libc.pot: Regenerated.
30179
30180 2012-06-21  Andreas Jaeger  <aj@suse.de>
30181
30182         [BZ #12194]
30183         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30184         warning.
30185         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30186         * bits/byteswap-16.h (__bswap_16): Likewise.
30187         * bits/byteswap.h (__bswap_constant_16): Likewise.
30188
30189 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30190
30191         [BZ #14117]
30192         * sysdeps/i386/fpu_control.h: Removed.
30193         * sysdeps/x86_64/fpu_control.h: Moved to ...
30194         * sysdeps/x86/fpu_control.h: Here.
30195
30196         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30197         (_FPU_SETCW): Likewise.
30198
30199 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30200
30201         [BZ #14117]
30202         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30203         * sysdeps/x86/fpu/bits/mathinline.h: This.
30204         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30205
30206         [BZ #14050]
30207         [BZ #14117]
30208         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30209         functions if __x86_64__ is defined.
30210
30211 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30212
30213         * string/endian.h: Add !__ASSEMBLER__ condition for including
30214         conversion interfaces.
30215
30216 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30217
30218         [BZ #14241]
30219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30220         of ABS(x) in calculating zero to negative powers other than odd
30221         integers.
30222         * math/libm-test.inc (pow_test): Add more tests.
30223
30224 2012-06-15  Andreas Jaeger  <aj@suse.de>
30225
30226         * manual/contrib.texi (Contributors): Update entry of Liubov
30227         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30228         Machado Filho.
30229
30230 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30231
30232         * string/string.h: Add __wur to GNU version of strerror_r.
30233
30234 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30235
30236         [BZ #14229]
30237         * string/Makefile (tests): Add tst-strtok_r.
30238         * string/tst-strtok_r.c: New file.
30239         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30240         RAX_LP/RDX_LP on SAVE_PTR.
30241
30242 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30243
30244         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30245
30246 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30247
30248         * libm_test.inc (csqrt_test): Allow more spurious underflow
30249         exceptions.
30250         (j0_test): Likewise.
30251         (j1_test): Likewise.
30252         (y0_test): Likewise.
30253         (y1_test): Likewise.
30254
30255 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30256
30257         * po/Makefile (libc.pot): Use UTF-8 charset.
30258
30259 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30260
30261         [BZ #14210]
30262         Suppress sign-conversion warning from FD_SET.
30263         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30264         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30265         not unsigned long int.
30266         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30267
30268 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30269
30270         [BZ #14050]
30271         [BZ #14117]
30272         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30273         __extern_always_inline instead of __extern_inline.
30274         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30275         (__signbit): Likewise.
30276         (__signbitl): Support C++ namespace.
30277         (lrintf): New inline function.
30278         (lrint): Likewise.
30279         (llrintf): Likewise.
30280         (llrint): Likewise.
30281         (fmaxf): Likewise.
30282         (fmax): Likewise.
30283         (fminf): Likewise.
30284         (fmin): Likewise.
30285         (rint): Likewise.
30286         (rintf): Likewise.
30287         (ceil): Likewise.
30288         (ceilf): Likewise.
30289         (floor): Likewise.
30290         (floorf): Likewise.
30291         (nearbyint): Likewise.
30292         (nearbyintf): Likewise.
30293
30294 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30295
30296         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30297         non-default versions.
30298
30299 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30300
30301         [BZ #14218]
30302         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30303
30304 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30305
30306         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30307         (FE_UPWARD, FE_DOWNWARD): Don't define.
30308         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30309         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30310
30311         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30312         reading it.
30313         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30314         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30315
30316 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30317
30318         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30319         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30320         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30321         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30322
30323 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30324
30325         [BZ #14117]
30326         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30327         * sysdeps/i386/fpu/Implies: New file.
30328         * sysdeps/x86_64/fpu/Implies: Likewise.
30329         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30330         * sysdeps/x86/fpu/bits/fenv.h: This.
30331
30332         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30333         __SSE_MATH__.
30334
30335 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30336
30337         [BZ #14134]
30338         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30339         character 0xffff that matches the last element of the
30340         conversion table.
30341
30342 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30343
30344         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30345         fmodl commit.
30346
30347 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30348
30349         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30350         values higher than 25.6283.
30351
30352 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30353
30354         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30355         subnormal exponent extraction and add some __builtin_expect.
30356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30357         Fix for subnormal mantissa calculation.
30358
30359 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30360
30361         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30362         cpu2 is -1 and errno is not ENOSYS.
30363
30364 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30365
30366         [BZ #14117]
30367         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30368         * sysdeps/x86/bits/string.h: This.
30369         * sysdeps/x86_64/bits/string.h: Removed.
30370
30371         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30372         if not compiling for x86-64, but compiling for >= i486.
30373
30374         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30375         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30376
30377         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30378         New macro from Linux kernel 3.4.0.
30379         (FP_XSTATE_MAGIC2): Likewise.
30380         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30381         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30382         (struct _fpx_sw_bytes): New struct.
30383         (struct _xsave_hdr): Likewise.
30384         (struct _ymmh_state): Likewise.
30385         (struct _xstate): Likewise.
30386
30387         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30388         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30389         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30390         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30391         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30392         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30393
30394         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30395         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30396         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30397         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30398         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30399         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30400
30401 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30402
30403         [BZ #13743]
30404         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30405         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30406         (sysdep_headers): Include sys/platform/ppc.h.
30407         * sysdeps/powerpc/test-gettimebase.c: Test for
30408         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30409         * manual/Makefile (appendices): Include platform.texi.
30410         * manual/contrib.texi (Contributors): Update @node pointers.
30411         * manual/maint.texi (Maintenance): Likewise.
30412         (Platform): New node.
30413         * manual/platform.texi: New file.  Document the new features.
30414
30415 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30416             Jakub Jelinek  <jakub@redhat.com>
30417
30418         [BZ #14188]
30419         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30420         where __builtin_expect is unavailable.
30421
30422 2012-06-03  David S. Miller  <davem@davemloft.net>
30423
30424         * stdlib/longlong.h: Updated from GCC.
30425
30426 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30427
30428         [BZ #14042]
30429         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30430         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30431         __mcount_internal.
30432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30433         (GLIBC_2.16): Likewise.
30434
30435 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30436
30437         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30438
30439 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30440
30441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30442         (default-abi): New variable.
30443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30444         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30445         variable.
30446         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30447         Likewise.
30448         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30449         Likewise.
30450         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30451         Likewise.
30452
30453         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30454         definition.  Document in comment.
30455
30456 2012-06-01  David S. Miller  <davem@davemloft.net>
30457
30458         * stdlib/longlong.h: Updated from GCC.
30459
30460 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30461
30462         [BZ #14117]
30463         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30464         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30465         sys/debugreg.h sys/io.h here.
30466         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30467         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30468         sys/io.h.
30469         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30470         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30471         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30472         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30473         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30474         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30475
30476         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30477         Define only if __x86_64__ is defined.
30478
30479 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30480
30481         [BZ #14048]
30482         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30483         Use int64_t for variable i.
30484         * math/libm-test.inc (fmod_test): Add more tests.
30485
30486         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30487         z computation is not scheduled after fetestexcept.
30488         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30489         Use math_force_eval instead of asm to ensure calculation scheduled
30490         before exception test.
30491         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30492         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30493
30494 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30495
30496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30497         computation is not scheduled after fetestexcept.
30498
30499 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30500
30501         [BZ #14117]
30502         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30503         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30504
30505 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30506
30507         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30508         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30509
30510 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30511
30512         [BZ #14117]
30513         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30514         <bits/wordsize.h>.
30515         (__WCHAR_MIN): Support __WORDSIZE == 64.
30516         (__WCHAR_MAX): Likewise.
30517
30518         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30519         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30520
30521         [BZ #14183]
30522         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30523         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30524
30525         [BZ #14117]
30526         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30527         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30528
30529         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30530         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30531
30532         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30533         Defined to 1 if __x86_64__ isn't defined.
30534         (_STAT_VER_LINUX_OLD): New.
30535         (st_atime): Remove duplicate.
30536         (st_mtime): Likewise.
30537         (st_ctime): Likewise.
30538
30539 2012-05-31  David S. Miller  <davem@davemloft.net>
30540
30541         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30542         entries.
30543
30544 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30545
30546         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30547         gen-libm-test.pl.
30548
30549         [BZ #14132]
30550         * elf/dl-reloc.c: Include <_itoa.h>.
30551         (_dl_reloc_bad_type): Remove use of INTUSE.
30552         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30553         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30554         * stdio-common/psiginfo.c (psiginfo): Likewise.
30555         * stdio-common/psignal.c (psignal): Likewise.
30556         * string/strsignal.c (strsignal): Likewise.
30557         * include/signal.h (_sys_siglist): Declare hidden proto.
30558         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30559         INTVARDEF with libc_hidden_data_def.
30560         * stdio-common/itoa-udigits.c: Likewise.
30561         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30562         (_itoa_lower_digits_internal): Remove declaration.
30563         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30564         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30565         (_sys_sigabbrev_internal): Remove aliases.
30566         (_sys_siglist): Define hidden alias.
30567
30568 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30569
30570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30571         bits/sysctl.h.
30572
30573 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30574
30575         [BZ #14117]
30576         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30577         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30578
30579         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30580         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30581         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30582         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30583         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30584         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30585
30586         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30587         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30588         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30589
30590         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30591         with __addr.
30592         (insw): Likewise.
30593         (insl): Likewise.
30594         (outsb): Likewise.
30595         (outsw): Likewise.
30596         (outsl): Likewise.
30597
30598         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30599         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30600         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30601
30602         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30603         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30604         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30605         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30606         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30607         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30608
30609         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30610         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30611
30612         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30613         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30614
30615         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30616         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30617         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30618
30619         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30620         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30621         to ...
30622         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30623
30624         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30625         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30626         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30627
30628         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30629         for x86-64.
30630         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30631
30632 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30633
30634         * math/math.h (M_El): Use two more decimal places.
30635         (M_LOG2El): Likewise.
30636         (M_LOG10El): Likewise.
30637         (M_LN2l): Likewise.
30638         (M_LN10l): Likewise.
30639         (M_PIl): Likewise.
30640         (M_PI_2l): Likewise.
30641         (M_PI_4l): Likewise.
30642         (M_1_PIl): Likewise.
30643         (M_2_PIl): Likewise.
30644         (M_2_SQRTPIl): Likewise.
30645         (M_SQRT2l): Likewise.
30646         (M_SQRT1_2l): Likewise.
30647
30648 2012-05-31  David S. Miller  <davem@davemloft.net>
30649
30650         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30651         values between float registers.
30652         * sysdeps/sparc/sparc64/memset.S: Likewise.
30653         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30654
30655 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30656
30657         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30658         -D_FORTIFY_SOURCE=1.
30659         (CPPFLAGS-tst-longjmp_chk.c): Define.
30660         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30661         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30662         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30663         CFLAGS-tst-wchar-h.c.
30664
30665 2012-05-31  Marek Polacek  <polacek@redhat.com>
30666
30667         [BZ #14132]
30668         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30669         __endmntent_internal): Remove declaration.
30670         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30671         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30672         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30673
30674 2012-05-30  David S. Miller  <davem@davemloft.net>
30675
30676         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30677         (___Q_simulate_exceptions): Use real FP ops rather than writing
30678         into the %fsr.
30679         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30680         Likewise.
30681
30682 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30683
30684         [BZ #14117]
30685         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30686         * sysdeps/x86/bits/xtitypes.h: This.
30687
30688         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30689         * sysdeps/x86/bits/wordsize.h: This.
30690
30691         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30692         * sysdeps/x86/bits/huge_vall.h: This.
30693
30694         * sysdeps/i386/bits/select.h: Removed.
30695         * sysdeps/x86_64/bits/select.h: Renamed to ...
30696         * sysdeps/x86/bits/select.h: This.
30697
30698         * sysdeps/i386/bits/setjmp.h: Removed.
30699         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30700         * sysdeps/x86/bits/setjmp.h: This.
30701
30702         * sysdeps/i386/bits/mathdef.h: Removed.
30703         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30704         * sysdeps/x86/bits/mathdef.h: This.
30705
30706 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30707
30708         [BZ #14132]
30709         * include/sys/socket.h (__connect_internal)
30710         (__libc_sa_len_internal): Remove declaration.
30711         (__connect, __libc_sa_len): Declare hidden_proto.
30712         (SA_LEN): Remove use of INTUSE.
30713         * socket/connect.c: Add libc_hidden_def.
30714         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30715         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30716         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30717         alias.
30718         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30719         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30720         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30721         of adding _internal alias.
30722
30723 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30724
30725         [BZ #14117]
30726         * sysdeps/i386/bits/link.h: Removed.
30727         * sysdeps/i386/bits/linkmap.h: Likewise.
30728         * sysdeps/x86_64/bits/link.h: Renamed to ...
30729         * sysdeps/x86/bits/link.h: This.
30730         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30731         * sysdeps/x86/bits/linkmap.h: This.
30732
30733         * sysdeps/i386/bits/endian.h: Removed.
30734         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30735         * sysdeps/x86/bits/endian.h: This.
30736
30737         * sysdeps/i386/bits/byteswap.h: Removed.
30738         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30739         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30740         * sysdeps/x86/bits/byteswap.h: This.
30741         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30742         * sysdeps/x86/bits/byteswap-16.h: This.
30743         * sysdeps/i386/Implies: Add x86.
30744         * sysdeps/x86_64/Implies: Likewise.
30745
30746 2012-05-30  David S. Miller  <davem@davemloft.net>
30747
30748         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30749         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30750         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30751         (FP_TRAPPING_EXCEPTIONS): Define.
30752         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30753         (FP_TRAPPING_EXCEPTIONS): Define.
30754         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30755         subnormals only when inexact has been signalled or underflow
30756         exceptions are enabled.
30757         (_FP_PACK_CANONICAL): Likewise.
30758
30759 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30760
30761         [BZ #14183]
30762         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30763         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30764
30765 2012-05-30  Richard Henderson  <rth@twiddle.net>
30766
30767         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30768         with #ifndef NOT_IN_libc.
30769
30770         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30771         marked to avoid plt entry.
30772
30773 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30774
30775         [BZ #14112]
30776         * Makeconfig (default-abi): New macro.
30777         (abi-includes): Likewise.
30778         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30779         $(abi-$(default-abi)-lib-soname) for soname if defined.
30780         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30781         abi-variants.
30782         * Makefile (installed-stubs): Likewise.
30783         * include/stubs-biarch.h: Removed.
30784         * scripts/lib-names.awk: Only handle one library at a time.
30785         * scripts/soversions.awk: Remove WORDSIZE support.
30786         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30787         entries.
30788         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30789         Removed.
30790         (syscall-list-default-condition): Likewise.
30791         (syscall-list-default-condition): Likewise.
30792         (syscall-list-includes): Likewise.
30793         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30794         syscall-list-* with abi-*.  Handle undefined abi-variants.
30795         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30796         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30797         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30798         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30799         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30800         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30801         Removed.
30802         (syscall-list-32-options): Likewise.
30803         (syscall-list-32-condition): Likewise.
30804         (syscall-list-64-options): Likewise.
30805         (syscall-list-64-condition): Likewise.
30806         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30807         macro.
30808         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30809         Renamed to ...
30810         (abi-*): This.
30811         (abi-64-ld-soname): New macro.
30812         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30813         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30814         Renamed to ...
30815         (abi-*): This.
30816         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30817         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30818
30819 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30820
30821         * sysdeps/unix/sysv/linux/kernel-features.h
30822         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30823         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30824         include <kernel-features.h>.
30825         [!__NR_ftruncate64]: Remove conditional code.
30826         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30827         [__NR_ftruncate64]: Make code unconditional.
30828         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30829         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30830         include <kernel-features.h>.
30831         [!__NR_ftruncate64]: Remove conditional code.
30832         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30833         [__NR_ftruncate64]: Make code unconditional.
30834         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30836         include <kernel-features.h>.
30837         [!__NR_ftruncate64]: Remove conditional code.
30838         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30839         [__NR_ftruncate64]: Make code unconditional.
30840         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30842         include <kernel-features.h>.
30843         [!__NR_ftruncate64]: Remove conditional code.
30844         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30845         [__NR_ftruncate64]: Make code unconditional.
30846         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30847
30848         * configure.in (libc_cv_fpie): Weaken to a compile test using
30849         LIBC_TRY_CC_OPTION.
30850         * configure: Regenerated.
30851
30852 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30853
30854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30858         Refreshed.
30859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30865         Refreshed.
30866
30867 2012-05-27  David S. Miller  <davem@davemloft.net>
30868
30869         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30870         (___Q_zero): New.
30871         (__Q_simulate_exceptions): Return void.  Change to simulate
30872         exceptions by writing into the %fsr.
30873         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30874         (__Qp_handle_exceptions): Likewise.
30875         (numbers): Delete.
30876         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30877         __Qp_handle_exceptions.
30878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30879         __Qp_handle_exceptions.
30880         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30881         as unused and give dummy FP_RND_NEAREST initializer.
30882         (FP_INHIBIT_RESULTS): Define.
30883         (___Q_simulate_exceptions): Update declaration.
30884         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30885         formatting.
30886         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30887         as unused and give dummy FP_RND_NEAREST initializer.
30888         (__Qp_handle_exceptions): Update declaration.
30889         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30890         formatting.
30891
30892 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30893
30894         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30895         the temporary FPU control word.
30896         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30897         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30898         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30899         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30900         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30901         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30902         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30903         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30904         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30905         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30906         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30907
30908 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30909
30910         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30911         fields.
30912
30913 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30914
30915         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30916         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30917         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30918         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30919         Likewise.
30920         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30921         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30922         Likewise.
30923
30924 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30925
30926         * po/h.po: Update from translation team.
30927
30928 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30929
30930         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30931
30932         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30933         handling of denormals.
30934         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30935         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30936         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30937         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30938         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30941         Likewise.
30942
30943 2012-05-26  Marek Polacek  <polacek@redhat.com>
30944
30945         [BZ #14152]
30946         * math/libm-test.inc (fma_test): Don't always expect underflow
30947         exception.
30948
30949 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30950
30951         [BZ #12416]
30952         * elf/tst-execstack.c: Include stackinfo.h.
30953         (do_test): Adjust test case to ensure that pthread_getattr_np
30954         behaviour remains the same after marking stack executable.
30955
30956 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30957
30958         * sysdeps/unix/sysv/linux/kernel-features.h
30959         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30960         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30961         kernel-features.h.
30962         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30963         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30964         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30965         kernel-features.h.
30966         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30967         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30968
30969 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30970
30971         * configure.in: Define the default includes to being none.
30972         * configure: Regenerated.
30973
30974 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30975
30976         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30977         * sysdeps/x86_64/setjmp.S: Likewise.
30978         * sysdeps/i386/bsd-setjmp.S: Likewise.
30979         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30980         * sysdeps/i386/setjmp.S: Likewise.
30981         * sysdeps/i386/__longjmp.S: Likewise.
30982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30983         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30984
30985         * include/stap-probe.h: New file.
30986         * configure.in: Handle --enable-systemtap.
30987         * configure: Regenerated.
30988         * config.h.in (USE_STAP_PROBE): New #undef.
30989         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30990         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30991         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30992
30993 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30994
30995         [BZ #13717]
30996         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30997         to 2.4.0 where earlier.
30998         * sysdeps/unix/sysv/linux/configure: Regenerated.
30999         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31000         <kernel-features.h>.
31001         [__ASSUME_32BITUIDS]: Make code unconditional.
31002         [!__ASSUME_32BITUIDS]: Remove conditional code.
31003         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31004         <kernel-features.h>.
31005         [__ASSUME_32BITUIDS]: Make code unconditional.
31006         [!__ASSUME_32BITUIDS]: Remove conditional code.
31007         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31008         [__ASSUME_32BITUIDS]: Make code unconditional.
31009         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31010         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31011         <kernel-features.h>.
31012         [__ASSUME_32BITUIDS]: Make code unconditional.
31013         [!__ASSUME_32BITUIDS]: Remove conditional code.
31014         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31015         <kernel-features.h>.
31016         [__ASSUME_32BITUIDS]: Make code unconditional.
31017         [!__ASSUME_32BITUIDS]: Remove conditional code.
31018         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31019         <kernel-features.h>.
31020         [__ASSUME_32BITUIDS]: Make code unconditional.
31021         [!__ASSUME_32BITUIDS]: Remove conditional code.
31022         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31023         <kernel-features.h>.
31024         [__ASSUME_32BITUIDS]: Make code unconditional.
31025         [!__ASSUME_32BITUIDS]: Remove conditional code.
31026         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31027         <kernel-features.h>.
31028         [__ASSUME_32BITUIDS]: Make code unconditional.
31029         [!__ASSUME_32BITUIDS]: Remove conditional code.
31030         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31031         <kernel-features.h>.
31032         [__ASSUME_32BITUIDS]: Make code unconditional.
31033         [!__ASSUME_32BITUIDS]: Remove conditional code.
31034         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31035         <kernel-features.h>.
31036         [__ASSUME_32BITUIDS]: Make code unconditional.
31037         [!__ASSUME_32BITUIDS]: Remove conditional code.
31038         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31039         <kernel-features.h>.
31040         [__ASSUME_32BITUIDS]: Make code unconditional.
31041         [!__ASSUME_32BITUIDS]: Remove conditional code.
31042         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31043         <kernel-features.h>.
31044         [__ASSUME_32BITUIDS]: Make code unconditional.
31045         [!__ASSUME_32BITUIDS]: Remove conditional code.
31046         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31047         <kernel-features.h>.
31048         [__ASSUME_32BITUIDS]: Make code unconditional.
31049         [!__ASSUME_32BITUIDS]: Remove conditional code.
31050         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31051         <kernel-features.h>.
31052         [__NR_setresgid] (__setresgid): Do not declare.
31053         [__ASSUME_32BITUIDS]: Make code unconditional.
31054         [!__ASSUME_32BITUIDS]: Remove conditional code.
31055         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31056         <kernel-features.h>.
31057         [__NR_setresuid] (__setresuid): Do not declare.
31058         [__ASSUME_32BITUIDS]: Make code unconditional.
31059         [!__ASSUME_32BITUIDS]: Remove conditional code.
31060         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31061         <kernel-features.h>.
31062         [__ASSUME_32BITUIDS]: Make code unconditional.
31063         [!__ASSUME_32BITUIDS]: Remove conditional code.
31064         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31065         <kernel-features.h>.
31066         [__ASSUME_32BITUIDS]: Make code unconditional.
31067         [!__ASSUME_32BITUIDS]: Remove conditional code.
31068         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31069         <kernel-features.h>.
31070         [__ASSUME_32BITUIDS]: Make code unconditional.
31071         [!__ASSUME_32BITUIDS]: Remove conditional code.
31072         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31073         <kernel-features.h>.
31074         [__ASSUME_32BITUIDS]: Make code unconditional.
31075         [!__ASSUME_32BITUIDS]: Remove conditional code.
31076         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31077         <kernel-features.h>.
31078         [__ASSUME_32BITUIDS]: Make code unconditional.
31079         [!__ASSUME_32BITUIDS]: Remove conditional code.
31080         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31081         <kernel-features.h>.
31082         [__ASSUME_32BITUIDS]: Make code unconditional.
31083         [!__ASSUME_32BITUIDS]: Remove conditional code.
31084         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31085         <kernel-features.h>.
31086         [__ASSUME_32BITUIDS]: Make code unconditional.
31087         [!__ASSUME_32BITUIDS]: Remove conditional code.
31088         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31089         <kernel-features.h>.
31090         [__ASSUME_32BITUIDS]: Make code unconditional.
31091         [!__ASSUME_32BITUIDS]: Remove conditional code.
31092         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31093         <kernel-features.h>.
31094         [__ASSUME_32BITUIDS]: Make code unconditional.
31095         [!__ASSUME_32BITUIDS]: Remove conditional code.
31096         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31097         <kernel-features.h>.
31098         [__ASSUME_32BITUIDS]: Make code unconditional.
31099         [!__ASSUME_32BITUIDS]: Remove conditional code.
31100         * sysdeps/unix/sysv/linux/kernel-features.h
31101         (__ASSUME_SETRESUID_SYSCALL): Remove.
31102         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31103         (__ASSUME_32BITUIDS): Likewise.
31104         (__ASSUME_LDT_WORKS): Likewise.
31105         (__ASSUME_O_DIRECTORY): Likewise.
31106         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31107         architecture but not kernel version.
31108         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31109         (__ASSUME_MMAP2_SYSCALL): Likewise.
31110         (__ASSUME_STAT64_SYSCALL): Likewise.
31111         (__ASSUME_IPC64): Likewise.
31112         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31113         <kernel-features.h>.
31114         [__ASSUME_32BITUIDS]: Make code unconditional.
31115         [!__ASSUME_32BITUIDS]: Remove conditional code.
31116         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31117         <kernel-features.h>.
31118         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31119         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31120         132096]: Remove conditional code.
31121         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31122         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31123         <kernel-features.h>.
31124         [__ASSUME_32BITUIDS]: Make code unconditional.
31125         [!__ASSUME_32BITUIDS]: Remove conditional code.
31126         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31127         <kernel-features.h>.
31128         [__ASSUME_32BITUIDS]: Make code unconditional.
31129         [!__ASSUME_32BITUIDS]: Remove conditional code.
31130         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31131         <kernel-features.h>.
31132         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31133         unconditional.
31134         (__setresgid): Do not declare.
31135         [__ASSUME_32BITUIDS]: Make code unconditional.
31136         [!__ASSUME_32BITUIDS]: Remove conditional code.
31137         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31138         <kernel-features.h>.
31139         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31140         unconditional.
31141         (__setresuid): Do not declare.
31142         [__ASSUME_32BITUIDS]: Make code unconditional.
31143         [!__ASSUME_32BITUIDS]: Remove conditional code.
31144         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31145         <kernel-features.h>.
31146         [__ASSUME_32BITUIDS]: Make code unconditional.
31147         [!__ASSUME_32BITUIDS]: Remove conditional code.
31148         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31149         <kernel-features.h>.
31150         [__ASSUME_32BITUIDS]: Make code unconditional.
31151         [!__ASSUME_32BITUIDS]: Remove conditional code.
31152
31153 2012-05-25  Richard Henderson  <rth@twiddle.net>
31154
31155         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31156         dl_hwcap to ifunc resolver.
31157         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31158         elf_ifunc_invoke.
31159         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31160         dl_hwcap to ifunc resolver.
31161         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31162
31163 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31164
31165         [BZ #14153]
31166         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31167         for |x| <= 2**-26, not 2**-57.
31168         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31169         exception.
31170
31171 2012-05-24  Jeff Law  <law@redhat.com>
31172
31173         * stdio-common/Makefile (tests): Add bug25.
31174         * stdio-common/bug25.c: New test.
31175
31176 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31177
31178         [BZ #13576]
31179         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31180         multiple of MALLOC_ALIGNMENT in size.
31181         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31182
31183 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31184
31185         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31186         Require >= 256.
31187         (FILENAME_MAX): Use macro-int-constant.
31188         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31189         (_IOFBF): Use macro-int-constant.
31190         (_IOLBF): Likewise.
31191         (_IONBF): Likewise.
31192         (SEEK_CUR): Likewise.
31193         (SEEK_END): Likewise.
31194         (SEEK_SET): Likewise.
31195         (TMP_MAX): Likewise.
31196         (EOF): Use macro-int-constant.  Require < 0.
31197         (NULL): Use macro-constant.  Require == 0.
31198         (stdin): Require type to be FILE *.
31199         (stdout): Likewise.
31200         (stderr): Likewise.
31201         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31202         macro-int-constant.
31203         (EXIT_SUCCESS): Likewise.
31204         (NULL): Use macro-constant.  Require == 0.
31205         (RAND_MAX): Use macro-int-constant.
31206         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31207         [C99-based standards] (strtof): Require function.
31208         [C99-based standards] (strtold): Likewise.
31209         [C99-based standards] (strtoll): Likewise.
31210         [C99-based standards] (strtoull): Likewise.
31211         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31212         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31213         [ISO || ISO99 || ISO11] (math.h): Likewise.
31214         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31215         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31216         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31217
31218 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31219
31220         [BZ #14132]
31221         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31222         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31223         * intl/dgettext.c (DCGETTEXT): Likewise.
31224         * intl/gettext.c (DCGETTEXT): Likewise.
31225         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31226         * posix/regex_internal.h (gettext): Likewise.
31227         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31228         Remove declaration.
31229         * include/argz.h (__argz_count_internal)
31230         (__argz_stringify_internal): Remove declaration.
31231         (__argz_count, __argz_stringify): Declare hidden proto.
31232         * intl/dcgettext.c: Remove use of INTDEF.
31233         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31234         * string/argz-stringify.c: Likewise.
31235         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31236         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31237         Declare hidden proto.
31238         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31239         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31240         Declare hidden proto.
31241         * include/stdio.h (__asprintf_internal): Don't declare.
31242         (__asprintf): Don't define as macro.  Declare hidden proto.
31243         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31244         (__fsetlocking): Declare hidden proto.
31245         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31246         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31247         hidden proto.
31248         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31249         (_IO_setlinebuf): Remove use of INTUSE.
31250         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31251         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31252         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31253         Remove declaration.
31254         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31255         (_IO_do_flush): Remove use of INTUSE.
31256         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31257         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31258         (_IO_adjust_column, _IO_least_wmarker)
31259         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31260         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31261         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31262         (_IO_default_doallocate, _IO_wdefault_doallocate)
31263         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31264         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31265         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31266         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31267         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31268         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31269         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31270         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31271         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31272         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31273         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31274         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31275         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31276         proto.
31277         (_IO_flush_all_internal, _IO_adjust_column_internal)
31278         (_IO_default_uflow_internal, _IO_default_finish_internal)
31279         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31280         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31281         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31282         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31283         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31284         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31285         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31286         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31287         (_IO_file_close_internal, _IO_file_close_it_internal)
31288         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31289         (_IO_file_init_internal, _IO_file_attach_internal)
31290         (_IO_file_fopen_internal, _IO_file_read_internal)
31291         (_IO_file_sync_internal, _IO_file_seek_internal)
31292         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31293         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31294         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31295         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31296         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31297         (_IO_list_all_internal, _IO_link_in_internal)
31298         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31299         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31300         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31301         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31302         (_IO_do_write_internal, _IO_padn_internal)
31303         (_IO_getline_info_internal, _IO_getline_internal)
31304         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31305         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31306         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31307         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31308         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31309         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31310         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31311         with libc_hidden_ver, remove use of INTUSE.
31312         * libio/genops.c: Likewise.
31313         * libio/freopen.c: Likewise.
31314         * libio/freopen64.c: Likewise.
31315         * libio/iofclose.c: Likewise.
31316         * libio/iofdopen.c: Likewise.
31317         * libio/iofflush.c: Likewise.
31318         * libio/iofflush_u.c: Likewise.
31319         * libio/iofgets.c: Likewise.
31320         * libio/iofgets_u.c: Likewise.
31321         * libio/iofopen.c: Likewise.
31322         * libio/iofopncook.c: Likewise.
31323         * libio/iofread.c: Likewise.
31324         * libio/iofread_u.c: Likewise.
31325         * libio/ioftell.c: Likewise.
31326         * libio/iofwrite.c: Likewise.
31327         * libio/iogetline.c: Likewise.
31328         * libio/iogets.c: Likewise.
31329         * libio/iogetwline.c: Likewise.
31330         * libio/iopadn.c: Likewise.
31331         * libio/iopopen.c: Likewise.
31332         * libio/ioseekoff.c: Likewise.
31333         * libio/ioseekpos.c: Likewise.
31334         * libio/iosetbuffer.c: Likewise.
31335         * libio/iosetvbuf.c: Likewise.
31336         * libio/ioungetc.c: Likewise.
31337         * libio/ioungetwc.c: Likewise.
31338         * libio/iovdprintf.c: Likewise.
31339         * libio/iovsprintf.c: Likewise.
31340         * libio/iovsscanf.c: Likewise.
31341         * libio/memstream.c: Likewise.
31342         * libio/obprintf.c: Likewise.
31343         * libio/oldfileops.c: Likewise.
31344         * libio/oldiofclose.c: Likewise.
31345         * libio/oldiofdopen.c: Likewise.
31346         * libio/oldiofopen.c: Likewise.
31347         * libio/oldiopopen.c: Likewise.
31348         * libio/oldstdfiles.c: Likewise.
31349         * libio/putc.c: Likewise.
31350         * libio/setbuf.c: Likewise.
31351         * libio/setlinebuf.c: Likewise.
31352         * libio/stdfiles.c: Likewise.
31353         * libio/strops.c: Likewise.
31354         * libio/vasprintf.c: Likewise.
31355         * libio/vscanf.c: Likewise.
31356         * libio/vsnprintf.c: Likewise.
31357         * libio/vswprintf.c: Likewise.
31358         * libio/wfiledoalloc.c: Likewise.
31359         * libio/wfileops.c: Likewise.
31360         * libio/wgenops.c: Likewise.
31361         * libio/wmemstream.c: Likewise.
31362         * libio/wstrops.c: Likewise.
31363         * libio/__fpurge.c: Likewise.
31364         * libio/__fsetlocking.c: Likewise.
31365         * assert/assert.c: Likewise.
31366         * debug/fgets_chk.c: Likewise.
31367         * debug/fgets_u_chk.c: Likewise.
31368         * debug/fread_chk.c: Likewise.
31369         * debug/fread_u_chk.c: Likewise.
31370         * debug/gets_chk.c: Likewise.
31371         * debug/obprintf_chk.c: Likewise.
31372         * debug/vasprintf_chk.c: Likewise.
31373         * debug/vdprintf_chk.c: Likewise.
31374         * debug/vsnprintf_chk.c: Likewise.
31375         * debug/vsprintf_chk.c: Likewise.
31376         * malloc/mtrace.c: Likewise.
31377         * misc/error.c: Likewise.
31378         * misc/syslog.c: Likewise.
31379         * stdio-common/asprintf.c: Likewise.
31380         * stdio-common/fxprintf.c: Likewise.
31381         * stdio-common/getw.c: Likewise.
31382         * stdio-common/isoc99_fscanf.c: Likewise.
31383         * stdio-common/isoc99_scanf.c: Likewise.
31384         * stdio-common/isoc99_vfscanf.c: Likewise.
31385         * stdio-common/isoc99_vscanf.c: Likewise.
31386         * stdio-common/isoc99_vsscanf.c: Likewise.
31387         * stdio-common/printf-prs.c: Likewise.
31388         * stdio-common/printf_fp.c: Likewise.
31389         * stdio-common/printf_fphex.c: Likewise.
31390         * stdio-common/printf_size.c: Likewise.
31391         * stdio-common/putw.c: Likewise.
31392         * stdio-common/scanf.c: Likewise.
31393         * stdio-common/sprintf.c: Likewise.
31394         * stdio-common/tmpfile.c: Likewise.
31395         * stdio-common/vfprintf.c: Likewise.
31396         * stdio-common/vfscanf.c: Likewise.
31397         * stdlib/strfmon_l.c: Likewise.
31398         * sunrpc/openchild.c: Likewise.
31399         * sunrpc/xdr_stdio.c: Likewise.
31400         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31401         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31402
31403 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31404
31405         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31406
31407         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31408         in the third column, to generate for the shared library an IFUNC
31409         that uses _dl_vdso_vsym.
31410         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31411         * Makeconfig (object-suffixes-noshared): New variable.
31412
31413         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31414         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31415         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31416         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31417
31418         [BZ #14132]
31419         * include/sys/time.h (__gettimeofday): Remove macro.
31420         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31421         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31422         Remove INTDEF.
31423         (__gettimeofday): Add libc_hidden_def.
31424         (gettimeofday): Add libc_hidden_weak.
31425         * sysdeps/mach/gettimeofday.c: Likewise.
31426         * sysdeps/posix/gettimeofday.c: Likewise.
31427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31428         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31429         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31430         (__gettimeofday_internal): Remove strong_alias.
31431         (__gettimeofday): Add libc_hidden_def.
31432         (gettimeofday): Add libc_hidden_weak.
31433         * sysdeps/unix/syscalls.list (gettimeofday):
31434         Remove __gettimeofday_internal alias.
31435
31436 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31437             H.J. Lu  <hongjiu.lu@intel.com>
31438
31439         [BZ #12495]
31440         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31441         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31442         (largebin_index_32_big): New.
31443         (largebin_index): Use it for 16-byte alignment.
31444         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31445         correction with front_misalign.
31446
31447 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31448
31449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31451         Likewise.
31452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31453         Likewise.
31454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31455         Likewise.
31456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31457         Likewise.
31458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31459         Likewise.
31460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31461         Likewise.
31462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31463         Likewise.
31464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31465         Likewise.
31466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31467         Likewise.
31468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31469         Likewise.
31470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31471         Likewise.
31472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31473         Likewise.
31474
31475         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31476         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31477
31478 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31479
31480         [BZ #10846]
31481         [BZ #14036]
31482         * math/libm-test.inc (exp_test): Add test from bug 14036.
31483         (pow_test): Add test from bug 10846.
31484
31485         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31486         and other flags.
31487         (special_function): Do not include flags in test name.
31488         (parse_args): Likewise.
31489         * sysdeps/i386/fpu/libm-test-ulps: Update.
31490         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31491         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31492         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31494
31495         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31496         exceptions.
31497         * math/libm-test.inc ("Philosophy"): Update comment about
31498         exception testing.
31499         (UNDERFLOW_EXCEPTION): New macro.
31500         (UNDERFLOW_EXCEPTION_OK): Likewise.
31501         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31502         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31503         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31504         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31505         (INVALID_EXCEPTION_OK): Update value.
31506         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31507         (OVERFLOW_EXCEPTION_OK): Likewise.
31508         (IGNORE_ZERO_INF_SIGN): Likewise.
31509         (test_exceptions): Handle underflow exceptions.
31510         (acos_test): Update for underflow exception expectations.
31511         (cexp_test): Likewise.
31512         (clog_test): Likewise.
31513         (clog10_test): Likewise.
31514         (csqrt_test): Likewise.
31515         (ctan_test): Likewise.
31516         (ctanh_test): Likewise.
31517         (exp_test): Likewise.
31518         (exp10_test): Likewise.
31519         (exp2_test): Likewise.
31520         (expm1_test): Likewise.
31521         (fma_test): Likewise.
31522         (j0_test): Likewise.
31523         (jn_test): Likewise.
31524         (nexttoward_test): Likewise.
31525         (pow_test): Likewise.
31526         (scalbn_test): Likewise.
31527         (scalbln_test): Likewise.
31528         (tan_test): Likewise.
31529         (y1_test): Likewise.
31530         * sysdeps/i386/fpu/libm-test-ulps: Update.
31531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532
31533 2012-05-23  David S. Miller  <davem@davemloft.net>
31534
31535         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31536         (__libc_sigaction): Remove unused local variables.
31537
31538 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31539
31540         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31541
31542 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31543
31544         mktime: avoid signed integer overflow
31545         * time/mktime.c (__mktime_internal): Do not mishandle the case
31546         where diff == INT_MIN.
31547
31548         mktime: simplify computation of average
31549         * time/mktime.c (ranged_convert): Use new time_t_avg function
31550         instead of rolling our own (probably-slower) code.
31551
31552         mktime: do not assume signed right shift propagates sign bit
31553         * time/mktime.c (isdst_differ): New static function.
31554         (__mktime_internal): No need to normalize tm_isdst now.
31555         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31556         tm_isdst values.
31557
31558         mktime: merge another wrapv change from gnulib
31559         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31560         from some compilers.
31561
31562         mktime: remove incorrect attempt at unusual arithmetics
31563         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31564         The code didn't really work on such machines anyway.
31565         (TYPE_MINIMUM): Assume two's complement.
31566         (twos_complement_arithmetic): Verify that long_int and time_t
31567         are two's complement (or unsigned, in the latter case).
31568
31569         mktime: check signed shifts on long_int and time_t, too
31570         * time/mktime.c (SHR): Check that shifts work as desired
31571         on the types long_int and time_t too, as SHR is used on
31572         such types.
31573
31574         mktime: do not assume 'long' is wide enough
31575         * time/mktime.c (verify): Move decl up.
31576         (long_int): New type.
31577         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31578         to remove assumption in the code that 'long' is wide enough to
31579         store year values.  This assumption is not true on x32 and on
31580         some non-glibc platforms.
31581
31582         mktime: merge wrapv change from gnulib
31583         * time/mktime.c (WRAPV): New macro.
31584         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31585         (guess_time_tm, __mktime_internal): Do not assume that signed
31586         integer overflow wraps around; modern compilers generate code
31587         where this assumption is no longer valid.
31588
31589 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31590
31591         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31592         Replace "jmp L(pseudo_end)" with "ret".
31593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31594         Likewise.
31595
31596 2012-05-23  Andreas Jaeger  <aj@suse.de>
31597
31598         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31599         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31600
31601 2012-05-23  Andreas Jaeger  <aj@suse.de>
31602             Maximilian Attems  <max@stro.at>
31603
31604         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31605         New macros.
31606
31607 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31608
31609         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31610         code so that pseudo_end is just ret and the stack pointer is
31611         correct also for static library in error case.
31612
31613 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31614
31615         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31616         move to syscalls.list.
31617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31621
31622         * manual/install.texi (Running make install): Do not mention Linux
31623         kernel version for which pt_chown is not needed.
31624         (Linux): Do not mention problems with nscd with 2.0 kernels.
31625         * INSTALL: Regenerated.
31626
31627 2012-05-23  Andreas Jaeger  <aj@suse.de>
31628
31629         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31630         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31631         macro.
31632         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31633         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31634         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31635         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31636         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31637         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31638         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31639         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31640         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31641         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31642         * sysdeps/unix/sysv/linux/bits/in.h
31643         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31644
31645 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31646
31647         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31648         (PREPARE_VERSION): Just use assert instead, it will be elided
31649         under [NDEBUG] anyway.
31650
31651 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31652
31653         * sysdeps/unix/sysv/linux/Makefile: Include
31654         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31655         (sysdep_routines): Remove sysctl.
31656         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31657         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31658         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31659         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31660         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31661
31662 2012-05-22  Andreas Jaeger  <aj@suse.de>
31663
31664         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31665         that pseudo_end is just ret and the stack pointer is correct also
31666         for static library in error case.
31667
31668 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31669
31670         [BZ #14122]
31671         * nss/nsswitch.c (defconfig_entries): New variable.
31672         (__nss_database_lookup): Don't leak defconfig entries.
31673         (nss_parse_service_list): Don't leak on error paths.
31674         (free_database_entries): New function.
31675         (free_defconfig): New function.
31676         (free_mem): Move common code to free_database_entries.
31677
31678 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31679
31680         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31681         Add arch_prctl.
31682         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31683
31684         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31685         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31687         New macro.
31688         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31689         (INTERNAL_SYSCALL_TYPES): Likewise.
31690         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31691         (LOAD_REGS_TYPES_[1-6]): Likewise.
31692         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31693         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31694
31695 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31696
31697         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31698         copysignl for GLIBC_2_0.
31699         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31700         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31702         logbl for GLIBC_2_0.
31703         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31704         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31705
31706 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31707
31708         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31709         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31710
31711         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31712         Use "neg %eax".
31713
31714         * time/mktime.c: Update copyright years.
31715
31716 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31717
31718         mktime: merge comment-quoting-style change from gnulib
31719         * time/mktime.c: Quote 'like this' in comments.
31720         The GNU coding standards suggest that we no longer quote `like this',
31721         as "`" and "'" are typically rendered asymmetrically nowadays.
31722         The typical gnulib style is to quote 'like this' when quoting
31723         code, and "like this" when quoting English.
31724
31725         * time/mktime.c (compile-command): Add "-I.".
31726
31727         mktime: merge mktime-internal.h change from gnulib
31728         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31729
31730         mktime: merge time_r change from gnulib
31731         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31732
31733         mktime: merge DEBUG change from gnulib
31734         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31735         case system <time.h> has a #define.
31736
31737         mktime: merge <sys/types.h> change from gnulib
31738         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31739         since <time.t> is now guaranteed to define time_t.
31740
31741         mktime: merge HAVE_CONFIG_H change from gnulib
31742         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31743
31744 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31745
31746         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31747         Use "neg %eax".
31748
31749         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31750         __rlim_t cast.
31751         (struct rusage): Use anonymous union to pad each field to
31752         __syscall_slong_t.
31753
31754 2012-05-21  David S. Miller  <davem@davemloft.net>
31755
31756         * Makefules (o-iterator): Remove .s cases.
31757         (compile-command.s): Delete.
31758         (COMPILE.s): Delete.
31759         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31760
31761 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31762
31763         * configure.in (libc_cv_predef_stack_protector): Only consider
31764         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31765         * configure: Regenerated.
31766
31767 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31768
31769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31770         New macro.  Use R*LP on int and pointer.
31771         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31772         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31773         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31774         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31775
31776         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31777         [__WORDSIZE_TIME64_COMPAT32] instead of
31778         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31779         (struct utmp): Likewise.
31780         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31781         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31782         Renamed to ...
31783         (__WORDSIZE_TIME64_COMPAT32): This.
31784         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31785         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31786         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31787         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31788         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31789         (__WORDSIZE_TIME64_COMPAT32): New macro.
31790
31791 2012-05-21  Andreas Jaeger  <aj@suse.de>
31792
31793         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31794         only if [SHARED]. Add prototype for __wcschr_ia32.
31795
31796 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31797
31798         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31799         of %rbp unmolested in the jmp_buf while mangling the low bits.
31800         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31801         unmolested high bits of %rbp while demangling the low bits.
31802         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31803
31804 2012-05-21  Andreas Jaeger  <aj@suse.de>
31805
31806         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31807         * sunrpc/svc_simple.c: Use it for registerrpc.
31808         * sunrpc/xcrypt.c: Use it for passwd2des.
31809
31810         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31811
31812 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31813
31814         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31815         Don't define if [__SYSCALL_WORDSIZE != 32].
31816         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31817         New macro.
31818
31819 2012-05-21  Bruno Haible  <bruno@clisp.org>
31820             Andreas Jaeger  <aj@suse.de>
31821
31822         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31823         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31824         inptr and inend for must_buffer_ch.
31825         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31826         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31827         * stdio-common/Makefile (tests): Remove bug15.
31828         (bug15-ENV): Remove macro.
31829         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31830         anymore.
31831
31832 2012-05-19  Andreas Jaeger  <aj@suse.de>
31833             Roland McGrath  <roland@hack.frob.com>
31834
31835         * manual/contrib.texi: Completely rewritten. It contains now an
31836         alphabetical list of contributors and their contributions.
31837
31838 2012-05-21  Richard Henderson  <rth@twiddle.net>
31839
31840         * misc/getauxval.c (__getauxval): Use unsigned long int.
31841         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31842         (getauxval): Use unsigned long int.
31843
31844 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31845
31846         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31847
31848 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31849
31850         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31851         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31852         __alignof__ (long double).
31853
31854 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31855
31856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31857
31858 2012-05-20  Richard Henderson  <rth@twiddle.net>
31859
31860         * misc/getauxval.c: New file.
31861         * misc/sys/auxv.h: New file.
31862         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31863         (routines): Add getauxval.
31864         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31865         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31866         * elf/dl-sysdep.c (_dl_auxv): Remove.
31867         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31868         * elf/dl-support.c (_dl_auxv): New variable.
31869         (_dl_aux_init): Initialize it.
31870         * manual/startup.texi (Auxiliary Vector): New node.
31871         * sysdeps/generic/bits/hwcap.h: New file.
31872         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31873         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31874         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31875         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31876         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31877         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31879         Update.
31880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31883         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31888
31889 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31890
31891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31892
31893 2012-05-19  David S. Miller  <davem@davemloft.net>
31894
31895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31896
31897 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31898
31899         [BZ #14123]
31900         * math/s_ccosh.c: Include <float.h>
31901         (__ccosh): Avoid internal overflow calculating sinh and cosh
31902         values before multiplying by sin and cos values.
31903         * math/s_ccoshf.c: Likewise.
31904         * math/s_ccoshl.c: Likewise.
31905         * math/s_csin.c: Likewise.
31906         * math/s_csinf.c: Likewise.
31907         * math/s_csinl.c: Likewise.
31908         * math/s_csinh.c: Likewise.
31909         * math/s_csinhf.c: Likewise.
31910         * math/s_csinhl.c: Likewise.
31911         * math/libm-test.inc (ccos_test): Add more tests.
31912         (ccosh_test): Likewise.
31913         (csin_test): Likewise.
31914         (csinh_test): Likewise.
31915         * sysdeps/i386/fpu/libm-test-ulps: Update.
31916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31917
31918 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31919
31920         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31921         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31922
31923         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31924
31925 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31926
31927         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31928         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31929         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31930         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31931         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31932         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31933         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31934         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31935         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31936         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31937         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31938         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31939         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31940         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31941         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31942         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31943         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31944         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31945         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31946         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31947         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31948         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31949         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31950         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31951         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31952         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31953         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31954         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31955         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31956         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31957         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31958
31959 2012-05-18  Andreas Jaeger  <aj@suse.de>
31960
31961         * csu/.gitignore: Delete.
31962
31963 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31964
31965         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31966         (timex): Use __syscall_slong_t.
31967
31968 2012-05-18  Andreas Jaeger  <aj@suse.de>
31969             Carlos O'Donell  <carlos_odonell@mentor.com>
31970
31971         * manual/install.texi (Configuring and compiling): Update
31972         description about files modified in the source directory.
31973         * INSTALL: Regenerated.
31974
31975 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31976
31977         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31978         value.  Use "or" to set return value to -1.
31979         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31980         negate return value.
31981
31982 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31983
31984         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31985         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31986         failure if the compiler has Graphite support disabled.
31987         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31988         Likewise.
31989         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31990         (CFLAGS-memmove.c): Likewise.
31991         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31992         Likewise.
31993
31994 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31995
31996         * sysdeps/x86_64/x32/_itoa.h: New file.
31997
31998         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31999         getdents system call only if kernel and user dirents have the
32000         same d_ino and d_off.
32001
32002         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32003         LLONG_MAX != LONG_MAX.
32004         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32005         (_fitoa_word): Likewise.
32006
32007         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32008         years.
32009         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32010         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32011         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32012
32013         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32014         include <bits/wordsize.h>.  Check __x86_64__ instead of
32015         __WORDSIZE.
32016         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32017         if __x86_64__ is defined.  Use anonymous union on fpstate.
32018
32019         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32020         anonymous union.
32021
32022 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32023
32024         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32025         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32026         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32027         Refer to _rtld_local_ro instead of _rtld_global_ro.
32028         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32029         Likewise.
32030         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32031         Likewise.
32032         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32033         Likewise.
32034         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32035         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32036         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32037
32038         * sysdeps/powerpc/powerpc32/dl-machine.c
32039         (__elf_machine_runtime_setup) [PROF]: Don't reference
32040         _dl_prof_resolve.
32041
32042 2012-05-18  Andreas Jaeger  <aj@suse.de>
32043
32044         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32045         function only available for GCCs before 3.4 since GCC 3.4
32046         introduced a builtin.
32047         (lrint): Likewise.
32048         (llrintf): Likewise.
32049         (llrint): Likewise.
32050         (fmaxf): Likewise.
32051         (fmax): Likewise.
32052         (fminf): Likewise.
32053         (fmin): Likewise.
32054         (rint): Likewise.
32055         (rintf): Likewise.
32056         (nearbyint): Likewise.
32057         (nearbyintf): Likewise.
32058         (ceil): Likewise.
32059         (ceilf): Likewise.
32060         (floor): Likewise.
32061         (floorf): Likewise.
32062
32063 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32064
32065         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32066         on both fields and cast pointer to __syscall_ulong_t.
32067
32068         * bits/types.h (__fsword_t): New type.
32069         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32070         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32072         (__FSWORD_T_TYPE): Likewise.
32073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32074         (__FSWORD_T_TYPE): Likewise.
32075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32076         (__FSWORD_T_TYPE): Likewise.
32077         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32078         (__FSWORD_T_TYPE): Likewise.
32079         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32080         __SWORD_TYPE with __fsword_t.
32081         (statfs64): Likewise.
32082
32083 2012-05-17  David S. Miller  <davem@davemloft.net>
32084
32085         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32086
32087 2012-05-17  Andreas Jaeger  <aj@suse.de>
32088
32089         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32090         warning.
32091
32092 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32093
32094         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32095
32096 2012-05-17  Andreas Jaeger  <aj@suse.de>
32097
32098         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32099         when it is used.
32100
32101 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32102
32103         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32104
32105 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32106
32107         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32108         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32109
32110 2012-05-17  Andreas Jaeger  <aj@suse.de>
32111             Carlos O'Donell  <carlos_odonell@mentor.com>
32112
32113         [BZ #14059]
32114         * sysdeps/x86_64/multiarch/init-arch.h
32115         (bit_YMM_Usable): Rename to...
32116         (bit_AVX_Usable): ... this.
32117         (bit_FMA4_Usable): New macro.
32118         (bit_XMM_state): New macro.
32119         (bit_YMM_state): New macro.
32120         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32121         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32122         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32123         (CPUID_OSXSAVE): New macro.
32124         (CPUID_AVX): New macro.
32125         (CPUID_FMA4): New macro.
32126         (index_YMM_Usable): Rename to...
32127         (index_AVX_Usable): ... this.
32128         (HAS_AVX): Use HAS_ARCH_FEATURE.
32129         (HAS_FMA4): Likewise.
32130         (HAS_YMM_USABLE): Remove.
32131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32132         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32133         are present.
32134         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32135         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32136         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32137         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32138         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32139
32140 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32141
32142         * math/libm-test.c: Support platforms without multiple rounding modes.
32143         * math/bug-nextafter.c: Support platforms without FP exceptions.
32144         * math/bug-nexttoward.c: Likewise.
32145         * math/test-fenv.c: Likewise.
32146         * math/test-misc.c: Likewise.
32147         * stdlib/bug-getcontext.c: Likewise.
32148
32149 2012-05-17  Andreas Jaeger  <aj@suse.de>
32150
32151         * manual/examples/search.c (critter_cmp): Change signature to
32152         avoid warnings.
32153         * manual/string.texi (Collation Functions): Likewise.
32154
32155 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32156
32157         * bits/types.h: Fold copyright years.
32158         * bits/typesizes.h: Likewise.
32159         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32161         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32163         * time/time.h: Likewise.
32164
32165 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32166
32167         [BZ #208]
32168         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32169         in instead of returning them.  Return void.
32170         (__libc_mallinfo): Accumulate over all arenas.
32171         (__malloc_stats): Adjust for change in int_mallinfo interface.
32172
32173 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32174
32175         [BZ #10375]
32176         * configure.in (NM): Add AC_CHECK_TOOL for it.
32177         (libc_extra_cflags): New substituted variable.
32178         Check for -fstack-protector being used implicitly.
32179         * configure: Regenerated.
32180         * config.make.in (config-extra-cflags): New variable,
32181         gets @libc_extra_cflags@.
32182         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32183
32184         [BZ #10375]
32185         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32186         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32187         * configure: Regenerated.
32188         * config.make.in (CPPUNDEFS): New substituted variable.
32189         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32190         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32191         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32192
32193 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32194
32195         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32196         (mq_attr): Use __syscall_slong_t.
32197
32198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32199
32200         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32201         Check __x86_64__ instead of __WORDSIZE.
32202         (_STAT_VER_LINUX): Likewise.
32203         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32204         __syscall_ulong_t and __syscall_slong_t.
32205         (stat64): Likewise.
32206
32207 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32208
32209         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32210
32211 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32212
32213         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32214
32215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32216
32217         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32218         __syscall_ulong_t.
32219
32220         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32221         include <bits/wordsize.h>.  Check __x86_64__ instead of
32222         __WORDSIZE.
32223         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32224         defined.
32225         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32226
32227         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32228         include <bits/wordsize.h>.  Check __x86_64__ instead of
32229         __WORDSIZE.
32230         (user_regs_struct): Use "__extension__ unsigned long long"
32231         instead of "unsigned long" if __x86_64__ is defined.
32232         (user): Likewise.  Pad after pointer field if __ILP32__ is
32233         defined.
32234
32235 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32236
32237         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32238         versions 5 to 9.
32239         * configure: Regenerated.
32240         * manual/install.texi (texinfo): Increase version requirement to
32241         4.5 or later.
32242         * INSTALL: Regenerated.
32243
32244         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32245
32246 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32247
32248         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32249
32250         * sysdeps/x86_64/x32/ffs.c: New file.
32251
32252         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32253         __syscall_ulong_t.
32254         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32255         defined.  Use __syscall_ulong_t.
32256         (shminfo): Use __syscall_ulong_t.
32257         (shm_info): Likewise.
32258
32259         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32260         __syscall_ulong_t.
32261
32262         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32263         <bits/wordsize.h>.
32264         (msgqnum_t): Use __syscall_ulong_t.
32265         (msglen_t): Likewise.
32266         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32267         __syscall_ulong_t.
32268
32269         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32270         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32271
32272         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32273
32274         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32275         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32276
32277         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32278         __syscall_slong_t.
32279
32280         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32281         include <bits/wordsize.h>.  Check __x86_64__ instead of
32282         __WORDSIZE.
32283
32284         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32285         "unsigned long long int" if __x86_64__ is defined.
32286         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32287
32288         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32289         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32290         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32291
32292         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32293         <stdint.h>.
32294         (GET_PC): Cast to uintptr_t first.
32295         (GET_FRAME): Likewise.
32296         (GET_STACK): Likewise.
32297
32298         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32299         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32300         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32301         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32302         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32303         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32304         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32305         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32306         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32307         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32308         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32309         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32310         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32311         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32312         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32313         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32314         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32315         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32316         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32317         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32318         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32319         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32320         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32321         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32322         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32323         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32324         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32325         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32326         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32327
32328 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32329
32330         * Makerules (+depfiles): Also collect depfiles from .oS in
32331         $(extra-objs).
32332         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32333         .oS, $(libnldbl-routines)).
32334
32335         * Makerules (native-compile-mkdep-flags): Define.
32336         * sunrpc/Makefile (extra-objs): Add $(addprefix
32337         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32338         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32339         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32340         calling $(make-target-directory).
32341
32342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32343
32344         * bits/types.h (__snseconds_t): Removed.
32345         * time/time.h (struct timespec): Replace __snseconds_t with
32346         __syscall_slong_t.
32347         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32348         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32349         Likewise.
32350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32351         (__SNSECONDS_T_TYPE): Likewise.
32352         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32353         (__SNSECONDS_T_TYPE): Likewise.
32354         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32355         (__SNSECONDS_T_TYPE): Likewise.
32356
32357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32358
32359         * sysdeps/mach/hurd/bits/typesizes.h
32360         (__SYSCALL_SLONG_TYPE): New macro.
32361         (__SYSCALL_ULONG_TYPE): Likewise.
32362
32363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32364
32365         * bits/types.h (__syscall_slong_t): New type.
32366         (__syscall_ulong_t): Likewise.
32367
32368         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32369         (__SYSCALL_ULONG_TYPE): Likewise.
32370         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32371         (__SYSCALL_SLONG_TYPE): Likewise.
32372         (__SYSCALL_ULONG_TYPE): Likewise.
32373         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32374         (__SYSCALL_SLONG_TYPE): Likewise.
32375         (__SYSCALL_ULONG_TYPE): Likewise.
32376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32377         (__SYSCALL_SLONG_TYPE): Likewise.
32378         (__SYSCALL_ULONG_TYPE): Likewise.
32379
32380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32381
32382         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32383         Add sigaltstack-offsets.sym.
32384         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32385         <sigaltstack-offsets.h>.
32386         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32387         longjmp_msg pointer.
32388         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32389         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32390         signal stack.
32391         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32392
32393 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32394
32395         * elf/stackguard-macros.h: Remove file.
32396         * sysdeps/generic/stackguard-macros.h: New file.
32397         * sysdeps/i386/stackguard-macros.h: Likewise.
32398         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32399         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32400         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32401         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32402         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32403         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32404         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32405         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32406         <elf/stackguard-macros.h>.
32407
32408         [BZ #14109]
32409         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32410         __aligned__ in attribute.
32411         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32412         (gregset_t): Likewise.
32413
32414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32415
32416         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32417         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32418         * sysdeps/x86_64/x32/Implies-after: New file.
32419
32420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32421
32422         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32423         and access return value for _dl_profile_fixup.  Use R10_LP to
32424         load frame size.
32425
32426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32427
32428         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32429
32430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32431
32432         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32433         * sysdeps/x86_64/x32/sysdep.h: New file.
32434
32435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32436
32437         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32438         * sysdeps/x86_64/setjmp.S: Likewise.
32439
32440 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32441
32442         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32443         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32444         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32445         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32446         remove unused global constant.
32447
32448 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32449
32450         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32451         include of <not-cancel.h>.
32452
32453 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32454
32455         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32456
32457 2012-05-15  Jeff Law  <law@redhat.com>
32458             Andreas Jaeger  <aj@suse.de>
32459
32460         [BZ #13594]
32461         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32462         out from...
32463         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32464         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32465         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32466         code changing __hst_map_handle.map.
32467
32468 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32469
32470         * configure.in (sysnames): Look for Implies-before and Implies-after
32471         files.
32472         * configure: Regenerated.
32473
32474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32475
32476         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32477         8-byte data alignment with LP_SIZE alignment.
32478
32479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32480
32481         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32482         into R10_LP.
32483
32484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32485
32486         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32487
32488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32489
32490         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32491         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32492         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32493         Likewise.
32494         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32495
32496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32497
32498         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32499         (stackinfo_sub_sp): Likewise.
32500
32501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32502
32503         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32504         RAX_LP.
32505
32506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32507
32508         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32509         into R*_LP.
32510
32511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32512
32513         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32514         sizes into R*_LP.
32515
32516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32517
32518         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32519
32520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32521
32522         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32523         into R11_LP and load __x86_64_shared_cache_size_half into
32524         R8_LP.
32525
32526 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32527
32528         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32529         R8_LP.
32530
32531 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32532
32533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32534         logb for POWER7.
32535         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32536         logbf for POWER7.
32537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32538         logbl for POWER7.
32539         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32540         powerpc32/power7/fpu/s_logb.c via #include.
32541         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32542         powerpc32/power7/fpu/s_logbf.c via #include.
32543         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32544         powerpc32/power7/fpu/s_logbl.c via #include.
32545
32546 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32547
32548         * README.libm: Remove file.
32549
32550 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32551
32552         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32553         count for x32.  Use R*_LP and omit operand-size suffix.
32554
32555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32556
32557         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32558         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32559         * sysdeps/x86_64/x32/shlib-versions: New file.
32560
32561 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32562
32563         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32564         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32565         Use _dl_fatal_printf instead.
32566
32567 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32568
32569         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32570         set if not set by the user.  Do not allow for being unset.
32571         * sysdeps/unix/sysv/linux/configure: Regenerated.
32572
32573 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32574
32575         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32576         the `q' suffix from lea and replace .quad with ASM_ADDR.
32577
32578 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32579
32580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32581         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32582         instead of $17.
32583         (PTR_DEMANGLE): Likewise.
32584
32585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32586
32587         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32588         (LP_OP): Likewise.
32589         (ASM_ADDR): Likewise.
32590         (RAX_LP): Likewise.
32591         (RBP_LP): Likewise.
32592         (RBX_LP): Likewise.
32593         (RCX_LP): Likewise.
32594         (RDI_LP): Likewise.
32595         (RSI_LP): Likewise.
32596         (RSP_LP): Likewise.
32597         (R8_LP): Likewise.
32598         (R9_LP): Likewise.
32599         (R10_LP): Likewise.
32600         (R10_LP): Likewise.
32601         (R11_LP): Likewise.
32602         (R12_LP): Likewise.
32603         (R13_LP): Likewise.
32604         (R14_LP): Likewise.
32605         (R15_LP): Likewise.
32606
32607 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32608
32609         * sysdeps/x86_64/x32/dl-machine.h: New file.
32610
32611 2012-05-14  Andreas Jaeger  <aj@suse.de>
32612
32613         * manual/Makefile (subdir): Remove export of subdir.
32614         (all): Remove target.
32615         (.PHONY): Remove all from list.
32616         (mkinstalldirs): Remove.
32617         (.PHONY): Remove installdirs from list.
32618         ($(inst_infodir)/libc.info): Use make-target-directory.
32619         (installdirs): Remove.
32620         (subdir_%): Remove.
32621         (glibc-targets): Remove.
32622         (lib): Remove.
32623         (stubs): Remove.
32624         ($(objpfx)stubs ../po/manual.pot): Remove.
32625         ($(objpfx)stamp%): Remove.
32626         (make-target-directory): Remove.
32627         (subdir_install): Remove.
32628         (routines): Remove.
32629         (aux): Remove.
32630         (sources): Remove.
32631         (objects): Remove.
32632         (headers): Remove.
32633
32634         [BZ #13750]
32635         * manual/.gitignore: Remove, it's not needed anymore.
32636         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32637         all files in it.
32638         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32639         directory.
32640         (texis): Renamed to $(objpfx)texis.
32641         (texis-path): New, contains path to generated files.
32642         (chapters.%): Use texis-path for complete path, add extra argument
32643         libc-texinfo.sh.
32644         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32645         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32646         (summary,texi, stamp-summary): Use complete path of
32647         files. Generate files in build dir.
32648         (dir-add.texi): Build in build dir.
32649         (libm-err.texi,stamp-libm-err): Likewise.
32650         (version.texi, stamp-version): Likewise.
32651         (.%c.texi): Likewise.
32652         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32653         (mostlyclean): Remove target.
32654         (realclean): Remove target.
32655         (generated): Add new variable with contents from mostlyclean and
32656         realclean, remove entries duplicated in common-mostlyclean, add
32657         stamp-libm-err and stamp-version.
32658         (generated-dirs): Add libc directory.
32659         ($(inst_infodir)/libc.info): Install files from build dir.
32660
32661         * manual/install.texi (Configuring and compiling): Adjust since
32662         the info files are not part of the tar ball anymore.
32663
32664 2012-05-14  Andreas Jaeger  <aj@suse.de>
32665
32666         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32667         variable.
32668
32669 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32670
32671         [BZ #13717]
32672         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32673         to 2.2.0 where earlier.
32674         * sysdeps/unix/sysv/linux/configure: Regenerated.
32675         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32676         Remove conditional code.
32677         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32678         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32679         Remove conditional code.
32680         [!__NR_lchown]: Likewise.
32681         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32682         [__NR_lchown]: Likewise.
32683         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32684         comment referencing __ASSUME_LCHOWN_SYSCALL.
32685         * sysdeps/unix/sysv/linux/i386/sigaction.c
32686         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32687         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32688         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32689         Remove conditional code.
32690         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32691         (__protocol_available): Remove #if 0 code.
32692         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32693         conditional code.
32694         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32695         * sysdeps/unix/sysv/linux/kernel-features.h
32696         (__ASSUME_GETCWD_SYSCALL): Don't define.
32697         (__ASSUME_REALTIME_SIGNALS): Likewise.
32698         (__ASSUME_PREAD_SYSCALL): Likewise.
32699         (__ASSUME_PWRITE_SYSCALL): Likewise.
32700         (__ASSUME_POLL_SYSCALL): Likewise.
32701         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32702         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32703         non-SPARC.
32704         (__ASSUME_SIOCGIFNAME): Don't define.
32705         (__ASSUME_MSG_NOSIGNAL): Likewise.
32706         (__ASSUME_SENDFILE): Define unconditionally.
32707         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32708         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32709         conditional code.
32710         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32711         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32712         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32713         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32714         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32715         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32716         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32718         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32721         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32724         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32727         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32730         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32731         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32733         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32736         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32737         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32739         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32741         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32742         Remove conditional code.
32743         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32744         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32745         Remove conditional code.
32746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32747         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32748         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32750         Remove conditional code.
32751         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32752         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32753         Remove conditional code.
32754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32755         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32756         Remove conditional code.
32757         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32758         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32759         Remove conditional code.
32760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32761         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32762         Remove conditional code.
32763         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32764         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32765         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32766         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32767         * sysdeps/unix/sysv/linux/sigaction.c
32768         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32769         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32770         * sysdeps/unix/sysv/linux/sigpending.c
32771         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32772         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32773         * sysdeps/unix/sysv/linux/sigprocmask.c
32774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32776         * sysdeps/unix/sysv/linux/sigsuspend.c
32777         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32778         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32779         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32780         (__libc_missing_rt_sigs): Remove.
32781         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32782         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32783         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32784         Remove conditional code.
32785         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32786         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32787         return 1.
32788         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32789         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32790         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32791         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32792
32793 2012-05-14  Andreas Jaeger  <aj@suse.de>
32794
32795         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32796         it's not used in glibc.
32797         (__coshm1): Likewise.
32798         (__acosh1p): Likewise.
32799         (__sgn): Likewise.
32800
32801         * manual/string.texi (Copying and Concatenation): Add missing
32802         variable in concat example.
32803         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32804
32805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32806
32807         [BZ #14103]
32808         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32809         __builtin_clzl with __builtin_clzll.
32810
32811 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32812
32813         [BZ #14104]
32814         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32815         libc_freeres_ptr.
32816
32817 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32818
32819         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32820         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32821         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32822         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32823
32824 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32825
32826         * NEWS: Update ia64 info.
32827
32828 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32829
32830         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32831         used as bcopy.
32832
32833 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32834
32835         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32836         * sysdeps/unix/syscalls.list (dup3): Likewise.
32837         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32838         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32839
32840 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32841
32842         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32843         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32844
32845 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32846
32847         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32848         thread pointer.
32849         (TLS_IE): Use mov/add instead of movq/addq to load thread
32850         pointer.
32851         (TLS_GD_PREFIX): New.
32852         (TLS_GD): Use it.
32853
32854 2012-05-11  David S. Miller  <davem@davemloft.net>
32855
32856         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32857         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32858         (_FPU_SETCW): Likewise.
32859
32860 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32861
32862         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32863         is 32-byte aligned.
32864
32865 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32866
32867         [BZ #11837]
32868         * iconvdata/gb18030.c: Update tables.
32869         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32870         characters specially.
32871         (BODY for TO_LOOP): Add encoding of missing ranges.
32872
32873 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32874
32875         [BZ #13673]
32876         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32877         * sysdeps/mach/hurd/dup3.c: Likewise.
32878         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32879         * sysdeps/powerpc/memmove.c:: Likewise.
32880
32881 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32882
32883         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32884         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32885
32886 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32887
32888         * elf/elf.h (R_X86_64_RELATIVE64): New.
32889         (R_X86_64_NUM): Updated.
32890         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32891         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32892         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32893         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32894         tst-quad1pie tst-quad2pie
32895         (modules-names): Add tst-quadmod1 tst-quadmod2.
32896         ($(objpfx)tst-quad1): New dependency.
32897         ($(objpfx)tst-quad2): Likewise.
32898         ($(objpfx)tst-quad1pie): Likewise.
32899         ($(objpfx)tst-quad2pie): Likewise.
32900         * sysdeps/x86_64/tst-quad1.c: New file.
32901         * sysdeps/x86_64/tst-quad1pie.c: New file.
32902         * sysdeps/x86_64/tst-quad2.c: Likewise.
32903         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32904         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32905         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32906         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32907         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32908
32909 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32910
32911         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32912         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32913         * streams/stropts.h (t_scalar_t): Define type.
32914
32915         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32916         (_PATH_PRESERVE): Set to "/var/lib".
32917         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32918
32919         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32920         instead of int.
32921
32922         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32923         if __dir_mkfile succeeded.
32924
32925         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32926         checking for _hurd_dtablesize.  Unlock it right after having
32927         finished _hurd_dtable allocation.
32928
32929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32930
32931         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32932         * sysdeps/mach/hurd/configure: Regenerated.
32933         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32934         special-casing to...
32935         * sysdeps/gnu/configure.in: ... this new file.
32936         * sysdeps/unix/sysv/linux/configure: Regenerated.
32937         * sysdeps/gnu/configure: New generated file.
32938
32939         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32940         for Linux: use nsec instead of usec, as well as:
32941         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32942         members of type struct timespec.
32943         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32944         New macros.
32945         (struct stat64): Likewise.
32946         (_STATBUF_ST_NSEC): New macro.
32947         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32948
32949         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32950         __strtoul_internal rather than strtoul.
32951
32952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32953
32954         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32955         and reject them.
32956
32957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32958
32959         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32960         which preserves existing values.
32961         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32962
32963 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32964
32965         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32966         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32967         greater than FD_SETSIZE.
32968
32969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32970
32971         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32972         allocated, call __vm_protect to finish enabling the existing space, and
32973         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32974         allocate the remainder.
32975
32976 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32977
32978         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32979         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32980
32981 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32982
32983         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32984         sysdeps/mach/hurd/readlink.c.
32985
32986         * posix/tst-sysconf.c (posix_options): Only use
32987         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32988         _POSIX_SYNCHRONIZED_IO when they are defined
32989         * sysdeps/mach/hurd/bits/posix_opt.h:
32990         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32991         (_XOPEN_REALTIME): Undefine macro.
32992         (_XOPEN_REALTIME_THREADS): Undefine macro.
32993         (_XOPEN_SHM): Undefine macro.
32994         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32995         macro to -1.
32996         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32997         macro to -1.
32998         (_POSIX_ASYNC_IO): Undefine macro.
32999         (_POSIX_PRIORITIZED_IO): Undefine macro.
33000         (_POSIX_SPIN_LOCKS): Define macro to -1.
33001
33002         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33003         SA_NODEFER, SA_RESETHAND.
33004         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33005         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33006         F_DUPFD_CLOEXEC.
33007
33008 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33009
33010         * elf/Makefile (pldd-modules): Define unconditionally.
33011
33012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33013
33014         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33015
33016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33017
33018         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33019         Return ENOENT when name is empty.
33020         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33021
33022 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33023
33024         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33025
33026         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33027
33028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33029
33030         Fix mlock in all cases except non-readable pages.
33031         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33032         instead of VM_PROT_ALL as parameter to __vm_wire function.
33033
33034         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33035         (__mkdir): When path is `/', just fail with EEXIST.
33036         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33037
33038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33039
33040         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33041         <sys/uio.h> (for writev).
33042         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33043         and <sys/param.h> (for MIN).
33044
33045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33046
33047         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33048         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33049         if interrupted.
33050
33051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33052
33053         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33054         Depend on against $(link-rpcuserlibs).
33055
33056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33057
33058         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33059         (__libc_stack_end): Do not use attribute_relro.
33060         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33061         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33062         to libthread-provided value.
33063         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33064         attribute_relro.
33065
33066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33067
33068         [BZ #3748]
33069         * bits/libc-lock.h (__libc_once_get): New macro.
33070         * sysdeps/mach/bits/libc-lock.h: Likewise.
33071         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33072         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33073         instead of using implementation details.
33074
33075         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33076         * libio/freopen.c: Likewise.
33077         * libio/freopen64.c: Likewise.
33078         * misc/syslog.c: Likewise.
33079         * nscd/connections.c: Likewise.
33080         * nscd/netgroupcache.c: Likewise.
33081         * sysdeps/posix/getcwd.c: Likewise.
33082
33083 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33084
33085         * math/w_ilogbf.c: Add #include <limits.h>.
33086
33087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33088
33089         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33090         path instead of returning without unlocking.
33091
33092         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33093         immediate-write ioctls.
33094         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33095
33096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33097
33098         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33099         __builtin_frame_address instead of making assumptions about the
33100         location of the return address relative to DATA.  Force early load of
33101         the return address.
33102         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33103         __builtin_frame_address.
33104
33105         dup3 for GNU Hurd.
33106         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33107         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33108         implement dup3 and do some further code clean-ups.
33109         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33110         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33111
33112 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33113
33114         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33115
33116         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33117         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33118         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33119         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33120         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33121         d->port.lock.
33122
33123         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33124         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33125         when handler == SIG_ERR, not when handler != SIG_ERR.
33126
33127 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33128
33129         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33130         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33131         definitions.
33132
33133         accept4 for GNU Hurd.
33134         * include/sys/socket.h (__libc_accept4): New prototype.
33135         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33136         to implement __libc_accept4.
33137         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33138         __libc_accept4.
33139         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33140
33141         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33142         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33143         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33144         signal-defines.sym.
33145
33146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33147
33148         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33149
33150 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33151
33152         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33153         assertion on O_CLOEXEC flag.
33154         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33155         * hurd/intern-fd.c: Likewise.
33156         * hurd/port2fd.c: Likewise.
33157
33158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33159
33160         [BZ #3906]
33161         * bits/in.h (IPV6_PKTINFO): Define new macro.
33162         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33163
33164 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33165
33166         [BZ #13954]
33167         [BZ #13955]
33168         [BZ #13956]
33169         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33171         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33172         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33173         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33174         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33175         * math/libm-test.inc (logb_test) : Additional logb tests.
33176
33177 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33178             Andreas Jaeger  <aj@suse.de>
33179
33180         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33181         * configure: Regenerated.
33182         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33183         * config.make.in (link-obsolete-rpc): New substituted variable.
33184         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33185         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33186         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33187         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33188         so that libc.a contains the symbols.
33189         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33190         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33191         * sunrpc/auth_none.c: Likewise.
33192         * sunrpc/auth_unix.c: Likewise.
33193         * sunrpc/authdes_prot.c: Likewise.
33194         * sunrpc/authuxprot.c: Likewise.
33195         * sunrpc/clnt_gen.c: Likewise.
33196         * sunrpc/clnt_perr.c: Likewise.
33197         * sunrpc/clnt_raw.c: Likewise.
33198         * sunrpc/clnt_simp.c: Likewise.
33199         * sunrpc/clnt_tcp.c: Likewise.
33200         * sunrpc/clnt_udp.c: Likewise.
33201         * sunrpc/clnt_unix.c: Likewise.
33202         * sunrpc/des_crypt.c: Likewise.
33203         * sunrpc/des_soft.c: Likewise.
33204         * sunrpc/get_myaddr.c: Likewise.
33205         * sunrpc/key_call.c: Likewise.
33206         * sunrpc/key_prot.c: Likewise.
33207         * sunrpc/netname.c: Likewise.
33208         * sunrpc/pm_getmaps.c: Likewise.
33209         * sunrpc/pm_getport.c: Likewise.
33210         * sunrpc/pmap_clnt.c: Likewise.
33211         * sunrpc/pmap_prot.c: Likewise.
33212         * sunrpc/pmap_prot2.c: Likewise.
33213         * sunrpc/pmap_rmt.c: Likewise.
33214         * sunrpc/publickey.c: Likewise.
33215         * sunrpc/rpc_cmsg.c: Likewise.
33216         * sunrpc/rpc_common.c: Likewise.
33217         * sunrpc/rpc_dtable.c: Likewise.
33218         * sunrpc/rpc_prot.c: Likewise.
33219         * sunrpc/rpc_thread.c: Likewise.
33220         * sunrpc/rtime.c: Likewise.
33221         * sunrpc/svc.c: Likewise.
33222         * sunrpc/svc_auth.c: Likewise.
33223         * sunrpc/svc_raw.c: Likewise.
33224         * sunrpc/svc_run.c: Likewise.
33225         * sunrpc/svc_tcp.c: Likewise.
33226         * sunrpc/svc_udp.c: Likewise.
33227         * sunrpc/svc_unix.c: Likewise.
33228         * sunrpc/svcauth_des.c: Likewise.
33229         * sunrpc/xcrypt.c: Likewise.
33230         * sunrpc/xdr.c: Likewise.
33231         * sunrpc/xdr_array.c: Likewise.
33232         * sunrpc/xdr_float.c: Likewise.
33233         * sunrpc/xdr_intXX_t.c: Likewise.
33234         * sunrpc/xdr_mem.c: Likewise.
33235         * sunrpc/xdr_rec.c: Likewise.
33236         * sunrpc/xdr_ref.c: Likewise.
33237         * sunrpc/xdr_sizeof.c: Likewise.
33238         * sunrpc/xdr_stdio.c: Likewise.
33239
33240 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33241
33242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33243         change.  Update copyright years.
33244
33245 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33246
33247         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33248
33249 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33250             Joseph Myers  <joseph@codesourcery.com>
33251             Paul Pluzhnikov  <ppluzhnikov@google.com>
33252
33253         [BZ #14012]
33254         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33255         requiring rpcgen.
33256         [cross-compiling] (extra-libs): Likewise.
33257         [cross-compiling] (extra-libs-others): Likewise.
33258         [cross-compiling] (librpcsvc-routines): Likewise.
33259         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33260         [cross-compiling] (omit-deps): Likewise.
33261         (sunrpc-CPPFLAGS): New variable.
33262         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33263         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33264         (cross-rpcgen-objs): New variable.
33265         (extra-objs): Append $(cross-rpcgen-objs).
33266         ($(cross-rpcgen-objs)): New rule.
33267         ($(objpfx)cross-rpcgen): Likewise.
33268         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33269         comment.
33270         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33271         ($(objpfx)x%.stmp): Likewise.
33272         * sunrpc/proto.h [IS_IN_build] (_): Define.
33273         [IS_IN_build] (_libc_intl_domainname): Likewise.
33274
33275 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33276
33277         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33278         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33279         and R_X86_64_TPOFF64.
33280
33281 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33282
33283         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33284         sysdeps/unix/sysv/syscalls.list.
33285         (stime): Likewise.
33286         (utime): Likewise.
33287         * sysdeps/unix/sysv/syscalls.list: Remove file.
33288
33289 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33290
33291         [BZ #3440]
33292         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33293         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33294         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33295         (__LC_IDENTIFICATION): Make these macros useful in #if
33296         expressions, as required by C99.
33297
33298 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33299
33300         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33301         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33302         after this.
33303
33304 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33305
33306         * stdlib/longlong.h: Updated from GCC.
33307
33308 2012-05-09  Andreas Jaeger  <aj@suse.de>
33309
33310         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33311         default is first entry.
33312         (run_mode): Set type.
33313         (main): Remove informal message about syslog.
33314         (options): Fix typo.
33315
33316         [BZ #14053]
33317         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33318         to asm.
33319         (lrint): Likewise.
33320         (llrintf): Likewise.
33321         (llrint): Likewise.
33322         (rint): Likewise.
33323         (rintf): Likewise.
33324         (nearbyint): Likewise.
33325         (nearbyintf): Likewise.
33326
33327 2012-05-09  Andreas Jaeger  <aj@suse.de>
33328             Pedro Alves  <palves@redhat.com>
33329
33330         * nscd/nscd.c (run_mode): Use enum.
33331         (main): Cleanup coding style issue.
33332
33333 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33334             Andreas Jaeger  <aj@suse.de>
33335
33336         * nscd/nscd.c (go_background): Replaced with...
33337         (run_mode): ... this.
33338         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33339         (options): Add -F --foreground.
33340         (main): Implement it.
33341         (parse_opt): Parse it.
33342
33343 2012-05-09  Andreas Jaeger  <aj@suse.de>
33344
33345         [BZ #14083]
33346         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33347         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33348         -Wconversion warning.
33349         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33350         Likewise.
33351
33352 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33353
33354         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33355         == 0.
33356         (LC_ALL): Use macro-int-constant.
33357         (LC_COLLATE): Likewise.
33358         (LC_CTYPE): Likewise.
33359         (LC_MESSAGES): Likewise.
33360         (LC_MONETARY): Likewise.
33361         (LC_NUMERIC): Likewise.
33362         (LC_TIME): Likewise.
33363         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33364         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33366         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33367         Specify type.
33368         [C99-based standards] (float_t): Expect type.
33369         [C99-based standards] (double_t): Expect type.
33370         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33371         type.
33372         [C99-based standards] (HUGE_VALL): Likewise.
33373         [C99-based standards] (INFINITY): Likewise.
33374         [C99-based standards] (NAN): Likewise.
33375         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33376         [C99-based standards] (FP_NAN): Likewise.
33377         [C99-based standards] (FP_NORMAL): Likewise.
33378         [C99-based standards] (FP_SUBNORMAL): Likewise.
33379         [C99-based standards] (FP_ZERO): Likewise.
33380         [C99-based standards] (FP_FAST_FMA): Use
33381         optional-macro-int-constant.  Specify type.  Require == 1.
33382         [C99-based standards] (FP_FAST_FMAF): Likewise.
33383         [C99-based standards] (FP_FAST_FMAL): Likewise.
33384         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33385         [C99-based standards] (FP_ILOGBNAN): Likewise.
33386         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33387         Specify type.
33388         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33389         [C99-based standards] (math_errhandling): Specify type.
33390         [ISO99 || ISO11] (signgam): Do not allow.
33391         [non-C99-based standards] (copysignf): Do not allow.
33392         [non-C99-based standards] (exp2f): Likewise.
33393         [non-C99-based standards] (log2f): Likewise.
33394         [non-C99-based standards] (modff): Allow.
33395         [non-C99-based standards] (erff): Do not allow.
33396         [non-C99-based standards] (erfcf): Likewise.
33397         [non-C99-based standards] (gammaf): Likewise.
33398         [non-C99-based standards] (hypotf): Likewise.
33399         [non-C99-based standards] (j0f): Likewise.
33400         [non-C99-based standards] (j1f): Likewise.
33401         [non-C99-based standards] (jnf): Likewise.
33402         [non-C99-based standards] (lgammaf): Likewise.
33403         [non-C99-based standards] (tgammaf): Likewise.
33404         [non-C99-based standards] (y0f): Likewise.
33405         [non-C99-based standards] (y1f): Likewise.
33406         [non-C99-based standards] (ynf): Likewise.
33407         [non-C99-based standards] (isnanf): Likewise.
33408         [non-C99-based standards] (acoshf): Likewise.
33409         [non-C99-based standards] (asinhf): Likewise.
33410         [non-C99-based standards] (atanhf): Likewise.
33411         [non-C99-based standards] (cbrtf): Likewise.
33412         [non-C99-based standards] (expm1f): Likewise.
33413         [non-C99-based standards] (ilogbf): Likewise.
33414         [non-C99-based standards] (log1pf): Likewise.
33415         [non-C99-based standards] (logbf): Likewise.
33416         [non-C99-based standards] (nextafterf): Likewise.
33417         [non-C99-based standards] (remainderf): Likewise.
33418         [non-C99-based standards] (rintf): Likewise.
33419         [non-C99-based standards] (scalbf): Likewise.
33420         [non-C99-based standards] (copysignl): Likewise.
33421         [non-C99-based standards] (exp2l): Likewise.
33422         [non-C99-based standards] (log2l): Likewise.
33423         [non-C99-based standards] (modfl): Allow.
33424         [non-C99-based standards] (erfl): Do not allow.
33425         [non-C99-based standards] (erfcl): Likewise.
33426         [non-C99-based standards] (gammal): Likewise.
33427         [non-C99-based standards] (hypotl): Likewise.
33428         [non-C99-based standards] (j0l): Likewise.
33429         [non-C99-based standards] (j1l): Likewise.
33430         [non-C99-based standards] (jnl): Likewise.
33431         [non-C99-based standards] (lgammal): Likewise.
33432         [non-C99-based standards] (tgammal): Likewise.
33433         [non-C99-based standards] (y0l): Likewise.
33434         [non-C99-based standards] (y1l): Likewise.
33435         [non-C99-based standards] (ynl): Likewise.
33436         [non-C99-based standards] (isnanl): Likewise.
33437         [non-C99-based standards] (acoshl): Likewise.
33438         [non-C99-based standards] (asinhl): Likewise.
33439         [non-C99-based standards] (atanhl): Likewise.
33440         [non-C99-based standards] (cbrtl): Likewise.
33441         [non-C99-based standards] (expm1l): Likewise.
33442         [non-C99-based standards] (ilogbl): Likewise.
33443         [non-C99-based standards] (log1pl): Likewise.
33444         [non-C99-based standards] (logbl): Likewise.
33445         [non-C99-based standards] (nextafterl): Likewise.
33446         [non-C99-based standards] (remainderl): Likewise.
33447         [non-C99-based standards] (rintl): Likewise.
33448         [non-C99-based standards] (scalbl): Likewise.
33449         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33450         [non-C99-based standards] (FP_*): Do not allow.
33451         [C99-based standards] (FP_*): Change to
33452         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33453         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33454         allow.
33455         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33456         (SIG_ERR): Likewise.
33457         [X/Open-based standards] (SIG_HOLD): Likewise.
33458         (SIG_IGN): Likewise.
33459         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33460         positive value.
33461         (SIGFPE): Likewise.
33462         (SIGILL): Likewise.
33463         (SIGINT): Likewise.
33464         (SIGSEGV): Likewise.
33465         (SIGTER): Likewise.
33466         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33467         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33468         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33469         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33470         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33477         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33478         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33483         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33484         [X/Open-based standards] (SIGTRAP): Likewise.
33485         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33486         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33489         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33490         allow.
33491
33492 2012-05-08  Ian Wienand  <ianw@vmware.com>
33493
33494         [BZ #14080]
33495         * time/tzset.c (__tzset_parse_tz): Update default rules for
33496         daylight time changes in the Energy Policy Act of 2005.
33497
33498 2012-05-09  Andreas Jaeger  <aj@suse.de>
33499
33500         [BZ #13983]
33501         * elf/ldconfig.c (parse_conf): Change string to make clear that
33502         ldconfig only issued a warning if ld.so.conf does not exist.
33503
33504 2012-05-08  David S. Miller  <davem@davemloft.net>
33505
33506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33507         movxtod instead of popping the value on the stack.
33508
33509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33510
33511 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33512
33513         * config.h.in: Add HAVE_ARM_PCS_VFP.
33514
33515 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33516
33517         [BZ #13979]
33518         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33519         checking but the checks are disabled for any reason.
33520
33521 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33522
33523         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33524         and ELF64_R_TYPE with ELFW(R_TYPE).
33525
33526 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33527
33528         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33529         (ulimit): Likewise.
33530
33531         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33532         (settimeofday): Likewise.
33533
33534 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33535
33536         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33537         a struct th_u2 inside the union, and move tu_block/tu_code into
33538         a new th_u3 union of tu_block/tu_code inside of that.  Move
33539         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33540         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33541         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33542         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33543         (th_stuff): Change to th_u1.tu_stuff.
33544         (th_data): Define.
33545         (th_msg): Change to th_u1.th_u2.tu_data.
33546
33547 2012-05-07  David S. Miller  <davem@davemloft.net>
33548
33549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33550
33551         [BZ #14074]
33552         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33553         (SETUP_PIC_REG): Use it.
33554         (SETUP_PIC_REG_LEAF): Use it.
33555
33556 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33557
33558         [BZ #13885]
33559         [BZ #13923]
33560         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33561         USE_AS_EXPM1L.
33562         (EXPL_FINITE): Likewise.
33563         (FLDLOG): Likewise.
33564         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33565         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33566         e_expl.S.
33567         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33568         USE_AS_EXPM1L.
33569         (EXPL_FINITE): Likewise.
33570         (FLDLOG): Likewise.
33571         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33572         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33573         e_expl.S.
33574         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33575         test of -max_value argument for long double.
33576         * sysdeps/i386/fpu/libm-test-ulps: Update.
33577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33578
33579 2012-05-06  David S. Miller  <davem@davemloft.net>
33580
33581         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33582         quad soft-float symbols whose references which are compiler
33583         generated.
33584         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33585
33586 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33587
33588         [BZ #13884]
33589         [BZ #13914]
33590         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33591         USE_AS_EXP10L.
33592         (EXPL_FINITE): Likewise.
33593         (FLDLOG): Likewise.
33594         (c0): Likewise.
33595         (c1): Likewise.
33596         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33597         Adjust comments for base varying.
33598         (__expl_finite): Change alias to EXPL_FINITE.
33599         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33600         e_expl.S.
33601         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33602         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33603         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33604         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33605         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33606         USE_AS_EXP10L.
33607         (EXPL_FINITE): Likewise.
33608         (FLDLOG): Likewise.
33609         (c0): Likewise.
33610         (c1): Likewise.
33611         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33612         Adjust comments for base varying.
33613         (__expl_finite): Change alias to EXPL_FINITE.
33614         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33615         tests for bugs.
33616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33617
33618         [BZ #14064]
33619         * math/libm-test.inc (check_float_internal): Correct ulp
33620         calculation for subnormal expected results.
33621
33622 2012-05-06  Andreas Jaeger  <aj@suse.de>
33623
33624         * Makeconfig (+math-flags): New, set to -frounding-math.
33625         (+cflags): Add +math-flags so that all of glibc gets compiled with
33626         it.
33627
33628         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33629
33630 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33631
33632         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33633         Disable one test.
33634
33635         [BZ #13787]
33636         [BZ #13922]
33637         [BZ #14036]
33638         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33639         (__ieee754_expl): Allow for and saturate large arguments.
33640         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33641         (u_threshold): Likewise.
33642         (__exp): Call __ieee754_exp before checking for overflow and
33643         underflow.
33644         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33645         (u_threshold): Likewise.
33646         (__expf): Call __ieee754_expf before checking for overflow and
33647         underflow.
33648         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33649         (u_threshold): Likewise.
33650         (__expl): Call __ieee754_expl before checking for overflow and
33651         underflow.
33652         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33653         (__ieee754_expl): Allow for and saturate large arguments.
33654         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33655         missing overflow exception on overflow.
33656         (expm1_test): Do not allow missing overflow exception on overflow.
33657
33658         * sysdeps/i386/fpu/e_expl.c: Move to ...
33659         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33660         rather than using inline asm.
33661         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33662         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33663         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33664
33665         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33666         (nice): Likewise.
33667         (poll): Likewise.
33668         (signal): Likewise.
33669         (time): Likewise.
33670         (times): Likewise.
33671
33672 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33673
33674         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33675         sysdeps/unix/common/syscalls.list.
33676         (fchmod): Likewise.
33677         (fchown): Likewise.
33678         (ftruncate): Likewise.
33679         (getrusage): Likewise.
33680         (gettimeofday): Likewise.
33681         (setpgid): Likewise.
33682         (setregid): Likewise.
33683         (setreuid): Likewise.
33684         (sigaction): Likewise.
33685         (truncate): Likewise.
33686         (vhangup): Likewise.
33687         * sysdeps/unix/common/syscalls.list: Remove file.
33688         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33689         * sysdeps/unix/sysv/linux/Implies: Likewise.
33690
33691 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33692
33693         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33695         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33696         Moved to ...
33697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33698         Here.
33699         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33700         to ...
33701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33702         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33703         to ...
33704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33705         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33706         to ...
33707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33708         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33709         to ...
33710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33711         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33712         to ...
33713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33714         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33715         to ...
33716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33717         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33718         to ...
33719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33720         Here.
33721         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33722         to ...
33723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33724         Here.
33725         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33726         to ...
33727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33728         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33729         Moved to ...
33730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33731         Here.
33732         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33733         to ...
33734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33735
33736 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33737
33738         * sysdeps/unix/common/bits/dirent.h: Remove file.
33739         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33740
33741         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33742         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33743         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33744         * sysdeps/unix/bsd/isatty.c: Likewise.
33745         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33746         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33747         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33748
33749 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33750
33751         [BZ #13563]
33752         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33753         long double comparison inaccuracies.
33754         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33756
33757 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33758
33759         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33760         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33761
33762 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33763
33764         [BZ #14049]
33765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33766         nonzero digits before rounding a hex value.
33767         * stdlib/tst-strtod.c (tests): Add another test.
33768
33769 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33770
33771         * sysdeps/s390/fpu/libm-test-ulps: Update.
33772
33773 2012-05-03  Andreas Jaeger  <aj@suse.de>
33774
33775         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33776         does not get optimized out.
33777         (malloc_opt_barrier): New.
33778
33779 2012-05-03  Andreas Jaeger  <aj@suse.de>
33780             Roland McGrath  <roland@hack.frob.com>
33781
33782         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33783         intermediate file deletion.
33784         (generated): Add .symlist files.
33785
33786 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33787
33788         [BZ #13775]
33789         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33790         Redirect under this condition.
33791         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33792         [__USE_GNU] (__dprintf_chk): Not under this condition.
33793         [__USE_GNU] (__vdprintf_chk): Likewise.
33794         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33795         under this condition.
33796         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33797         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33798         [__USE_XOPEN2K8] (vdprintf): Likewise.
33799         [__USE_GNU] (__dprintf_chk): Not under this condition.
33800         [__USE_GNU] (__vdprintf_chk): Likewise.
33801         [__USE_GNU] (dprintf): Likewise.
33802         [__USE_GNU] (vdprintf): Likewise.
33803
33804 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33805
33806         * elf/Makefile (common-generated): Set this instead of generated for
33807         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33808         $(all-built-dso)-derived lists.
33809
33810 2012-05-03  Andreas Jaeger  <aj@suse.de>
33811
33812         * sysdeps/i386/fpu/libm-test-ulps: Update.
33813
33814         * FAQ: Removed.
33815         * FAQ.in: Likewise.
33816         * scripts/gen-FAQ.pl: Likewise.
33817         * manual/install.texi (Installation): Point to online location of
33818         FAQ.
33819         * Makefile (files-for-dist): Remove FAQ.
33820         (FAQ): Remove.
33821
33822 2012-05-02  Allan McRae  <allan@archlinux.org>
33823
33824         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33825         (LDFLAGS-reldepmod5.so): Likewise.
33826         (LDFLAGS-reldep6mod1.so): Likewise.
33827         (LDFLAGS-reldep6mod4.so): Likewise.
33828         (LDFLAGS-reldep8mod3.so): Likewise.
33829         (LDFLAGS-unload4mod1.so): Likewise.
33830         (LDFLAGS-unload4mod2.so): Likewise.
33831         (LDFLAGS-tst-initorder): Likewise.
33832         (LDFLAGS-tst-initordera2.so): Likewise.
33833         (LDFLAGS-tst-initordera3.so): Likewise.
33834         (LDFLAGS-tst-initordera4.so): Likewise.
33835         (LDFLAGS-tst-initorderb2.so): Likewise.
33836         (LDFLAGS-noload): Likewise.
33837         (LDFLAGS-next): Likewise.
33838         (LDFLAGS-order2mod1.so): Likewise.
33839         (LDFLAGS-order2mod2.so): Likewise.
33840         (LDFLAGS-tst-initorder2): Likewise.
33841         (LDFLAGS-tst-initorder2a.so): Likewise.
33842         (LDFLAGS-tst-initorder2b.so): Likewise.
33843         (LDFLAGS-tst-initorder2c.so): Likewise.
33844         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33845
33846 2012-05-02  David S. Miller  <davem@davemloft.net>
33847
33848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33849
33850 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33851
33852         [BZ #14055]
33853         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33854
33855 2012-05-02  Andreas Jaeger  <aj@suse.de>
33856
33857         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33858         since we manipulate rounding mode.
33859         (CPPFLAGS-test-idouble.c): Likewise.
33860         (CPPFLAGS-test-ifloat.c): Likewise.
33861         (CFLAGS-test-ldouble.c): Likewise.
33862         (CFLAGS-test-double.c): Likewise.
33863         (CFLAGS-test-float.c): Likewise.
33864         (CFLAGS-test-misc.c): Likewise.
33865         (CFLAGS-test-test-fenv.c): Likewise.
33866
33867 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33868
33869         [BZ #2550]
33870         [BZ #2570]
33871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33872         comparisons to determine direction to adjust input.
33873
33874 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33875
33876         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33877         output to the target.
33878
33879         * scripts/localplt.awk: New file.
33880         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33881         (check-localplt-CFLAGS): Variable removed.
33882         ($(all-built-dso:=.jmprel)): New static pattern rule.
33883         (generated): Add those targets.
33884         (localplt-built-dso): New variable.
33885         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33886
33887         * elf/check-localplt.c: File removed.
33888
33889         * scripts/check-execstack.awk: New file.
33890         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33891         (check-execstack-CFLAGS): Variable removed.
33892         ($(objpfx)check-execstack.h): Target removed.
33893         ($(objpfx)execstack-default): New target.
33894         (generated): Add that instead of check-execstack.h.
33895         ($(all-built-dso:=.phdr)): New static pattern rule.
33896         (generated): Add those targets.
33897         * elf/check-execstack.c: File removed.
33898
33899         * scripts/check-textrel.awk: New file.
33900         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33901         (check-textrel-CFLAGS): Variable removed.
33902         (all-built-dso): Use := to define.o
33903         ($(all-built-dso:=.dyn)): New static pattern rule.
33904         (generated): Add those targets.
33905         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33906         * config.make.in (READELF): New substituted variable.
33907         * elf/check-textrel.c: File removed.
33908
33909 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33910
33911         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33912         allow.
33913         * conform/data/ctype.h-data [C99-based standards] (isblank):
33914         Expect function.
33915         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33916         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33918         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33919         Specify type.  Require positive value.
33920         (EILSEQ): Likewise.
33921         (ERANGE): Likewise.
33922         [ISO || POSIX] (EILSEQ): Do not expect.
33923         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33924         Specify type.  Require positive value.
33925         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33926         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33927         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33928         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33929         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33930         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33931         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33932         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33933         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33934         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33935         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33936         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33937         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33938         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33939         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33940         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33941         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33942         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33943         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33944         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33945         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33946         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33947         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33948         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33949         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33950         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33951         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33952         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33953         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33954         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33955         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33956         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33957         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33958         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33959         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33960         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33961         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33962         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33963         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33964         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33965         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33966         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33967         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33968         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33969         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33970         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33971         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33972         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33973         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33974         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33975         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33976         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33977         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33978         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33979         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33980         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33981         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33982         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33983         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33984         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33985         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33986         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33987         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33988         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33989         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33990         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33991         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33992         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33993         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33994         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33995         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33996         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33997         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33998         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33999         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34000         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34001         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34002         Require >= 2.
34003         (FLT_ROUNDS): Expect as macro, not constant.
34004         (FLT_MANT_DIG): Use macro-int-constant.
34005         (DBL_MANT_DIG): Likewise.
34006         (LDBL_MANT_DIG): Likewise.
34007         (FLT_DIG): Likewise.
34008         (DBL_DIG): Likewise.
34009         (LDBL_DIG): Likewise.
34010         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34011         (DBL_MIN_EXP): Likewise.
34012         (LDBL_MIN_EXP): Likewise.
34013         (FLT_MAX_EXP): Use macro-int-constant.
34014         (DBL_MAX_EXP): Likewise.
34015         (LDBL_MAX_EXP): Likewise.
34016         (FLT_MAX_10_EXP): Likewise.
34017         (DBL_MAX_10_EXP): Likewise.
34018         (LDBL_MAX_10_EXP): Likewise.
34019         (FLT_MAX): Use macro-constant.
34020         (DBL_MAX): Likewise.
34021         (LDBL_MAX): Likewise.
34022         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34023         (DBL_EPSILON): Likewise.
34024         (LDBL_EPSILON): Likewise.
34025         (FLT_MIN): Likewise.
34026         (DBL_MIN): Likewise.
34027         (LDBL_MIN): Likewise.
34028         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34029         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34030         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34031         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34032         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34033         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34034         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34035         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34036         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34037         [ISO11] (FLT_TRUE_MIN): Likewise.
34038         [ISO11] (LDBL_TRUE_MIN): Likewise.
34039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34040         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34041         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34042         (SCHAR_MAX): Likewise.
34043         (UCHAR_MAX): Likewise.
34044         (CHAR_MIN): Likewise.
34045         (CHAR_MAX): Likewise.
34046         (MB_LEN_MAX): Use macro-int-constant.
34047         (SHRT_MIN): Use macro-int-constant.  Specify type.
34048         (SHRT_MAX): Likewise.
34049         (USHRT_MAX): Likewise.
34050         (INT_MAX): Likewise.
34051         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34052         bound negative.
34053         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34054         bound with "U".
34055         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34056         bound with "L".
34057         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34058         bound negative.  Suffix upper bound with "L".
34059         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34060         bound with "UL".
34061         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34062         Specify type.
34063         [C99-based standards] (LLONG_MAX): Likewise.
34064         [C99-based standards] (ULLONG_MAX): Likewise.
34065         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34066         == 0.
34067         [ISO11] (max_align_t): Require type.
34068         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34069
34070         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34071         from $CFLAGS, without defining away __attribute__ calls.
34072         (checknamespace): Use $CFLAGS_namespace.
34073
34074         * conform/conformtest.pl (@keywords): Only include C99 keywords
34075         for standards based on C99 or C11.
34076
34077         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34078         Disable tests.
34079         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34080         UNIX98]: Likewise.
34081
34082         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34083         usability of symbols in #if.
34084
34085         * conform/conformtest.pl: If macro or constant types start
34086         "promoted:", expect the symbol to be of the following type
34087         promoted by the integer promotions.
34088
34089         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34090         in one place.  Also handle "macro-constant".
34091
34092         * conform/conformtest.pl: Only accept expected macro values with
34093         "==".  Parse all "macro" lines in one place.
34094         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34095
34096         * conform/conformtest.pl: Handle braced types on "constant" lines
34097         instead of handling "typed-constant".
34098         * conform/data/signal.h-data: Use "constant" instead of
34099         "typed-constant".
34100
34101         * conform/conformtest.pl: Handle "optional-" at start of lines in
34102         one place rather than duplicating several cases.  Handle each
34103         format of "macro" line with initial "optional-".
34104
34105         * conform/conformtest.pl: Only accept expected constant or
34106         optional-constant values with "==".  Parse all "constant" lines in
34107         one place.  Parse all "optional-constant" lines in one place.
34108         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34109         * conform/data/fmtmsg.h-data: Likewise.
34110         * conform/data/netinet/in.h-data: Likewise.
34111         * conform/data/tar.h-data: Likewise.
34112         * conform/data/limits.h-data: Use "==" form on "constant" and
34113         "optional-constant" lines.
34114
34115         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34116         Use -std=c99 for XOPEN2K.
34117         (@knownproblems): Remove.
34118         (newtoken): Don't check %isknown.
34119
34120         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34121         Do not expect macro.
34122         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34123         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34124         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34125         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34126         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34127         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34128         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34129         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34130         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34131         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34132         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34133         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34134         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34135         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34136         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34137         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34138         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34139         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34140         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34141         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34142         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34143         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34144         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34145         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34146         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34147         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34148         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34149         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34150         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34151         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34152         [XPG3] (acosh): Likewise.
34153         [XPG3] (asinh): Likewise.
34154         [XPG3] (atanh): Likewise.
34155         [XPG3] (cbrt): Likewise.
34156         [XPG3] (expm1): Likewise.
34157         [XPG3] (ilogb): Likewise.
34158         [XPG3] (log1p): Likewise.
34159         [XPG3] (logb): Likewise.
34160         [XPG3] (nextafter): Likewise.
34161         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34162         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34163         [XPG3] (remainder): Likewise.
34164         [XPG3] (rint): Likewise.
34165         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34166         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34167         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34168         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34169         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34170         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34171         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34172         [UNIX98 || XOPEN2K] (scalb): Expect.
34173         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34174         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34175         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34176         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34177         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34178         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34179         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34180         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34181         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34182         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34183         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34184         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34185         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34186         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34187         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34188         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34189         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34190         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34191         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34192         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34193         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34194         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34195         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34196         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34197         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34198         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34199         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34200         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34201         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34202         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34203         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34204         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34205         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34206         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34207         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34208         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34209         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34210         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34211         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34212         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34213         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34214         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34215         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34216         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34217         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34218         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34219         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34220         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34221         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34222         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34223         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34224         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34225         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34226         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34227         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34228         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34229         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34230         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34231         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34232         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34233         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34234         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34235         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34236         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34237         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34238         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34239         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34240         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34241         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34242         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34243         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34244         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34245         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34246         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34247         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34248         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34249         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34250         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34251         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34252         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34253         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34254         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34255         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34256         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34257         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34258         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34259         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34260         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34261         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34262         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34263         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34264         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34265         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34266         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34267         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34268         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34269         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34270         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34271         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34272         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34273         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34274         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34275         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34276         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34277         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34278         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34279         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34280         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34281         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34282         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34283         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34284         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34285         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34286         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34287         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34288         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34289         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34290         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34291         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34292         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34293         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34294         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34295         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34296         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34297         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34298         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34299         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34300         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34301         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34302         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34303         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34304         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34305         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34306         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34307         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34308         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34309         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34310
34311         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34312         _XOPEN_SOURCE_EXTENDED for XPG4.
34313
34314         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34315
34316         * Makeconfig (localtime): Remove variable.
34317         (inst_localtime-file): Likewise.
34318
34319 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34320
34321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34322         Update.
34323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34324         Update.
34325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34326         Update.
34327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34328         Update.
34329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34330         Update.
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34332         Update.
34333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34334         Update.
34335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34336         Update.
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34338         Update.
34339
34340 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34341
34342         [BZ #2550]
34343         [BZ #2570]
34344         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34345         comparisons to determine direction to adjust input.
34346         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34347         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34348         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34349         Likewise.
34350         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34351         Likewise.
34352         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34353         Likewise.
34354         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34355         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34356         Likewise.
34357         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34358         Likewise.
34359         * math/libm-test.inc (nexttoward_test): Add more tests.
34360
34361 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34362
34363         [BZ #14040]
34364         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34365         in version GLIBC_2.1, not GLIBC_2.0.
34366         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34367         Likewise.
34368
34369 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34370
34371         [BZ #13942]
34372         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34373         (1 - x) * (1 + x).
34374         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34375         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34376         * math/libm-test.inc (acos_test): Add more tests.
34377         (asin_test): Likewise.
34378         * sysdeps/i386/fpu/libm-test-ulps: Update.
34379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34380
34381         [BZ #14034]
34382         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34383         of square root.
34384         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34385         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34386         * math/libm-test.inc (acos_test_tonearest): New function.
34387         (acos_test_towardzero): Likewise.
34388         (acos_test_downward): Likewise.
34389         (acos_test_upward): Likewise.
34390         (asin_test_tonearest): Likewise.
34391         (asin_test_towardzero): Likewise.
34392         (asin_test_downward): Likewise.
34393         (asin_test_upward): Likewise.
34394         (main): Call the new functions.
34395         * sysdeps/i386/fpu/libm-test-ulps: Update.
34396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34397
34398         [BZ #13884]
34399         [BZ #13924]
34400         * math/e_exp10.c: Include <float.h>.
34401         (__ieee754_exp10): Handle underflow here rather than multiplying
34402         large negative argument by M_LN10.
34403         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34404         of __ieee754_expf.
34405         * math/e_exp10l.c: Include <float.h>.
34406         (__ieee754_exp10l): Handle underflow here rather than multiplying
34407         large negative argument by M_LN10l.
34408         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34409         spurious overflow exception on underflow.
34410
34411 2012-04-29  Marek Polacek  <polacek@redhat.com>
34412
34413         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34414         (__fortify_function): New macro.
34415         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34416         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34417         __extern_always_inline.
34418         * libio/bits/stdio2.h: Likewise.
34419         * libio/bits/stdio.h: Likewise.
34420         * string/string.h: Likewise.
34421         * string/bits/string3.h: Likewise.
34422         * include/stdio.h: Likewise.
34423         * stdlib/bits/stdlib.h: Likewise.
34424         * stdlib/stdlib.h: Likewise.
34425         * rt/bits/mqueue2.h: Likewise.
34426         * rt/mqueue.h: Likewise.
34427         * posix/bits/unistd.h: Likewise.
34428         * posix/unistd.h: Likewise.
34429         * io/bits/poll2.h: Likewise.
34430         * io/bits/fcntl2.h: Likewise.
34431         * io/fcntl.h: Likewise.
34432         * io/sys/poll.h: Likewise.
34433         * misc/bits/syslog.h: Likewise.
34434         * misc/bits/syslog-ldbl.h: Likewise.
34435         * misc/sys/syslog.h: Likewise.
34436         * socket/bits/socket2.h: Likewise.
34437         * socket/sys/socket.h: Likewise.
34438         * debug/tst-chk1.c: Likewise.
34439         * wcsmbs/bits/wchar2.h: Likewise.
34440         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34441         * wcsmbs/wchar.h: Likewise.
34442
34443 2012-04-29  Andreas Jaeger  <aj@suse.de>
34444
34445         * Makerules (tests): Remove enable-check-abi protection.
34446         (check-abi-warn): Remove.
34447         (check-abi-%): Remove check-abi-warn usage.
34448
34449         * configure.in: Remove check-abi configure option.
34450         * configure: Regenerated.
34451         * config.make.in (enable-check-abi): Remove.
34452
34453 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34454
34455         [BZ #14033]
34456         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34457         double functions to double *_finite functions.
34458
34459         [BZ #13941]
34460         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34461         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34462         LDBL_MIN_EXP.
34463         * stdio-common/Makefile (tests): Add tst-sprintf3.
34464         * stdio-common/tst-sprintf3.c: New file.
34465
34466         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34467         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34468
34469 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34470
34471         * conform/conformtest.pl: Remove duplicate typed-constant
34472         handling.
34473
34474 2012-04-28  David S. Miller  <davem@davemloft.net>
34475
34476         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34477         (check-abi-%): Remove AWK script prerequisite and explicit
34478         abilist directory.
34479         (check-abi): Rewrite to just diff the symlist with the abilist.
34480         (config-tls, config-abi-config): Delete, no longer used.
34481         (update-abi-%): Remove AWK script and explicit abilist directory.
34482         (update-abi): Rewrite to simply compare and conditionally copy the
34483         symlist and the sysdep abilist file.  Remove update-abi-config
34484         checks.
34485         * abilist/ld.abilist: Remove.
34486         * abilist/libBrokenLocale.abilist: Remove.
34487         * abilist/libanl.abilist: Remove.
34488         * abilist/libcrypt.abilist: Remove.
34489         * abilist/libdl.abilist: Remove.
34490         * abilist/librt.abilist: Remove.
34491         * abilist/libthread_db.abilist: Remove.
34492         * abilist/libutil.abilist: Remove.
34493         * scripts/extract-abilist.awk: Remove.
34494         * scripts/merge-abilist.awk: Remove.
34495         * sysdeps/generic/libcidn.abilist: New file.
34496         * sysdeps/generic/libnss_compat.abilist: New file.
34497         * sysdeps/generic/libnss_db.abilist: New file.
34498         * sysdeps/generic/libnss_dns.abilist: New file.
34499         * sysdeps/generic/libnss_files.abilist: New file.
34500         * sysdeps/generic/libnss_hesiod.abilist: New file.
34501         * sysdeps/generic/libnss_nis.abilist: New file.
34502         * sysdeps/generic/libnss_nisplus.abilist: New file.
34503         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34504         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34505         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34506         file.
34507         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34508         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34509         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34510         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34511         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34512         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34513         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34514         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34515         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34516         file.
34517         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34518         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34519         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34520         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34521         file.
34522         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34523         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34524         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34525         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34526         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34527         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34528         file.
34529         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34530         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34531         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34532         file.
34533         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34535         New file.
34536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34537         New file.
34538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34539         New file.
34540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34541         New file.
34542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34543         New file.
34544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34545         New file.
34546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34547         New file.
34548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34549         New file.
34550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34551         New file.
34552         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34553         New file.
34554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34555         New file.
34556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34557         New file.
34558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34559         New file.
34560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34561         file.
34562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34563         New file.
34564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34565         New file.
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34567         file.
34568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34569         New file.
34570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34571         New file.
34572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34573         file.
34574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34575         New file.
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34577         New file.
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34579         New file.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34581         New file.
34582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34583         New file.
34584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34585         New file.
34586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34588         file.
34589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34590         New file.
34591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34592         file.
34593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34594         file.
34595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34596         file.
34597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34598         file.
34599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34600         file.
34601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34602         New file.
34603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34604         file.
34605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34606         file.
34607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34608         New file.
34609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34610         file.
34611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34613         file.
34614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34615         New file.
34616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34617         file.
34618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34619         file.
34620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34621         file.
34622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34623         file.
34624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34625         file.
34626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34627         New file.
34628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34629         file.
34630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34631         file.
34632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34633         New file.
34634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34635         file.
34636         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34637         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34638         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34639         file.
34640         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34641         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34642         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34643         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34644         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34645         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34646         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34647         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34648         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34649         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34652         file.
34653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34654         New file.
34655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34656         file.
34657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34658         file.
34659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34660         file.
34661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34662         file.
34663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34664         file.
34665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34666         New file.
34667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34668         New file.
34669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34670         file.
34671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34672         New file.
34673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34674         file.
34675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34677         file.
34678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34679         New file.
34680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34681         file.
34682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34683         file.
34684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34685         file.
34686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34687         file.
34688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34689         file.
34690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34691         New file.
34692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34693         New file.
34694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34695         file.
34696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34697         New file.
34698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34699         file.
34700
34701 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34702
34703         * conform/conformtest.pl: Fix typo in handling typed-constant from
34704         allow-header.
34705
34706 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34707
34708         * README: Cut down references to pre-2.6 Linux kernels and
34709         Linuxthreads.  Update lists of configurations in libc and ports
34710         and sort alphabetically.  Say "or newer" with Linux kernel version
34711         requirements.
34712
34713         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34714
34715 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34716
34717         [BZ #887]
34718         * math/libm-test.inc (logb_test_downward): New test to expose
34719         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34720         rounding mode.
34721
34722 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34723
34724         [BZ #14027]
34725         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34726         to be done.
34727         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34728         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34729
34730 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34731
34732         * sysdeps/unix/i386/brk.S: Remove file.
34733         * sysdeps/unix/i386/dl-brk.S: Likewise.
34734         * sysdeps/unix/i386/pipe.S: Likewise.
34735         * sysdeps/unix/i386/sigreturn.S: Likewise.
34736         * sysdeps/unix/i386/syscall.S: Likewise.
34737         * sysdeps/unix/i386/vfork.S: Likewise.
34738         * sysdeps/unix/i386/wait.S: Likewise.
34739
34740         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34741         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34742
34743         * configure.in (arm*-none*): Do not allow without
34744         --enable-hacker-mode.
34745         (netbsd*): Remove case setting base_os.
34746         (386bsd*): Likewise.
34747         (freebsd*): Likewise.
34748         (bsdi*): Likewise.
34749         (osf*): Likewise.
34750         (sunos*): Likewise.
34751         (ultrix*): Likewise.
34752         (newsos*): Likewise.
34753         (dynix*): Likewise.
34754         (*bsd*): Likewise.
34755         (sysv*): Likewise.
34756         (isc*): Likewise.
34757         (esix*): Likewise.
34758         (sco*): Likewise.
34759         (minix*): Likewise.
34760         (irix4*): Likewise.
34761         (irix6*): Likewise.
34762         (solaris[2-9]*): Likewise.
34763         (none): Likewise.
34764         * configure: Regenerated.
34765
34766 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34767
34768         [BZ #11521]
34769         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34770         overflow or cancellation in calculating denominator.
34771         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34773         down expression to avoid unexpected rounding in newer GCCs.
34774         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34775
34776 2012-04-26  David S. Miller  <davem@davemloft.net>
34777
34778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34779         long-double compat symbols.
34780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34793
34794 2012-04-25  David S. Miller  <davem@davemloft.net>
34795
34796         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34797         HWCAP_* values only after the memory barriers have been defined.
34798         (atomic_full_barrier): Define.
34799         (atomic_read_barrier): Define.
34800         (atomic_write_barrier): Define.
34801
34802 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34803
34804         * shlib-versions: Add libgcc_s version information.
34805         * sysdeps/generic/libgcc_s.h: Remove.
34806         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34807         libgcc_s.h.
34808         * sysdeps/gnu/unwind-resume.c: Likewise.
34809         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34810
34811 2012-04-25  David S. Miller  <davem@davemloft.net>
34812
34813         * sysdeps/unix/sparc/brk.S: Delete.
34814         * sysdeps/unix/sparc/dl-brk.S: Delete.
34815         * sysdeps/unix/sparc/pipe.S: Delete.
34816         * sysdeps/unix/sparc/sysdep.S: Delete.
34817         * sysdeps/unix/sparc/sysdep.h: Delete.
34818         * sysdeps/unix/sparc/vfork.S: Delete.
34819         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34820         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34821         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34822         (ret_ERRVAL, r0, r1, MOVE): Define.
34823         (JUMPTARGET): Remove.
34824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34825         sysdeps/unix/sparc/sysdep.h
34826         (ENTRY, END): Remove.
34827         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34828
34829 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34830
34831         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34832         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34833         -DIS_IN_build.
34834
34835         * timezone/README: Update upstream location and email address for
34836         tzcode and tzdata.
34837         * timezone/zdump.c: Update from tzcode 2012b.
34838         * timezone/zic.c: Likewise.
34839
34840         * configure.in (libc_cv_as_needed): Remove test.
34841         * configure: Regenerated.
34842         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34843         conditional definition.
34844         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34845         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34846         * config.make.in (have-as-needed): Remove variable.
34847
34848 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34849             Paul Pluzhnikov  <ppluzhnikov@google.com>
34850
34851         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34852         strings correctly.
34853
34854 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34855
34856         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34857         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34858         * sysdeps/sh/strlen.S: Likewise.
34859
34860 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34861
34862         * sysdeps/unix/fork.S: Remove file.
34863         * sysdeps/unix/i386/fork.S: Likewise.
34864         * sysdeps/unix/sparc/fork.S: Likewise.
34865
34866         * sysdeps/unix/system.c: Remove file.
34867         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34868
34869         * sysdeps/unix/getegid.S: Remove file.
34870         * sysdeps/unix/geteuid.S: Likewise.
34871
34872 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34873
34874         * scripts/check-localplt.awk: New file.
34875         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34876         of diff.
34877         * scripts/data/localplt-generic.data: Add a comment.
34878
34879         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34880         NODE when __dir_mkfile failed.
34881         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34882         Reported by Ludovic Courtès <ludo@gnu.org>.
34883
34884 2012-04-24  Andreas Jaeger  <aj@suse.de>
34885
34886         * Makerules (common-clean): Also remove gen-as-const-headers
34887         files.
34888
34889 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34890
34891         * Makerules (native-compile): Do not change working directory for
34892         build.  Use $(OUTPUT_OPTION) in command.
34893         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34894
34895 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34896
34897         [BZ #13886]
34898         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34899         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34900         * math/libm-test.inc (floor_test): Add more tests.
34901         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34902
34903 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34904
34905         * sysdeps/unix/getdents.c: Remove file.
34906         * sysdeps/unix/sysv/getdents.c: Likewise.
34907         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34908
34909         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34910         sysdeps/unix/mman/syscalls.list.
34911         (mmap): Likewise.
34912         (mprotect): Likewise.
34913         (msync): Likewise.
34914         (munmap): Likewise.
34915         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34916         * sysdeps/unix/mman/syscalls.list: Remove.
34917         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34918
34919         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34920         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34921         * configure: Regenerated.
34922         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34923         $(libgcc_s_suffix).
34924         * config.make.in (libgcc_s_suffix): Remove variable.
34925
34926 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34927
34928         * sysdeps/unix/sysv/gethostname.c: Move to ...
34929         * sysdeps/posix/gethostname.c: ... here.
34930
34931         * sysdeps/unix/execve.S: Remove file.
34932
34933         * sysdeps/unix/_exit.S: Remove file.
34934
34935 2012-04-23  Andreas Jaeger  <aj@suse.de>
34936
34937         [BZ #13739]
34938         * manual/Makefile: Remove make dist support, there's no
34939         need for a stand-alone documentation tar ball.
34940         (TEXI2DVI): Define always, it's not in Makeconfig.
34941         (dist): Removed.
34942         (tar-it): Removed.
34943         (edition): Removed.
34944         (glibc-doc-$(edition).tar): Removed
34945         (%.Z): Removed.
34946         (%.gz): Removed.
34947         (%.uu): Removed.
34948         (ETAGS): Remove, it's in Makeconfig.
34949         (move-if-change): Remove, it's in Makeconfig.
34950
34951 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34952
34953         [BZ #13970]
34954         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34955         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34956         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34957         (strtod_l, strtof_l, strtold_l): Remove __wur.
34958         It is not necessarily an error to ignore strtol's return value.
34959         One can reliably look at the stored endptr to decide whether
34960         the number had valid syntax.
34961
34962 2012-04-21  Andreas Jaeger  <aj@suse.de>
34963
34964         [BZ #13739]
34965         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34966
34967 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34968
34969         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34970         * sysdeps/unix/sysv/Versions: Remove file.
34971
34972 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34973
34974         [BZ #13927]
34975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34976
34977 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34978
34979         [BZ #7064]
34980         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34981         version from __vm86.
34982
34983 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34984
34985         * sysdeps/unix/common/lxstat.c: Remove file.
34986         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34987
34988         * sysdeps/unix/sysv/Makefile: Remove file.
34989
34990         * sysdeps/unix/sysv/direct.h: Remove file.
34991
34992         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34993         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34994         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34995         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34996         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34997         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34998         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34999
35000         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35001
35002         * sysdeps/unix/xmknod.c: Remove file.
35003         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35004
35005         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35006
35007         * sysdeps/unix/sysv/i386/time.S: Remove file.
35008
35009         * sysdeps/unix/fxstat.c: Remove file.
35010         * sysdeps/unix/xstat.c: Likewise.
35011         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35012
35013         * sysdeps/unix/sysv/sigaction.c: Remove file.
35014
35015         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35016         (sysdep_headers): Remove variable.
35017         [termio.h not in sysdep_headers] (generated): Likewise.
35018         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35019         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35020         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35021         * sysdeps/unix/sysv/tcflow.c: Likewise.
35022         * sysdeps/unix/sysv/tcflush.c: Likewise.
35023         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35024         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35025         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35026         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35027         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35028
35029         * sysdeps/unix/siglist.c: Remove file.
35030
35031         * sysdeps/unix/getppid.S: Remove file.
35032
35033         * sysdeps/unix/mkdir.c: Remove file.
35034         * sysdeps/unix/rmdir.c: Likewise.
35035
35036 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35037
35038         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35039         ERR_MAX value.
35040         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35041         errlist-compat value.
35042
35043 2012-04-18  David S. Miller  <davem@davemloft.net>
35044
35045         * sysdeps/generic/memcopy.h (reg_char): Delete.
35046         * debug/strcat_chk.c: Use char, not reg_char.
35047         * debug/strcpy_chk.c: Likewise.
35048         * debug/strncat_chk.c: Likewise.
35049         * debug/strncpy_chk.c: Likewise.
35050         * string/memchr.c: Likewise.
35051         * string/memrchr.c: Likewise.
35052         * string/rawmemchr.c: Likewise.
35053         * string/strcat.c: Likewise.
35054         * string/strchr.c: Likewise.
35055         * string/strchrnul.c: Likewise.
35056         * string/strcmp.c: Likewise.
35057         * string/strcpy.c: Likewise.
35058         * string/strncat.c: Likewise.
35059         * string/strncmp.c: Likewise.
35060         * string/strncpy.c: Likewise.
35061
35062 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35063
35064         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35065         __builtin_memcopy is called when src and dest ranges are known to not
35066         overlap.
35067
35068 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35069
35070         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35071         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35072         fwd_align_merge macro call.
35073         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35074         bwd_align_merge macro call.
35075         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35076
35077 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35078
35079         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35080         bwd_align_merge macros.
35081         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35082         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35083         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35084
35085 2012-04-18  David S. Miller  <davem@davemloft.net>
35086
35087         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35088
35089 2012-04-18  Andreas Jaeger  <aj@suse.de>
35090
35091         [BZ# 6794]
35092         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35094         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35095
35096         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35097         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35098         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35099
35100         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35101         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35102         Adjust for changed ldbl-128 files.
35103
35104         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35105         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35106         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35107
35108 2012-04-17  David S. Miller  <davem@davemloft.net>
35109
35110         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35111
35112 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35113
35114         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35115         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35116         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35117         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35118         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35119         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35120
35121 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35122
35123         [BZ #6794]
35124         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35125         * math/libm-test.inc: Add ilogb errno and exception tests.
35126         * math/w_ilogb.c: New file: ilogb wrapper.
35127         * math/w_ilogbf.c: New file: ilogbf wrapper.
35128         * math/w_ilogbl.c: New file: ilogbl wrapper.
35129         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35130         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35131         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35132         exception being thrown with 0.0 as argument.
35133         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35134         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35135         exception being thrown with 0.0 as argument.
35136         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35137         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35138         exception being thrown with 0.0 as argument.
35139         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35140         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35141         exception being thrown with 0.0 as argument.
35142         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35143         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35144         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35145         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35146         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35147         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35148         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35149         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35150         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35151
35152 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35153
35154         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35155         with altivec.
35156
35157 2012-04-16  Marek Polacek  <polacek@redhat.com>
35158
35159         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35160
35161 2012-04-16  Marek Polacek  <polacek@redhat.com>
35162
35163         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35164         operands of fdivp instruction.
35165
35166 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35167
35168         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35169         * elf/tst-auditmod3b.c: Likewise.
35170         * elf/tst-auditmod4b.c: Likewise.
35171         * elf/tst-auditmod5b.c: Likewise.
35172         * elf/tst-auditmod6b.c: Likewise.
35173         * elf/tst-auditmod6c.c: Likewise.
35174         * elf/tst-auditmod7b.c: Likewise.
35175         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35176         * sysdeps/x86_64/preconfigure.in: Likewise.
35177         * sysdeps/x86_64/preconfigure: Regenerated.
35178
35179 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35180
35181         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35182         __ILP32__.
35183
35184 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35185
35186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35187         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35188
35189 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35190
35191         [BZ #13973]
35192         * locale/iso-639.def: Fix gl language name. Spotted by
35193         Yaron Shahrabani.
35194
35195 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35196
35197         [BZ #2074]
35198         * libio/libio.h (__io_write_fn): Update comment.
35199
35200 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35201
35202         [BZ #2074]
35203         * stdio.texi (Hook Functions): The user provided writer function
35204         is not allowed to return -1.
35205
35206 2012-04-11  David S. Miller  <davem@davemloft.net>
35207
35208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35209
35210 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35211
35212         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35213         Add a leading slash to rtkaio.
35214
35215 2012-04-11  Jim Meyering  <meyering@redhat.com>
35216
35217         [BZ #11959]
35218         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35219         It is not necessarily an error to ignore fwrite's return
35220         value.  One can reliably use ferror to test for errors after
35221         the fact.
35222
35223 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35224
35225         * bits/types.h (__snseconds_t): New type.
35226         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35227
35228         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35229         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35230         (__SNSECONDS_T_TYPE): Likewise.
35231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35232         (__SNSECONDS_T_TYPE): Likewise.
35233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35234         (__SNSECONDS_T_TYPE): Likewise.
35235
35236 2012-04-10  Andreas Jaeger  <aj@suse.de>
35237
35238         [BZ #2636]
35239         * manual/time.texi (Processor Time): Return type of times is
35240         elapsed real time since an arbitrary point in the past.
35241         (CPU Time): Move CLK_TCK from here...
35242         (Processor Time): ...to here.  Correct description.
35243         * manual/conf.texi (Constants for Sysconf): Correct description of
35244         _SC_CLK_TCK.
35245
35246 2012-04-10  David S. Miller  <davem@davemloft.net>
35247
35248         [BZ #13967]
35249         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35250         where the is a gap between DT_REL(A) and DT_JMPREL.
35251
35252 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35253
35254         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35255         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35256         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35257
35258 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35259
35260         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35261         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35262         (dl_main): Handle --inhibit-cache.
35263         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35264         _dl_inhibit_cache.
35265         * elf/dl-load.c (_dl_map_object): Use it.
35266         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35267
35268 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35269
35270         [BZ #13872]
35271         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35272         (__ieee754_powl): Saturate large exponents rather than testing for
35273         overflow of y*log2(x).
35274         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35275         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35276         exceptions.
35277
35278         [BZ #11521]
35279         * math/s_ctan.c: Include <float.h>.
35280         (__ctan): Avoid internal overflow or cancellation in calculating
35281         denominator.
35282         * math/s_ctanf.c: Likewise.
35283         * math/s_ctanl.c: Likewise.
35284         * math/s_ctanh.c: Likewise.
35285         * math/s_ctanhf.c: Likewise.
35286         * math/s_ctanhl.c: Likewise.
35287         * math/libm-test.inc (ctan_test): Add more tests.
35288         (ctanh_test): Likewise.
35289         * sysdeps/i386/fpu/libm-test-ulps: Update.
35290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35291
35292 2012-04-09  Andreas Jaeger  <aj@suse.de>
35293
35294         [BZ #6894]
35295         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35296         is an optional BSD extension.
35297
35298         [BZ #10254]
35299         * manual/stdio.texi (Opening Streams): Document additional fopen
35300         parameters.
35301
35302 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35303
35304         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35305         %eax without telling the compiler.
35306
35307 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35308
35309         [BZ # 13963]
35310         * manual/install.texi: Use sourceware.org.
35311
35312 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35313
35314         [BZ #13873]
35315         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35316         (__ieee754_pow): Generate overflow and underflow using huge*huge
35317         and tiny*tiny rather than just returning constant infinity or zero
35318         for large exponents.
35319         * math/libm-test.inc (pow_test): Require overflow exceptions for
35320         applicable cases of large exponents.
35321
35322         [BZ #706]
35323         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35324         (__ieee754_pow): Use iterative multiplication algorithm only for
35325         integer exponents with absolute value below 1024.  Check for odd
35326         integer exponents when using algorithm for real exponents.
35327         * math/libm-test.inc (pow_test): Add more tests.
35328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35329
35330 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35331
35332         [BZ #13705]
35333         * math/libm-test.inc (exp_test): Do not allow overflow exception
35334         on underflow test.
35335
35336 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35337
35338         [BZ #13705]
35339         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35340         instead of __kernel_standard_f.
35341
35342 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35343
35344         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35345         * sysdeps/x86_64/memset_chk.S: Likewise.
35346
35347 2012-04-08  Andreas Jaeger  <aj@suse.de>
35348
35349         [BZ #10153]
35350         * manual/startup.texi (Environment Access): Describe return value
35351         for putenv and setenv.
35352
35353         [BZ #6895]
35354         * manual/filesys.texi (Directory Entries): Add description for
35355         DT_LNK.
35356
35357         [BZ #6890]
35358         * manual/filesys.texi (Directory Entries): Clarify that it's file
35359         system not operating system in the description of DT_UNKNOWN.
35360
35361         [BZ #6578]
35362         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35363
35364 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35365
35366         [BZ #6649]
35367         * manual/llio.texi (Opening and Closing Files): Add cross
35368         reference to explain mode argument.
35369
35370 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35371
35372         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35373         * sysdeps/x86_64/memset_chk.S: Likewise.
35374
35375 2012-04-07  David S. Miller  <davem@davemloft.net>
35376
35377         * elf/elf.h (R_SPARC_WDISP10): Define.
35378         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35379         R_SPARC_SIZE32.
35380         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35381         R_SPARC_SIZE64 and R_SPARC_H34.
35382
35383 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35384
35385         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35386         conditions and remove no longer applicable assertion.
35387
35388 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35389
35390         * bits/byteswap.h: Include <features.h>.
35391         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35392         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35393
35394 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35395
35396         * bits/byteswap.h (__bswap_16): Removed.
35397         Include <bits/byteswap-16.h> to get __bswap_16.
35398         * sysdeps/i386/bits/byteswap.h: Likewise.
35399         * sysdeps/s390/bits/byteswap.h: Likewise.
35400         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35401         * bits/byteswap-16.h: New file.
35402         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35403         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35404         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35405         * string/Makefile (headers): Add bits/byteswap-16.h.
35406
35407 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35408
35409         [BZ #13895]
35410         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35411         extra indirection.
35412         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35413         * nss/tst-nss-static.c: New.
35414
35415 2012-04-06  Robert Millan  <rmh@gnu.org>
35416
35417         [BZ #6486]
35418         * manual/llio.texi (File Position Primitive): lseek
35419         refers to WHENCE when it really means OFFSET.
35420
35421 2012-04-06  Andreas Jaeger  <aj@suse.de>
35422
35423         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35424         strncmp declarations.
35425
35426         * abilist/libc.abilist: Add __poll and __ppoll.
35427
35428 2012-04-05  David S. Miller  <davem@davemloft.net>
35429
35430         * scripts/check-local-headers.sh: Accept a host triplet in the
35431         path matched by the exclude regexp.
35432
35433         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35434         definition.
35435         * sysdeps/powerpc/powerpc32/dl-machine.h
35436         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35437         * sysdeps/s390/s390-32/dl-machine.h
35438         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35439         * sysdeps/sparc/sparc32/dl-machine.h
35440         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35441         * sysdeps/sparc/sparc64/dl-machine.h
35442         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35443
35444         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35445         lazy binding.
35446         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35447         undefined symbol errors.
35448
35449         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35450         DT_NEEDED entries.
35451
35452 2012-04-05  Michael Matz  <matz@suse.de>
35453
35454         [BZ #13592]
35455         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35456
35457 2012-04-05  Andreas Jaeger  <aj@suse.de>
35458
35459         [BZ #13908]
35460         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35461         comment.
35462
35463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35464
35465         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35466         which ROUND is no valid rounding mode.
35467
35468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35469
35470         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35471         read again.
35472         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35473
35474 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35475
35476         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35477         an exception using FPU order intentionally.
35478
35479 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35480
35481         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35482         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35483         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35484         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35485
35486 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35487
35488         [BZ #12340]
35489         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35490         EINVAL when BUFLEN is too smal.
35491
35492 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35493
35494         [BZ #13553]
35495         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35496         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35497
35498 2012-04-03  Andreas Jaeger  <aj@suse.de>
35499
35500         [BZ #13938]
35501         * manual/setjmp.texi (System V contexts): Fix sentence.
35502
35503         [BZ #13926]
35504         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35505         New macro for this case.
35506         [!__GNUC__] (__bswap_64): New inline function for this case.
35507         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35508         * bits/byteswap.h: Likewise.
35509         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35510         ull, guard with __GLIBC_HAVE_LONG_LONG.
35511
35512         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35513         __GLIBC_HAVE_LONG_LONG.
35514
35515         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35516         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35517
35518 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35519
35520         [BZ #13691]
35521         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35522         inptr and inend, rather than using last_ch.
35523
35524 2012-04-02  David S. Miller  <davem@davemloft.net>
35525
35526         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35527         * stdio-common/printf-parse.h (read_int): Change return type to
35528         'int', return -1 on INT_MAX overflow.
35529         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35530         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35531         overflows INT_MAX.  Check for overflow of in-format-string precision
35532         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35533         SIZE_MAX not INT_MAX for integer overflow test.
35534         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35535         skip the construct in the format string but do not record anything.
35536         * stdio-common/bug22.c: Adjust to test both width/prevision
35537         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35538         explicitly for proper errno values.
35539
35540 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35541
35542         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35543         CHAR_MAX.
35544         * string/test-strcmp.c [! WIDE]: Likewise.
35545         * time/tst-mktime2.c: Likewise for INT_MAX.
35546         * string/test-string.h: #include <sys/param.h> for MIN.
35547
35548         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35549         * sysdeps/i386/init-first.c (init): Likewise.
35550         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35551         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35552         * sysdeps/sh/init-first.c (init): Likewise.
35553
35554 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35555
35556         * po/ru.po: Update from translation team.
35557         * po/vi.po: Likewise.
35558
35559 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35560
35561         * resolv/nss_dns/dns-host.c: Merge copyright years.
35562
35563 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35564
35565         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35566         Optimize memcpy with prefetch if
35567         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35568         src, dst pointers have unequal 16 byte alignments.
35569
35570 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35571
35572         [BZ #13928]
35573         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35574         from a CNAME entry and return the minimum ttl for the query.
35575         (gaih_getanswer_slice): Likewise.
35576
35577 2012-03-30  Jeff Law  <law@redhat.com>
35578
35579         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35580         due to long keys.
35581         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35582         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35583
35584         * resolv/nss_dns/dns-host.c: Update copyright year.
35585
35586 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35587
35588         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35589         requests to save a system call.  Fix check that all bytes are sent.
35590
35591         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35592         comments for sendmmsg.
35593
35594 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35595
35596         [BZ #13691]
35597         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35598         with only 1 character between 0x0041 and 0x01b0.
35599         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35600         * wcsmbs/tst-mbsnrtowcs.c: New file.
35601
35602 2012-03-29  David S. Miller  <davem@davemloft.net>
35603
35604         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35605         small copies by hand.
35606
35607 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35608
35609         [BZ #13761]
35610         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35611         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35612         group memberships.
35613
35614 2012-03-28  David S. Miller  <davem@davemloft.net>
35615
35616         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35617         that branches into memcpy.
35618         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35619         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35621         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35623         bits.
35624         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35625         implementation too.
35626         * sysdeps/sparc/mempcpy.S: New file.
35627
35628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35629         the IFUNC routine in the libc case.
35630         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35631
35632         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35633         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35634         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35635         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35636         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35637         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35638         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35639         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35640
35641         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35642         loop to 256 bytes instead of 64 bytes and fix test signedness.
35643
35644         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35645         * sysdeps/sparc/sparc32/Makefile: rather than here...
35646         * sysdeps/sparc/sparc64/Makefile: and here.
35647
35648 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35649
35650         * malloc/mallocbug.c: Avoid warnings about unused variables.
35651
35652 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653
35654         [BZ #13760]
35655         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35656         in the right place. Discard and retry query if response is
35657         larger than input buffer size.
35658
35659 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35660
35661         [BZ #369]
35662         [BZ #2678]
35663         [BZ #3866]
35664         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35665         x for large integer exponent.
35666         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35667         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35668         sign of result as needed afterwards.
35669         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35670         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35671         result for underflowing pow the same as for overflow.
35672         (__kernel_standard_l): Handle powl overflow and underflow here
35673         rather than calling __kernel_standard.
35674         * math/libm-test.inc (pow_test): Add more tests.
35675
35676         [BZ #3868]
35677         [BZ #13879]
35678         [BZ #13910]
35679         [BZ #13911]
35680         [BZ #13912]
35681         [BZ #13913]
35682         [BZ #13915]
35683         [BZ #13916]
35684         [BZ #13917]
35685         [BZ #13918]
35686         [BZ #13919]
35687         [BZ #13920]
35688         [BZ #13921]
35689         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35690         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35691         (__kernel_standard_l): New function.
35692         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35693         __kernel_standard.
35694         * math/w_acosl.c (__acosl): Likewise.
35695         * math/w_asinl.c (__asinl): Likewise.
35696         * math/w_atan2l.c (__atan2l): Likewise.
35697         * math/w_atanhl.c (__atanhl): Likewise.
35698         * math/w_coshl.c (__coshl): Likewise.
35699         * math/w_exp10l.c (__exp10l): Likewise.
35700         * math/w_exp2l.c (__exp2l): Likewise.
35701         * math/w_fmodl.c (__fmodl): Likewise.
35702         * math/w_hypotl.c (__hypotl): Likewise.
35703         * math/w_j0l.c (__j0l, __y0l): Likewise.
35704         * math/w_j1l.c (__j1l, __y1l): Likewise.
35705         * math/w_jnl.c (__jnl, __ynl): Likewise.
35706         * math/w_lgammal.c (__lgammal): Likewise.
35707         * math/w_log10l.c (__log10l): Likewise.
35708         * math/w_log2l.c (__log2l): Likewise.
35709         * math/w_logl.c (__logl): Likewise.
35710         * math/w_powl.c (__powl): Likewise.
35711         * math/w_remainderl.c (__remainderl): Likewise.
35712         * math/w_scalbl.c (sysv_scalbl): Likewise.
35713         * math/w_sinhl.c (__sinhl): Likewise.
35714         * math/w_sqrtl.c (__sqrtl): Likewise.
35715         * math/w_tgammal.c (__tgammal): Likewise.
35716         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35717         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35718         * math/libm-test.inc (acos_test): Add more tests.
35719         (acosh_test): Likewise.
35720         (asin_test): Likewise.
35721         (atanh_test): Likewise.
35722         (exp_test): Likewise.
35723         (exp10_test): Likewise.
35724         (exp2_test): Likewise.
35725         (expm1_test): Likewise.
35726         (lgamma_test): Likewise.
35727         (log_test): Likewise.
35728         (log10_test): Likewise.
35729         (log1p_test): Likewise.
35730         (log2_test): Likewise.
35731         (pow_test): Do not allow some spurious overflow exceptions.
35732         (sqrt_test): Add more tests.
35733         (tgamma_test): Likewise.
35734         (y0_test): Likewise.
35735         (y1_test): Likewise.
35736         (yn_test): Likewise.
35737
35738 2012-03-27  Anton Blanchard  <anton@samba.org>
35739
35740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35741         MAP_HUGETLB.
35742         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35743         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35744         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35745
35746 2012-03-27  David S. Miller  <davem@davemloft.net>
35747
35748         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35749
35750         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35751         have-as-vis3 check.
35752
35753 2012-03-27  Andreas Jaeger  <aj@suse.de>
35754
35755         * sysdeps/x86_64/elf/configure.in: Moved to ...
35756         * sysdeps/x86_64/configure.in: ... here.
35757         * sysdeps/x86_64/elf/start.S: Moved to ...
35758         * sysdeps/x86_64/start.S: ... here.
35759         * sysdeps/x86_64/elf/configure: Delete.
35760
35761         * sysdeps/x86_64/configure.in: Merge contents from
35762         sysdeps/i386/configure.in (without i686 check).
35763
35764         * sysdeps/i386/elf/Versions: Merge into ...
35765         * sysdeps/i386/Versions: ... this.
35766         * sysdeps/i386/elf/Versions: Delete file.
35767         * sysdeps/i386/elf/start.S: Moved to ...
35768         * sysdeps/i386/start.S: ...here.
35769         * sysdeps/i386/elf/configure.in: Merge into...
35770         * sysdeps/i386/configure.in: ...here.
35771         * sysdeps/i386/elf/configure.in: Delete file.
35772         * sysdeps/i386/elf/configure: Delete file.
35773
35774         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35775         * debug/backtracesyms.c: ... here.
35776         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35777         * debug/backtracesymsfd.c: ... here.
35778         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35779         * sysdeps/generic/ifunc-sel.h: ... here.
35780
35781         * sysdeps/unix/i386/start.c: Delete file.
35782         * sysdeps/unix/sparc/start.c: Delete file.
35783         * sysdeps/unix/start.c: Delete file.
35784
35785         * sysdeps/sh/elf/configure.in: Moved to ...
35786         * sysdeps/sh/configure.in: ... here.
35787         * sysdeps/sh/elf/start.S: Moved to ...
35788         * sysdeps/sh/start.S: ... here.
35789         * sysdeps/sh/elf/configure: Delete file.
35790
35791         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35792         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35793         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35794         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35795         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35796         * sysdeps/powerpc/powerpc64/start.S: here.
35797         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35798         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35799         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35800         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35801         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35802
35803         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35804         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35805         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35806         * sysdeps/powerpc/powerpc32/start.S: ... here.
35807         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35808         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35809         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35810
35811         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35812         * sysdeps/powerpc/ifunc-sel.h: ... here.
35813         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35814         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35815
35816         * sysdeps/sparc/elf/configure.in: Moved to ...
35817         * sysdeps/sparc/configure.in: ... here.
35818         * sysdeps/sparc/elf/configure: Delete file.
35819         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35820         * sysdeps/sparc/sparc32/start.S: ... here.
35821         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35822         * sysdeps/sparc/sparc64/start.S: ... here.
35823         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35824         * sysdeps/sparc/sparc32/Makefile: ... this.
35825         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35826         * sysdeps/sparc/sparc64/Makefile: ... this.
35827
35828         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35829         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35830         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35831         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35832         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35833         * sysdeps/s390/s390-32/setjmp.S: ... here.
35834         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35835         * sysdeps/s390/s390-32/configure.in: ... here.
35836         * sysdeps/s390/s390-32/elf/configure: Delete file.
35837         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35838         * sysdeps/s390/s390-32/start.S: ... here.
35839
35840         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35841         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35842         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35843         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35844         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35845         * sysdeps/s390/s390-64/setjmp.S: ... here.
35846         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35847         * sysdeps/s390/s390-64/configure.in: ... here
35848         * sysdeps/s390/s390-64/elf/configure: Delete file.
35849         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35850         * sysdeps/s390/s390-64/start.S: ... here.
35851         * sysdeps/s390/s390-64/elf/configure: Delete.
35852
35853         * configure.in: Remove support for elf directories in sysdeps.
35854
35855         * configure: Regenerated.
35856         * sysdeps/i386/configure: Regenerated.
35857         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35858         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35859         * sysdeps/s390/s390-32/configure: Regenerated.
35860         * sysdeps/s390/s390-64/configure: Regenerated.
35861         * sysdeps/sh/configure: Regenerated.
35862         * sysdeps/sparc/configure: Regenerated.
35863         * sysdeps/x86_64/configure: Regenerated.
35864
35865 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35866
35867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35868
35869         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35870         denormal result into account.
35871
35872 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35873
35874         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35875         Reported by Allan McRae <allan@archlinux.org>.
35876
35877 2012-03-23  Jeff Law  <law@redhat.com>
35878
35879         * nss/getnssent.c (__nss_getent): Fix typo.
35880
35881 2012-03-23  David S. Miller  <davem@davemloft.net>
35882
35883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35884
35885 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35886
35887         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35888         to pad to uint64_t for each field.
35889         (dl_tls_index): Replace unsigned long with uint64_t.
35890
35891 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35892         Paul Pluzhnikov  <ppluzhnikov@google.com>
35893
35894         [BZ #6528]
35895         * grp/Makefile (otherlibs): Don't set it.
35896         * inet/Makefile (otherlibs): Likewise.
35897         * login/Makefile (otherlibs): Likewise.
35898         * nscd/Makefile (otherlibs): Likewise.
35899         * posix/Makefile (otherlibs): Likewise.
35900         * pwd/Makefile (otherlibs): Likewise.
35901         * rt/Makefile (otherlibs): Likewise.
35902         * sunrpc/Makefile (otherlibs): Likewise.
35903         * nss/Makefile (otherlibs): Likewise.
35904         Add libnss_files to routines and static-only-routines.
35905         ($(objpfx)getent): Remove rule.
35906         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35907         static-only-routines.
35908
35909 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35910
35911         [BZ #13892]
35912         * math/s_cexp.c: Include <float.h>.
35913         (__cexp): Handle exp result overflowing not necessarily
35914         overflowing both real and imaginary parts of result.
35915         * math/s_cexpf.c: Likewise.
35916         * math/s_cexpl.c: Likewise.
35917         * math/libm-test.inc (cexp_test): Add more tests.
35918         * sysdeps/i386/fpu/libm-test-ulps: Update.
35919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920
35921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35922
35923         * include/link.h (ELFW): New macro.
35924         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35925         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35926
35927 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35928
35929         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35930         with uint64_t.
35931
35932 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35933
35934         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35935         declaration.
35936         (struct La_x32_retval): Likewise.
35937
35938 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35939
35940         * sysdeps/x86_64/preconfigure.in: New file.
35941         * sysdeps/x86_64/preconfigure: New generated file.
35942
35943 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35944
35945         [BZ #13824]
35946         * math/e_exp2l.c: Include <float.h>.
35947         (__ieee754_exp2l): Handle overflow and underflow cases
35948         separately.  Only pass fractional part of argument to
35949         __ieee754_expl.
35950         * math/libm-test.inc (exp2_test): Add more tests.
35951
35952         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35953         negating x to take absolute value.
35954         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35955         Likewise.
35956         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35957         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35958         Likewise.
35959         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35960         computing low part if x was negated.
35961         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35962
35963 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35964
35965         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35966         la_x32_gnu_pltexit.
35967         (pltexit): Cast int_retval to ptrdiff_t.
35968         * elf/tst-auditmod3b.c: Likewise.
35969         * elf/tst-auditmod4b.c: Likewise.
35970         * elf/tst-auditmod5b.c: Likewise.
35971         * elf/tst-auditmod6b.c: Likewise.
35972         * elf/tst-auditmod6c.c: Likewise.
35973         * elf/tst-auditmod7b.c: Likewise.
35974
35975         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35976         and x32_gnu_pltexit.
35977
35978         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35979         __ELF_NATIVE_CLASS.
35980         (La_x32_regs): New macro.
35981         (La_x32_retval): Likewise.
35982         (la_x32_gnu_pltenter): New function prototype.
35983         (la_x32_gnu_pltexit): Likewise.
35984
35985 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35986
35987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35988         exponent.
35989
35990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35991
35992         * configure.in (libc_cv_cc_nofma): Check for option to disable
35993         generation of FMA instructions.
35994         * configure: Regenerate.
35995         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35996         * sysdeps/ieee754/dbl-64/Makefile: New file.
35997         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35998         Remove brandred-fma4.
35999         (CFLAGS-brandred-fma4.c): Remove.
36000         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36001         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36002         define.
36003         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36004         define.
36005
36006 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36007
36008         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36009         LLONG_MAX != LONG_MAX.
36010         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36011         (_fitoa_word): Likewise.
36012         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36013         LLONG_MAX != LONG_MAX.
36014         * stdio-common/_itowa.h: Include <_itoa.h>.
36015         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36016         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36017         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36018         only if not defined.
36019         (_ITOA_WORD_TYPE): Likewise.
36020         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36021         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36022
36023 2012-03-21  David S. Miller  <davem@davemloft.net>
36024
36025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36026
36027 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36028
36029         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36030         of x86_64 when setting libc_cv_slibdir, libdir and
36031         libc_cv_localedir.
36032         * sysdeps/unix/sysv/linux/configure: Regenerated.
36033
36034 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36035
36036         * manual/lang.texi (Old Varargs): Remove section.
36037         (How Variadic): Update menu.
36038         (va_start): Do not mention varargs.h.
36039
36040 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36041             Joseph Myers  <joseph@codesourcery.com>
36042
36043         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36044         link test.
36045         * configure: Regenerated.
36046
36047 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36048
36049         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36050         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36051         conformtest.pl
36052
36053 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36054
36055         * NOTES: Remove.
36056         * Makefile (files-for-dist): Remove NOTES.
36057         (NOTES): Remove rule.
36058         * README: Don't refer to NOTES.
36059         * manual/creature.texi: Don't include macros.texi.
36060         * manual/intro.texi (creature.texi): Remove comment referring to
36061         NOTES.
36062
36063         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36064         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36065         * configure: Regenerated.
36066         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36067         LIBC_TRY_CC_OPTION.
36068         (libc_cv_as_i686): Likewise.
36069         (libc_cv_cc_avx): Likewise.
36070         (libc_cv_cc_sse2avx): Likewise.
36071         (libc_cv_cc_fma4): Likewise.
36072         (libc_cv_cc_novzeroupper): Likewise.
36073         * sysdeps/i386/configure: Regenerated.
36074
36075         [BZ #13883]
36076         * sysdeps/i386/fpu/s_cexp.S: Remove.
36077         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36078         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36079         * math/libm-test.inc (cexp_test): Add more tests.
36080         * sysdeps/i386/fpu/libm-test-ulps: Update.
36081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36082
36083 2012-03-21  Allan McRae  <allan@archlinux.org>
36084
36085         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36086
36087 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36088
36089         [BZ #13871]
36090         * math/w_exp2.c: Do not include <float.h>.
36091         (o_threshold, u_threshold): Remove.
36092         (__exp2): Calculate result before checking finiteness and calling
36093         __kernel_standard.
36094         * math/w_exp2f.c: Likewise.
36095         * math/w_exp2l.c: Likewise.
36096         * math/libm-test.inc (exp2_test): Require overflow exception for
36097         1e6 input.
36098
36099         [BZ #3866]
36100         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36101         range of signed 64-bit integers before using fistpll.  Remove
36102         checks for whether integers fit in mantissa bits.
36103         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36104         the range of signed 32-bit integers before using fistpl.  Remove
36105         checks for whether integers fit in mantissa bits.
36106         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36107         (__ieee754_powl): Test for y outside the range of signed 64-bit
36108         integers before using fistpll.  Reduce 64-bit values to 63-bit
36109         ones as needed.
36110         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36111         divide-by-zero is raised for zero to large negative powers.
36112         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36113         (__ieee754_powl): Test for y outside the range of signed 64-bit
36114         integers before using fistpll.  Reduce 64-bit values to 63-bit
36115         ones as needed.
36116         * math/libm-test.inc (pow_test): Add more tests.
36117
36118 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36119
36120         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36121         <stdio-common/_itoa.h>.
36122         * debug/segfault.c: Likewise.
36123         * elf/dl-cache.c: Likewise.
36124         * elf/dl-minimal.c: Likewise.
36125         * elf/dl-misc.c: Likewise.
36126         * elf/dl-sysdep.c: Likewise.
36127         * elf/dl-version.c: Likewise.
36128         * elf/rtld.c: Likewise.
36129         * hurd/hurdsock.c: Likewise.
36130         * hurd/lookup-retry.c: Likewise.
36131         * malloc/malloc.c: Likewise.
36132         * malloc/mtrace.c: Likewise.
36133         * nscd/nscd_getgr_r.c: Likewise.
36134         * nscd/nscd_getpw_r.c: Likewise.
36135         * nscd/nscd_getserv_r.c: Likewise.
36136         * posix/getopt_init.c: Likewise.
36137         * posix/wordexp.c: Likewise.
36138         * stdio-common/_itoa.c: Likewise.
36139         * stdio-common/printf_fphex.c: Likewise.
36140         * stdio-common/vfprintf.c: Likewise.
36141         * string/_strerror.c: Likewise.
36142         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36143         * sysdeps/i386/i686/hp-timing.h: Likewise.
36144         * sysdeps/mach/_strerror.c: Likewise.
36145         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36146         * sysdeps/mach/hurd/sethostid.c: Likewise.
36147         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36148         * sysdeps/mach/xpg-strerror.c: Likewise.
36149         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36150         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36151         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36152         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36153         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36154         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36155         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36156         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36157         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36158         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36159         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36160         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36161         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36162         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36163         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36164         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36165         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36166         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36167         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36168         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36169         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36170
36171         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36172
36173         * stdio-common/_itoa.h: Moved to ...
36174         * sysdeps/generic/_itoa.h: Here.
36175
36176         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36177
36178         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36179         instead of "_itoa.h" and "_itowa.h".
36180         * stdio-common/vfprintf.: Likewise.
36181
36182 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36183
36184         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36185         <bits/wordsize.h>.
36186         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36187         (__signbit): Likwise.
36188         (llrintf): Likwise.
36189         (llrint): Likwise.
36190
36191 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36192
36193         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36194         __WORDSIZE != 64.
36195
36196 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36197
36198         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36199         OVERFLOW_EXCEPTION_OK.
36200         * math/libm-test.inc ("Philosophy"): Update comment about
36201         exception testing.
36202         (OVERFLOW_EXCEPTION): Define.
36203         (OVERFLOW_EXCEPTION_OK): Likewise.
36204         (INVALID_EXCEPTION_OK): Renumber.
36205         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36206         (IGNORE_ZERO_INF_SIGN): Likewise.
36207         (test_exceptions): Handle FE_OVERFLOW.
36208         (exp10_test): Expect overflow exceptions.
36209         (exp2_test): Likewise.
36210         (expm1_test): Likewise.
36211         (nextafter_test): Likewise.
36212         (pow_test): Likewise.
36213         (scalbn_test): Likewise.
36214         (scalbln_test): Likewise.
36215
36216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36217
36218         * sysdeps/x86_64/bits/atomic.h
36219         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36220         64bit integer.
36221         (atomic_exchange_acq): Likewise.
36222         (__arch_exchange_and_add_body): Likewise.
36223         (__arch_add_body): Likewise.
36224         (atomic_add_negative): Likewise.
36225         (atomic_add_zero): Likewise.
36226
36227 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36228
36229         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36230         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36231
36232 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36233
36234         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36235         Check __x86_64__ instead of __WORDSIZE.
36236
36237 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36238
36239         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36240
36241 2012-03-19  David S. Miller  <davem@davemloft.net>
36242
36243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36244
36245         * sysdeps/sparc/fpu/fenv_private.h: New file.
36246         * sysdeps/sparc/fpu/math_private.h: Use it.
36247         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36248         Remove.
36249         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36250         (libc_feholdexcept_setroundl): Remove.
36251         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36252         Remove.
36253         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36254         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36255
36256 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36257
36258         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36259         int64_t instead of long int.
36260         (INSERT_WORDS64): Likwise.
36261
36262 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36263
36264         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36265         _Unwind_GetCFA return to _Unwind_Ptr first.
36266
36267 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36268
36269         [BZ #13629]
36270         * math/s_clog.c: Include <float.h>.
36271         (__clog): Scale large or subnormal inputs.
36272         * math/s_clogf.c: Likewise.
36273         * math/s_clogl.c: Likewise.
36274         * math/s_clog10.c: Include <float.h>.
36275         (M_LOG10_2): Define.
36276         (__clog10): Scale large or subnormal inputs.
36277         * math/s_clog10f.c: Likewise.
36278         * math/s_clog10l.c: Likewise.
36279         * math/libm-test.inc (clog_test): Add more tests.
36280         (clog10_test): Likewise.
36281         * sysdeps/i386/fpu/libm-test-ulps: Update.
36282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36283
36284         [BZ #11451]
36285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36286         x and y.
36287         * math/libm-test.inc (atan2_test): Add another test.
36288
36289         * Makerules (common-objdir-compile): Remove.
36290         * sysdeps/unix/Makefile (config-generated): Do not add
36291         $(unix-generated) to variable.
36292         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36293         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36294         Remove rule.
36295         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36296         Likewise.
36297         [generic bits/local_lim.h] (before-compile): Do not append to
36298         variable.
36299         [generic bits/local_lim.h] (common-generated): Likewise.
36300         [generic sys/param.h] (before-compile): Do not append to variable.
36301         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36302         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36303         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36304         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36305         include.
36306         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36307         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36308         [generic sys/param.h] ($(addprefix
36309         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36310         [generic sys/param.h] (common-generated): Do not append to
36311         variable.
36312         [generic sys/param.h] (sysdep_headers): Likewise.
36313         [generic bits/errno.h] (before-compile): Do not append to
36314         variable.
36315         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36316         rule.
36317         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36318         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36319         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36320         [generic bits/errno.h] (common-generated): Do not append to
36321         variable.
36322         [generic bits/ioctls.h] (before-compile): Do not append to
36323         variable.
36324         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36325         rule.
36326         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36327         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36328         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36329         rule.
36330         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36331         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36332         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36333         [generic bits/ioctls.h] (common-generated): Do not append to
36334         variable.
36335         [generic sys/syscall.h] (syscall.h): Remove variable.
36336         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36337         rule.
36338         [generic sys/syscall.h] (before-compile): Do not append to
36339         variable.
36340         [generic sys/syscall.h] (common-generated): Likewise.
36341         * sysdeps/unix/errnos-tmpl.c: Remove file.
36342         * sysdeps/unix/errnos.awk: Likewise.
36343         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36344         * sysdeps/unix/ioctls.awk: Likewise.
36345         * sysdeps/unix/mk-local_lim.c: Likewise.
36346         * sysdeps/unix/snarf-ioctls: Likewise.
36347
36348 2012-03-19  Richard Henderson  <rth@twiddle.net>
36349
36350         * sysdeps/i386/fpu/fenv_private.h: New file.
36351         * sysdeps/i386/fpu/math_private.h: Use it.
36352         (math_opt_barrier, math_force_eval): Remove.
36353         (libc_feholdexcept_setround_53bit): Remove.
36354         (libc_feupdateenv_53bit): Remove.
36355         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36356         (math_opt_barrier, math_force_eval): Remove.
36357         (libc_feholdexcept): Remove.
36358         (libc_feholdexcept_setround): Remove.
36359         (libc_fetestexcept, libc_fesetenv): Remove.
36360         (libc_feupdateenv_test): Remove.
36361         (libc_feupdateenv, libc_feholdsetround): Remove.
36362         (libc_feresetround): Remove.
36363
36364         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36365         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36366
36367         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36368         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36369         (libc_feupdateenv_testl): New.
36370         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36371         (libc_feupdateenv_testf): New.
36372         (libc_feupdateenv): Use libc_feupdateenv_test.
36373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36374         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36375
36376         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36377         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36378         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36379         (libc_feresetround_noex): New.
36380         (libc_feresetround_noexf): New.
36381         (libc_feresetround_noexl): New.
36382         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36383         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36384         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36385         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36386         SET_RESTORE_ROUND.
36387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36389         (__cos): Likewise.
36390         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36391         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36392         SET_RESTORE_ROUND_NOEX.
36393         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36394         SET_RESTORE_ROUND_NOEXF.
36395         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36396         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36397         (libc_feholdsetroundf): New.
36398         (libc_feresetround, libc_feresetroundf): New.
36399
36400         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36401         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36402         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36403
36404         * sysdeps/generic/math_private.h: Include <fenv.h>.
36405         (default_libc_feholdexcept): New.
36406         (default_libc_feholdexcept_setround): New.
36407         (default_libc_fesetenv, default_libc_feupdateenv): New.
36408         (libc_feholdexcept): Only define if undefined.
36409         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36410         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36411         (libc_feholdexcept_setroundl): Likewise.
36412         (libc_feholdexcept_setround_53bit): Likewise.
36413         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36414         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36415         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36416         (libc_feupdateenv_53bit): Likewise.
36417         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36418         (libc_feholdexcept): Convert from macro to inline function.
36419         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36420         (libc_fesetenv, libc_feupdateenv): Likewise.
36421
36422         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36423         not previously defined.
36424         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36425         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36426         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36427         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36428         * sysdeps/ieee754/flt-32/math_private.h: New file.
36429         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36430         math_private.h below SET_FLOAT_WORD.
36431         (__isnan, __isinf_ns, __finite): Remove.
36432         (__isnanf, __isinf_nsf, __finitef): Remove.
36433
36434 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36435
36436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36437
36438 2012-03-17  David S. Miller  <davem@davemloft.net>
36439
36440         [BZ #6471]
36441         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36442         for 2.16.
36443
36444 2012-03-16  David S. Miller  <davem@davemloft.net>
36445
36446         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36447         warnings.
36448
36449         [BZ #6471]
36450         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36451         properly.
36452         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36453         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36454         sysdep_routines when subdir is sysvipc.
36455         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36456         __getshmlba helper.
36457
36458         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36459
36460 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36461
36462         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36463         [__LP64__].
36464
36465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36466
36467         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36468         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36469         (__lround): Renamed to ...
36470         (__llround): This.  Replace long int with long long int.
36471         Define lround functions as aliases of llround functions.
36472         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36473
36474 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36475
36476         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36477         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36478         adresses to uintptr_t.  Replace "long int" and "unsigned long
36479         int" with "greg_t" on va_arg.
36480
36481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36482
36483         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36484         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36485
36486         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36487         Move e_machine check before EI_CLASS check.  Handle x32
36488         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36489         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36490         SKIP_EM_IA_64 and include
36491         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36492
36493         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36494         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36495         (add_system_dir): New macro.
36496
36497         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36498         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36499
36500 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36501
36502         [BZ #2551]
36503         [BZ #2552]
36504         [BZ #2553]
36505         [BZ #2554]
36506         [BZ #2562]
36507         [BZ #2563]
36508         [BZ #2565]
36509         [BZ #2566]
36510         [BZ #2576]
36511         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36512         (y0): Likewise.
36513         * math/w_j0f.c (j0f): Likewise.
36514         (y0f): Likewise.
36515         * math/w_j0l.c (__j0l): Likewise.
36516         (__y0l): Likewise.
36517         * math/w_j1.c (j1): Likewise.
36518         (y1): Likewise.
36519         * math/w_j1f.c (j1f): Likewise.
36520         (y1f): Likewise.
36521         * math/w_j1l.c (__j1l): Likewise.
36522         (__y1l): Likewise.
36523         * math/w_jn.c (jn): Likewise.
36524         (yn): Likewise.
36525         * math/w_jnf.c (jnf): Likewise.
36526         (ynf): Likewise.
36527         * math/w_jnl.c (__jnl): Likewise.
36528         (__ynl): Likewise.
36529         * math/libm-test.inc (j0_test): Add more tests.
36530         (j1_test): Likewise.
36531         (jn_test): Likewise.  Add trailing semicolon to existing test.
36532         (y0_test): Likewise.
36533         (y1_test): Likewise.
36534         * sysdeps/i386/fpu/libm-test-ulps: Update.
36535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36536
36537         [BZ #13851]
36538         [BZ #13854]
36539         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36540         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36541         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36542         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36543         (__tanl): Set errno for infinite argument.
36544         * sysdeps/i386/fpu/mptan.c: Remove.
36545         * sysdeps/i386/fpu/s_tan.S: Likewise.
36546         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36547         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36548         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36549         * math/libm-test.inc (tan_test): Add more tests and enable more
36550         tests for double and long double.
36551         * sysdeps/i386/fpu/libm-test-ulps: Update.
36552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36553
36554 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36555
36556         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36557         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36558
36559 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36560
36561         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36562         * configure.in: Use it for both main tree and add-ons.
36563         * configure: Regenerated.
36564
36565 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36566
36567         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36568
36569 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36570
36571         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36572         in comment.
36573
36574         [BZ #13851]
36575         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36576         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36577         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36578         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36579         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36580         infinite argument.
36581         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36582         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36583         != 0 for prec == 2.
36584         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36585         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36586         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36587         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36588         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36589         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36590         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36591         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36592         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36593         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36594         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36595         * math/libm-test.inc (cos_test): Add more tests and enable more
36596         tests for long double.
36597         (sin_test): Likewise.
36598         (sincos_test): Likewise.
36599         * sysdeps/i386/fpu/libm-test-ulps: Update.
36600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36601
36602 2012-03-16  David S. Miller  <davem@davemloft.net>
36603
36604         * sysdeps/sparc/fpu/math_private.h: New file.
36605
36606 2012-03-15  David S. Miller  <davem@davemloft.net>
36607
36608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36609         file.
36610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36612         file.
36613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36618         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36619         sysdep routines.
36620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36621
36622         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36623         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36624
36625         * sysdeps/sparc/sparc-ifunc.h: New file.
36626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36627         sparc-ifunc.h
36628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36630         Likewise.
36631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36632         Likewise.
36633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36637         Likewise.
36638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36643         Likewise.
36644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36645         Likewise.
36646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36652         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36653         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36660         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36661         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36662         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36663         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36664         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36665         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36666         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36667         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36668         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36670
36671 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36672
36673         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36674         scaling.
36675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36676
36677 2012-03-15  Andreas Jaeger  <aj@suse.de>
36678
36679         [BZ #13852]
36680         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36681         ieee754/flt-32 implementation for sin, cos and sincos.
36682         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36683         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36684         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36685         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36686         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36687         ieee754/flt-32 implementation for tan.
36688
36689         * math/libm-test.inc (cos_test): Enable some large input tests for
36690         float as well
36691         (sin_test): Likewise.
36692         (sincos_test): Likewise.
36693         (tan_test): Add tests for large input.
36694
36695         * sysdeps/i386/fpu/libm-test-ulps: Update.
36696
36697 2012-03-15  Andreas Jaeger  <aj@suse.de>
36698
36699         [BZ #13658]
36700         * math/libm-test.inc (cos_test): Add more test cases.
36701         (sin_test): Likewise.
36702         (sincos_test): Likewise.
36703
36704 2012-03-15  Andreas Jaeger  <aj@suse.de>
36705
36706         [BZ #13837]
36707         * math/libm-test.inc (cos_test): Add a test case for large input
36708         value.
36709         (sin_test): Likewise.
36710         (sincos_test): Likewise.
36711
36712 2012-03-15  Andreas Jaeger  <aj@suse.de>
36713             Joseph Myers  <joseph@codesourcery.com>
36714
36715         [BZ #13658]
36716         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36717         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36718         * sysdeps/i386/fpu/branred.c: Likewise.
36719         * sysdeps/i386/fpu/dosincos.c: Likewise.
36720         * sysdeps/i386/fpu/mpa.c: Likewise.
36721         * sysdeps/i386/fpu/s_cos.S: Likewise.
36722         * sysdeps/i386/fpu/s_sin.S: Likewise.
36723         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36724         * sysdeps/i386/fpu/sincos32.c: Likewise.
36725
36726         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36727         Define.
36728         (libc_feupdateenv_53bit): Define.
36729         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36730         Define.
36731         (libc_feupdateenv_53bit): Define.
36732
36733         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36734         53 bit (without extend i386 double precision).
36735
36736         * math/libm-test.inc (sincos_test): Add tests for large input.
36737         (sin): Likewise.
36738         (cos): Likewise.
36739
36740         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36741
36742 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36743
36744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36745
36746 2012-03-15  David S. Miller  <davem@davemloft.net>
36747
36748         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36749         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36750         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36751         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36764         file.
36765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36767         file.
36768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36770         file.
36771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36773         file.
36774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36775         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36776         fmin/fmax sysdep routines.
36777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36778
36779 2012-03-14  David S. Miller  <davem@davemloft.net>
36780
36781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36785         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36786         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36787         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36788         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36794         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36795         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36796         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36801         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36802         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36803         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36804         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36805         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36806         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36807         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36808         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36809         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36810         routines.
36811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36812         file.
36813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36815         file.
36816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36818         file.
36819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36821         file.
36822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36824         file.
36825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36827         file.
36828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36829         file.
36830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36831         file.
36832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36833         file.
36834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36835         New file.
36836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36837         file.
36838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36839         file.
36840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36842         file.
36843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36845         file.
36846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36848         file.
36849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36851         VIS3 routines.
36852
36853         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36854         New file.
36855
36856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36857
36858         * sysdeps/sparc/configure.in: New file.
36859         * sysdeps/sparc/configure: Generate.
36860         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36861         * configure: Regenerate.
36862         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36863         * config.make.in (have-as-vis3): New.
36864         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36865         available use -Av9d instead of -Av9a.
36866         * sysdeps/sparc/sparc64/Makefile: Likewise.
36867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36869         New file.
36870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36871         file.
36872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36873         New file.
36874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36875         file.
36876         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36877         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36878         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36879         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36881
36882         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36883         fzeros/fnegs to load 0x80000000 into a float register instead of
36884         using the stack.
36885         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36886
36887 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36888
36889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36890         bits/syscall.h.
36891         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36892         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36893         ($(inst_includedir)/bits/syscall.h): Remove rule.
36894         ($(objpfx)bits/syscall.d): Include instead of
36895         $(objpfx)syscall-list.d.
36896         (generated): Change syscall-list.h and syscall-list.d to
36897         bits/syscall.h and bits/syscall.d.
36898
36899 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36900
36901         [BZ #13846]
36902         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36903
36904 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36905
36906         [BZ #13841]
36907         * math/s_csqrt.c: Include <float.h>.
36908         (__csqrt): Scale large or subnormal inputs.
36909         * math/s_csqrtf.c: Likewise.
36910         * math/s_csqrtl.c: Likewise.
36911         * math/libm-test.inc (csqrt_test): Add more tests.
36912         * sysdeps/i386/fpu/libm-test-ulps: Update.
36913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36914
36915         [BZ #13840]
36916         * math/libm-test.inc (hypot_test): Add more tests.
36917
36918 2012-03-13  David S. Miller  <davem@davemloft.net>
36919
36920         [BZ #13840]
36921         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36922         double-precision for the calculation instead of scaling.
36923
36924 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36925
36926         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36927         manipulate bits before adding and subtracting TWO52[sx].
36928         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36929         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36930         Likewise.
36931         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36932
36933 2012-03-13  David S. Miller  <davem@davemloft.net>
36934
36935         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36936         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36937         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36938         rtld-global-offsets.h
36939         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36940
36941         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36942         large parameters.
36943
36944         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36945
36946         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36947         'err' in the ifdef scope in which it is actually used.
36948
36949         * nss/nss_db/db-init.c: Include string.h
36950
36951 2012-03-12  David S. Miller  <davem@davemloft.net>
36952
36953         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36954         masking out of the most significant byte of random value used.
36955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36956         Fix coding style in previous change.
36957
36958         * sysdeps/unix/sysv/linux/kernel-features.h
36959         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36960         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36961         expression.
36962         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36963         later.
36964
36965 2012-03-11  David S. Miller  <davem@davemloft.net>
36966
36967         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36968         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36969         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36970         for 'resultvar' otherwise things get truncated on 64-bit.
36971
36972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36973         Fix masking out of the most significant byte of random value used.
36974
36975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36976
36977 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36978
36979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36980
36981 2012-03-09  David S. Miller  <davem@davemloft.net>
36982
36983         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36984         variables with appropriate CPP guards.
36985         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36986         from the frame pointer, not the stack pointer.  Correct layout
36987         comments.  Fix test on resulting framesize and the management of
36988         the outregs buffer for pltexit.  Preserve floating point return
36989         values across _dl_call_pltexit call.
36990         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36991         framesize and the management of the outregs buffer for pltexit.
36992         Preserve floating point return values across _dl_call_pltexit
36993         call.
36994         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36995         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36996         (la_sparc64_gnu_pltexit): New functions.
36997         (print_exit): Fix format string for return register value.
36998
36999 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37000
37001         * sunrpc/Makefile (others): Add rpcgen.
37002         ($(objpfx)rpcgen): Remove special build rule and dependency on
37003         libc.
37004         * sunrpc/rpcgen.c: New file.
37005
37006 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37007
37008         [BZ #13673]
37009         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37010         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37011         * sysdeps/i386/crti.S: Likewise.
37012         * sysdeps/i386/crtn.S: Likewise.
37013         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37014         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37015         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37016         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37017         * sysdeps/sh/crti.S: Likewise.
37018         * sysdeps/sh/crtn.S: Likewise.
37019         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37020
37021         [BZ #13673]
37022         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37023         with URL.
37024         * locale/programs/locfile-kw.gperf: Likewise.
37025         * locale/programs/charmap-kw.h: Regenerated.
37026         * locale/programs/locfile-kw.h: Likewise.
37027
37028         [BZ #13673]
37029         * intl/plural.y: Replace FSF snail mail address with URL.
37030         * intl/plural.c: Regenerated.
37031
37032 2012-03-09  Richard Henderson  <rth@twiddle.net>
37033
37034         * include/math_private.h: Remove file.
37035         * math/math_private.h: Move file ...
37036         * sysdeps/generic/math_private.h: ... here.
37037
37038         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37039         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37040         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37041
37042         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37043         and <math_private.h>.
37044         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37045         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37046         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37047         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37048         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37049         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37050         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37051         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37052         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37053         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37055         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37056         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37057         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37058         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37059         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37060         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37061         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37062         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37063         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37065         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37066         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37067         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37068         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37069         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37070         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37078         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37079         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37080         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37081         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37082         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37083         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37084         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37085         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37086         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37087         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37088         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37089         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37090         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37091         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37092         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37093         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37095         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37098         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37099         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37109         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37110         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37112         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37113         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37114         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37115         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37116         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37117         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37118         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37119         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37122         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37123         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37124         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37125         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37126         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37127         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37128         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37130         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37132         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37133         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37134         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37135         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37136         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37137         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37138         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37139         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37140         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37141         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37142         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37143         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37144         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37145         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37146         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37147         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37148         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37149         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37150         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37151         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37152         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37154         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37155         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37156         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37157         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37158         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37159         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37160         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37161         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37162         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37163         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37164         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37165         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37166         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37167         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37168         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37169         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37170         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37171         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37172         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37173         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37174         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37175         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37176         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37177         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37178         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37179         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37180         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37181         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37182         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37183         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37184         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37185         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37186         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37187         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37188         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37189         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37190         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37191         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37192         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37193         * sysdeps/ieee754/k_standard.c: Likewise.
37194         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37195         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37196         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37197         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37198         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37199         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37200         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37202         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37203         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37204         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37206         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37207         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37208         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37209         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37210         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37211         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37212         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37213         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37214         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37215         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37216         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37217         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37218         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37219         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37220         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37221         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37222         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37223         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37224         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37225         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37226         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37227         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37228         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37229         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37230         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37231         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37232         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37233         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37234         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37235         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37236         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37237         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37238         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37239         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37240         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37241         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37242         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37243         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37244         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37245         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37246         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37247         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37248         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37249         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37250         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37251         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37252         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37253         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37254         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37255         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37256         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37257         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37258         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37259         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37260         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37262         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37263         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37264         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37265         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37266         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37268         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37269         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37270         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37271         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37276         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37277         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37278         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37279         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37280         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37282         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37283         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37284         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37285         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37286         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37287         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37288         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37289         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37291         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37292         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37293         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37296         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37297         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37298         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37301         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37302         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37303         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37304         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37305         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37306         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37307         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37308         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37309         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37310         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37311         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37312         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37313         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37314         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37315         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37316         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37317         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37318         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37319         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37320         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37321         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37322         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37323         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37324         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37325         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37326         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37327         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37328         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37329         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37331         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37332         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37333         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37337         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37338         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37339         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37340         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37341         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37343         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37344         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37345         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37346         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37347         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37348         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37349         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37350         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37351         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37352         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37353         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37354         * sysdeps/ieee754/s_lib_version.c: Likewise.
37355         * sysdeps/ieee754/s_matherr.c: Likewise.
37356         * sysdeps/ieee754/s_signgam.c: Likewise.
37357         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37358         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37359         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37360         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37361         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37362         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37363         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37364         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37365         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37366         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37367         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37368         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37369         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37370         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37371         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37372         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37373         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37374         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37375         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37377         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37378
37379 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37380
37381         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37382         * sunrpc/rpc_main.c: Likewise.
37383         * sunrpc/rpc_svcout.c: Likewise.
37384
37385 2012-03-09  David S. Miller  <davem@davemloft.net>
37386
37387         * include/math_private.h: New file.
37388
37389 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37390
37391         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37392         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37393         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37394         from <bits/socket_type.h>.
37395         (enum __socket_type): Don't define here.
37396         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37398         bits/socket_type.h.
37399
37400         [BZ #13566]
37401         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37402         checking __USE_GNU.
37403
37404         * Makerules ($(inst_includedir)/%.h): New rule.
37405         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37406         (install-others): Remove variable setting.
37407         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37408
37409 2012-03-08  Richard Henderson  <rth@twiddle.net>
37410
37411         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37412         from macro to inline function; merge with the
37413         !__LIBC_INTERNAL_MATH_INLINES version.
37414         (__ieee754_sqrtf): Likewise.
37415
37416         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37417         to inline function.
37418         (__rintf, __floor, __floorf): Likewise.
37419
37420         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37421         macro to inline function.
37422         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37423
37424         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37425         not <math/math_private.h>.
37426
37427 2012-03-08  David S. Miller  <davem@davemloft.net>
37428
37429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37430         copyright year.
37431         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37432
37433 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37434
37435         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37436         normalization.
37437         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37438         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37439
37440 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37441
37442         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37443         be defined individually, they must be defined as a block.  Define
37444         S for printing a string instead of hidint the different by using a
37445         macro for adding the 'l'.
37446         * stdio-common/tst-fphex-wide.c: Adjust.
37447
37448 2012-03-07  Marek Polacek  <polacek@redhat.com>
37449
37450         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37451
37452 2012-03-08  Marek Polacek  <polacek@redhat.com>
37453
37454         [BZ #13806]
37455         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37456         * stdio-common/tst-fphex.c: Define a few macros to make the
37457         test reusable.  Use them.
37458         * stdio-common/tst-fphex-wide.c: New file.
37459
37460 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37461
37462         [BZ #6911]
37463         * manual/macros.texi (gnusystems): New macro.
37464         (nongnusystems): Likewise.
37465         (gnulinuxhurdsystems): Likewise.
37466         (gnuhurdsystems): Likewise..
37467         (gnulinuxsystems): Likewise.
37468         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37469         variants of the GNU system, not "GNU system".
37470         * manual/conf.texi: Likewise.
37471         * manual/errno.texi: Likewise.  Update example of errno macro
37472         expansion.
37473         * manual/filesys.texi: Likewise.
37474         (getumask): Document as specific to GNU/Hurd.
37475         * manual/install.texi: Likewise.  Reword some references to
37476         GNU/Linux.
37477         * manual/intro.texi: Likewise.
37478         * manual/io.texi: Likewise.
37479         (File Name Portability): Detail which constraints are inapplicable
37480         to all GNU systems and which are only inapplicable to GNU/Hurd.
37481         * manual/job.texi: Likewise.
37482         * manual/llio.texi: Likewise.
37483         (O_NOCTTY): Document as present on GNU/Linux.
37484         * manual/maint.texi: Likewise.
37485         * manual/memory.texi: Likewise.
37486         * manual/pattern.texi: Likewise.
37487         * manual/pipe.texi: Likewise.
37488         * manual/process.texi: Likewise.
37489         * manual/resource.texi: Likewise.
37490         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37491         child on GNU/Hurd.
37492         * manual/setjmp.texi: Likewise.
37493         * manual/signal.texi: Likewise.
37494         * manual/startup.texi: Likewise.
37495         * manual/stdio.texi: Likewise.
37496         * manual/terminal.texi: Likewise.
37497         (ONLCR): Document as POSIX.
37498         (OXTABS): Document availability on GNU/Linux as XTABS.
37499         (ONOEOT): Document availability separately from other bits.
37500         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37501         * manual/time.texi: Likewise.
37502         * manual/users.texi: Likewise.
37503         * INSTALL: Regenerated.
37504         * sysdeps/gnu/errlist.c: Regenerated.
37505
37506         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37507         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37508         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37509         puts.
37510         * configure: Regenerated.
37511
37512 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37513
37514         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37515         default includes instead of AC_HEADER_CHECK.
37516         * sysdeps/i386/configure: Regenerated.
37517
37518         [BZ #10716]
37519         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37520         * math/s_cacoshf.c (__cacoshf): Likewise.
37521         * math/s_cacoshl.c (__cacoshl): Likewise.
37522         * math/s_casinh.c (__casinh): Set signs of result from argument.
37523         * math/s_casinhf.c (__casinhf): Likewise.
37524         * math/s_casinhl.c (__casinhl): Likewise.
37525         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37526         (casinh_test): Add more tests.
37527         * sysdeps/i386/fpu/libm-test-ulps: Update.
37528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37529
37530 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37531
37532         * po/zh_TW.po: Update from translation team.
37533
37534         * login/Makefile (distribute): Remove variable.
37535         * catgets/Makefile: Likewise.
37536         * mach/Makefile: Likewise.
37537         * malloc/Makefile: Likewise.
37538         * misc/Makefile: Likewise.
37539         * iconv/Makefile: Likewise.
37540         * nscd/Makefile: Likewise.
37541         * hurd/Makefile: Likewise.
37542         * manual/Makefile: Likewise.
37543         * locale/Makefile: Likewise.
37544         * intl/Makefile: Likewise.
37545         * conform/Makefile: Likewise.
37546         * nss/Makefile: Likewise.
37547         * time/Makefile: Likewise.
37548         * soft-fp/Makefile: Likewise.
37549         * dirent/Makefile: Likewise.
37550         * gmon/Makefile: Likewise.
37551         * po/Makefile: Likewise.
37552         * rt/Makefile: Likewise.
37553         * socket/Makefile: Likewise.
37554         * math/Makefile: Likewise.
37555         * signal/Makefile: Likewise.
37556         * debug/Makefile: Likewise.
37557         * elf/Makefile: Likewise.
37558         * timezone/Makefile: Likewise.
37559         * stdlib/Makefile: Likewise.
37560         * iconvdata/Makefile: Likewise.
37561         * sunrpc/Makefile: Likewise.
37562         * io/Makefile: Likewise.
37563         * argp/Makefile: Likewise.
37564         * inet/Makefile: Likewise.
37565         * hesiod/Makefile: Likewise.
37566         * grp/Makefile: Likewise.
37567         * csu/Makefile: Likewise.
37568         * wctype/Makefile: Likewise.
37569         * crypt/Makefile: Likewise.
37570         * libio/Makefile: Likewise.
37571         * string/Makefile: Likewise.
37572         * nis/Makefile: Likewise.
37573         * resolv/Makefile: Likewise.
37574         * stdio-common/Makefile: Likewise.
37575         * wcsmbs/Makefile: Likewise.
37576         * dlfcn/Makefile: Likewise.
37577         * posix/Makefile: Likewise.
37578
37579         [BZ #6959]
37580         * timezone/Makefile: Don't install timezone files, just the programs
37581         and scripts.
37582
37583 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37584
37585         * nss/databases.def: Add missing gshadow entry.
37586
37587         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37588
37589 2012-03-06  Marek Polacek  <polacek@redhat.com>
37590
37591         [BZ #13726]
37592         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37593         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37594         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37595         * stdio-common/tst-long-dbl-fphex.c: New file.
37596
37597 2012-03-06  David S. Miller  <davem@davemloft.net>
37598
37599         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37600         (set_obp_int): New function.
37601         (get_obp_int): New function.
37602         (__get_clockfreq_via_dev_openprom): Likewise.
37603         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37604         Avoid unused variable warnings on 'val' and use builtin_expect.
37605         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37606         __builtin_expect.
37607         (INLINE_CLONE_SYSCALL): Likewise.
37608
37609 2012-03-05  David S. Miller  <davem@davemloft.net>
37610
37611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37612
37613 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37614
37615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37616
37617         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37618         only for |x| >= 40.
37619         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37620
37621 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37622
37623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37624         Replace gettimeofday with __vdso_gettimeofday.
37625
37626         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37627         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37628         __vdso_clock_gettime and __vdso_getcpu.
37629
37630         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37631         time with __vdso_time.
37632
37633 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37634
37635         * manual/lang.texi (size_t): Note types to which size_t may be
37636         equivalent with the GNU C Library, but do not describe when
37637         differences between them are significant.
37638
37639 2012-03-05  Andreas Jaeger  <aj@suse.de>
37640
37641         * sysdeps/i386/fpu/libm-test-ulps: Update.
37642
37643 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37644
37645         [BZ #3976]
37646         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37647         (__ieee754_pow): Save and restore rounding mode and use
37648         round-to-nearest for main computations.
37649         * math/libm-test.inc (pow_test_tonearest): New function.
37650         (pow_test_towardzero): Likewise.
37651         (pow_test_downward): Likewise.
37652         (pow_test_upward): Likewise.
37653         (main): Call the new functions.
37654         * sysdeps/i386/fpu/libm-test-ulps: Update.
37655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37656
37657         [BZ #3976]
37658         * math/libm-test.inc (cosh_test_tonearest): New function.
37659         (cosh_test_towardzero): Likewise.
37660         (cosh_test_downward): Likewise.
37661         (cosh_test_upward): Likewise.
37662         (sinh_test_tonearest): Likewise.
37663         (sinh_test_towardzero): Likewise.
37664         (sinh_test_downward): Likewise.
37665         (sinh_test_upward): Likewise.
37666         (main): Call the new functions.
37667         * sysdeps/i386/fpu/libm-test-ulps: Update.
37668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37669
37670 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37671
37672         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37673         default stack guard is set in last bytes.
37674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37675
37676 2012-03-05  Kees Cook  <keescook@chromium.org>
37677
37678         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37679
37680         [BZ #13656]
37681         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37682         possibly allocate from heap instead of stack.
37683         * stdio-common/bug-vfprintf-nargs.c: New file.
37684         * stdio-common/Makefile (tests): Add nargs overflow test.
37685
37686 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37687
37688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37689
37690 2012-03-03  Marek Polacek  <polacek@redhat.com>
37691
37692         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37693         * math/math_private.h: Likewise.
37694         * stdlib/tst-strtod.c: Likewise.
37695         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37696         * sysdeps/x86_64/bits/atomic.h: Likewise.
37697
37698 2012-03-02  David S. Miller  <davem@davemloft.net>
37699
37700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37704         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37705         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37706         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37707         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37708
37709 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37710
37711         [BZ #13792]
37712         * manual/examples/README: New file, says the example source files
37713         can be used under GPL>=2.
37714         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37715         line containing just "*/".
37716         * manual/examples/add.c: Add copyright header (GPL>=2).
37717         * manual/examples/argp-ex1.c: Likewise.
37718         * manual/examples/argp-ex2.c: Likewise.
37719         * manual/examples/argp-ex3.c: Likewise.
37720         * manual/examples/argp-ex4.c: Likewise.
37721         * manual/examples/atexit.c: Likewise.
37722         * manual/examples/db.c: Likewise.
37723         * manual/examples/dir.c: Likewise.
37724         * manual/examples/dir2.c: Likewise.
37725         * manual/examples/execinfo.c: Likewise.
37726         * manual/examples/filecli.c: Likewise.
37727         * manual/examples/filesrv.c: Likewise.
37728         * manual/examples/fmtmsgexpl.c: Likewise.
37729         * manual/examples/genpass.c: Likewise.
37730         * manual/examples/inetcli.c: Likewise.
37731         * manual/examples/inetsrv.c: Likewise.
37732         * manual/examples/isockad.c: Likewise.
37733         * manual/examples/longopt.c: Likewise.
37734         * manual/examples/memopen.c: Likewise.
37735         * manual/examples/memstrm.c: Likewise.
37736         * manual/examples/mkfsock.c: Likewise.
37737         * manual/examples/mkisock.c: Likewise.
37738         * manual/examples/mygetpass.c: Likewise.
37739         * manual/examples/pipe.c: Likewise.
37740         * manual/examples/popen.c: Likewise.
37741         * manual/examples/rprintf.c: Likewise.
37742         * manual/examples/search.c: Likewise.
37743         * manual/examples/select.c: Likewise.
37744         * manual/examples/setjmp.c: Likewise.
37745         * manual/examples/sigh1.c: Likewise.
37746         * manual/examples/sigusr.c: Likewise.
37747         * manual/examples/stpcpy.c: Likewise.
37748         * manual/examples/strdupa.c: Likewise.
37749         * manual/examples/strftim.c: Likewise.
37750         * manual/examples/strncat.c: Likewise.
37751         * manual/examples/subopt.c: Likewise.
37752         * manual/examples/swapcontext.c: Likewise.
37753         * manual/examples/termios.c: Likewise.
37754         * manual/examples/testopt.c: Likewise.
37755         * manual/examples/testpass.c: Likewise.
37756         * manual/examples/timeval_subtract.c: Likewise.
37757
37758         [BZ #13792]
37759         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37760         function to ...
37761         * manual/timeval_subtract.c.texi: ... here, new file.
37762
37763 2012-03-02  David S. Miller  <davem@davemloft.net>
37764
37765         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37766
37767 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37768
37769         [BZ #3976]
37770         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37771         (__sin): Save and restore rounding mode and use round-to-nearest
37772         for all computations.
37773         (__cos): Save and restore rounding mode and use round-to-nearest
37774         for all computations.
37775         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37776         <fenv.h>.
37777         (tan): Save and restore rounding mode and use round-to-nearest for
37778         all computations.
37779         * math/libm-test.inc (cos_test_tonearest): New function.
37780         (cos_test_towardzero): Likewise.
37781         (cos_test_downward): Likewise.
37782         (cos_test_upward): Likewise.
37783         (sin_test_tonearest): Likewise.
37784         (sin_test_towardzero): Likewise.
37785         (sin_test_downward): Likewise.
37786         (sin_test_upward): Likewise.
37787         (tan_test_tonearest): Likewise.
37788         (tan_test_towardzero): Likewise.
37789         (tan_test_downward): Likewise.
37790         (tan_test_upward): Likewise.
37791         (main): Call the new functions.
37792         * sysdeps/i386/fpu/libm-test-ulps: Update.
37793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37794
37795         [BZ #10135]
37796         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37797         small n, then large n, before computing and testing k+n.
37798         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37799         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37800         Likewise.
37801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37802         Likewise.
37803         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37804         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37805         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37806         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37808         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37809         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37810         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37811         * math/libm-test.inc (scalbn_test): Add more tests.
37812         (scalbln_test): Likewise.
37813
37814         * manual/filesys.texi (mode_t): Describe constraints on size and
37815         signedness, not exact equivalence to a particular type.
37816         (ino_t): Likewise.
37817         (ino64_t): Likewise.
37818         (dev_t): Likewise.
37819         (nlink_t): Likewise.
37820         (blkcnt_t): Likewise.
37821         (blkcnt64_t): Likewise.
37822         * manual/llio.texi (off_t): Likewise.
37823
37824         [BZ #3976]
37825         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37826         (__ieee754_exp): Save and restore rounding mode and use
37827         round-to-nearest for all computations.
37828         * math/libm-test.inc (exp_test_tonearest): New function.
37829         (exp_test_towardzero): Likewise.
37830         (exp_test_downward): Likewise.
37831         (exp_test_upward): Likewise.
37832         (main): Call the new functions.
37833         * sysdeps/i386/fpu/libm-test-ulps: Update.
37834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37835
37836 2012-03-01  Chris Demetriou  <cgd@google.com>
37837
37838         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37839         have predictable order.
37840
37841 2012-03-01  David S. Miller  <davem@davemloft.net>
37842
37843         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37844
37845         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37846         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37847         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37848         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37849
37850         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37851         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37852         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37854         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37855         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37856         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37857         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37858         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37859
37860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37861
37862         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37863         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37864         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37865
37866         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37867         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37868         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37869         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37870         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37871         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37872         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37873         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37874         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37875         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37876         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37877         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37879         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37880         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37882         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37883         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37884         * sysdeps/sparc/elf/configure: Regenerated.
37885
37886 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37887
37888         * configure.in (AS, LD): Require binutils 2.20 or later.
37889         * configure: Regenerated.
37890         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37891         as required minimum version.
37892         * INSTALL: Regenerated.
37893
37894         [BZ #2541]
37895         [BZ #4108]
37896         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37897         before squaring exponent.
37898         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37899         bottom long double and 27 bits of top long double before squaring
37900         exponent.
37901         * math/libm-test.inc (erfc_test): Add more tests.
37902         * sysdeps/i386/fpu/libm-test-ulps: Update.
37903         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37905
37906 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37907
37908         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37909         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37910         containing bit-fields.
37911         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37912         * soft-fp/single.h (_FP_UNION_S): Likewise.
37913         * soft-fp/double.h (_FP_UNION_D): Likewise.
37914
37915 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37916
37917         [BZ #13786]
37918         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37919         not include ../strcmp.S.
37920         [USE_AS_STRNCASECMP_L]: Likewise.
37921         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37922         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37923         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37924         (__strncasecmp_l_ia32): Define as alias to
37925         __strncasecmp_l_nonascii.
37926
37927         [BZ #5794]
37928         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37929         * sysdeps/i386/fpu/libm-test-ulps: Update.
37930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37931
37932         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37934
37935 2012-02-29  Jeff Law  <law@redhat.com>
37936
37937         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37938         out of bounds read.
37939
37940 2012-02-29  Marek Polacek  <polacek@redhat.com>
37941
37942         [BZ #13706]
37943         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37944         * elf/Makefile: Add rules to run tst-unused-dep.out.
37945
37946 2012-02-28  David S. Miller  <davem@davemloft.net>
37947
37948         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37949         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37950         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37951         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37952         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37953         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37954
37955 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37956
37957         * math/libm-test.inc (llround_test): Move one test from
37958         lround_test.  Use TEST_f_L in moved test.
37959         (lround_test): Move misplaced test to llround_test.  Add testcase
37960         from bug 2561.
37961
37962 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37963
37964         * sysdeps/x86_64/fpu/e_expf.S: New file.
37965         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37966
37967 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37968
37969         [BZ #13637]
37970         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37971         of remain_len that may cause incomplete multi-byte character and
37972         false match.
37973         * posix/bug-regex33.c: New file.
37974         * posix/Makefile (tests): Add bug-regex33.
37975
37976 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37977
37978         * manual/macros.texi: New file.
37979         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37980         * manual/libc.texinfo: Include macros.texi.
37981         * manual/creatute.texi: Likewise.
37982         * manual/install.texi: Likewise.
37983         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37984         @glibcadj{} in references to the GNU C Library.
37985         * manual/charset.texi: Likewise.
37986         * manual/conf.texi: Likewise.
37987         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37988         when not using those macros.
37989         * manual/creature.texi: Likewise.
37990         * manual/crypt.texi: Likewise.
37991         * manual/errno.texi: Likewise.
37992         * manual/filesys.texi: Likewise.
37993         * manual/header.texi: Likewise.
37994         * manual/install.texi: Likewise.
37995         * manual/intro.texi: Likewise.
37996         * manual/io.texi: Likewise.
37997         * manual/job.texi: Likewise.
37998         * manual/lang.texi: Likewise.
37999         * manual/libc.texiinfo: Likewise.
38000         * manual/llio.texi: Likewise.
38001         * manual/locale.texi: Likewise.
38002         * manual/maint.texi: Likewise.
38003         * manual/math.texi: Likewise.
38004         * manual/memory.texi: Likewise.
38005         * manual/message.texi: Likewise.
38006         * manual/nss.texi: Likewise.
38007         * manual/pattern.texi: Likewise.
38008         * manual/process.texi: Likewise.
38009         * manual/resource.texi: Likewise.
38010         * manual/search.texi: Likewise.
38011         * manual/setjmp.texi: Likewise.
38012         * manual/signal.texi: Likewise.
38013         * manual/socket.texi: Likewise.
38014         * manual/startup.texi: Likewise.
38015         * manual/stdio.texi: Likewise.
38016         * manual/string.texi: Likewise.
38017         * manual/sysinfo.texi: Likewise.
38018         * manual/syslog.texi: Likewise.
38019         * manual/terminal.texi: Likewise.
38020         * manual/time.texi: Likewise.
38021         * manual/users.texi: Likewise.
38022         * INSTALL: Regenerated.
38023         * NOTES: Regenerated.
38024         * sysdeps/gnu/errlist.c: Regenerated.
38025
38026 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38027
38028         * include/dirent.h: Include <dirstream.h> before
38029         <dirent/dirent.h>.
38030
38031 2012-02-28  David S. Miller  <davem@davemloft.net>
38032
38033         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38034         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38035         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38036         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38037
38038 2012-02-27  David S. Miller  <davem@davemloft.net>
38039
38040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38042         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38043         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38044
38045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38046         frame pointer instead of stack pointer relative arg slot.
38047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38048         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38049         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38050
38051 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38052
38053         [BZ #3992]
38054         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38055
38056 2012-02-27  David S. Miller  <davem@davemloft.net>
38057
38058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38062         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38063         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38064         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38065         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38066
38067 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38068
38069         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38070         later.  Allow versions 5-9.
38071         * configure: Regenerated.
38072         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38073         required minimum version and 4.6 as recommended version.  Do not
38074         mention bugs in GCC 2.7 and 2.8.
38075         * INSTALL: Regenerated.
38076
38077 2012-02-27  David S. Miller  <davem@davemloft.net>
38078
38079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38083         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38084         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38085         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38086         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38087
38088         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38089         manipulate bits before adding and subtracting TWO112[sx].
38090         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38091
38092 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38093
38094         [BZ #13775]
38095         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38096         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38097         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38098         being in POSIX, because they are in 1003.1-2008.
38099
38100         * rt/tst-aio.c: Include <fcntl.h>.
38101         * rt/tst-aio7.c: Likewise.
38102         * rt/tst-aio64.c: Likewise.
38103
38104         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38105
38106 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38107
38108         * manual/install.texi (--with-headers): Describe headers as
38109         interface headers, not private headers.
38110         (Specific advice for GNU/Linux systems): Describe use of headers
38111         from "make headers_install", not private headers from older
38112         kernels.
38113         * INSTALL: Regenerated.
38114         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38115         Change to 2.6.19.
38116         * sysdeps/unix/sysv/linux/configure: Regenerated.
38117
38118         * manual/llio.texi (fclean): Remove documentation.
38119
38120         * manual/Makefile (libc-texi-generated): New variable.  Include
38121         version.texi.
38122         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38123         $(libc-texi-generated), not duplicated list of files.
38124         (version.texi, stamp-version): New rules.
38125         (realclean): Remove $(libc-texi-generated), not individual files
38126         from that list.  Do not remove dir-add.texinfo.
38127         * manual/libc.texinfo: Comment out uses of edition numbers and
38128         references to printed manual.  Remove last-updated dates.
38129         (EDITION): Comment out.
38130         (ISBN): Likewise.
38131         (VERSION, UPDATED): Remove.
38132         (version.texi): Include.
38133
38134 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38135
38136         * sysdeps/posix/spawni.c: Include <signal.h>.
38137         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38138         * sysdeps/pthread/aio_fsync.c: Likewise.
38139
38140 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38141
38142         * conform/Makefile (tests): Run only when not cross-compiling and
38143         when fast-check is not defined.
38144
38145         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38146         * conform/data/limits.h-data: Fixes for POSIX2008.
38147         * conform/run-conformtest.sh: Run all tests.
38148         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38149         headers.
38150         * include/bits/dlfcn.h: Likewise.
38151         * include/langinfo.h: Likewise.
38152         * include/monetary.h: Likewise.
38153         * include/sys/poll.h: Likewise.
38154
38155         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38156         for __USE_GNU.
38157         * posix/spawn.h: Define __need_sigset_t.
38158         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38159         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38160         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38161         to get sigevent_t only.
38162         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38163         only for __USE_GNU.
38164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38165         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38166         process_vm_writev only for __USE_GNU.
38167         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38168
38169         * conform/Makefile: For now ignore errors from run-conformtest.
38170         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38171         POSIX to avoid namespace pollution.  Don't prepend headers.
38172         * conform/data/aio.h-data: Fixes for POSIX testing.
38173         * conform/data/fcntl.h-data: Likewise.
38174         * conform/data/glob.h-data: Likewise.
38175         * conform/data/grp.h-data: Likewise.
38176         * conform/data/pthread.h-data: Likewise.
38177         * conform/data/pwd.h-data: Likewise.
38178         * conform/data/signal.h-data: Likewise.
38179         * conform/data/spawn.h-data: Likewise.
38180         * conform/data/stdio.h-data: Likewise.
38181         * conform/data/stdlib.h-data: Likewise.
38182         * conform/data/stropts.h-data: Likewise.
38183         * conform/data/sys/mman.h-data: Likewise.
38184         * conform/data/sys/stat.h-data: Likewise.
38185         * conform/data/sys/types.h-data: Likewise.
38186         * conform/data/sys/wait.h-data: Likewise.
38187         * conform/data/time.h-data: Likewise.
38188         * conform/data/unistd.h-data: Likewise.
38189         * conform/data/utime.h-data: Likewise.
38190
38191         * io/sys/stat.h: fchmod was always in POSIX.
38192         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38193         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38194         * rt/aio.h: Define __need_timespec before including <time.h>.
38195         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38196         struct.  Add forward declaration of pthread_attr_t and use it in
38197         sigevent.
38198         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38200         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38201         always remove CLK_TCK definition.
38202
38203 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38204
38205         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38206
38207 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38208
38209         * conform/run-conformtest.sh: New file.
38210         * conform/Makefile: Run run-conformtest for tests.
38211         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38212         support.
38213
38214         * conform/data/uchar.h-data: New file.
38215         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38216         * conform/data/arpa/inet.h-data: Likewise.
38217         * conform/data/assert.h-data: Likewise.
38218         * conform/data/complex.h-data: Likewise.
38219         * conform/data/cpio.h-data: Likewise.
38220         * conform/data/ctype.h-data: Likewise.
38221         * conform/data/dirent.h-data: Likewise.
38222         * conform/data/dlfcn.h-data: Likewise.
38223         * conform/data/errno.h-data: Likewise.
38224         * conform/data/fcntl.h-data: Likewise.
38225         * conform/data/float.h-data: Likewise.
38226         * conform/data/fmtmsg.h-data: Likewise.
38227         * conform/data/fnmatch.h-data: Likewise.
38228         * conform/data/ftw.h-data: Likewise.
38229         * conform/data/glob.h-data: Likewise.
38230         * conform/data/grp.h-data: Likewise.
38231         * conform/data/iconv.h-data: Likewise.
38232         * conform/data/inttypes.h-data: Likewise.
38233         * conform/data/langinfo.h-data: Likewise.
38234         * conform/data/libgen.h-data: Likewise.
38235         * conform/data/limits.h-data: Likewise.
38236         * conform/data/locale.h-data: Likewise.
38237         * conform/data/math.h-data: Likewise.
38238         * conform/data/monetary.h-data: Likewise.
38239         * conform/data/mqueue.h-data: Likewise.
38240         * conform/data/ndbm.h-data: Likewise.
38241         * conform/data/net/if.h-data: Likewise.
38242         * conform/data/netdb.h-data: Likewise.
38243         * conform/data/netinet/in.h-data: Likewise.
38244         * conform/data/nl_types.h-data: Likewise.
38245         * conform/data/poll.h-data: Likewise.
38246         * conform/data/pthread.h-data: Likewise.
38247         * conform/data/pwd.h-data: Likewise.
38248         * conform/data/regex.h-data: Likewise.
38249         * conform/data/sched.h-data: Likewise.
38250         * conform/data/search.h-data: Likewise.
38251         * conform/data/semaphore.h-data: Likewise.
38252         * conform/data/setjmp.h-data: Likewise.
38253         * conform/data/signal.h-data: Likewise.
38254         * conform/data/spawn.h-data: Likewise.
38255         * conform/data/stdarg.h-data: Likewise.
38256         * conform/data/stdio.h-data: Likewise.
38257         * conform/data/stdlib.h-data: Likewise.
38258         * conform/data/string.h-data: Likewise.
38259         * conform/data/strings.h-data: Likewise.
38260         * conform/data/stropts.h-data: Likewise.
38261         * conform/data/sys/ipc.h-data: Likewise.
38262         * conform/data/sys/mman.h-data: Likewise.
38263         * conform/data/sys/msg.h-data: Likewise.
38264         * conform/data/sys/resource.h-data: Likewise.
38265         * conform/data/sys/select.h-data: Likewise.
38266         * conform/data/sys/sem.h-data: Likewise.
38267         * conform/data/sys/shm.h-data: Likewise.
38268         * conform/data/sys/socket.h-data: Likewise.
38269         * conform/data/sys/stat.h-data: Likewise.
38270         * conform/data/sys/statvfs.h-data: Likewise.
38271         * conform/data/sys/time.h-data: Likewise.
38272         * conform/data/sys/timeb.h-data: Likewise.
38273         * conform/data/sys/times.h-data: Likewise.
38274         * conform/data/sys/types.h-data: Likewise.
38275         * conform/data/sys/uio.h-data: Likewise.
38276         * conform/data/sys/un.h-data: Likewise.
38277         * conform/data/sys/utsname.h-data: Likewise.
38278         * conform/data/sys/wait.h-data: Likewise.
38279         * conform/data/syslog.h-data: Likewise.
38280         * conform/data/tar.h-data: Likewise.
38281         * conform/data/termios.h-data: Likewise.
38282         * conform/data/utime.h-data: Likewise.
38283         * conform/data/utmpx.h-data: Likewise.
38284         * conform/data/varargs.h-data: Likewise.
38285         * conform/data/wchar.h-data: Likewise.
38286         * conform/data/wctype.h-data: Likewise.
38287         * conform/data/wordexp.h-data: Likewise.
38288
38289         * include/stropts.h: New file.
38290         * include/uchar.h: New file.
38291         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38292         * include/assert.h: Likewise.
38293         * include/ctype.h: Likewise.
38294         * include/dirent.h: Likewise.
38295         * include/dlfcn.h: Likewise.
38296         * include/fcntl.h: Likewise.
38297         * include/fnmatch.h: Likewise.
38298         * include/glob.h: Likewise.
38299         * include/grp.h: Likewise.
38300         * include/libio.h: Likewise.
38301         * include/locale.h: Likewise.
38302         * include/math.h: Likewise.
38303         * include/net/if.h: Likewise.
38304         * include/netdb.h: Likewise.
38305         * include/netinet/in.h: Likewise.
38306         * include/pthread.h: Likewise.
38307         * include/pwd.h: Likewise.
38308         * include/regex.h: Likewise.
38309         * include/sched.h: Likewise.
38310         * include/search.h: Likewise.
38311         * include/setjmp.h: Likewise.
38312         * include/signal.h: Likewise.
38313         * include/stdio.h: Likewise.
38314         * include/stdlib.h: Likewise.
38315         * include/string.h: Likewise.
38316         * include/sys/cdefs.h: Likewise.
38317         * include/sys/mman.h: Likewise.
38318         * include/sys/msg.h: Likewise.
38319         * include/sys/resource.h: Likewise.
38320         * include/sys/select.h: Likewise.
38321         * include/sys/socket.h: Likewise.
38322         * include/sys/stat.h: Likewise.
38323         * include/sys/statvfs.h: Likewise.
38324         * include/sys/time.h: Likewise.
38325         * include/sys/times.h: Likewise.
38326         * include/sys/uio.h: Likewise.
38327         * include/sys/utsname.h: Likewise.
38328         * include/sys/wait.h: Likewise.
38329         * include/termios.h: Likewise.
38330         * include/time.h: Likewise.
38331         * include/ulimit.h: Likewise.
38332         * include/unistd.h: Likewise.
38333         * include/utime.h: Likewise.
38334         * include/wchar.h: Likewise.
38335         * include/wctype.h: Likewise.
38336         * include/wordexp.h: Likewise.
38337
38338         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38339
38340         * time/time.h: TIME_UTC must be a macro.
38341         Make timespec_get available for ISO C11 only as well.
38342
38343 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38344
38345         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38346         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38347
38348 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38349
38350         * configure.in: Use -o not -a in test for unsupported multi-arch.
38351
38352 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38353
38354         * manual/texinfo.tex: Update to version 2012-01-19.16.
38355
38356 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38357
38358         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38359
38360 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38361
38362         [BZ #13738]
38363         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38364         * manual/fdl-1.3.texi: New file.
38365         * manual/fdl-1.1.texi: File removed.
38366
38367         [BZ #13738]
38368         * manual/libc.texinfo (FDL_VERSION): New @set.
38369         Use it for mention of FDL in cover text.
38370         (Documentation License): Use it in @include file name.
38371
38372 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38373             Roland McGrath  <roland@hack.frob.com>
38374
38375         [BZ #5461]
38376         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38377         (not LONG_LONG_MAX and LONG_LONG_MIN.
38378         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38379         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38380         name.
38381         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38382
38383 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38384
38385         [BZ #2547]
38386         [BZ #11365]
38387         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38388         manipulate bits before adding and subtracting TWO23[sx].
38389         * math/libm-test.inc (nearbyint_test): Add more tests.
38390
38391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38392
38393         [BZ #2548]
38394         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38395         bits before adding and subtracting TWO23[sx].
38396         * math/libm-test.inc (rint_test): Add more tests.
38397         (rint_test_tonearest): Likewise.
38398         (rint_test_towardzero): Likewise.
38399         (rint_test_downward): Likewise.
38400         (rint_test_upward: Likewise.
38401
38402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38403
38404         [BZ #10110]
38405         * include/stdc-predef.h: New file.  Extracted from features.h.
38406         * include/features.h: Include stdc-predef.h.
38407         * Makefile (headers): Add stdc-predef.h.
38408         * CONFORMANCE (Compiler limitations): Update.
38409
38410 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38411
38412         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38413
38414 2012-02-21  David S. Miller  <davem@davemloft.net>
38415
38416         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38417         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38418
38419 2012-02-20  David S. Miller  <davem@davemloft.net>
38420
38421         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38422         using a normal save/restore sequence, rather than allocating a
38423         dummy stack frame just to store a frame pointer and restore.
38424         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38425
38426 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38427
38428         * manual/install.texi: Fix stray word in line-wrapped comment.
38429
38430 2012-02-20  David S. Miller  <davem@davemloft.net>
38431
38432         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38433         both binutils and gcc support GOTDATA.
38434
38435         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38436         "rd %pc" in the PIC register setup sequences.
38437
38438         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38439         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38440         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38441         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38442         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38443         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38444         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38445         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38447         (SYSCALL_ERROR_HANDLER): Likewise.
38448         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38449         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38450         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38451         (SYSCALL_ERROR_HANDLER): Likewise.
38452
38453         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38454         (HAVE_GCC_GOTDATA): New.
38455         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38456         relocation support in both binutils and gcc.
38457         * sysdeps/sparc/elf/configure: Regenerate.
38458
38459         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38460         * sysdeps/sparc/sparc32/elf/configure: Delete.
38461         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38462         * sysdeps/sparc/sparc64/elf/configure: Delete.
38463         * sysdeps/sparc/elf/configure.in: New file.
38464         * sysdeps/sparc/elf/configure: Generate.
38465
38466         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38467         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38468         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38469         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38470         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38471
38472 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38473
38474         * manual/install.texi: Do not mention specific glibc version
38475         numbers.
38476         * manual/libc.texinfo (VERSION, UPDATED): Update.
38477         (@copying): Use @copyright{} and range of years.
38478
38479 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38480
38481         [BZ #13695]
38482         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38483         [crti.S not in sysdirs] (generated): Do not append.
38484         [crti.S not in sysdirs] (omit-deps): Likewise.
38485         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38486         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38487         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38488         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38489         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38490         Likewise.
38491         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38492         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38493         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38494         * csu/defs.awk: Remove file.
38495         * sysdeps/generic/initfini.c: Likewise.
38496         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38497         variable.
38498         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38499         Likewise.
38500
38501 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38502
38503         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38504         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38505         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38507         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38508         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38509         <bits/epoll.h>.
38510         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38511         (__EPOLL_PACKED): Define to empty if not defined by
38512         <bits/epoll.h>.
38513         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38515         bits/epoll.h.
38516
38517 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38518
38519         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38520         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38521         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38522         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38523         <bits/timerfd.h>.
38524         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38525         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38526         bits/timerfd.h.
38527
38528 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38529
38530         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38531         in C locale.
38532         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38533         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38534         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38536
38537 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38538
38539         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38540         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38541
38542 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38543
38544         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38545         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38546         defined.
38547         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38548         Likewise.
38549         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38550         entry for 2.16.
38551
38552 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38553
38554         * math/w_acos.c: Use non-signaling floating-point comparisons.
38555         * math/w_acosf.c: Likewise.
38556         * math/w_acosh.c: Likewise.
38557         * math/w_acoshf.c: Likewise.
38558         * math/w_acoshl.c: Likewise.
38559         * math/w_acosl.c: Likewise.
38560         * math/w_asin.c: Likewise.
38561         * math/w_asinf.c: Likewise.
38562         * math/w_asinl.c: Likewise.
38563         * math/w_atanh.c: Likewise.
38564         * math/w_atanhf.c: Likewise.
38565         * math/w_atanhl.c: Likewise.
38566         * math/w_exp2.c: Likewise.
38567         * math/w_exp2f.c: Likewise.
38568         * math/w_exp2l.c: Likewise.
38569         * math/w_j0.c: Likewise.
38570         * math/w_j0f.c: Likewise.
38571         * math/w_j0l.c: Likewise.
38572         * math/w_j1.c: Likewise.
38573         * math/w_j1f.c: Likewise.
38574         * math/w_j1l.c: Likewise.
38575         * math/w_jn.c: Likewise.
38576         * math/w_jnf.c: Likewise.
38577         * math/w_log.c: Likewise.
38578         * math/w_log10.c: Likewise.
38579         * math/w_log10f.c: Likewise.
38580         * math/w_log10l.c: Likewise.
38581         * math/w_log2.c: Likewise.
38582         * math/w_log2f.c: Likewise.
38583         * math/w_log2l.c: Likewise.
38584         * math/w_logf.c: Likewise.
38585         * math/w_logl.c: Likewise.
38586         * math/w_sqrt.c: Likewise.
38587         * math/w_sqrtf.c: Likewise.
38588         * math/w_sqrtl.c: Likewise.
38589         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38590         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38591         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38592         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38593         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38594
38595 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38596
38597         [BZ #9739]
38598         * manual/string.texi (strnlen): Use correct parameter name in
38599         equivalent expression.
38600
38601 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38602
38603         [BZ #11174]
38604         * manual/users.texi (seteuid): Consistently use neweuid for
38605         argument name.
38606
38607 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38608
38609         [BZ #13704]
38610         * manual/nss.texi (Services in the NSS configuration): Correct
38611         list of services in example configuration file.
38612
38613 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38614
38615         [BZ #11322]
38616         * manual/arith.texi: Remove statements about negative zero
38617         behaving identically to zero.
38618
38619 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38620
38621         [BZ #5993]
38622         * manual/install.texi: Do not document upgrading from libc5.
38623
38624 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38625
38626         [BZ #4596]
38627         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38628
38629 2012-02-18  David S. Miller  <davem@davemloft.net>
38630
38631         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38632         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38633         %o7 across the call.
38634         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38635         instead.
38636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38637         SETUP_PIC_REG_LEAF.
38638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38639         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38640         * sysdeps/sparc/crtn.S: Likewise.
38641
38642 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38643
38644         * aout/Makefile: Remove.
38645
38646 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38647
38648         [BZ #13058]
38649         * manual/examples/argp-ex1.c (main): Format definition in GNU
38650         style.
38651         * manual/examples/argp-ex2.c (main): Likewise.
38652         * manual/examples/argp-ex3.c (main): Likewise.
38653         * manual/examples/argp-ex4.c (main): Likewise.
38654         * manual/examples/longopt.c (main): Use new-style prototype
38655         definition.
38656         * manual/examples/strncat.c (main): Specify return type and use
38657         (void) for arguments.
38658         * manual/examples/subopt.c (main): Use char **argv argument.
38659
38660 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38661
38662         [BZ #5077]
38663         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38664         rounding modes.
38665
38666 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38667
38668         [BZ #6907]
38669         * manual/string.texi (strchr): Change when strchrnul is
38670         recommended.
38671
38672 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38673
38674         [BZ #174]
38675         * manual/locale.texi (setlocale): Document LOCPATH.
38676
38677 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38678
38679         [BZ #10210]
38680         * manual/process.texi (execle): Move @dots{} before last argument.
38681
38682 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38683
38684         [BZ #12047]
38685         * manual/charset.texi (Generic Charset Conversion): Fix typo
38686         (LC_TYPE -> LC_CTYPE).
38687
38688 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38689
38690         [BZ #5805]
38691         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38692         (scalbnf): Likewise.
38693         (scalbnl): Likewise.
38694         (scalbln): Likewise.
38695         (scalblnf): Likewise.
38696         (scalblnl): Likewise.
38697         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38698         (vwarnx): Likewise.
38699         (verr): Likewise.
38700         (verrx): Likewise.
38701         * manual/filesys.texi (telldir): Use braces around return type.
38702         * manual/llio.texi (mmap): Add space after comma.
38703         (mmap64): Likewise.
38704         * manual/math.texi (jn): Use @var{} on parameter names.
38705         (jnf): Likewise.
38706         (jnl): Likewise.
38707         (yn): Likewise.
38708         (ynf): Likewise.
38709         (ynl): Likewise.
38710         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38711         line.
38712         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38713         "...".
38714         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38715         (sched_get_priority_max): Likewise.
38716         * manual/signal.texi (sigvec): Add space after comma.
38717         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38718         names.
38719         (if_indextoname): Likewise.
38720         (if_freenameindex): Likewise.
38721         (sendto): Use ',' instead of '.' in prototype.
38722         * manual/startup.texi (syscall): Use @dots{} instead of literal
38723         "...".
38724         * manual/stdio.texi (__fpending): Separate initial words of
38725         paragraph from @deftypefun line.
38726         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38727         "...".
38728         (vsyslog): Use @var{} on parameter names.
38729         * manual/terminal.texi (stty): Use @var{} on parameter names.
38730         * manual/users.texi (getutmp): Use @var{} on parameter names.
38731         (getutmpx): Likewise.
38732
38733 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38734
38735         [BZ #6884]
38736         * manual/stdio.texi (fopen): Fix typos in description of
38737         ",ccs=STRING".
38738
38739 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38740
38741         [BZ #4026]
38742         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38743         get clock_id definition.
38744
38745 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38746
38747         [BZ #4822]
38748         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38749         (madvise): Cast every argument to void on its own.
38750
38751 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38752
38753         [BZ #9902]
38754         * manual/startup.texi (Exit Status): Fix typo.
38755
38756 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38757
38758         [BZ #10140]
38759         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38760         * manual/examples/argp-ex2.c: Likewise.
38761         * manual/examples/argp-ex3.c: Likewise.
38762
38763 2012-02-16  Richard Henderson  <rth@redhat.com>
38764
38765         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38766         * sysdeps/s390/s390-32/initfini.c: Remove.
38767         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38768         * sysdeps/s390/s390-64/initfini.c: Remove.
38769
38770 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38771
38772         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38773         compiler output for sysdeps/generic/initfini.c.
38774         * sysdeps/sh/elf/initfini.c: Remove file.
38775
38776 2012-02-16  David S. Miller  <davem@davemloft.net>
38777
38778         [BZ #11494]
38779         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38780
38781         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38782         * sysdeps/sparc/crti.S: New file.
38783         * sysdeps/sparc/crtn.S: New file.
38784         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38785         * sysdeps/sparc/sparc64/Makefile: Likewise.
38786
38787 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38788
38789         [BZ #3335]
38790         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38791
38792 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38793
38794         [BZ #4822]
38795         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38796
38797         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38798         (write, read, close): Likewise.
38799         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38800
38801 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38802
38803         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38804         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38805         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38806         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38807         <bits/signalfd.h>.
38808         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38810         bits/signalfd.h.
38811
38812 2012-02-14  Marek Polacek  <polacek@redhat.com>
38813
38814         * sysdeps/x86_64/crti.S: New file.
38815         * sysdeps/x86_64/crtn.S: New file.
38816         * sysdeps/x86_64/elf/initfini.c: Remove file.
38817
38818 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38819
38820         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38821         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38822         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38823         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38824         <bits/inotify.h>.
38825         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38827         bits/inotify.h.
38828
38829 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38830
38831         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38832         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38833         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38834         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38835         <bits/eventfd.h>.
38836         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38838         bits/eventfd.h.
38839
38840 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38841
38842         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38843         __feraiseexcept instead of feraiseexcept.
38844
38845         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38846         nanosleep invocations.
38847         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38848         strings, and add error checking for a nanosleep invocations.
38849
38850 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38851
38852         Replace FSF snail mail address with URLs, as per GNU coding standards.
38853         Most of the snail mail addresses were wrong anyway, and omitting
38854         them makes the source code easier to maintain.  Almost all of the
38855         changes are to license notices and to locale LC_IDENTIFICATION
38856         addresses, except for this one:
38857         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38858         not its snail mail address.
38859
38860 2012-02-09  Richard Henderson  <rth@twiddle.net>
38861
38862         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38863         of kernel-features.h.
38864
38865         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38866
38867 2012-02-08  Marek Polacek  <polacek@redhat.com>
38868
38869         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38870         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38871         * sysdeps/gnu/_G_config.h: Likewise.
38872         * sysdeps/generic/_G_config.h: Likewise.
38873
38874 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38875
38876         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38877         tests.
38878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38879
38880         * sysdeps/powerpc/powerpc32/crti.S: New file.
38881         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38882         * sysdeps/powerpc/powerpc64/crti.S: New file.
38883         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38884
38885         * Makeconfig (have-initfini): Don't set.
38886         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38887         * configure.in (nopic_initfini): Don't substitute.
38888         * config.h.in (HAVE_INITFINI): Don't #undef.
38889         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38890         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38891
38892 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38893
38894         Support crti.S and crtn.S provided directly by architectures.
38895         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38896         [crti.S in sysdirs] (omit-deps): Likewise.
38897         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38898         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38899         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38900         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38901         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38902         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38903         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38904         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38905         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38906         compiler output for sysdeps/generic/initfini.c.
38907         * sysdeps/i386/elf/Makefile: Remove file.
38908         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38909
38910 2012-02-07  Marek Polacek  <polacek@redhat.com>
38911
38912         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38913         * sysdeps/gnu/_G_config.h: Likewise.
38914         * sysdeps/mach/hurd/_G_config.h: Likewise.
38915
38916 2012-02-07  Marek Polacek  <polacek@redhat.com>
38917
38918         * math/Makefile (tests): Add tst-CMPLX2.
38919         * math/tst-CMPLX2.c: New file.
38920
38921 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38922
38923         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38924
38925         * math/libm-test.inc (jn_test): Add missing L suffix.
38926
38927 2012-02-06  Marek Polacek  <polacek@redhat.com>
38928
38929         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38930         * sysdeps/i386/fpu/e_powf.S: Likewise.
38931         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38932         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38933         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38934         * sysdeps/i386/fpu/e_pow.S: Likewise.
38935         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38936         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38937         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38938         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38939         * sysdeps/i386/fpu/e_log2.S: Likewise.
38940         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38941         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38942         * sysdeps/i386/fpu/e_powl.S: Likewise.
38943         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38944         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38945         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38946         * sysdeps/i386/fpu/e_logl.S: Likewise.
38947         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38948         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38949         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38950         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38951         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38952         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38953         * sysdeps/i386/fpu/e_log.S: Likewise.
38954         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38955         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38956         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38957         * sysdeps/i386/fpu/e_logf.S: Likewise.
38958         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38959         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38960         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38961         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38962         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38963         * sysdeps/i386/fpu/e_log10.S: Likewise.
38964         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38965         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38966         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38967         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38968         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38969         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38970         * sysdeps/i386/asm-syntax.h: Likewise.
38971         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38972         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38973         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38974         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38975         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38977         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38978         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38979         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38980         * sysdeps/powerpc/sysdep.h: Likewise.
38981         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38982         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38983
38984 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38985
38986         [BZ #411]
38987         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38988
38989 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38990
38991         * sysdeps/i386/sysdep.h: Include <features.h>.
38992         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38993         version.
38994
38995 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38996
38997         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38998         Define.
38999         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39000         LOAD_PIC_REG_STR.
39001
39002 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39003
39004         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39005         (SETUP_PIC_REG): Use GET_PC_THUNK.
39006         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39007         macro.
39008
39009 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39010
39011         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39012         for non-PIC compilation.
39013         (SETUP_PIC_REG): Add .p2align directive.
39014         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39015         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39016         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39017         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39018         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39019         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39020         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39021         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39022         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39023         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39024         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39025         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39026         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39027         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39028         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39029         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39030         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39031         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39032         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39033         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39034         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39036         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39038         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39039         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39040         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39041         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39042         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39043         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39044         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39045         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39046         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39047         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39048         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39049         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39050         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39051         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39053         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39055
39056 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39057
39058         * math/tst-CMPLX.c: Include <stdio.h>.
39059
39060 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39061
39062         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39063         float.
39064         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39065         * sysdeps/sparc/bits/mathdef.h: Likewise.
39066
39067 2012-01-31  Marek Polacek  <polacek@redhat.com>
39068
39069         * libio/libio.h: Don't define _PARAMS.
39070         * locale/programs/config.h: Don't define PARAMS.
39071         * stdlib/strtol_l.c: Likewise.
39072         (__strtol_l): Remove PARAMS from the prototype.
39073
39074 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39075
39076         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39077         names.  Just use the correct names.  Remove unnecessary wrapper
39078         functions.
39079         * malloc/arena.c: Likewise.
39080         * malloc/hooks.c: Likewise.
39081
39082         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39083         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39084         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39085
39086 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39087
39088         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39089         into tail calls.
39090         (update_get_addr): New function.
39091         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39092         GET_ADDR_MODULE parameter.
39093
39094 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39095
39096         * crypt/cert.c: Remove __STDC__ conditionals.
39097         * crypt/crypt-entry.c: Likewise.
39098         * crypt/crypt_util.c: Likewise.
39099         * libio/filedoalloc.c: Likewise.
39100         * libio/fileops.c: Likewise.
39101         * libio/genops.c: Likewise.
39102         * libio/iofclose.c: Likewise.
39103         * libio/iofdopen.c: Likewise.
39104         * libio/iofopen.c: Likewise.
39105         * libio/iofopen64.c: Likewise.
39106         * libio/iogetdelim.c: Likewise.
39107         * libio/iopopen.c: Likewise.
39108         * libio/obprintf.c: Likewise.
39109         * libio/oldfileops.c: Likewise.
39110         * libio/oldiofclose.c: Likewise.
39111         * libio/oldiofdopen.c: Likewise.
39112         * libio/oldiofopen.c: Likewise.
39113         * libio/oldiopopen.c: Likewise.
39114         * libio/wfiledoalloc.c: Likewise.
39115         * libio/wgenops.c: Likewise.
39116         * locale/programs/xmalloc.c: Likewise.
39117         * misc/syslog.c: Likewise.
39118         * stdio-common/xbug.c: Likewise.
39119         * string/memchr.c: Likewise.
39120         * string/memcmp.c: Likewise.
39121         * string/memrchr.c: Likewise.
39122         * string/rawmemchr.c: Likewise.
39123         * sysdeps/posix/getcwd.c: Likewise.
39124         * time/strftime_l.c: Likewise.
39125
39126 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39127
39128         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39129         * config.make.in (config-cflags-sse2avx): Define.
39130         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39131         Fix typo.
39132
39133 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39134
39135         * scripts/config.guess: Update from upstream config git repository.
39136         * scripts/config.sub: Likewise.
39137
39138 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39139
39140         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39141         (EM_NUM): Update.
39142         (R_TILEPRO_*, R_TILEGX_*): New macros.
39143
39144         * scripts/firstversions.awk: Fix bug in version range handling.
39145
39146         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39147
39148         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39149
39150         * include/sys/epoll.h: New file.
39151         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39152         libc_hidden_def.
39153
39154 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39155
39156         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39157         Avoid unnecessary __WORDSIZE == 64 test.
39158         (fmaxf): Use VEX format if possible.
39159         (fmax): Likewise.
39160         (fminf): Likewise.
39161         (fmin): Likewise.
39162
39163         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39164         * math/math_private.h: Remove libc_fegetround* and
39165         libc_fesetround*.
39166         * sysdeps/i386/configure.in: Check for -msse2avx.
39167         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39168         also if SSE2AVX is defined.
39169         Remove libc_fegetround* and libc_fesetround*.
39170         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39171         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39173         of HAS_YMM_USABLE.
39174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39175         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39176         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39177         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39178         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39179
39180         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39181
39182 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39183
39184         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39185         size is not set.
39186         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39187
39188 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39189
39190         [BZ #13618]
39191         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39192         relocation.
39193         * Makeconfig (libm): Define.
39194         * elf/Makefile: Add rules to build and run tst-relsort1.
39195         * elf/tst-relsort1.c: New file.
39196         * elf/tst-relsort1mod1.c: New file.
39197         * elf/tst-relsort1mod2.c: New file.
39198
39199 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39200
39201         * math/s_ldexp.c: Remove __STDC__ conditionals.
39202         * math/s_ldexpf.c: Likewise.
39203         * math/s_ldexpl.c: Likewise.
39204         * math/s_nextafter.c: Likewise.
39205         * math/s_nexttowardf.c: Likewise.
39206         * math/s_significand.c: Likewise.
39207         * math/s_significandf.c: Likewise.
39208         * math/s_significandl.c: Likewise.
39209         * math/w_jnl.c: Likewise.
39210         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39211         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39212         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39213         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39214         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39216         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39217         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39218         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39219         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39220         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39221         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39222         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39223         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39224         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39225         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39226         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39227         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39228         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39229         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39230         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39231         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39232         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39234         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39235         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39236         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39237         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39238         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39239         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39240         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39241         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39242         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39243         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39244         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39245         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39246         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39247         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39248         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39249         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39250         * sysdeps/ieee754/k_standard.c: Likewise.
39251         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39252         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39253         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39254         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39255         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39256         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39259         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39260         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39261         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39262         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39263         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39264         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39265         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39266         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39267         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39268         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39269         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39270         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39271         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39272         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39273         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39274         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39275         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39276         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39280         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39281         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39282         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39283         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39284         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39285         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39286         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39287         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39288         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39289         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39290         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39291         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39293         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39294         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39295         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39296         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39297         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39299         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39300         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39301         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39304         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39305         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39306         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39307         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39308         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39309         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39310         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39311         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39312         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39313         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39314         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39315         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39316         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39317         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39318         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39319         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39320         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39321         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39322         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39323         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39324         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39325         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39326         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39327         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39328         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39329         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39330         * sysdeps/ieee754/s_matherr.c: Likewise.
39331         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39332         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39333         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39334         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39335
39336 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39337
39338         * crypt/md5.h: Remove __STDC__ conditionals.
39339         * libio/libioP.h: Likewise.
39340         * locale/programs/config.h: Likewise.
39341         * sysdeps/generic/sysdep.h: Likewise.
39342         * sysdeps/i386/asm-syntax.h: Likewise.
39343         * sysdeps/s390/asm-syntax.h: Likewise.
39344         * sysdeps/unix/sysdep.h: Likewise.
39345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39347
39348 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39349
39350         * libio/libio.h: Remove __STDC__ conditionals.
39351         * malloc/obstack.h: Likewise.
39352         * math/complex.h: Likewise.
39353         * math/math.h: Likewise.
39354         * sysdeps/generic/_G_config.h: Likewise.
39355         * sysdeps/gnu/_G_config.h: Likewise.
39356         * sysdeps/mach/hurd/_G_config.h: Likewise.
39357         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39358         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39359         * sysdeps/sparc/bits/mathdef.h: Likewise.
39360
39361 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39362
39363         [BZ #13583]
39364         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39365         Clean up HAS_* macros.
39366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39367         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39368         possible.
39369         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39370         HAS_AVX.
39371         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39372         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39373         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39374         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39375         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39376
39377 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39378
39379         * elf/tst-unique3.cc (gets): Remove declaration.
39380         * elf/tst-unique3lib.cc (gets): Likewise.
39381         * elf/tst-unique3lib2.cc (gets): Likewise.
39382         * elf/tst-unique4.cc (gets): Likewise.
39383
39384 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39385
39386         * include/stdio.h: Add C++ protection.  Add gets declarations and
39387         definitions.
39388         * debug/tst-chk1.c: Don't declare gets here.
39389         * stdio-common/tst-gets.c: Likewise.
39390
39391 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39392
39393         * posix/glob: Remove directory.
39394
39395 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39396
39397         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39398
39399 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39400
39401         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39402         of the non-standard EPFNOSUPPORT.
39403
39404 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39405
39406         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39407         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39408         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39409
39410 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39411
39412         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39413
39414 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39415
39416         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39417         transient errors.
39418         * nscd/grpcache.c (cache_addgr): Likewise.
39419         * nscd/hstcache.c (cache_addhst): Likewise.
39420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39421         * nscd/pwdcache.c (cache_addpw): Likewise.
39422         * nscd/servicescache.c (cache_addserv): Likewise.
39423
39424 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39425
39426         * malloc/malloc.c: Various cleanups.
39427         * malloc/hooks.c: Likewise.
39428
39429         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39430         * stdlib/bug-fmtmsg1.c: New file.
39431
39432         * stdlib/fmtmsg.c (init): Add missing unlock.
39433         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39434
39435 2012-01-12  Marek Polacek  <polacek@redhat.com>
39436
39437         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39438         and _GNU_SOURCE.
39439
39440 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39441
39442         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39443         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39444         macro to ensure uniqueness of label name.
39445         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39446         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39447
39448 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39449
39450         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39451
39452         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39453         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39454         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39455         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39456
39457 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39458
39459         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39460
39461         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39462         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39463         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39464
39465         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39466
39467         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39468         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39471
39472         * math/bits/math-finite.h: Add ldexp support.
39473
39474 2012-01-10  Marek Polacek  <polacek@redhat.com>
39475
39476         * locale/programs/localedef.h (show_archive_content): Add noreturn
39477         attribute.
39478
39479 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39480
39481         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39482
39483 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39484
39485         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39486
39487         * io/Makefile (headers): Add bits/poll2.h.
39488
39489 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39490
39491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39492         typo #include statement.
39493
39494 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39495
39496         * include/sys/cdefs.h: Define __attribute_alloc_size.
39497         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39498         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39499         * elf/pldd.c: Likewise.
39500         * iconv/iconv_charmap.c: Likewise.
39501         * iconv/iconvconfig.c: Likewise.
39502         * iconv/strtab.c: Likewise.
39503         * locale/programs/locale.c: Likewise.
39504         * locale/programs/localedef.h: Likewise.
39505         * locale/programs/simple-hash.c: Likewise.
39506         * nscd/nscd.h: Likewise.
39507         * nss/makedb.c: Likewise.
39508         * sysdeps/generic/ldconfig.h: Likewise.
39509         * locale/programs/localedef.c: Remove xmalloc prototype.
39510         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39511
39512 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39513
39514         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39515         appropriate.
39516
39517 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39518
39519         * math/Makefile (tests): Add tst-CMPLX.
39520         * math/tst-CMPLX.c: New file.
39521
39522         * math/complex.h (CMPLXL): Fix typo.
39523
39524         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39525         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39526         GLIBC_2.16.
39527         * debug/tst-chk1.c: Add poll and ppoll tests.
39528         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39529         * include/sys/poll.h: Add hidden proto for ppoll.
39530         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39531         * sysdeps/mach/hurd/ppoll.c: Likewise.
39532         * io/ppoll.c: Likewise.
39533         * debug/poll_chk.c: New file.
39534         * debug/ppoll_chk.c: New file.
39535         * include/bits/poll2.h: New file.
39536         * io/bits/poll2.h: New file.
39537
39538         [BZ #1350]
39539         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39540
39541         * configure.in: static is always set to yes.  Remove.
39542         * config.make.in: Don't set build-static.
39543         * Makeconfig: Remove use of build-static.
39544         * dlfcn/Makefile: Likewise.
39545         * elf/Makefile: Likewise.
39546         * math/Makefile: Likewise.
39547         * misc/Makefile: Likewise.
39548         * nptl/Makefile: Likewise.
39549         * sysdeps/mach/hurd/Makefile: Likewise.
39550
39551         * configure.in: PWD_P is not used anymore.
39552         * config.make.in: Remove PWD_P entry.
39553
39554         * configure.in: Remove last remnants of RANLIB.
39555         No need to check for signed size_t anymore.
39556         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39557         and IA-64.
39558         Remove __builtin_expect test because we require at least gcc 3.4.
39559         * aclocal.m4: Likewise.
39560
39561         * wcsmbs/mbrtoc16.c: Implement using towc function.
39562         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39563         * wcsmbs/wcsmbsload.c: Likewise.
39564         * iconv/gconv_simple.c: Likewise.
39565         * iconv/gconv_int.h: Likewise.
39566         * iconv/gconv_builtin.h: Likewise.
39567         * iconv/iconv_prog.c: Remove CHAR16 handling.
39568
39569         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39570
39571         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39572
39573         * configure.in: Remove --with-elf and --enable-bounded options.
39574         Dont set base_machine for ia64.  More non-ELF conditions removed.
39575         Remove testing and setting of leading underscore information.
39576         * config.make.in (build-bounded): Set to no.
39577         * config.h.in: Remove NO_UNDERSCORES entry.
39578         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39579         them.
39580         * csu/start.c: Remove !NO_UNDERSCORE code.
39581         * locale/localeinfo.h: Likewise.
39582         * sysdeps/generic/machine-gmon.h: Likewise.
39583         * sysdeps/generic/sysdep.h: Likewise.
39584         * sysdeps/i386/sysdep.h: Likewise.
39585         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39586         * sysdeps/mach/sysdep.h: Likewise.
39587         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39588         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39589         * sysdeps/sh/sysdep.h: Likewise.
39590         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39591         * sysdeps/unix/i386/sysdep.S: Likewise.
39592         * sysdeps/unix/sparc/start.c: Likewise.
39593         * sysdeps/unix/sparc/sysdep.S: Likewise.
39594         * sysdeps/unix/sparc/sysdep.h: Likewise.
39595         * sysdeps/unix/start.c: Likewise.
39596         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39597         * sysdeps/x86_64/sysdep.h: Likewise.
39598
39599 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39600
39601         [BZ #13553]
39602         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39603         for non-gcc.
39604         * argp/argp-fmtstream.h: Use const instead __const.
39605         * argp/argp.h: Likewise.
39606         * assert/assert.h: Likewise.
39607         * bits/fenv.h: Likewise.
39608         * bits/sched.h: Likewise.
39609         * bits/sigset.h: Likewise.
39610         * bits/sigthread.h: Likewise.
39611         * catgets/nl_types.h: Likewise.
39612         * conform/data/pthread.h-data: Likewise.
39613         * crypt/crypt-private.h: Likewise.
39614         * crypt/crypt.h: Likewise.
39615         * crypt/crypt_util.c: Likewise.
39616         * ctype/ctype.h: Likewise.
39617         * debug/execinfo.h: Likewise.
39618         * debug/mbsnrtowcs_chk.c: Likewise.
39619         * debug/mbsrtowcs_chk.c: Likewise.
39620         * debug/wcsnrtombs_chk.c: Likewise.
39621         * debug/wcsrtombs_chk.c: Likewise.
39622         * debug/wcstombs_chk.c: Likewise.
39623         * dirent/dirent.h: Likewise.
39624         * dlfcn/dlfcn.h: Likewise.
39625         * elf/neededtest4.c: Likewise.
39626         * grp/grp.h: Likewise.
39627         * gshadow/gshadow.h: Likewise.
39628         * iconv/gconv.h: Likewise.
39629         * iconv/gconv_int.h: Likewise.
39630         * iconv/gconv_simple.c: Likewise.
39631         * iconv/iconv.h: Likewise.
39632         * iconv/loop.c: Likewise.
39633         * iconv/skeleton.c: Likewise.
39634         * include/aio.h: Likewise.
39635         * include/aliases.h: Likewise.
39636         * include/argz.h: Likewise.
39637         * include/arpa/inet.h: Likewise.
39638         * include/assert.h: Likewise.
39639         * include/dirent.h: Likewise.
39640         * include/dlfcn.h: Likewise.
39641         * include/execinfo.h: Likewise.
39642         * include/fcntl.h: Likewise.
39643         * include/fenv.h: Likewise.
39644         * include/glob.h: Likewise.
39645         * include/grp.h: Likewise.
39646         * include/libintl.h: Likewise.
39647         * include/mntent.h: Likewise.
39648         * include/netdb.h: Likewise.
39649         * include/pwd.h: Likewise.
39650         * include/rpc/netdb.h: Likewise.
39651         * include/sched.h: Likewise.
39652         * include/search.h: Likewise.
39653         * include/shadow.h: Likewise.
39654         * include/signal.h: Likewise.
39655         * include/stdio.h: Likewise.
39656         * include/stdlib.h: Likewise.
39657         * include/string.h: Likewise.
39658         * include/sys/socket.h: Likewise.
39659         * include/sys/stat.h: Likewise.
39660         * include/sys/statfs.h: Likewise.
39661         * include/sys/statvfs.h: Likewise.
39662         * include/sys/syslog.h: Likewise.
39663         * include/sys/time.h: Likewise.
39664         * include/sys/uio.h: Likewise.
39665         * include/time.h: Likewise.
39666         * include/unistd.h: Likewise.
39667         * include/utmp.h: Likewise.
39668         * include/wchar.h: Likewise.
39669         * include/wctype.h: Likewise.
39670         * inet/aliases.h: Likewise.
39671         * inet/arpa/inet.h: Likewise.
39672         * inet/netinet/ether.h: Likewise.
39673         * inet/netinet/in.h: Likewise.
39674         * intl/libintl.h: Likewise.
39675         * io/bits/fcntl2.h: Likewise.
39676         * io/fcntl.h: Likewise.
39677         * io/ftw.h: Likewise.
39678         * io/sys/poll.h: Likewise.
39679         * io/sys/stat.h: Likewise.
39680         * io/sys/statfs.h: Likewise.
39681         * io/sys/statvfs.h: Likewise.
39682         * io/utime.h: Likewise.
39683         * libio/bits/stdio.h: Likewise.
39684         * libio/bits/stdio2.h: Likewise.
39685         * libio/libio.h: Likewise.
39686         * libio/libioP.h: Likewise.
39687         * libio/stdio.h: Likewise.
39688         * locale/lc-ctype.c: Likewise.
39689         * locale/locale.h: Likewise.
39690         * login/utmp.h: Likewise.
39691         * malloc/arena.c: Likewise.
39692         * malloc/malloc.c: Likewise.
39693         * malloc/malloc.h: Likewise.
39694         * malloc/mcheck.c: Likewise.
39695         * malloc/mtrace.c: Likewise.
39696         * math/bits/mathcalls.h: Likewise.
39697         * math/fenv.h: Likewise.
39698         * math/math_private.h: Likewise.
39699         * misc/bits/error.h: Likewise.
39700         * misc/bits/syslog.h: Likewise.
39701         * misc/err.h: Likewise.
39702         * misc/error.h: Likewise.
39703         * misc/fstab.h: Likewise.
39704         * misc/mntent.h: Likewise.
39705         * misc/regexp.h: Likewise.
39706         * misc/search.h: Likewise.
39707         * misc/sgtty.h: Likewise.
39708         * misc/sys/mman.h: Likewise.
39709         * misc/sys/syslog.h: Likewise.
39710         * misc/sys/uio.h: Likewise.
39711         * misc/sys/xattr.h: Likewise.
39712         * misc/ttyent.h: Likewise.
39713         * nis/rpcsvc/ypclnt.h: Likewise.
39714         * nss/nss.h: Likewise.
39715         * posix/bits/unistd.h: Likewise.
39716         * posix/fnmatch.h: Likewise.
39717         * posix/glob.h: Likewise.
39718         * posix/sched.h: Likewise.
39719         * posix/spawn.h: Likewise.
39720         * posix/sys/wait.h: Likewise.
39721         * posix/unistd.h: Likewise.
39722         * posix/wordexp.h: Likewise.
39723         * pwd/pwd.h: Likewise.
39724         * resolv/netdb.h: Likewise.
39725         * resource/sys/resource.h: Likewise.
39726         * rt/aio.h: Likewise.
39727         * rt/bits/mqueue2.h: Likewise.
39728         * rt/mqueue.h: Likewise.
39729         * shadow/shadow.h: Likewise.
39730         * signal/signal.h: Likewise.
39731         * socket/send.c: Likewise.
39732         * socket/sendto.c: Likewise.
39733         * socket/sys/socket.h: Likewise.
39734         * stdio-common/printf.h: Likewise.
39735         * stdlib/bits/stdlib.h: Likewise.
39736         * stdlib/fmtmsg.h: Likewise.
39737         * stdlib/monetary.h: Likewise.
39738         * stdlib/stdlib.h: Likewise.
39739         * stdlib/ucontext.h: Likewise.
39740         * streams/stropts.h: Likewise.
39741         * string/argz.h: Likewise.
39742         * string/bits/string2.h: Likewise.
39743         * string/string.h: Likewise.
39744         * string/strings.h: Likewise.
39745         * sunrpc/rpc/auth.h: Likewise.
39746         * sunrpc/rpc/auth_des.h: Likewise.
39747         * sunrpc/rpc/clnt.h: Likewise.
39748         * sunrpc/rpc/netdb.h: Likewise.
39749         * sunrpc/rpc/pmap_clnt.h: Likewise.
39750         * sunrpc/rpc/xdr.h: Likewise.
39751         * sysdeps/generic/inttypes.h: Likewise.
39752         * sysdeps/generic/net/if.h: Likewise.
39753         * sysdeps/generic/sys/swap.h: Likewise.
39754         * sysdeps/gnu/net/if.h: Likewise.
39755         * sysdeps/gnu/utmpx.h: Likewise.
39756         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39757         * sysdeps/i386/i486/bits/string.h: Likewise.
39758         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39759         * sysdeps/s390/bits/string.h: Likewise.
39760         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39761         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39762         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39763         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39764         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39765         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39766         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39767         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39768         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39769         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39770         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39771         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39772         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39773         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39774         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39775         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39776         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39778         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39779         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39780         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39781         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39782         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39783         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39784         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39785         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39786         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39787         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39788         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39789         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39790         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39791         * sysvipc/sys/ipc.h: Likewise.
39792         * sysvipc/sys/msg.h: Likewise.
39793         * sysvipc/sys/sem.h: Likewise.
39794         * sysvipc/sys/shm.h: Likewise.
39795         * termios/termios.h: Likewise.
39796         * time/sys/time.h: Likewise.
39797         * time/time.h: Likewise.
39798         * wcsmbs/bits/wchar2.h: Likewise.
39799         * wcsmbs/uchar.h: Likewise.
39800         * wcsmbs/wchar.h: Likewise.
39801         * wctype/wctype.h: Likewise.
39802
39803         [BZ #13551]
39804         * Makeconfig: Remove all but ELF support including AIX support.
39805         * Makerules: Likewise.
39806         * config.h.in: Likewise.
39807         * config.make.in: Likewise.
39808         * configure: Likewise.
39809         * configure.in: Likewise.
39810         * csu/Makefile: Likewise.
39811         * csu/version.c: Likewise.
39812         * debug/Makefile: Likewise.
39813         * dlfcn/Makefile: Likewise.
39814         * elf/Makefile: Likewise.
39815         * extra-lib.mk: Likewise.
39816         * iconv/Makefile: Likewise.
39817         * include/libc-symbols.h: Likewise.
39818         * include/shlib-compat.h: Likewise.
39819         * resolv/Makefile: Likewise.
39820         * resolv/res_libc.c: Likewise.
39821         * rt/Makefile: Likewise.
39822         * sysdeps/i386/asm-syntax.h: Likewise.
39823         * sysdeps/i386/sysdep.h: Likewise.
39824         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39825         * sysdeps/mach/sysdep.h: Likewise.
39826         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39827         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39828         * sysdeps/s390/asm-syntax.h: Likewise.
39829         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39830         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39831         * sysdeps/sh/sysdep.h: Likewise.
39832         * sysdeps/unix/sparc/sysdep.h: Likewise.
39833         * sysdeps/wordsize-32/divdi3.c: Likewise.
39834         * sysdeps/x86_64/sysdep.h: Likewise.
39835
39836         * argp/Versions: Remove _argp_unlock_xxx.
39837
39838         [BZ #13559]
39839         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39840         * abilist/libBrokenLocale.abilist: Likewise.
39841         * abilist/libanl.abilist: Likewise.
39842         * abilist/libc.abilist: Likewise.
39843         * abilist/libcrypt.abilist: Likewise.
39844         * abilist/libdl.abilist: Likewise.
39845         * abilist/libm.abilist: Likewise.
39846         * abilist/libnsl.abilist: Likewise.
39847         * abilist/libpthread.abilist: Likewise.
39848         * abilist/libresolv.abilist: Likewise.
39849         * abilist/librt.abilist: Likewise.
39850         * abilist/libthread_db.abilist: Likewise.
39851         * abilist/libutil.abilist: Likewise.
39852         * abilist/libnss_db.abilist: New file.
39853
39854         * scripts/abilist.awk: Add support for indirect functions.
39855
39856         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39857
39858         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39859
39860         * shlib-versions: Remove entries for ports architectures.
39861
39862         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39863         files in ports.
39864         * elf/stackguard-macros.h: Remove support for IA-64.
39865         * elf/tst-auditmod1.c: Likewise.
39866         * sysdeps/generic/ldsodefs.h: Likewise.
39867
39868         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39869         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39870         configure files.
39871
39872         [BZ #13552]
39873         * configure.in: Remove --enable-omitfp support.
39874         * FAQ.in: Adjust.
39875         * config.make.in: Likewise.
39876         * Makeconfig: Likewise.
39877         * manual/install.texi: Likewise.
39878
39879         In case anyone cares, the IA-64 architecture could move to ports.
39880         * sysdeps/ia64/*: Removed.
39881         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39882         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39883
39884         [BZ #13555]
39885         * configure.in: Remove entries for unsupported architectures.
39886
39887         [BZ #13533]
39888         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39889         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39890         routines.
39891         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39892         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39893         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39894         fall back to using wcrtomb.
39895         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39896         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39897         renaming.
39898         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39899         * wcsmbs/tst-c16c32-1.c: New file.
39900
39901         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39902         local variable.
39903
39904         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39905
39906         * elf/tst-unique3.cc: Add explicit declaration of gets.
39907         * elf/tst-unique3lib.cc: Likewise.
39908         * elf/tst-unique3lib2.cc: Likewise.
39909         * elf/tst-unique4.cc: Likewise.
39910
39911         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39912
39913 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39914
39915         [BZ #13566]
39916         * assert/assert.h (static_assert): Don't define for C++.
39917         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39918         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39919
39920 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39921
39922         * iconv/loop.c (single loop): Fix assertion in storing of
39923         remaining bytes.
39924
39925         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39926
39927 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39928
39929         * posix/getconf.c: Update copyright year.
39930         * nss/getent.c: Likewise.
39931         * nss/makedb.c: Likewise.
39932         * iconv/iconvconfig.c: Likewise.
39933         * iconv/iconv_prog.c: Likewise.
39934         * elf/ldconfig.c: Likewise.
39935         * elf/pldd.c: Likewise.
39936         * elf/sotruss.ksh: Likewise.
39937         * catgets/gencat.c: Likewise.
39938         * csu/version.c: Likewise.
39939         * elf/ldd.bash.in: Likewise.
39940         * elf/sprof.c (print_version): Likewise.
39941         * locale/programs/locale.c: Likewise.
39942         * locale/programs/localedef.c: Likewise.
39943         * login/programs/pt_chown.c: Likewise.
39944         * nscd/nscd.c (print_version): Likewise.
39945         * debug/xtrace.sh: Likewise.
39946         * malloc/memusage.sh: Likewise.
39947         * malloc/mtrace.pl: Likewise.
39948         * debug/catchsegv.sh: Likewise.
39949
39950 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39951
39952         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39953         pure attribute.
39954
39955 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39956
39957         [BZ #13533]
39958         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39959         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39960         transformations.
39961         * iconv/gconv_int.h: Likewise.
39962         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39963         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39964         from libc for GLIBC_2.16.
39965         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39966         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39967         * wcsmbs/uchar.h: Really define mbstate_t.
39968         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39969         * wcsmbs/c16rtomb.c: New file.
39970         * wcsmbs/mbrtoc16.c: New file.
39971         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39972         for C/POSIX locale.
39973         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39974         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39975
39976         * wcsmbs/wchar.h: Add missing __restrict.
39977
39978 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39979
39980         [BZ #13532]
39981         * time/Makefile (routines): Add timespec_get.
39982         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39983         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39984         timespec for ISO C11.
39985         * time/timespec_get.c: New file.
39986         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39987         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39988
39989         [BZ #13531]
39990         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39991         * stdlib/stdlib.h: Declare aligned_alloc.
39992         * Versions.def: Add GLIBC_2.16 for libc.
39993         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39994
39995         [BZ 13527]
39996         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39997         ISO C11.
39998
39999         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40000         code.
40001
40002         [BZ #13528]
40003         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40004
40005         [BZ #13529]
40006         * assert/assert.h (static_assert): Define.
40007
40008         * version.h: Update for 2.16 development version.
40009
40010         [BZ #13526]
40011         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40012         _ISOC11_SOURCE.
40013
40014         * version.h (RELEASE): Bump for 2.15 release.
40015         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40016
40017         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40018         Patch by Marek Polacek <mpolacek@redhat.com>.
40019
40020         * bits/byteswap.h: Protect long long constants with __extension__.
40021         * sysdeps/i386/bits/byteswap.h: Likewise.
40022         * sysdeps/ia64/bits/byteswap.h: Likewise.
40023         * sysdeps/s390/bits/byteswap.h: Likewise.
40024         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40025
40026 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40027
40028         [BZ #13540]
40029         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40030         destination buffer.
40031         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40032
40033 2011-12-23  Marek Polacek  <polacek@redhat.com>
40034
40035         * elf/dl-addr.c (determine_info): Add inline keyword.
40036         * elf/tst-auditmod4b.c (check_avx): Likewise.
40037         * elf/tst-auditmod6b.c (check_avx): Likewise.
40038         * elf/tst-auditmod6c.c (check_avx): Likewise.
40039         * elf/tst-auditmod7b.c (check_avx): Likewise.
40040
40041 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40042
40043         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40044         !__SSE_MATH__.
40045
40046 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40047
40048         [BZ #13540]
40049         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40050         processing for last bytes.
40051
40052 2011-08-06  Bruno Haible  <bruno@clisp.org>
40053
40054         [BZ #13061]
40055         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40056         U+0385, not to U+1FEE.
40057
40058         [BZ #13062]
40059         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40060         entry for U+00A5 U+0301.
40061
40062 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40063
40064         [BZ #13166]
40065         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40066         buffer for the output is too small.
40067
40068         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40069         optimization.
40070
40071         [BZ #13185]
40072         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40073         SSE flags if possible.
40074
40075 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40076
40077         [BZ #13540]
40078         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40079         processing for last bytes.
40080
40081 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40082
40083         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40084         (syscall-list-default-options, syscall-list-default-condition)
40085         (syscall-list-includes): Define.
40086         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40087         list of ABIs and options and #if conditions for each ABI.  Do not
40088         handle common syscalls between ABIs specially.
40089         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40090         Remove.
40091         (syscall-list-variants, syscall-list-32bit-options)
40092         (syscall-list-32bit-condition, syscall-list-64bit-options)
40093         (syscall-list-64bit-condition): Define.
40094         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40095         (syscall-list-variants, syscall-list-32bit-options)
40096         (syscall-list-32bit-condition, syscall-list-64bit-options)
40097         (syscall-list-64bit-condition): Define.
40098         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40099         Remove.
40100         (syscall-list-variants, syscall-list-32bit-options)
40101         (syscall-list-32bit-condition, syscall-list-64bit-options)
40102         (syscall-list-64bit-condition): Define.
40103         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40104         Remove.
40105         (syscall-list-variants, syscall-list-32bit-options)
40106         (syscall-list-32bit-condition, syscall-list-64bit-options)
40107         (syscall-list-64bit-condition): Define.
40108
40109 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40110
40111         * locale/iso-639.def: Add brx entry.
40112
40113         [BZ #13328]
40114         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40115         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40116
40117         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40118         __feraiseexcept_renamed.
40119
40120 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40121
40122         [BZ #13538]
40123         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40124         EPOLLET with unsigned values.
40125         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40126         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40127
40128         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40129         to large cancellation.
40130         * math/s_cacoshf.c: Likewise.
40131         * math/s_cacoshl.c: Likewise.
40132
40133 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40134
40135         [BZ #13305]
40136         [BZ #12786]
40137         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40138         * math/s_cacoshf.c: Likewise.
40139         * math/s_cacoshl.c: Likewise.
40140
40141 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40142
40143         [BZ #13439]
40144         * iconv/gconv.h: Define __GCONV_SWAP.
40145         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40146         * iconvdata/utf-16.c: Likewise.
40147         * iconvdata/utf-32.c: Likewise.
40148
40149 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40150
40151         [BZ #13524]
40152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40153         numerator after shifting it by one limb.
40154
40155 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40156
40157         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40158         under [__USE_EXTERN_INLINES].
40159
40160 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40161
40162         [BZ #13446]
40163         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40164
40165 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40166
40167         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40168         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40169         optimized code.
40170         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40171         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40172         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40173         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40174         for strncasecmp/strncasecmp_l compilation.
40175         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40176         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40177
40178 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40179
40180         [BZ #13484]
40181         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40182         of __asm__.
40183
40184 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40185
40186         [BZ #13506]
40187         * time/tzfile.c (__tzfile_read): Check values from file header.
40188
40189 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40190
40191         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40192         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40193         * powerpc/powerpc32/dl-start.S: Likewise.
40194         * powerpc/powerpc32/elf/start.S: Likewise.
40195         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40196         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40197         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40198         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40199         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40200         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40201         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40202         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40203         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40204         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40205         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40206         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40207         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40208         * powerpc/powerpc32/memset.S: Likewise.
40209         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40210         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40211         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40212         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40213         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40214         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40215         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40216         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40217         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40218         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40219         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40220         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40221         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40222
40223 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40224
40225         * math/libm-test.inc: Added more nearbyint tests.
40226         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40227         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40228         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40229         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40230
40231 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40232
40233         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40234         FD_CLOEXEC.
40235
40236 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40237
40238         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40239         Add wcscpy-ssse3 wcscpy-c.
40240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40241         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40242         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40243         * sysdeps/x86_64/wcschr.S: New file.
40244         * sysdeps/x86_64/wcsrchr.S: New file.
40245         * string/test-strcmp.c: Remove checking of wcscmp function for
40246         wrong alignments.
40247         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40248         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40249         wcsrchr-sse2 wcsrchr-c.
40250         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40251         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40252         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40253         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40254         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40255         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40256         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40257         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40258         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40259         * wcsmbc/wcschr.c (WCSCHR): New macro.
40260
40261 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40262
40263         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40264         * wcsmbs/test-wcsrchr.c: New file.
40265         * string/test-strrchr.c: Add wcsrchr support.
40266         (WIDE): New macro.
40267         * wcsmbs/test-wcscpy.c: New file.
40268         * string/test-strcpy.c: Add wcscpy support.
40269         (WIDE): New macro.
40270
40271 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40272
40273         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40274         the inner loop.
40275
40276 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40277
40278         [BZ #13472]
40279         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40280
40281 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40282
40283         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40284         Minor optimizations.
40285
40286         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40287         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40288         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40289
40290 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40291
40292         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40293         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40294         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40295         for gcc to avoid warnings.
40296         * inet/Makefile (tests): Add tst-checks.
40297         * inet/tst-checks.c: New file.
40298
40299         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40300         warning.
40301
40302         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40303         __wmemcmp_sse2.
40304
40305         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40306         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40307
40308         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40309
40310 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40311
40312         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40313         problem.
40314
40315         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40316
40317 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40318
40319         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40320         conditional on GCC version.
40321         (__arch_compare_and_exchange_val_8_acq)
40322         (__arch_compare_and_exchange_val_16_acq)
40323         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40324         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40325         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40326
40327 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40328
40329         * sysdeps/sh/backtrace.c: New file.
40330
40331 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40332
40333         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40334         parenthesis.
40335
40336 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40337
40338         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40339         falling back to utime.
40340
40341 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40342
40343         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40344         expectations for float.
40345
40346 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40347
40348         * locale/weight.h (findidx): Add parameter len.
40349         * locale/weightwc.h (findidx): Likewise.
40350         * posix/fnmatch_loop.c (FCT): Adjust caller.
40351         * posix/regcomp.c (build_equiv_class): Likewise.
40352         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40353         * posix/regexec.c (check_node_accept_bytes): Likewise.
40354         * string/strcoll_l.c (STRCOLL): Likewise.
40355         * string/strxfrm_l.c (STRXFRM): Likewise.
40356
40357 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40358
40359         * Makefile.in: Remove CVSOPT handling.
40360         * configure.in: Remove use of AC_REVISION.
40361         * iconvdata/Makefile (distribute): No need to filter out CVS.
40362         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40363         handling.
40364
40365 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40366
40367         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40368         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40369         [USE_AS_STRNCASECMP_L]: Likewise.
40370         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40371         NO_TLS_DIRECT_SEG_REFS.
40372         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40373         Fix argument offsets for non-PIC.
40374         [USE_AS_STRNCASECMP_L]: Likewise.
40375         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40376         NO_TLS_DIRECT_SEG_REFS.
40377
40378 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40379
40380         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40381         O_CLOEXEC.
40382         * locale/loadlocale.c (_nl_load_locale): Likewise.
40383
40384 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40385
40386         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40387         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40388         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40389         (SYSCALL_GETTIME): Set errno on error.
40390
40391         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40392         count references to noai6ai_cached.
40393
40394 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40395
40396         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40397
40398         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40399         FD_CLOEXEC for /proc/self/maps.
40400
40401         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40402         FD_CLOEXEC for /proc/meminfo.
40403
40404         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40405         gai.conf.
40406
40407         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40408         FD_CLOEXEC for given file.
40409
40410         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40411
40412         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40413         FD_CLOEXEC for /etc/hosts.
40414         (_gethtent): Likewise.
40415
40416         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40417
40418         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40419         cancellation and set FD_CLOEXEC for /etc/netgroup.
40420
40421         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40422         reading /etc/publickey.
40423
40424         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40425         allow cancellation when reading /etc/group.
40426
40427         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40428         cancellation.
40429         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40430
40431         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40432         when using data file.
40433
40434         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40435
40436         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40437         (write_nis_obj): Use "c" and "e" in fopen.
40438
40439         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40440
40441         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40442
40443         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40444
40445         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40446
40447         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40448         locale.alias.
40449
40450         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40451
40452         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40453
40454         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40455
40456         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40457         file parsing and set FD_CLOEXEC.
40458
40459 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40460
40461         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40462
40463 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40464
40465         * malloc/arena.c (arena_get2): Don't call reused_arena when
40466         _int_new_arena failed.
40467
40468 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40469
40470         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40471         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40472         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40473         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40474         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40475         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40476         to compile strcasecmp and strncasecmp.
40477         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40478         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40479
40480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40481
40482 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40483
40484         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40485         locale-defines.sym to gen-as-const-headers.
40486         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40487         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40488         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40489         to compile strcasecmp and strncasecmp.
40490         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40491         strcasecmp_l and strncasecmp_l.
40492         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40493         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40494         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40495         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40496         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40497         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40498         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40499         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40500         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40501         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40502         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40503
40504 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40505
40506         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40507         result of SYSDEP_GETTIME_CPU to retval.
40508         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40509         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40510
40511         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40512         variable.
40513
40514         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40515         mantissa words.
40516         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40517
40518         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40519         from unused variable.
40520
40521         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40522         DWARF definitions.
40523         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40524         for assembling.
40525
40526         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40527         over namespaces.
40528
40529         * sunrpc/rpc_prot.c (rejected): Fix case value.
40530
40531         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40532         unsigned long long int to avoid warnings in shift.
40533
40534         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40535         of use of trans.
40536         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40537         variable tmp.
40538
40539         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40540         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40541         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40542
40543         * nis/nis_table.c (nis_list): Use variable of correct type for
40544         result of __follow_path call.
40545
40546 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40547
40548         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40549         of math functions ceil, trunc, floor, round, and sqrt, when
40550         avaliable on the platform.
40551         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40552         name clash.
40553         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40554         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40555         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40556
40557 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40558
40559         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40560         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40561
40562 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40563
40564         * include/unistd.h: Fix __readlink return type.
40565         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40566
40567 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40568
40569         * stdlib/ucontext.h: Undo last change for makecontext.
40570
40571 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40572
40573         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40574
40575         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40576         * setjmp/setjmp.h: Mark functions as non-leaf.
40577         * setjmp/bits/setjmp2.h: Likewise.
40578         * stdlib/ucontext.h: Likewise.
40579
40580 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40581
40582         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40583         (reused_arena): Don't check arena limit.
40584         (arena_get2): Atomically check arena limit.
40585
40586 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40587
40588         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40589         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40590
40591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40592         instructions.
40593
40594 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40595
40596         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40597         handler when locking.
40598
40599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40600         Fix size of allocated buffer.
40601
40602 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40603
40604         [BZ #10103]
40605         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40606         declarations for long double functions.
40607         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40608
40609         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40610
40611 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40612
40613         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40614         installed.
40615
40616         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40617         is disabled.
40618
40619 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40620
40621         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40622
40623 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40624
40625         * include/alloca.h (stackinfo_alloca_round): Define.
40626         (extend_alloca): Use it.
40627         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40628         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40629         here.
40630
40631         * scripts/check-local-headers.sh: Ignore libaudit.h.
40632
40633         * nscd/Makefile (extra-objs): Make recursively expanded.
40634
40635 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40636
40637         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40639
40640         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40641         * posix/tst-rfc3484-2.c: Likewise.
40642         * posix/tst-rfc3484-3.c: Likewise.
40643
40644         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40645         process_vm_writev.
40646         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40647         process_vm_writev.
40648         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40649         process_vm_writev from libc using GLIBC_2.15 version.
40650
40651         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40652
40653 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40654
40655         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40656         stack usage.
40657
40658 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40659
40660         [BZ #13367]
40661         * nss/getent.c (initgroups_keys): Show error message in case no group
40662         names are given.
40663
40664         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40665         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40666         __bump_nl_timestamp.
40667         * nscd/connections (nscd_init): When host database is served open
40668         netlink socket and request notification about configuration changes.
40669         (main_loop_poll): Track netlink file descriptor and bump timestamp
40670         in case data becomes available.
40671         (main_loop_epoll): Likewise.
40672         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40673         (database_pers_head): Add extra_data fileds.
40674         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40675         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40676         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40677         Adjust caller.
40678         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40679         in6ai data, call __free_in6ai.
40680         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40681         Add -DHAVE_NETLINK.
40682         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40683         interface information.  Reuse previous data if netlink timestamp
40684         is not changed.
40685         (__bump_nl_timestamp): New function.
40686         (__free_in6ai): New function.
40687
40688 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40689
40690         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40691         close_not_cancel_no_status here.
40692         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40693
40694 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40695
40696         [BZ #13276]
40697         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40698         return value.
40699
40700         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40701         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40702         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40703
40704 2011-07-03  Andreas Jaeger  <aj@suse.de>
40705
40706         [BZ #10709]
40707         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40708         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40709         * math/libm-test.inc (sin_test): Add test case.
40710
40711 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40712
40713         [BZ #13337]
40714         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40715         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40716
40717         * elf/chroot_canon.c (chroot_canon): Cleanups.
40718
40719         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40720
40721         [BZ #13335]
40722         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40723         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40724
40725         * string/test-strchr.c: Make usable for strchrnul testing.
40726         * string/test-strchrnul.c: New file.
40727         * string/Makefile (strop-tests): Add strchrnul.
40728
40729         * po/it.po: Update from translation team.
40730         * po/es.po: Likewise.
40731
40732 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40733
40734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40735         the three constants needed as parameters.  Drop the others.
40736         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40737         __m128i_strloadu_tolower.
40738         Create and initialize variable zero and use it in all the places
40739         where _mm_setzero_si128 was used.
40740
40741         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40742         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40743         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40744         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40745         anymore.
40746         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40747         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40748         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40749         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40750         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40751         __mpranred, __mptan.
40752         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40753         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40754         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40755         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40756         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40757         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40758         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40759         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40760         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40761
40762 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40763
40764         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40765         redefine if SHARED.
40766         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40767
40768         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40769         wide char related routines to wcsmbs subdir.
40770
40771 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40772
40773         [BZ #13344]
40774         * misc/sys/cdefs.h (__THROWNL): Define.
40775         * posix/unistd.h: Use __THREADNL instead of __THREAD
40776         for memory synchronization functions.
40777
40778 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40779
40780         [BZ #13349]
40781         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40782         doesn't exist.
40783         * manual/stdio.texi (Obstack Streams): Node removed.
40784
40785 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40786
40787         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40788         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40789         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40790
40791         * math/math_private.h (math_force_eval): Allow non-addressable
40792         arguments.
40793         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40794
40795 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40796
40797         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40798         file is not needed.
40799
40800         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40801         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40802         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40803         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40804         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40805         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40806         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40807         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40808         Add AVX variants.
40809         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40810         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40811         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40812         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40813         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40814         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40815         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40816         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40817         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40818         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40819         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40820         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40821         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40822         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40823         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40824         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40825         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40826         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40827         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40828
40829         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40830         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40831
40832         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40833         place.  Use VEX encoding when compiling for AVX.
40834
40835 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40836
40837         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40838         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40839
40840         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40841
40842 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40843
40844         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40845         useless if() expression.
40846         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40847         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40848         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40849         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40850         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40851         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40852         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40853         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40856         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40857         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40858         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40859         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40860         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40861         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40862         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40863         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40864         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40865
40866         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40867
40868 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40869
40870         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40871         condition.
40872         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40873
40874 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40875
40876         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40877         .text section.  Avoid duplicate constants.
40878         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40880         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40882         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40883         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40888         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40890         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40893         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40895         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40901         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40902         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40903         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40904         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40905         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40906         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40907         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40908         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40909         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40910         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40911         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40912         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40913         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40914         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40915         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40916         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40917         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40918         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40920         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40921         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40922         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40923
40924 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40925
40926         * sysdeps/x86_64/dla.h: Move to ...
40927         * sysdeps/x86_64/fpu/dla.h: ...here.
40928         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40929         situations.  Use __builtin_fma only for gcc 4.6 and up.
40930
40931         * config.make.in: Add have-mfma4 entry.
40932         * configure.in: Substitute libc_cv_cc_fma4.
40933         * math/Makefile (dbl-only-routines): Add sincostab.
40934         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40935         Use __sincostab not sincos.
40936         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40937         name is a macro.
40938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40942         using __copysign.
40943         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40944         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40945         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40946         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40947         and __inv.
40948         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40949         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40950         __copysign.
40951         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40952         define aliases when function name is a macro.
40953         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40954         sysdeps/ieee754/dbl-64/sincos.tbl.
40955         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40956         fma4-enabled routines.
40957         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40958         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40959         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40960         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40961         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40962         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40964         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40966         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40967         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40968         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40969         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40970         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40971         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40972         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40973         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40974         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40975         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40976         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40977         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40978         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40979         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40980         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40981         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40982         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40983         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40984         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40985         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40986         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40987
40988         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40989         rename.
40990         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40991         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40992         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40993         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40994         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40997         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40998
40999 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41000
41001         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41002
41003 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41004
41005         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41006
41007         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41008         prediction.
41009         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41010
41011         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41012         Remove unused variable magic_bits.
41013         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41014
41015         * string/strnlen.c: Define and use STRNLEN macro.
41016         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41017         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41019         * wcsmbs/wcslen.c: Define and use WCSLEN.
41020         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41021         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41022         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41023         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41024         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41025         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41026         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41027
41028 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41029
41030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41031         strnlen-sse2-no-bsf.
41032         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41033         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41034         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41035         Add strnlen support.
41036         (USE_AS_STRNLEN): New macro.
41037         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41038         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41039         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41040         * sysdeps/x86_64/wcslen.S: New file.
41041
41042 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41043
41044         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41045         XMM-moves are used for copying on small sizes.
41046
41047 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41048
41049         * wcsmbs/Makefile (strop-tests): Add wcschr.
41050         * wcsmbs/test-wcschr.c: New file.
41051         * string/test-strchr.c: Update.
41052         Add wcschr support.
41053         (WIDE): New macro.
41054
41055 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41056
41057         * wcsmbs/Makefile (strop-tests): Add wcslen.
41058         * wcsmbs/test-wcslen.c: New file.
41059         * string/test-strlen.c: Update.
41060         Add wcslen support.
41061         (WIDE): New macro.
41062
41063 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41064
41065         * po/it.po: Update from translation team.
41066
41067 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41068
41069         * sysdeps/x86_64/wcscmp.S: Update.
41070         Fix wrong comparison semantics.
41071         wcscmp shall use signed comparison not unsigned.
41072         Don't use substraction to avoid overflow bug.
41073         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41074         * wcsmbc/wcscmp.c: Likewise.
41075         * string/test-strcmp.c: Likewise.
41076         Add new tests to check cases with negative values.
41077
41078 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41079
41080         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41081         * sysdeps/x86_64/dla.h: ...here.  New file.
41082         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41083         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41091
41092 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41093
41094         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41095         __ynl_finite aliases.
41096
41097 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41098
41099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41100
41101         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41102         define DLA_FMA.
41103         [DLA_FMA] (EMULV): Use DLA_FMA.
41104         [DLA_FMA] (MUL12): Use EMULV.
41105         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41106         that are not needed.
41107         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41114
41115 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41116
41117         * math/s_nan.c: Undef __nan.
41118         * math/s_nanf.c: Undef __nanf.
41119         * math/s_nanl.c: Undef __nanl.
41120         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41121         "math_private.h".
41122
41123 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41124
41125         * math/s_catan.c: Add branch predictions.
41126         * math/s_catanf.c: Likewise.
41127         * math/s_catanh.c: Likewise.
41128         * math/s_catanhf.c: Likewise.
41129         * math/s_catanhl.c: Likewise.
41130         * math/s_catanl.c: Likewise.
41131         * math/s_cexp.c: Likewise.
41132         * math/s_cexpf.c: Likewise.
41133         * math/s_cexpl.c: Likewise.
41134         * math/s_clog.c: Likewise.
41135         * math/s_clog10.c: Likewise.
41136         * math/s_clog10f.c: Likewise.
41137         * math/s_clog10l.c: Likewise.
41138         * math/s_clogf.c: Likewise.
41139         * math/s_clogl.c: Likewise.
41140         * math/s_csqrt.c: Likewise.
41141         * math/s_csqrtf.c: Likewise.
41142         * math/s_csqrtl.c: Likewise.
41143         * math/s_ctanf.c: Likewise.
41144         * math/s_ctanh.c: Likewise.
41145         * math/s_ctanhf.c: Likewise.
41146         * math/s_ctanhl.c: Likewise.
41147         * math/s_ctanl.c: Likewise.
41148
41149         * math/math_private.h: Define __nan, __nanf, __nanl.
41150         * math/s_cacosh.c: Include <math_private.h>.
41151         * math/s_cacoshl.c: Likewise.
41152         * math/s_casinh.c: Likewise.
41153         * math/s_casinhf.c: Likewise.
41154         * math/s_casinhl.c: Likewise.
41155         * math/s_ccos.c: Rely entire on ccosh.
41156         * math/s_ccosf.c: Rely entire on ccoshf.
41157         * math/s_ccosl.c: Rely entirely on ccoshl.
41158         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41159         Remove tests for FE_INVALID.
41160         * math/s_ccoshf.c: Likewise.
41161         * math/s_ccoshl.c: Likewise.
41162         * math/s_csin.c: Likewise.
41163         * math/s_csinf.c: Likewise.
41164         * math/s_csinh.c Likewise.
41165         * math/s_csinhf.c: Likewise.
41166         * math/s_csinhl.c: Likewise.
41167         * math/s_csinl.c: Likewise.
41168         * math/s_ctan.c: Likewise.
41169         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41170         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41171         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41172
41173 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41174
41175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41176         compilation problems.
41177
41178         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41179         __builtin_expect.
41180
41181 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41182
41183         * sysdeps/i386/configure.in: Test for -mfma4 option.
41184         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41185         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41186         COMMON_CPUID_INDEX_80000001.
41187         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41188         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41189         use it if FMA3 is not supported.
41190         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41191
41192         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41193         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41194
41195 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41196
41197         [BZ #12892]
41198         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41199         it would create a cycle with a link time dependency.
41200
41201 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41202
41203         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41204         instruction.
41205         * string/Makefile (strop-tests): Add rawmemchr.
41206         * string/test-rawmemchr.c: New file.
41207
41208         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41209         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41210         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41211         when compiling str{,n}casecmp and when AVX is available.  Hook up
41212         new optimized code in initializers.
41213
41214 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41215
41216         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41217         __feraiseexcept instead of feraiseexcept.
41218
41219 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41220
41221         * math/math_private.h: Define defaults for libc_fetestexcept and
41222         libc_feupdateenv.
41223         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41224         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41225         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41226         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41227         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41228         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41229         libc_fetestexcept and libc_feupdateenv.
41230
41231         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41232         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41233         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41234         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41235         libc_feholdexcept_setround.
41236
41237         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41238         Add s_nearbyint-c and s_nearbyintf-c.
41239         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41240         nearbyintf inlines.
41241         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41242         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41243         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41244         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41245
41246         * math/math_private.h: Define defaults for libc_fegetround,
41247         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41248         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41249         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41250         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41251         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41252         standard functions.
41253         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41254         Remove comments and hacks for old compiler versions.
41255         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41256         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41257         libc_feholdexceptl.
41258
41259 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41260
41261         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41262         (__feraiseexcept_renamed): Add __NTH.
41263         (feraiseexcept): Add __NTH.  Rename local variables to fix
41264         namespace violations.
41265
41266 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41267
41268         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41269
41270         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41271
41272         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41273         recently added interfaces.
41274         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41275
41276         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41277         about macro parameter expansion.
41278
41279         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41280         __NO_MATH_INLINES is defined.  Cleanups.
41281
41282         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41283         and __floorf is target has SSE4.1.
41284         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41285         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41286         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41287         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41288
41289         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41290         name.
41291         (floorf): Likewise.
41292
41293         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41294
41295 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41296
41297         * misc/sys/cdefs.h: Fix last change.
41298
41299         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41300         database lookup.
41301
41302 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41303
41304         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41305
41306         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41307         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41308         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41309         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41310         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41311         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41312         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41313         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41314         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41315         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41316         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41317         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41318         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41319         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41320         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41321         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41322         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41323         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41324         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41325         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41326         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41327         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41328
41329         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41330         ceil, ceilf, floor, floorf.
41331
41332         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41333         Perform IRELATIVE relocations last.
41334
41335         * elf/do-rel.h: Add another parameter nrelative, replacing the
41336         local variable with the same name.  Change name of the function
41337         to end in Rel or Rela (uppercase).
41338         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41339         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41340         elf_dynamic_do_##reloc function.
41341
41342 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41343
41344         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41345         is sufficient, at least on modern CPUs.
41346
41347         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41348
41349         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41350         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41351
41352         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41353         __expl_finite.
41354         * math/bits/math-finite.h: Add entries for exp.
41355         * math/e_expl.c: Add __*_finite alias.
41356         * sysdeps/i386/fpu/e_exp.S: Likewise.
41357         * sysdeps/i386/fpu/e_expf.S: Likewise.
41358         * sysdeps/i386/fpu/e_expl.c: Likewise.
41359         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41360         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41361         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41363         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41364         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41366
41367         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41368         is sufficient, at least on modern CPUs.
41369
41370         * ctype/ctype-info.c (__ctype_init): Define.
41371         * include/ctype.h (__ctype_init): Declare.
41372         (__ctype_b_loc): The variable is always initialized.
41373         (__ctype_toupper_loc): Likewise.
41374         (__ctype_tolower_loc): Likewise.
41375         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41376         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41377
41378 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41379
41380         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41381
41382         * configure.in: Also look in $cxxmachine/include for C++ system
41383         headers.
41384
41385 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41386
41387         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41388         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41389         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41390         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41391         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41392         (USE_AS_WMEMCMP): New macro.
41393         Fixing indents.
41394         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41395         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41396         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41397         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41399         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41400         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41401         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41402         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41403         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41404         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41405         (USE_AS_WMEMCMP): New macro.
41406         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41407         * sysdeps/string/test-memcmp.c: Update.
41408         Fix simple_wmemcmp.
41409         Add new tests.
41410         * wcsmbs/wmemcmp.c: Update.
41411         (WMEMCMP): New macro.
41412         Fix overflow bug.
41413
41414 2011-10-12  Andreas Jaeger  <aj@suse.de>
41415
41416         [BZ #13268]
41417         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41418
41419 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41420
41421         * libio/iofwide.c (do_length): Avoid warning.
41422
41423         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41424
41425 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41426
41427         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41428
41429         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41430         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41431         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41432         * sysdeps/i386/i686/fpu/e_log.S: New file.
41433         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41434         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41435
41436         * ctype/ctype.h: Add support for inlined isXXX functions when
41437         compiling C++ code.
41438
41439 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41440
41441         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41442
41443         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41444
41445 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41446
41447         [BZ #13291]
41448         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41449
41450 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41451
41452         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41453         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41454         feraiseexcept.
41455
41456         * sysdeps/x86_64/memrchr.S: Check for zero size.
41457
41458         * string/stratcliff.c: Add memrchr tests.
41459
41460 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41461
41462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41463         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41464         rawmemchr-sse2 rawmemchr-sse2-bsf.
41465         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41466         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41467         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41468         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41469         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41470         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41471         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41472         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41473         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41474         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41475         * string/memrchr.c (MEMRCHR): New macro.
41476
41477 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41478
41479         Add integration with gcc's -ffinite-math-only and optimize wrapper
41480         functions in libm.
41481         * Versions.def: Define GLIBC_2.15 version for libm.
41482         * math/Makefile (headers): Add bits/math-finite.h.
41483         * math/bits/math-finite.h: New file.
41484         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41485         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41486         * math/e_acoshl.c: Add __*_finite alias.
41487         * math/e_acosl.c: Likewise.
41488         * math/e_asinl.c: Likewise.
41489         * math/e_atan2l.c: Likewise.
41490         * math/e_atanhl.c: Likewise.
41491         * math/e_coshl.c: Likewise.
41492         * math/e_exp10.c: Likewise.
41493         * math/e_exp10f.c: Likewise.
41494         * math/e_exp10l.c: Likewise.
41495         * math/e_exp2l.c: Likewise.
41496         * math/e_fmodl.c: Likewise.
41497         * math/e_gammal_r.c: Likewise.
41498         * math/e_hypotl.c: Likewise.
41499         * math/e_j0l.c: Likewise.
41500         * math/e_j1l.c: Likewise.
41501         * math/e_jnl.c: Likewise.
41502         * math/e_lgammal_r.c: Likewise.
41503         * math/e_log10l.c: Likewise.
41504         * math/e_log2l.c: Likewise.
41505         * math/e_logl.c: Likewise.
41506         * math/e_powl.c: Likewise.
41507         * math/e_sinhl.c: Likewise.
41508         * math/e_sqrtl.c: Likewise.
41509         * math/e_scalb.c: Completely rewritten and optimized.
41510         * math/e_scalbf.c: Likewise.
41511         * math/e_scalbl.c: Likewise.
41512         * math/w_acos.c: Likewise.
41513         * math/w_acosf.c: Likewise.
41514         * math/w_acosl.c: Likewise.
41515         * math/w_acosh.c: Likewise.
41516         * math/w_acoshf.c: Likewise.
41517         * math/w_acoshl.c: Likewise.
41518         * math/w_asin.c: Likewise.
41519         * math/w_asinf.c: Likewise.
41520         * math/w_asinl.c: Likewise.
41521         * math/w_atan2.c: Likewise.
41522         * math/w_atan2f.c: Likewise.
41523         * math/w_atan2l.c: Likewise.
41524         * math/w_atanh.c: Likewise.
41525         * math/w_atanhf.c: Likewise.
41526         * math/w_atanhl.c: Likewise.
41527         * math/w_exp10.c: Likewise.
41528         * math/w_exp10f.c: Likewise.
41529         * math/w_exp10l.c: Likewise.
41530         * math/w_fmod.c: Likewise.
41531         * math/w_fmodf.c: Likewise.
41532         * math/w_fmodl.c: Likewise.
41533         * math/w_j0.c: Likewise.
41534         * math/w_j0f.c: Likewise.
41535         * math/w_j0l.c: Likewise.
41536         * math/w_j1.c: Likewise.
41537         * math/w_j1f.c: Likewise.
41538         * math/w_j1l.c: Likewise.
41539         * math/w_jn.c: Likewise.
41540         * math/w_jnf.c: Likewise.
41541         * math/w_log.c: Likewise.
41542         * math/w_logf.c: Likewise.
41543         * math/w_logl.c: Likewise.
41544         * math/w_log10.c: Likewise.
41545         * math/w_log10f.c: Likewise.
41546         * math/w_log10l.c: Likewise.
41547         * math/w_log2.c: Likewise.
41548         * math/w_log2f.c: Likewise.
41549         * math/w_log2l.c: Likewise.
41550         * math/w_pow.c: Likewise.
41551         * math/w_powf.c: Likewise.
41552         * math/w_powl.c: Likewise.
41553         * math/w_remainder.c: Likewise.
41554         * math/w_remainderf.c: Likewise.
41555         * math/w_remainderl.c: Likewise.
41556         * math/w_scalb.c: Likewise.
41557         * math/w_scalbf.c: Likewise.
41558         * math/w_scalbl.c: Likewise.
41559         * math/w_sqrt.c: Likewise.
41560         * math/w_sqrtf.c: Likewise.
41561         * math/w_sqrtl.c: Likewise.
41562         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41563         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41564         used.
41565         * math/math_private.h: Declare __kernel_standard_f.
41566         * math/w_cosh.c: Remove cruft and optimize a bit.
41567         * math/w_coshf.c: Likewise.
41568         * math/w_coshl.c: Likewise.
41569         * math/w_exp2.c: Likewise.
41570         * math/w_exp2f.c: Likewise.
41571         * math/w_exp2l.c: Likewise.
41572         * math/w_hypot.c: Likewise.
41573         * math/w_hypotf.c: Likewise.
41574         * math/w_hypotl.c: Likewise.
41575         * math/w_lgamma.c: Likewise.
41576         * math/w_lgamma_r.c: Likewise.
41577         * math/w_lgammaf.c: Likewise.
41578         * math/w_lgammaf_r.c: Likewise.
41579         * math/w_lgammal.c: Likewise.
41580         * math/w_lgammal_r.c: Likewise.
41581         * math/w_sinh.c: Likewise.
41582         * math/w_sinhf.c: Likewise.
41583         * math/w_sinhl.c: Likewise.
41584         * math/w_tgamma.c: Likewise.
41585         * math/w_tgammaf.c: Likewise.
41586         * math/w_tgammal.c: Likewise.
41587         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41588         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41589         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41590         Minor optimizations.  Pretty printing.  Remove cruft.
41591         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41592         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41593         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41594         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41595         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41596         * sysdeps/i386/fpu/e_asin.S: Likewise.
41597         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41598         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41599         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41600         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41601         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41602         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41603         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41604         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41605         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41606         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41607         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41608         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41609         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41610         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41611         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41612         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41613         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41614         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41615         * sysdeps/i386/fpu/e_log.S: Likewise.
41616         * sysdeps/i386/fpu/e_log10.S: Likewise.
41617         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41618         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41619         * sysdeps/i386/fpu/e_log2.S: Likewise.
41620         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41621         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41622         * sysdeps/i386/fpu/e_logf.S: Likewise.
41623         * sysdeps/i386/fpu/e_logl.S: Likewise.
41624         * sysdeps/i386/fpu/e_pow.S: Likewise.
41625         * sysdeps/i386/fpu/e_powf.S: Likewise.
41626         * sysdeps/i386/fpu/e_powl.S: Likewise.
41627         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41628         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41629         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41630         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41631         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41632         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41633         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41634         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41635         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41636         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41637         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41639         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41640         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41641         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41642         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41643         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41644         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41645         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41646         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41647         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41649         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41650         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41652         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41653         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41654         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41656         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41657         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41658         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41659         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41660         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41661         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41662         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41663         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41664         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41665         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41666         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41667         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41668         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41669         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41670         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41671         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41672         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41673         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41674         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41675         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41676         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41677         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41678         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41685         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41686         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41687         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41688         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41689         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41690         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41691         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41692         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41693         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41694         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41705         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41706         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41707         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41710         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41712         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41713         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41716         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41717         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41718         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41719         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41720         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41721         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41722         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41723         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41724         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41726         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41727         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41728         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41729         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41730         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41731         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41732         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41733         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41734         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41735         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41736         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41737         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41738         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41739         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41742         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41743         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41744         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41745         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41746         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41747         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41748         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41749         (__isnanf): Likewise.
41750         (__isinf_ns): Likewise.
41751         (__isinf_nsf): Likewise.
41752         (__finite): Likewise.
41753         (__finitef): Likewise.
41754         (__ieee754_sqrt): Define as macro.
41755         (__ieee754_sqrtf): Define as macro.
41756         (__ieee754_sqrtl): Define as macro.
41757         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41758         inlined copy.
41759         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41760         __FINITE_MATH_ONLY__ consistent.
41761         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41762
41763 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41764
41765         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41766         of rawmemchr.
41767
41768         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41769
41770 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41771
41772         * po/ja.po: Update from translation team.
41773
41774 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41775
41776         * locale/programs/locarchive.c (prepare_address_space): New function.
41777         (create_archive, enlarge_archive, open_archive): Use it.
41778
41779         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41780         inside [SHARED], where it is used.
41781
41782         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41783
41784         * nss/getent.c (netgroup_keys): Remove unused variable.
41785         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41786
41787 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41788
41789         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41790         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41792         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41793         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41794         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41795         * math/Makefile (libm-calls): Add s_isinf_ns.
41796         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41797         * math/multc3.c: Likewise.
41798         * math/s_casin.c: Likewise.
41799         * math/s_casinf.c: Likewise.
41800         * math/s_casinl.c: Likewise.
41801         * math/s_ccos.c: Likewise.
41802         * math/s_ccosf.c: Likewise.
41803         * math/s_ccosl.c: Likewise.
41804         * math/s_ctan.c: Likewise.
41805         * math/s_ctanf.c: Likewise.
41806         * math/s_ctanh.c: Likewise.
41807         * math/s_ctanhf.c: Likewise.
41808         * math/s_ctanhl.c: Likewise.
41809         * math/s_ctanl.c: Likewise.
41810         * math/w_fmod.c: Likewise.
41811         * math/w_fmodf.c: Likewise.
41812         * math/w_fmodl.c: Likewise.
41813         * math/w_remainder.c: Likewise.
41814         * math/w_remainderf.c: Likewise.
41815         * math/w_remainderl.c: Likewise.
41816         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41817         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41818         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41819         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41820         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41821         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41822         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41823         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41824
41825         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41826         of the number.
41827         * stdio-common/printf_fphex.c: Likewise.
41828         * stdio-common/printf_size.c: Likewise.
41829
41830         * math/e_exp10.c: Include math_private.h using <...> not "...".
41831         * math/e_exp10f.c: Likewise.
41832         * math/e_exp10l.c: Likewise.
41833         * math/e_exp2l.c: Likewise.
41834         * math/e_j0l.c: Likewise.
41835         * math/e_j1l.c: Likewise.
41836         * math/e_jnl.c: Likewise.
41837         * math/e_lgammal_r.c: Likewise.
41838         * math/e_rem_pio2l.c: Likewise.
41839         * math/e_scalb.c: Likewise.
41840         * math/e_scalbf.c: Likewise.
41841         * math/e_scalbl.c: Likewise.
41842         * math/k_cosl.c: Likewise.
41843         * math/k_sinl.c: Likewise.
41844         * math/k_tanl.c: Likewise.
41845         * math/s_cacoshf.c: Likewise.
41846         * math/s_catan.c: Likewise.
41847         * math/s_catanf.c: Likewise.
41848         * math/s_catanh.c: Likewise.
41849         * math/s_catanhf.c: Likewise.
41850         * math/s_catanhl.c: Likewise.
41851         * math/s_catanl.c: Likewise.
41852         * math/s_ccosh.c: Likewise.
41853         * math/s_ccoshf.c: Likewise.
41854         * math/s_ccoshl.c: Likewise.
41855         * math/s_cexp.c: Likewise.
41856         * math/s_cexpf.c: Likewise.
41857         * math/s_cexpl.c: Likewise.
41858         * math/s_clog.c: Likewise.
41859         * math/s_clog10.c: Likewise.
41860         * math/s_clog10f.c: Likewise.
41861         * math/s_clog10l.c: Likewise.
41862         * math/s_clogf.c: Likewise.
41863         * math/s_clogl.c: Likewise.
41864         * math/s_csin.c: Likewise.
41865         * math/s_csinf.c: Likewise.
41866         * math/s_csinh.c: Likewise.
41867         * math/s_csinhf.c: Likewise.
41868         * math/s_csinhl.c: Likewise.
41869         * math/s_csinl.c: Likewise.
41870         * math/s_csqrt.c: Likewise.
41871         * math/s_csqrtf.c: Likewise.
41872         * math/s_csqrtl.c: Likewise.
41873         * math/s_ctan.c: Likewise.
41874         * math/s_ctanf.c: Likewise.
41875         * math/s_ctanh.c: Likewise.
41876         * math/s_ctanhf.c: Likewise.
41877         * math/s_ctanhl.c: Likewise.
41878         * math/s_ctanl.c: Likewise.
41879         * math/s_ldexp.c: Likewise.
41880         * math/s_ldexpf.c: Likewise.
41881         * math/s_ldexpl.c: Likewise.
41882         * math/s_significand.c: Likewise.
41883         * math/s_significandf.c: Likewise.
41884         * math/s_significandl.c: Likewise.
41885         * math/w_acos.c: Likewise.
41886         * math/w_acosf.c: Likewise.
41887         * math/w_acosh.c: Likewise.
41888         * math/w_acoshf.c: Likewise.
41889         * math/w_acoshl.c: Likewise.
41890         * math/w_acosl.c: Likewise.
41891         * math/w_asin.c: Likewise.
41892         * math/w_asinf.c: Likewise.
41893         * math/w_asinl.c: Likewise.
41894         * math/w_atan2.c: Likewise.
41895         * math/w_atan2f.c: Likewise.
41896         * math/w_atan2l.c: Likewise.
41897         * math/w_atanh.c: Likewise.
41898         * math/w_atanhf.c: Likewise.
41899         * math/w_atanhl.c: Likewise.
41900         * math/w_cosh.c: Likewise.
41901         * math/w_coshf.c: Likewise.
41902         * math/w_coshl.c: Likewise.
41903         * math/w_dremf.c: Likewise.
41904         * math/w_exp10.c: Likewise.
41905         * math/w_exp10f.c: Likewise.
41906         * math/w_exp10l.c: Likewise.
41907         * math/w_exp2.c: Likewise.
41908         * math/w_exp2f.c: Likewise.
41909         * math/w_fmod.c: Likewise.
41910         * math/w_fmodf.c: Likewise.
41911         * math/w_fmodl.c: Likewise.
41912         * math/w_hypot.c: Likewise.
41913         * math/w_hypotf.c: Likewise.
41914         * math/w_hypotl.c: Likewise.
41915         * math/w_j0.c: Likewise.
41916         * math/w_j0f.c: Likewise.
41917         * math/w_j0l.c: Likewise.
41918         * math/w_j1.c: Likewise.
41919         * math/w_j1f.c: Likewise.
41920         * math/w_j1l.c: Likewise.
41921         * math/w_jn.c: Likewise.
41922         * math/w_jnf.c: Likewise.
41923         * math/w_jnl.c: Likewise.
41924         * math/w_lgamma.c: Likewise.
41925         * math/w_lgamma_r.c: Likewise.
41926         * math/w_lgammaf.c: Likewise.
41927         * math/w_lgammaf_r.c: Likewise.
41928         * math/w_lgammal.c: Likewise.
41929         * math/w_lgammal_r.c: Likewise.
41930         * math/w_log.c: Likewise.
41931         * math/w_log10.c: Likewise.
41932         * math/w_log10f.c: Likewise.
41933         * math/w_log10l.c: Likewise.
41934         * math/w_log2.c: Likewise.
41935         * math/w_log2f.c: Likewise.
41936         * math/w_log2l.c: Likewise.
41937         * math/w_logf.c: Likewise.
41938         * math/w_logl.c: Likewise.
41939         * math/w_pow.c: Likewise.
41940         * math/w_powf.c: Likewise.
41941         * math/w_powl.c: Likewise.
41942         * math/w_remainder.c: Likewise.
41943         * math/w_remainderf.c: Likewise.
41944         * math/w_remainderl.c: Likewise.
41945         * math/w_scalb.c: Likewise.
41946         * math/w_scalbf.c: Likewise.
41947         * math/w_scalbl.c: Likewise.
41948         * math/w_sinh.c: Likewise.
41949         * math/w_sinhf.c: Likewise.
41950         * math/w_sinhl.c: Likewise.
41951         * math/w_sqrt.c: Likewise.
41952         * math/w_sqrtf.c: Likewise.
41953         * math/w_sqrtl.c: Likewise.
41954         * math/w_tgamma.c: Likewise.
41955         * math/w_tgammaf.c: Likewise.
41956         * math/w_tgammal.c: Likewise.
41957
41958         * po/ja.po: Update from translation team.
41959
41960 2011-09-29  Andreas Jaeger  <aj@suse.de>
41961
41962         [BZ #13179]
41963         * sunrpc/netname.c (netname2host): Fix logic.
41964
41965         [BZ #6779]
41966         [BZ #6783]
41967         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41968         correctly.
41969         * math/w_remainder.c (__remainder): Likewise.
41970         * math/w_remainderf.c (__remainderf): Likewise.
41971         * math/libm-test.inc (remainder_test): Add test cases.
41972
41973 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41974
41975         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41976         sdiv_qrnnd.
41977
41978 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41979
41980         * string/test-memcmp.c: Avoid unncessary #defines.
41981         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41982
41983 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41984
41985         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41986         Use new sse2 version for core i3 - i7 as it's faster
41987         than sse42 version.
41988         (bit_Prefer_PMINUB_for_stringop): New.
41989         * sysdeps/x86_64/rawmemchr.S: Update.
41990         Replace with faster SSE2 version.
41991         * sysdeps/x86_64/memrchr.S: New file.
41992         * sysdeps/x86_64/memchr.S: Update.
41993         Replace with faster SSE2 version.
41994
41995 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41996
41997         * elf/dl-load.c (lose): Add cast to avoid warning.
41998
41999 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42000
42001         * po/ca.po: Update from translation team.
42002
42003         * inet/getnetgrent_r.c: Hook up nscd.
42004         * nscd/Makefile (routines): Add nscd_netgroup.
42005         (nscd-modules): Add netgroupcache.
42006         (CFLAGS-netgroupcache.c): Define.
42007         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42008         (cache_search): Add const to second parameter.
42009         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42010         INNETGR.
42011         (dbs): Add netgrdb entry.
42012         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42013         (verify_persistent_db): Handle netgrdb.
42014         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42015         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42016         GETFDNETGR.
42017         (netgroup_response_header): Define.
42018         (innetgroup_response_header): Define.
42019         (datahead): Add netgroup_response_header and innetgroup_response_header
42020         elements.
42021         * nscd/nscd.conf: Add entries for netgroup cache.
42022         * nscd/nscd.h (dbtype): Add netgrdb.
42023         (_PATH_NSCD_NETGROUP_DB): Define.
42024         (netgroup_iov_disabled): Declare.
42025         (xmalloc, xcalloc, xrealloc): Move declarations here.
42026         (cache_search): Adjust prototype.
42027         Add netgroup-related prototypes.
42028         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42029         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42030         (__nscd_innetgr): Declare.
42031         * nscd/selinux.c (perms): Use access_vector_t as element type and
42032         add netgroup-related initializers.
42033         * nscd/netgroupcache.c: New file.
42034         * nscd/nscd_netgroup.c: New file.
42035         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42036         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42037         For four parameters use innetgr.
42038         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42039         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42040         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42041         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42042
42043         * nscd/connections.c (register_traced_file): Don't register file
42044         for disabled databases.
42045
42046 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42047
42048         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42049
42050         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42051         from tree and freeing node.
42052
42053 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42054
42055         * nss/nsswitch.c (__nss_database_lookup): Handle
42056         nss_parse_service_list out of memory case.
42057
42058 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42059
42060         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42061         out of memory case.
42062
42063 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42064
42065         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42066         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42067         pass it down.
42068         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42069         elf_machine_rela, elf_machine_lazy_rel.
42070         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42071         (ELF_DYNAMIC_DO_REL): Likewise.
42072         (ELF_DYNAMIC_DO_RELA): Likewise.
42073         (ELF_DYNAMIC_RELOCATE): Likewise.
42074         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42075         to ELF_DYNAMIC_DO_REL.
42076         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42077         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42078         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42079         elf_machine_rela.
42080         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42081         skip_ifunc, don't call ifunc function if non-zero.
42082         (elf_machine_rela): Likewise.
42083         (elf_machine_lazy_rel): Likewise.
42084         (elf_machine_lazy_rela): Likewise.
42085         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42086         (elf_machine_lazy_rel): Likewise.
42087         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42088         Likewise.
42089         (elf_machine_lazy_rel): Likewise.
42090         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42091         Likewise.
42092         (elf_machine_lazy_rel): Likewise.
42093         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42094         (elf_machine_lazy_rel): Likewise.
42095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42096         (elf_machine_lazy_rel): Likewise.
42097         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42098         (elf_machine_lazy_rel): Likewise.
42099         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42100         (elf_machine_lazy_rel): Likewise.
42101         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42102         (elf_machine_lazy_rel): Likewise.
42103         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42104         (elf_machine_lazy_rel): Likewise.
42105
42106 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42107
42108         * nss/nss_files/files-init.c (_nss_files_init): Use static
42109         initialization for all the *_traced_file variables.
42110
42111 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42112
42113         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42114
42115 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42116
42117         [BZ #13226]
42118         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42119
42120 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42121
42122         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42123         Reread the line before reparsing it.
42124
42125 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42126
42127         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42128
42129 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42130             Maxim Kuvyrkov  <maxim@codesourcery.com>
42131             Joseph Myers  <joseph@codesourcery.com>
42132
42133         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42134         if needed for __stack_chk_guard.
42135
42136 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42137
42138         * sysdeps/posix/spawni.c (script_execute): Always define it.
42139         It will be optimized away if unused.
42140         (maybe_script_execute): New function.
42141         (__spawni): Call it.
42142
42143         * Makerules: Don't include tls.make.
42144         (config-tls): Always set to thread.
42145         * tls.make.c: File removed.
42146
42147 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42148
42149         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42150         * config.make.in (CPPFLAGS-config): New substituted variable.
42151
42152 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42153
42154         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42155
42156         [BZ #13192]
42157         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42158         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42159
42160 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42161
42162         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42163         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42164         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42165         (CALL_FAIL): Likewise.
42166         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42167         (CALL_FAIL): Macro removed.
42168         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42169
42170 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42171
42172         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42173         for __FINITE_MATH_ONLY__ == 1.
42174
42175 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42176
42177         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42178         __ieee754_sqrt instead of sqrt.
42179         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42180         __ieee754_sqrtf instead of sqrtf.
42181         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42182         __floorf instead of floorf.
42183         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42184         __floorf, __truncf instead of floorf, truncf.
42185
42186 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42187
42188         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42189
42190         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42191         __extern_always_inline.
42192         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42193         32-bit.
42194
42195 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42196
42197         * elf/rtld.c (dl_main): Also relocate in dependency order when
42198         doing symbol dependency testing.
42199
42200 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42201
42202         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42203         Always define `refsym'.
42204
42205 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42206
42207         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42208         (__FD_ELT): Renamed from __FDELT.
42209         * misc/bits/select2.h (__FD_ELT): Likewise.
42210         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42211         __FD_MASK instead of __FDELT, __FDMASK.
42212         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42213         Likewise.
42214         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42215         Likewise.
42216
42217         * elf/Makefile (gen-ldd): Fix pattern.
42218
42219         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42220         (init_tls): Likewise.
42221
42222 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42223
42224         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42225
42226 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42227
42228         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42229         `struct cmsghdr *' instead of `void *'.
42230         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42231         Likewise.
42232
42233 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42234
42235         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42236         if non-absolute.
42237         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42238         ldd_rewrite_script.
42239
42240 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42241
42242         * configure.in: Remove --with-tls option.
42243         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42244         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42245         out in case it is missing.
42246         * sysdeps/ia64/elf/configure.in: Likewise.
42247         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42248         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42249         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42250         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42251         * sysdeps/sh/elf/configure.in: Likewise.
42252         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42253         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42254         * sysdeps/x86_64/elf/configure.in: Likewise.
42255         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42256         * sysdeps/mach/hurd/tls.h: Likewise.
42257
42258         [BZ #13067]
42259         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42260
42261         [BZ #13090]
42262         * configure.in: Fix use of AC_INIT.
42263
42264         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42265
42266 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42267
42268         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42269         __set_errno.
42270         * malloc/hooks.c: Likewise.
42271
42272         [BZ #11929]
42273         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42274         variables statically.
42275         (narenas): Initialize.
42276         (list_lock): Initialize.
42277         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42278         initializtion of main_arena and list_lock.  Small cleanups.
42279         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42280         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42281         Add initializers to main_arena and mp_.
42282         (malloc_state): Remove pagesize member.  Change all users to use
42283         GLRO(dl_pagesize).
42284
42285         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42286         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42287         is always initialized.
42288
42289         * malloc/malloc.c: Removed unused configurations and dead code.
42290         * malloc/arena.c: Likewise.
42291         * malloc/hooks.c: Likewise.
42292         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42293
42294         * include/tls.h: Removed.  USE___THREAD must always be defined.
42295         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42296         * elf/dl-libc.c: Likewise.
42297         * elf/dl-tsd.c: Likewise.
42298         * include/errno.h: Likewise.
42299         * include/netdb.h: Likewise.
42300         * include/resolv.h: Likewise.
42301         * inet/herrno-loc.c: Likewise.
42302         * inet/herrno.c: Likewise.
42303         * malloc/arena.c: Likewise.
42304         * malloc/hooks.c: Likewise.
42305         * malloc/malloc.c: Likewise.
42306         * resolv/res-state.c: Likewise.
42307         * resolv/res_libc.c: Likewise.
42308         * sysdeps/i386/dl-machine.h: Likewise.
42309         * sysdeps/ia64/dl-machine.h: Likewise.
42310         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42311         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42312         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42313         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42314         * sysdeps/sh/dl-machine.h: Likewise.
42315         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42316         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42317         * sysdeps/unix/i386/sysdep.S: Likewise.
42318         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42319         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42324         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42325         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42326         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42328         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42329         * sysdeps/x86_64/dl-machine.h: Likewise.
42330         * tls.make.c: Likewise.
42331
42332         * configure.in: Remove --with-__thread option.  Make tests for
42333         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42334         tls_model attribute fail if no support is available.  Remove
42335         USE_IN_LIBIO.
42336         * Makeconfig: Adjust for dropped configure option.  All features are
42337         now mandatory.
42338         * Makerules: Likewise.
42339         * Versions.def: Likewise.
42340         * argp/argp-fmtstream.c: Likewise.
42341         * argp/argp-fmtstream.h: Likewise.
42342         * argp/argp-help.c: Likewise.
42343         * assert/assert.c: Likewise.
42344         * config.h.in: Likewise.
42345         * config.make.in: Likewise.
42346         * configure: Likewise.
42347         * configure.in: Likewise.
42348         * csu/Versions: Likewise.
42349         * csu/init.c: Likewise.
42350         * elf/tst-audit2.c: Likewise.
42351         * elf/tst-tls10.c: Likewise.
42352         * elf/tst-tls10.h: Likewise.
42353         * elf/tst-tls11.c: Likewise.
42354         * elf/tst-tls12.c: Likewise.
42355         * elf/tst-tls14.c: Likewise.
42356         * elf/tst-tlsmod11.c: Likewise.
42357         * elf/tst-tlsmod12.c: Likewise.
42358         * elf/tst-tlsmod13.c: Likewise.
42359         * elf/tst-tlsmod13a.c: Likewise.
42360         * elf/tst-tlsmod14a.c: Likewise.
42361         * elf/tst-tlsmod15b.c: Likewise.
42362         * elf/tst-tlsmod16a.c: Likewise.
42363         * elf/tst-tlsmod16b.c: Likewise.
42364         * elf/tst-tlsmod7.c: Likewise.
42365         * elf/tst-tlsmod8.c: Likewise.
42366         * elf/tst-tlsmod9.c: Likewise.
42367         * gmon/gmon.c: Likewise.
42368         * grp/fgetgrent_r.c: Likewise.
42369         * grp/putgrent.c: Likewise.
42370         * hurd/fopenport.c: Likewise.
42371         * include/libc-symbols.h: Likewise.
42372         * include/tls.h: Likewise.
42373         * intl/gettextP.h: Likewise.
42374         * intl/loadinfo.h: Likewise.
42375         * locale/global-locale.c: Likewise.
42376         * locale/localeinfo.h: Likewise.
42377         * mach/devstream.c: Likewise.
42378         * malloc/arena.c: Likewise.
42379         * malloc/set-freeres.c: Likewise.
42380         * misc/err.c: Likewise.
42381         * misc/getttyent.c: Likewise.
42382         * misc/mntent_r.c: Likewise.
42383         * posix/getopt.c: Likewise.
42384         * posix/wordexp.c: Likewise.
42385         * pwd/fgetpwent_r.c: Likewise.
42386         * resolv/Versions: Likewise.
42387         * resolv/res_hconf.c: Likewise.
42388         * shadow/fgetspent_r.c: Likewise.
42389         * shadow/putspent.c: Likewise.
42390         * stdio-common/printf_fphex.c: Likewise.
42391         * stdio-common/tmpfile.c: Likewise.
42392         * stdlib/abort.c: Likewise.
42393         * stdlib/fmtmsg.c: Likewise.
42394         * sunrpc/auth_unix.c: Likewise.
42395         * sunrpc/clnt_perr.c: Likewise.
42396         * sunrpc/clnt_tcp.c: Likewise.
42397         * sunrpc/clnt_udp.c: Likewise.
42398         * sunrpc/clnt_unix.c: Likewise.
42399         * sunrpc/openchild.c: Likewise.
42400         * sunrpc/svc_simple.c: Likewise.
42401         * sunrpc/svc_tcp.c: Likewise.
42402         * sunrpc/svc_udp.c: Likewise.
42403         * sunrpc/svc_unix.c: Likewise.
42404         * sunrpc/xdr.c: Likewise.
42405         * sunrpc/xdr_array.c: Likewise.
42406         * sunrpc/xdr_rec.c: Likewise.
42407         * sunrpc/xdr_ref.c: Likewise.
42408         * sunrpc/xdr_stdio.c: Likewise.
42409
42410 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42411
42412         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42413
42414 2011-07-03  Andreas Jaeger  <aj@suse.de>
42415
42416         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42417         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42418         regenerate with gen-libm-tests.pl.
42419
42420 2010-05-12  Petr Baudis  <pasky@suse.cz>
42421
42422         [BZ #11589]
42423         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42424         around j0() zero points by switching to j1().
42425         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42426         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42429
42430 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42431
42432         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42433         instead of 0.
42434         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42435         instead of 0.
42436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42437         Patch in part by Pavel Roskin <proski@gnu.org>.
42438
42439         [BZ #13138]
42440         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42441         realloc.
42442         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42443         Free memory block if necessary.
42444
42445         [BZ #12847]
42446         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42447         be NULL.  Don't lock in this case.
42448
42449 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42450
42451         * elf/elf.h (ELFOSABI_GNU): New macro.
42452         (ELFOSABI_LINUX): Define to that.
42453
42454 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42455
42456         * string/strncat.c (strncat): Undef the symbol in case it has been
42457         defined in bits/string.h.
42458
42459 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42460
42461         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42462
42463         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42464         link map.
42465
42466 2011-08-17  Andreas Jaeger  <aj@suse.de>
42467
42468         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42469
42470 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42471             Ian Lance Taylor  <iant@google.com>
42472
42473         * math/libm-test.inc (lround_test): New testcase.
42474         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42475
42476 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42477
42478         * Makefile: Remove support for automatic cvs check-ins.
42479         * Makerules: Likewise.
42480         * config.make.in: Likewise.
42481         * configure.in: Likewise.
42482         * intl/Makefile: Likewise.
42483         * locale/Makefile: Likewise.
42484         * po/Makefile: Likewise.
42485         * posix/Makefile: Likewise.
42486         * sysdeps/gnu/Makefile: Likewise.
42487         * sysdeps/mach/hurd/Makefile: Likewise.
42488         * sysdeps/sparc/sparc32/Makefile: Likewise.
42489
42490         [BZ #13118]
42491         * posix/Makefile (bug-regex32-ENV): Define.
42492         Patch by John Stanley <jpsinthemix@verizon.net>.
42493
42494         * misc/Makefile (headers): Add bits/select2.h.
42495         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42496         * misc/bits/select2.h: New file.
42497         * include/bits/select2.h: New file.
42498         * debug/Makefile (routines): Add fdelt_chk.
42499         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42500         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42501         FD_ISSET.
42502         * debug/fdelt_chk.c: New file.
42503
42504         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42505         * wcsmbs/test-wmemcmp.c: Likewise.
42506         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42507         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42508
42509 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42510
42511         * string/Makefile (strop-tests): Add memcmp.
42512         * string/test-wmemcmp.c: New file.
42513         * string/test-memcmp.c: Add wmemcmp support.
42514
42515 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42516
42517         [BZ #13153]
42518         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42519         2011-07-19 change.
42520
42521         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42522         garbage value in a __mach_port_mod_refs call in the cases of the
42523         task-self and thread-self ports.
42524
42525 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42526
42527         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42528
42529 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42530
42531         * elf/dl-load.c (lose): Check for non-null L.
42532
42533 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42534
42535         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42536
42537         * elf/dl-libc.c (dlerror_run): Pass back error code from
42538         dl_catch_error.
42539
42540         [BZ #13123]
42541         * elf/dl-load.c (lose): Free l_origin if it is valid.
42542
42543         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42544         names.
42545         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42546         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42547         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42548         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42549         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42550         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42551
42552 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42553
42554         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42555         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42556         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42557         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42558         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42559         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42560         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42561         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42562         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42563         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42564
42565 2011-08-15  Alan Modra  <amodra@gmail.com>
42566
42567         [BZ #13092]
42568         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42569         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42570         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42571         ppc_mcount to static-only-routines.
42572         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42573         __mcount_internal.
42574         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42575         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42576
42577 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42578
42579         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42580         for finite and infinity parameters.
42581
42582 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42583
42584         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42585         and add nop instructions for throughput optimization.
42586         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42587
42588 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42589
42590         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42591         aligned copy for power7 with vector-scalar instructions.
42592         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42593
42594 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42595
42596         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42597         AVX check.
42598
42599 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42600
42601         [BZ #13144]
42602         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42603         last change.
42604
42605 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42606
42607         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42608         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42609         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42610         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42611         clock_gettime.
42612
42613 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42614
42615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42616         Forgot to demangle the pointer.
42617
42618         * sysdeps/i386/sysdep.h: Define atom_text_section.
42619         * sysdeps/x86_64/sysdep.h: Likewise.
42620         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42621         section with atom_text_section.
42622         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42623         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42624         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42625         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42626         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42627
42628         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42629         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42630         already be defined.  Change to take two parameters and don't assign
42631         result to variable.  Adjust all users.
42632         Define INTERNAL_GETTIME if not already defined.
42633         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42634         call.
42635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42636         HAVE_CLOCK_GETTIME_VSYSCALL.
42637         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42638
42639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42640         gettimeofday vsyscall, just use time.
42641
42642 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42643
42644         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42645         <errno.h>.
42646
42647 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42648
42649         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42650         syscall on x86-64.
42651         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42652         syscall.
42653         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42654         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42655         syscall if possible.
42656
42657 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42658
42659         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42660         e_ident.  Don't pass to find_mapsXX.
42661         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42662
42663 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42664
42665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42666         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42667         * sysdeps/x86_64/multiarch/strchr.S: Update.
42668         Check bit_slow_BSF bit.
42669         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42670         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42671         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42672
42673 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42674
42675         [BZ #13134]
42676         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42677         before glibc 2.15.
42678         (tryshell): Define.
42679         (__spawni): Change last parameter to be flag.  Test
42680         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42681         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42682         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42683         * posix/spawni.c: Likewise.
42684         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42685         * posix/spawnp.c: Likewise.  Change normal version to use
42686         SPAWN_XFLAGS_USE_PATH.
42687         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42688         SPAWN_XFLAGS_TRY_SHELL.
42689
42690         [BZ #13150]
42691         * posix/glob.h: Remove gcc 1.x support.
42692
42693         [BZ #13068]
42694         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42695
42696 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42697
42698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42699         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42700         strrchr-sse2-bsf
42701         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42702         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42703         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42704         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42705         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42706         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42707
42708 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42709
42710         * sysdeps/x86_64/wcscmp.S: New file.
42711
42712         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42713         wcscmp-c wcscmp-sse2
42714         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42715         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42716         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42717         * wcsmbs/wcscmp.c: Allow renaming.
42718
42719 2011-09-05  David S. Miller  <davem@davemloft.net>
42720
42721         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42722         stack slot, rather than the struct return pointer slot.
42723         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42724         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42726         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42727
42728 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42729
42730         * po/ja.po: Update from translation team.
42731
42732         [BZ #13144]
42733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42734         kernel in 64-bit binaries.
42735
42736 2011-09-01  David S. Miller  <davem@davemloft.net>
42737
42738         * elf/elf.h (HWCAP_SPARC_*): Move to..
42739         * sysdeps/sparc/sysdep.h: this new file and add new values.
42740         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42741         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42742         _DL_HWCAP_COUNT to 24.
42743         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42744         entries.
42745         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42746         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42747         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42748         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42749         instead of magic constants.
42750         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42751
42752 2011-08-31  David S. Miller  <davem@davemloft.net>
42753
42754         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42756         Reimplement to do errno handling inline.
42757         (SYSCALL_ERROR_HANDLER): New macro.
42758         (__SYSCALL_STRING): Do not do errno handling in asm.
42759         (__CLONE_SYSCALL_STRING): Delete.
42760         (__INTERNAL_SYSCALL_STRING): Delete.
42761         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42762         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42763         (PSEUDO): Reimplement to do errno handling inline.
42764         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42765         (SYSCALL_ERROR_HANDLER): New macro.
42766         (__SYSCALL_STRING): Do not do errno handling in asm.
42767         (__CLONE_SYSCALL_STRING): Delete.
42768         (__INTERNAL_SYSCALL_STRING): Delete.
42769         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42770         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42771         i386.
42772         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42773         (inline_syscall*): Add 'err' argument.
42774         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42775         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42776         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42777         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42778
42779         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42780         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42781
42782 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42783
42784         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42785
42786 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42787
42788         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42789         directive.
42790
42791 2011-08-24  David S. Miller  <davem@davemloft.net>
42792
42793         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42794
42795 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42796
42797         * elf/Makefile: Add rules to build and run unload8 test.
42798         * elf/unload8.c: New file.
42799         * elf/unload8mod1.c: New file.
42800         * elf/unload8mod1x.c: New file.
42801         * elf/unload8mod2.c: New file.
42802         * elf/unload8mod3.c: New file.
42803
42804         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42805         it wasn't used.
42806
42807 2011-08-23  David S. Miller  <davem@davemloft.net>
42808
42809         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42810         subtract stack bias.
42811         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42812         %sp not %fp in calculations.
42813         (_JMPBUF_UNWINDS_ADJ): Likewise.
42814
42815         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42816         (aio_suspend): Call it to force an exception region around the
42817         AIO_MISC_WAIT() invocation.
42818
42819 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42820
42821         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42822         backslash.
42823
42824 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42825
42826         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42827         protection macro.
42828         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42829         and <dl-machine.h>.
42830         (Elf64_FuncDesc): Remove.
42831
42832 2011-08-22  David S. Miller  <davem@davemloft.net>
42833
42834         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42835         sigaltstack check, add missing cfi directives.
42836         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42837         missing cfi directives, and sigaltstack handling.
42838
42839 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42840
42841         [BZ #11724]
42842         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42843         object is seen twice.
42844         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42845
42846         * elf/Makefile (distribute): Add tst-initorder2.c.
42847         (tests): Add tst-initorder2.
42848         (modules-names): Add tst-initorder2a tst-initorder2b
42849         tst-initorder2c tst-initorder2d.  Add rules to build them.
42850         ($(objpfx)tst-initorder2.out): New rule.
42851         * elf/tst-initorder2.c: New file.
42852         * elf/tst-initorder2.exp: New file.
42853
42854 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42855
42856         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42857
42858         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42859         dependencies back to end of function.
42860
42861         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42862         $(elfobjdir)/ld.so.
42863
42864 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42865
42866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42867         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42868         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42869         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42870         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42871         of __vdso_gettimeofday.
42872         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42873         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42874         attribute_hidden.
42875         (_libc_vdso_platform_setup): Remove initialization of
42876         __vdso_gettimeofday and __vdso_time.
42877
42878 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42879
42880         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42881         and fgetc_unlocked.
42882         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42883         getc_unlocked.
42884
42885         * elf/dl-open.c (add_to_global): Report additions to the global scope
42886         for LD_DEBUG=scopes.
42887         (dl_open_worker): Also print scope of newly loaded dependencies.
42888         (_dl_show_scope): Indicate if there is no scope.
42889
42890         [BZ #13114]
42891         * stdio-common/Makefile (tests): Add bug24.
42892         * stdio-common/bug24.c: New file.
42893
42894 2011-08-19  Andreas Jaeger  <aj@suse.de>
42895
42896         [BZ #13114]
42897         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42898         non-existant file when using close-on-exec mode.
42899
42900 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42901
42902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42903         the very first instruction.
42904
42905         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42906         the CFI state in the end.
42907         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42908         inclusion of dl-trampoline.h.
42909         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42910
42911 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42912
42913         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42914         expectations for long double.
42915
42916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42917         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42918
42919 2011-08-14  David S. Miller  <davem@davemloft.net>
42920
42921         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42922         artificual limit depends upon the system page size.
42923
42924 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42925
42926         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42927         * resolv/Makefile: Define CFLAGS-libresolv.
42928
42929 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42930
42931         * nss/makedb.c (compute_tables): Make variables used in nested
42932         function static.
42933
42934 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42935
42936         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42937         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42938         if buffer was too small.
42939
42940         * elf/pldd.c (main): Attach to all threads in the process.
42941         Rewrite /proc handling to use *at functions.
42942
42943 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42944
42945         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42946         specifies first scope to show.
42947         (dl_open_worker): Update callers.  Move printing scope of new
42948         object to before the relocation.
42949         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42950         * sysdeps/generic/ldsodefs.h: Update declaration.
42951
42952         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42953         string for the scope number.
42954
42955 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42956
42957         * nscd/servicescache.c (cache_addserv): Make sure written is always
42958         initialized.
42959
42960 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42961
42962         * sysdeps/i386/i486/bits/atomic.h
42963         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42964         statement expression, so as to suppress "set but not used" warning.
42965         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42966
42967         * string/strncat.c (STRNCAT): Use prototype definition.
42968
42969         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42970         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42971         -Iprograms here.
42972         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42973         (localedef-modules): Add localedef.
42974         (locale-modules): Add locale.
42975
42976         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42977         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42978         to avoid a warning.
42979
42980 2011-08-14  David S. Miller  <davem@davemloft.net>
42981
42982         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42983         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42984
42985 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42986
42987         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42988         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42989         * elf/rtld.c (dl_main): Set l_name of vDSO.
42990         Call _dl_show_scope when DL_DEBUG_SCOPES.
42991         (process_dl_debug): Recognize scopes flag and also set it for all.
42992         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42993         Declare _dl_show_scope.
42994
42995         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42996         (do_dlopen): Pass caller_dlopen to dl_open.
42997         (__libc_dlopen_mode): Initialize caller_dlopen.
42998
42999         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43000         of libc.  Make tolower call locale-independent.  Optimize a bit by
43001         using isdigit instead of isalnum.
43002         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43003
43004 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43005
43006         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43007         was a dependency or dynamically loaded.
43008
43009 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43010
43011         * intl/l10nflist.c: Allow architecture-specific pop function.
43012         * sysdeps/x86_64/l10nflist.c: New file.
43013
43014         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43015         classification.
43016
43017 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43018
43019         * include/dirent.h: Add libc_hidden_proto for scandirat and
43020         scandirat64.  Don't declare __scandirat64.
43021         * dirent/scandirat.c: Add libc_hidden_def.
43022         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43023         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43024
43025 2011-08-10  David S. Miller  <davem@davemloft.net>
43026
43027         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43028         enum.
43029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43030         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43031         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43032
43033 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43034
43035         * Versions.def [libc]: Add GLIBC_2.15.
43036         * dirent/Makefile (routines): Add scandirat and scandirat64.
43037         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43038         GLIBC_2.15.
43039         * dirent/dirent.h: Declare scandirat and scandirat64.
43040         * dirent/scandirat.c: New file.
43041         * dirent/scandirat64.c: New file.
43042         * sysdeps/wordsize-64/scandirat.c: New file.
43043         * sysdeps/wordsize-64/scandirat64.c: New file.
43044         * dirent/opendir.c: Define opendirat.
43045         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43046         using scandirat.
43047         * dirent/scandir64.c: Adjust for scandir.c change.
43048         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43049         __scandirat64, and __scandir_cancel_handler.
43050         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43051         additional parameter and use openat instead of open (outside of ld.so).
43052         Add new __opendir as wrapper around __opendirat.
43053         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43054         here without requiring old scandirat implementation.
43055
43056 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43057
43058         * dirent/scandir.c (cancel_handler): Renamed to
43059         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43060         defined.  Adjust users.
43061         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43062         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43063
43064 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43065
43066         * string/test-string.h (IMPL): Use __STRING to expand name and then
43067         stringify it.
43068
43069         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43070         of cleanups.
43071
43072 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43073
43074         * string/Makefile: Update.
43075         (strop-tests): Append strncat.
43076         * string/test-wcscmp.c: New file.
43077         New comprehensive test for wcscmp.
43078         * string/test-strcmp.c: Update.
43079         (WIDE): New define.
43080
43081 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43082
43083         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43084         line.
43085
43086 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43087
43088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43089         encoding to ACE if AI_IDN.
43090
43091 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43092
43093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43094         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43095
43096 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43097
43098         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43099         Fix overflow bug in strncat.
43100         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43101
43102         * string/test-strncat.c: Update.
43103         Add new tests for checking overflow bugs.
43104
43105 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43106
43107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43108         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43109         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43110         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43111         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43112         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43113         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43114         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43115         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43116
43117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43118         (USE_AS_STRCAT): Define.
43119         Add strcat and strncat support.
43120         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43121
43122 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43123
43124         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43125         __n bigger than INT_MAX+1.
43126         (__strncmp_g): Likewise.
43127
43128 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43129
43130         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43131         * libio/stido.h: Likewise.
43132
43133         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43134         (AF_NFC): Define.
43135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43136         (AF_NFC): Define.
43137
43138         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43139         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43140         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43141         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43142         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43143
43144         [BZ #13021]
43145         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43146         installed.
43147
43148         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43149         typo.
43150         (_dl_x86_64_save_sse): Likewise.
43151
43152 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43153
43154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43155         OSXSAVE.
43156         (_dl_x86_64_save_sse): Likewise.
43157
43158         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43159
43160         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43161
43162 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43163
43164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43165         change.
43166         (_dl_x86_64_save_sse): Use correct AVX check.
43167
43168 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43169
43170         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43171         bug in strncpy/strncat.
43172         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43173
43174 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43175
43176         * string/tester.c (test_strcat): Add tests for different alignments
43177         of source and destination.
43178         (test_strncat): Likewise.
43179
43180 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43181
43182         [BZ #12852]
43183         * posix/glob.c (glob): Check passed in values before using them in
43184         expressions to avoid some overflows.
43185         (glob_in_dir): Likewise.
43186
43187         [BZ #13007]
43188         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43189         check for AVX enablement so that we don't crash with old kernels and
43190         new hardware.
43191         * elf/tst-audit4.c: Add same checks here.
43192         * elf/tst-audit6.c: Likewise.
43193
43194         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43195
43196 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43197
43198         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43199
43200 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43201
43202         * po/cs.po: Update from translation team.
43203         * po/bg.po: Likewise.
43204
43205 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43206
43207         * misc/sys/cdefs.h: Add support for const attribute.
43208         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43209         to gnu_dev_{major,minor,makedev} functions.
43210
43211 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43212
43213         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43214
43215 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43216
43217         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43218         strlen results.
43219
43220 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43221
43222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43223         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43224         register in order to avoid conflicts with the soft frame pointer
43225         being held in r11 when necessary.
43226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43227         (INTERNAL_VSYSCALL_NCS): Likewise.
43228
43229 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43230
43231         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43232         * elf/dl-fini.c (_dl_fini): Adjust caller.
43233         * elf/dl-close.c (_dl_close_worker): Likewise.
43234         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43235
43236 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43237
43238         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43239         "aux_cache->nlibs < 0".
43240
43241         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43242         in the reload-count case.
43243
43244 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43245
43246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43247         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43248         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43249         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43250         * sysdeps/x86_64/multiarch/strcat.S: New file.
43251         * sysdeps/x86_64/multiarch/strncat.S: New file.
43252         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43253         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43254         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43255         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43256         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43257         (USE_AS_STRCAT): Define.
43258         Add strcat and strncat support.
43259         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43260         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43261         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43262         * string/strncat.c: Update.
43263         (USE_AS_STRNCAT): Define.
43264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43265         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43266         and i7.
43267         * sysdeps/x86_64/multiarch/init-arch.h
43268         (bit_Prefer_PMINUB_for_stringop): New.
43269         (index_Prefer_PMINUB_for_stringop): Likewise.
43270         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43271         bit_Prefer_PMINUB_for_stringop.
43272
43273 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43274
43275         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43276         buffer64.
43277         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43278         of casting of buffer.
43279         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43280         buffer32 and buffer64.
43281         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43282         writes instead of casting of buffer.
43283         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43284         buffer32.
43285         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43286         casting of buffer.
43287
43288 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43289
43290         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43291
43292 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43293
43294         * nscd/nscd.c (termination_handler): Don't do anything for a database
43295         if it has not yet been initialized.
43296
43297 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43298
43299         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43300
43301 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43302
43303         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43304
43305 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43306
43307         * po/nl.po: Update from translation team.
43308         * po/sv.po: Likewise.
43309
43310 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43311
43312         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43313         now disallowed by GCC.
43314
43315         * configure.in (use-default-link): Default to yes if a test -shared
43316         link meets our qualifications.
43317         * configure: Regenerated.
43318
43319         * config.make.in (output-format): New variable.
43320         * configure.in: Check for ld --print-output-format support.
43321         * configure: Regenerated.
43322         * Makerules ($(common-objpfx)format.lds)
43323         [$(output-format) != unknown]: Just use $(output-format),
43324         instead of the linker-script munging.
43325
43326 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43327
43328         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43329         of $(common-objpfx)shlib.lds.
43330         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43331
43332         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43333         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43334
43335         * configure.in (-z relro check): Adjust test code to add a large
43336         writable data section after it.
43337         * configure: Regenerated.
43338
43339 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43340
43341         * configure.in (-z relro check): Fix test code to make the variable
43342         truly const.
43343         * configure: Regenerated.
43344
43345 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43346
43347         * nscd/nscd.h (struct traced_file): Define.
43348         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43349         elements.  Add traced_files.
43350         (inotify_fd): Declare.
43351         (register_traced_file): Declare.
43352         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43353         (inotify_fd): Export.
43354         (resolv_conf_descr): Remove.
43355         (nscd_init): Move inotify descriptor creation to main.
43356         Don't register files for notification here.
43357         (register_traced_file): New function.
43358         (invalidate_cache): Don't use reset_res to determine whether to call
43359         res_init, go through the list of registered files.
43360         (main_loop_poll): The inotify descriptors are now stored in the
43361         structures for the traced files.
43362         (main_loop_epoll): Likewise
43363         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43364         to __nss_disable_nscd.
43365         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43366         for a database anymore.  Check the records for all the registered
43367         files instead.
43368         * nss/Makefile (libnss_files-routines): Add files-init.
43369         (libnss_db-routines): Add db-init.
43370         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43371         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43372         * nss/nss_db/db-init.c: New file.
43373         * nss/nss_files/files-init.c: New file.
43374         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43375         __nss_lookup_function.
43376         (__nss_lookup_function): Call nss_load_library.
43377         (nss_load_all_libraries): New function.
43378         (__nss_disable_nscd): Take parameter with callback function for files
43379         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43380         used for the cached services.
43381         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43382         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43383         options for features to all the files in nscd.
43384
43385         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43386
43387 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43388
43389         * csu/elf-init.c (__libc_csu_init): Comment typo.
43390
43391 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43392
43393         * po/pl.po: Update from translation team.
43394         * po/ja.po: Likewise.
43395         * po/ru.po: Likewise.
43396         * po/ko.po: Likewise.
43397         * po/fr.po: Likewise.
43398
43399 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43400
43401         * configure.in (.ctors/.dtors header and trailer check):
43402         Use an empirical test on a built program.
43403         * configure: Regenerated.
43404
43405         * configure.in (-z relro check): Use an empirical test on a built DSO.
43406         Detect, but do not require, on ia64.
43407         * configure: Regenerated.
43408
43409         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43410         Update tests that use readelf to use $READELF instead.
43411         * configure: Regenerated.
43412
43413 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43414
43415         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43416         if the result is not used.
43417
43418 2011-07-05  Andreas Jaeger  <aj@suse.de>
43419
43420         [BZ#9696]
43421         * stdlib/tst-strtod.c: Add testcase.
43422
43423 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43424
43425         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43426         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43427         The latter has a higher limit.  Take additional parameter to pass to
43428         the new function.
43429         (__pathconf): Pass file to __statfs_link_max.
43430         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43431         __statfs_link_max.
43432         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43433         __statfs_link_max.
43434
43435         [BZ #12868]
43436         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43437         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43438         Handle Lustre.
43439         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43440         (__statfs_filesize_max): Likewise.
43441         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43442
43443 2011-07-05  Andreas Jaeger  <aj@suse.de>
43444
43445         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43446
43447 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43448
43449         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43450         `status' variable.
43451         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43452         Likewise.
43453
43454 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43455
43456         * Makefile (strop-tests): Add strncat.
43457         * string/test-strncat.c: New file.
43458
43459 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43460
43461         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43462
43463 2011-06-21  Andreas Jaeger  <aj@suse.de>
43464
43465         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43466         Copy rule from iconvdata/Makefile.
43467
43468 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43469
43470         [BZ #12922]
43471         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43472         but no long options are defined, just return 'W'.
43473
43474 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43475
43476         [BZ #9696]
43477         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43478
43479 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43480
43481         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43482         netgroups to read.
43483         (innetgr): Likewise.
43484
43485 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43486
43487         * config.make.in (install_root): Default to $(DESTDIR).
43488
43489 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43490
43491         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43492
43493 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43494
43495         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43496
43497         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43498         containing directory rather than embedding absolute directory names.
43499
43500         * scripts/check-local-headers.sh: Rewritten using awk.
43501         Match by word, not by line.  Print error messages for matches.
43502         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43503
43504         * Makerules [shlib-lds-flags empty]:
43505         ($(common-objpfx)libc_pic.opts): New target.
43506         ($(common-objpfx)libc_pic.os.clean): New target.
43507         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43508
43509         * config.make.in (OBJCOPY): New variable.
43510         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43511         * configure: Regenerated.
43512
43513         * config.make.in (use-default-link): New variable.
43514         * configure.in (use_default_link): Grok --with-default-link to set it.
43515         * configure: Regenerated.
43516         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43517         (shlib-lds, shlib-lds-flags): Define to empty.
43518
43519         * Makerules (shlib-lds): New variable.
43520         (shlib-lds-flags): New variable.
43521         (build-shlib, build-moduile, build-module-asneeded): Use it.
43522         ($(common-objpfx)libc.so): Use $(shlib-lds).
43523         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43524         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43525
43526         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43527         DT_FLAGS/DT_FLAGS_1 with zero flags.
43528
43529         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43530         linker script munging.
43531
43532 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43533
43534         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43535         as 128-bit value.
43536         * crypt/sha512.c (sha512_process_block): Perform total addition using
43537         128-bit if possible.
43538         (__sha512_finish_ctx): Likewise.
43539         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43540         as 64-bit value.
43541         * crypt/sha256.c (SWAP64): Define.
43542         (sha256_process_block): Perform total addition using 64-bit if
43543         possible.
43544         (__sha256_finish_ctx): Likewise.
43545
43546 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43547
43548         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43549         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43550         * nscd/hstcache.c (cache_addhst): Likewise.
43551         * nscd/grpcache.c (cache_addgr): Likewise.
43552         * nscd/aicache.c (addhstaiX): Likewise
43553         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43554
43555 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43556
43557         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43558         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43559         * nscd/hstcache.c (cache_addhst): Likewise.
43560         * nscd/grpcache.c (cache_addgr): Likewise.
43561         * nscd/aicache.c (addhstaiX): Likewise
43562
43563 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43564
43565         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43566         domain only when needed.
43567
43568 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43569
43570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43571         is always restored.
43572
43573 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43574
43575         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43576         are re-adding the entry.
43577         * nscd/servicescache.c (cache_addserv): Likewise.
43578
43579 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43580
43581         * sysdeps/generic/dl-irel.h: fix protection against multiple
43582         inclusions.
43583         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43584
43585 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43586
43587         [BZ #12935]
43588         * malloc/memusage.sh: Fix quoting in message.
43589         * debug/xtrace.sh: Likewise.
43590
43591         * configure.in: Remove support for --experimental-malloc option, make
43592         it the default.
43593         * config.make.in: Likewise.
43594         * malloc/Makefile: Likewise.
43595
43596 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43597
43598         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43599         two-byte characters.
43600
43601 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43602
43603         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43604         AC_CACHE_CHECK invocation.
43605         * configure: Regenerated.
43606
43607         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43608
43609 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43610
43611         [BZ #12350]
43612         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43613         bit from old_res_options.
43614
43615         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43616
43617         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43618         value type for setfct.
43619
43620 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43621
43622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43623         __gettimeofday instead of gettimeofday.
43624
43625 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43626
43627         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43628
43629 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43630
43631         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43632
43633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43634         info.
43635
43636 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43637
43638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43639         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43640         strcpy-sse2-unaligned strncpy-sse2-unaligned
43641         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43642         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43643         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43644         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43645         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43646         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43648         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43649         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43650         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43651         (STRCPY): Support SSE2 and SSSE3 versions.
43652
43653 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43654
43655         [BZ #12874]
43656         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43657         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43658         kernels which artificially limit size of requests.
43659
43660 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43661
43662         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43663         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43664         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43665         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43666         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43667         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43668         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43669         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43670         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43671         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43672         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43673         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43674         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43675         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43676         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43677         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43678         Enable unaligned load optimization for Intel Core i3, i5 and i7
43679         processors.
43680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43681         Define.
43682         (index_Fast_Unaligned_Load): Define.
43683         (HAS_FAST_UNALIGNED_LOAD): Define.
43684
43685 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43686
43687         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43688
43689 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43690
43691         [BZ #12907]
43692         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43693         until it is clear that the information is realy needed.
43694         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43695
43696 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43697
43698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43699
43700 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43701
43702         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43703         /sys/devices/system/cpu/online if it is usable.
43704
43705         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43706         reading the information from the /proc filesystem to once a second.
43707
43708 2011-06-21  Andreas Jaeger  <aj@suse.de>
43709
43710         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43711         NULL after inclusion of kernel headers.
43712
43713 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43714
43715         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43716         calls to internal_setent.
43717
43718         [BZ #12885]
43719         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43720         addresses using gethostbyname4_r ignore IPv4 addresses.
43721
43722         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43723         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43724
43725         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43726
43727 2011-06-20  David S. Miller  <davem@davemloft.net>
43728
43729         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43730         inclusions.
43731         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43732
43733         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43734         (elf_irel): Use it.
43735         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43736         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43737         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43738         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43739         * sysdeps/x86_64/dl-irel.h: Likewise.
43740
43741         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43742         * elf/dl-sym.c: Likewise.
43743
43744 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43745
43746         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43747         need to dereference resplen2.
43748
43749 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43750
43751         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43752
43753 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43754
43755         * Makeconfig: Define vardbdir and inst_vardbdir.
43756         * nss/Makefile: Add rules to install db-Makefile.
43757
43758         * nss/nss_db/db-XXX.c: Cleanup.
43759
43760         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43761         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43762         GLIBC_PRIVATE.
43763         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43764         * nss/makedb.c: Implement -g option to specify that value strings
43765         are generated and should not be added to table iterated over for
43766         get*ent calls.
43767         * nss/nss_db/db-initgroups.c: New file.
43768
43769         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43770         interface.
43771
43772         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43773         (internal_getgrouplist): Adjust to name change.
43774         Update use_initgroups_entry if this is not the first call.
43775         * nss/databases.def: Add initgroups entry.
43776
43777         * nss/makedb.c (compute_tables): Check result of multiple hash table
43778         sizes to minimize maximum chain length.
43779
43780 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43781
43782         * Versions.def: Add entry for libnss_db.
43783         * shlib-versions: Likewise.
43784         * nss/Makefile: Add rules to build libnss_db.
43785         * nss/Versions: Add libnss_db information.  Organize libnss_files
43786         entries better.
43787         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43788         makedb progra.  Some minor improvements to generate smaller files.
43789         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43790         here from...
43791         * nss/makedb.c: ...here.
43792         Improve database format to be smaller and require less memory at
43793         runtime.
43794         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43795         db anymore.
43796         * nss/nss_db/db-netgrp.c: Likewise.
43797         * nss/nss_db/db-open.c: Likewise.
43798         * nss/nss_files/flies-XXX.x: Adjust comments.
43799         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43800         * nss/nss_files/files-grp.c: Likewise.
43801         * nss/nss_files/files-hosts.c: Likewise.
43802         * nss/nss_files/files-network.c: Likewise.
43803         * nss/nss_files/files-proto.c: Likewise.
43804         * nss/nss_files/files-pwd.c: Likewise.
43805         * nss/nss_files/files-rpc.c: Likewise.
43806         * nss/nss_files/files-service.c: Likewise.
43807         * nss/nss_files/files-sgrp.c: Likewise.
43808         * nss/nss_files/files-spwd.c: Likewise.
43809         * nss/nss_db/db-alias.c: Removed.
43810         * nss/nss_db/dummy-db.h: Removed.
43811
43812 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43813
43814         * nss/makedb.c: Rewritten to not use database library.
43815         * nss/Makefile: Update to build new makedb program.
43816
43817 2011-06-14  Andreas Jaeger  <aj@suse.de>
43818
43819         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43820         memset declaration.
43821
43822 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43823
43824         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43825         tmpbuf.
43826
43827 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43828
43829         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43830         * elf/Makefile ($(objpfx)ld.so): Likewise.
43831
43832         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43833         Don't list ld.so twice in dependencies.
43834
43835         * posix/bug-regex31.c: Include <stdlib.h>.
43836
43837         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43838
43839         * nis/nss_compat/compat-spwd.c
43840         (getspent_next_nss_netgr): Remove unused variable.
43841         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43842
43843         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43844         nonmembers" output to use the right array.
43845
43846         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43847
43848         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43849
43850         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43851         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43852         * catgets/gencat.c (read_input_file): Likewise.
43853         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43854
43855         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43856         variable definition inside #if's controlling its use.
43857
43858         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43859
43860         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43861
43862         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43863
43864         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43865         unreachable code.
43866
43867         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43868
43869         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43870         * configure: Regenerated.
43871
43872         * Makerules: Revert last change.
43873         * elf/Makefile: Likewise.
43874
43875 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43876
43877         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43878         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43879         (reloc-link): Likewise.
43880
43881 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43882
43883         * elf/Makefile: Add rules to build pldd.
43884         * elf/pldd.c: New file.
43885         * elf/pldd-xx.c: New file.
43886
43887 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43888
43889         * version.h: Update for 2.15 development version.
43890
43891 2011-06-07  David S. Miller  <davem@davemloft.net>
43892
43893         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43894         ifuncs.
43895         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43896         elf_machine_lazy_rel): Likewise.
43897         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43898         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43899         elf_machine_lazy_rel): Likewise.
43900         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43901         dl_hwcap via passed in argument.
43902         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43903         Likewise.
43904
43905 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43906
43907         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43908
43909 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43910
43911         [BZ #12849]
43912         * manual/fdl-1.1.texi: New file, verbatim from:
43913         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43914         * manual/lgpl-2.1.texi: New file, verbatim from:
43915         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43916         * manual/Makefile (licenses): New variable, list those new file names.
43917         (texis): Use it.
43918         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43919
43920         * manual/fdl.texi: File removed.
43921         * manual/lesser.texi: File removed.
43922         * manual/libc.texinfo (Copying, Documentation License):
43923         Use new @include file names, put @appendix directive before @include.
43924
43925 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43926
43927         [BZ #12841]
43928         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43929         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43930         (mq_open): Add __NTH.
43931
43932 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43933
43934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43935         Assume Intel Core i3/i5/i7 processor if AVX is available.
43936
43937 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43938
43939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43940         typo.
43941
43942 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43943
43944         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43945         memory.  Use alloca_account.  Fix memory leak when retrying.
43946
43947 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43948
43949         * version.h (RELEASE): Bump for 2.14 release.
43950         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43951
43952         * config.make.in (RANLIB): Remove entry.
43953
43954 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43955
43956         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43957         (libc.pot): Work around missing support for .ksh extension in xgettext.
43958
43959         [BZ #12684]
43960         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43961         if both request failed.
43962         (send_dg): In case of server errors clear resplen or *resplen2.
43963
43964         [BZ #12454]
43965         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43966         when there are multiple maps.
43967         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43968         (_dl_fini): Remove test here.
43969
43970         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43971
43972 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43973
43974         [BZ #12350]
43975         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43976         bit from old_res_options.
43977         (gaih_inet): Likewise.
43978
43979         [BZ #11099]
43980         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43981         as signed.
43982
43983         * resolv/res_init.c (res_setoptions): Make the code more compact.
43984
43985         [BZ #11558]
43986         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43987         set RES_USEVC.
43988
43989         [BZ #11634]
43990         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43991
43992         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43993
43994         [BZ #11781]
43995         * malloc/malloc.h: Declare malloc hook variables as volatile.
43996
43997         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43998         in last patch.
43999
44000         [BZ #11799]
44001         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44002         raise in the comment.
44003         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44004         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44005         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44006
44007 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44008
44009         [BZ #12811]
44010         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44011         grow the buffers more if it already has to be sufficient.
44012         (build_wcs_upper_buffer): Likewise.
44013         * posix/regexec.c (check_matching): Likewise.
44014         (clean_state_log_if_needed): Likewise.
44015         (extend_buffers): Don't enlarge buffers beyond size of the input
44016         buffer.
44017         Patches mostly by Emil Wojak <emil@wojak.eu>.
44018         * posix/bug-regex32.c: New file.
44019         * posix/Makefile (tests): Add bug-regex32.
44020
44021         * locale/findlocale.c (_nl_find_locale): Return right away if
44022         _nl_explode_name failed.
44023         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44024
44025         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44026
44027         * debug/xtrace.sh: Unify messages.
44028         * malloc/memusage.sh: Likewise.
44029
44030         [BZ #12813]
44031         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44032         time symbol from vDSO.  Substitute with vsyscall if not available.
44033         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44034         __vdso_time.
44035
44036         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44037         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44038         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44039         Add sendmmsg and internal_sendmmsg.
44040         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44041         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44042         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44043
44044         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44045         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44046         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44047
44048 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44049
44050         [BZ #12813]
44051         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44052         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44053         available.
44054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44055         __vdso_getcpu.
44056
44057         [BZ #12814]
44058         * iconvdata/Makefile (tests): Add bug-iconv9.
44059         * iconvdata/bug-iconv9.c: New file.
44060
44061 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44062
44063         [BZ #12814]
44064         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44065
44066 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44067
44068         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44069         (struct user_regs_struct): Change intcs field back to cs.
44070
44071 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44072
44073         * po/ja.po: Update from translation team.
44074
44075 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44076
44077         [BZ #12795]
44078         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44079         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44080
44081 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44082
44083         * stdlib/longlong.h: Update from GCC.
44084
44085 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44086
44087         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44088         parameter name.
44089         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44090         Add parameter name.
44091         (__sysconf): Pass it down.
44092
44093 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44094
44095         [BZ #12671]
44096         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44097         some situations.
44098         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44099         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44100         add in in __libc_use_alloca calls.  Adjust callers.
44101         (glob): Use malloc in some situations.
44102
44103         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44104         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44105         pltexit.
44106
44107 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44108
44109         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44110         and CLOCK_BOOTTIME_ALARM.
44111
44112         [BZ #12782]
44113         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44114         is returned.
44115
44116         * string/_strerror.c (__strerror_r): Print negative errors as signed
44117         numbers.
44118
44119         [BZ #12777]
44120         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44121         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44122         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44123
44124         * configure.in: Fix typo in redirection and correct removal of test
44125         files in two cases.
44126
44127         [BZ #12788]
44128         * locale/setlocale.c (new_composite_name): Fix test to check for
44129         identical name of all categories.
44130
44131         [BZ #12792]
44132         * libio/filedoalloc.c (local_isatty): New function.
44133         (_IO_file_doallocate): Use local_isatty.
44134         * stdio-common/perror.c (perror): In case a new stream is used
44135         forward the stream error.
44136         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44137         error flag.
44138
44139 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44140
44141         [BZ #11869]
44142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44143         alloca.
44144         * include/alloca.h (extend_alloca_account): Define.
44145
44146         [BZ #11857]
44147         * posix/regex.h: Fix comments with documentation of user-accessible
44148         fields after compilation and describe correct free'ing of pattern
44149         after re_compile_pattern.
44150         Patch by Reuben Thomas <rrt@sc3d.org>.
44151
44152 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44153
44154         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44155         and -mno-altivec to prevent the compiler from using Altivec and/or
44156         VSX instructions when the corresponding registers are not available.
44157
44158 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44159
44160         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44161
44162 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44163
44164         * libio/freopen.c (freopen): Use __dup2, not dup2.
44165         * libio/freopen64.c (freopen64): Likewise.
44166
44167 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44168
44169         [BZ #12775]
44170         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44171         * math/Makefile (tests): Add test-powl.
44172         (CFLAGS-test-powl.c): Define.
44173         * math/test-powl.c: New file.
44174
44175 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44176
44177         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44178
44179 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44180
44181         [BZ #11837]
44182         * iconvdata/gb18030.c: Update to GB18020-2005.
44183
44184 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44185
44186         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44187         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44188         Patch by Aharon Robbins <arnold@skeeve.com>.
44189
44190         [BZ #11892]
44191         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44192         on the stack.
44193
44194         [BZ #11895]
44195         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44196         through underflows.
44197
44198         [BZ #12766]
44199         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44200         point to strings before performing equality test for error_one_per_line
44201         mode.
44202
44203         [BZ #11697]
44204         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44205
44206         [BZ #11820]
44207         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44208         (struct user_fpregs_struct): Avoid __uint*_t types.
44209
44210         [BZ #6420]
44211         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44212         symbol info.  Use it instead of calling _dl_addr locally.
44213         (lock_and_info): New function.
44214         (tr_freehook): Call lock_and_info and pass symbol info as additional
44215         parameter to tr_where.
44216         (tr_mallochook): Likewise.
44217         (tr_reallochook): Likewise.
44218         (tr_memalignhook): Likewise.
44219
44220         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44221         used and couldn't be at all thread-safe.
44222
44223 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44224
44225         * libio/freopen.c (freopen): Don't close old file descriptor
44226         before the new one is opened.  Instead dup the new file descriptor
44227         to the old one after the new stream is created.
44228         * libio/freopen64.c (freopen64): Likewise.
44229         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44230         * libio/fileops.c (_IO_new_file_close_it): Handle new
44231         _IO_FLAGS2_NOCLOSE flag.
44232         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44233         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44234         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44235         _IO_FLAGS2_NOCLOSE flag.
44236         * include/unistd.h: Add hidden_proto for dup3.
44237         Define __have_dup3.
44238         * io/dup3.c: Define hidden symbol.
44239         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44240
44241         [BZ #7101]
44242         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44243         when an incomplete long option is used.
44244         * posix/tst-getopt_long1.c: New file.
44245         * posix/Makefile (tests): Add tst-getopt_long1.
44246
44247         [BZ #10138]
44248         * scripts/config.guess: Update from autoconf-2.68.
44249         * scripts/config.sub: Likewise.
44250
44251         [BZ #10157]
44252         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44253         tests into ...
44254         (has_cpuclock): ...this.  New function.
44255         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44256         macro here based on has_cpuclock code.
44257
44258         [BZ #10149]
44259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44260         First byte (not low byte) is now always NUL.
44261         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44262
44263         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44264         Use non-cancelable interfaces.
44265
44266         [BZ #9809]
44267         * locale/iso-639.def: Add entry for Sorani.
44268
44269         [BZ #11901]
44270         * include/stdlib.h: Move include protection to the right place.
44271         Define abort_msg_s.  Declare __abort_msg with it.
44272         * stdlib/abort.c (__abort_msg): Adjust type.
44273         * assert/assert.c (__assert_fail_base): New function.  Majority
44274         of code from __assert_fail.  Allocate memory for __abort_msg with
44275         mmap.
44276         (__assert_fail): Now call __assert_fail_base.
44277         * assert/assert-perr.c: Remove bulk of implementation.  Use
44278         __assert_fail_base.
44279         * include/assert.hL Declare __assert_fail_base.
44280         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44281         mmap.
44282         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44283
44284 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44285
44286         [BZ #11952]
44287         [BZ #12453]
44288         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44289         until all modules are registered in the DTV.
44290         * elf/Makefile: Add rules to build and run tst-tls19.
44291         * elf/tst-tls19.c: New file.
44292         * elf/tst-tls19mod1.c: New file.
44293         * elf/tst-tls19mod2.c: New file.
44294         * elf/tst-tls19mod3.c: New file.
44295         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44296
44297         [BZ #12083]
44298         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44299         correctly.
44300
44301         [BZ #12601]
44302         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44303         two-byte sequence errors.
44304         * iconvdata/Makefile (tests): Add bug-iconv8.
44305         * iconvdata/bug-iconv8.c: New file.
44306
44307         [BZ #12626]
44308         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44309         buf2 definition.
44310
44311         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44312
44313         [BZ #12432]
44314         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44315         (dummy_getcfa): New function.
44316         (init): Get _Unwind_GetCFA address, use dummy if not found.
44317         (backtrace_helper): In recursion check, also check whether CFA changes.
44318         (__backtrace): Completely initialize arg.
44319
44320         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44321         storing incomplete byte sequence in state object.  Avoid testing for
44322         guaranteed too small input if we know there is enough data available.
44323
44324 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44325
44326         * Makeconfig (+link-pie): Indent.
44327         * Rules (binaries-pie): Define if $(have-fpie) and
44328         $(build-shared).
44329         (binaries-shared): Also filter out $(binaries-pie).
44330         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44331         * nscd/Makefile (others-pie): Add nscd.
44332         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44333         ($(objpfx)nscd): Remove command override.
44334         * login/Makefile (others-pie): Add pt_chown.
44335         ($(objpfx)pt_chown): Remove command override.
44336         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44337         remove command overrides.
44338
44339 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44340
44341         * libio/tst_putwc.c: Fix error messages.
44342
44343         [BZ #12724]
44344         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44345         currently writing and seek to current position when not.
44346         * libio/Makefile (tests): Add bug-fclose1.
44347         * libio/bug-fclose1.c: New file.
44348
44349 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44350
44351         [BZ #12511]
44352         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44353         don't set DF_1_NODELETE here.
44354         (do_lookup_x): When entering new entry test for copy relocation
44355         and if necessary set DF_1_NODELETE flag.
44356         * elf/tst-unique4.cc: New file.
44357         * elf/tst-unique4.h: New file.
44358         * elf/tst-unique4lib.cc: New file.
44359         * elf/Makefile: Add rules to build and run tst-unique4.
44360         Patch by Piotr Bury <pbury@goahead.com>.
44361
44362 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44363
44364         [BZ #12052]
44365         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44366
44367         [BZ #12625]
44368         * misc/mntent_r.c (addmntent): Flush the stream after the output
44369
44370         [BZ #12393]
44371         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44372         (is_trusted_path_normalize): Skip initial colon.  Append slash
44373         to empty buffer.  Duplicate is_trusted_path code but allow
44374         constructed patch to be prefix.
44375         (is_dst): Allow $ORIGIN followed by /.
44376         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44377         Correct testing of result of is_trusted_path_normalize
44378         (decompose_rpath): Fix warning.
44379
44380 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44381
44382         [BZ #11257]
44383         * grp/initgroups.c (internal_getgrouplist): When we found the service
44384         list through the initgroups entry in nsswitch.conf do not always
44385         continue on a successful lookup.  Don't always use the
44386         __nss_group_database value if it is set.
44387         * nss/nsswitch.conf (initgroups): Change action for successful db
44388         lookup to continue for compatibility.
44389
44390 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44391
44392         [BZ #11532]
44393         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44394         and CP774 modules.
44395         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44396         and CP774 modules.
44397         * iconvdata/tst-tables.sh: Likewise.
44398         * iconvdata/cp770.c: New file.
44399         * iconvdata/cp771.c: New file.
44400         * iconvdata/cp772.c: New file.
44401         * iconvdata/cp773.c: New file.
44402         * iconvdata/cp774.c: New file.
44403         * iconvdata/testdata/CP770: New file.
44404         * iconvdata/testdata/CP770..UTF8: New file.
44405         * iconvdata/testdata/CP771: New file.
44406         * iconvdata/testdata/CP771..UTF8: New file.
44407         * iconvdata/testdata/CP772: New file.
44408         * iconvdata/testdata/CP772..UTF8: New file.
44409         * iconvdata/testdata/CP773: New file.
44410         * iconvdata/testdata/CP773..UTF8: New file.
44411         * iconvdata/testdata/CP774: New file.
44412         * iconvdata/testdata/CP774..UTF8: New file.
44413
44414         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44415         END CHARMAP line.
44416         * iconvdata/gen-8bit-gap.sh: Likewise.
44417         * iconvdata/gen-8bit.sh: Likewise.
44418
44419         * locale/iso-639.def: Add ary entry.
44420
44421         [BZ #11258]
44422         * locale/C-translit.h.in: Add U20A1 transliteration.
44423
44424         [BZ #12178]
44425         * locale/iso-639.def: Add wae entry.
44426         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44427
44428         [BZ #12545]
44429         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44430         for n.
44431
44432         [BZ #12711]
44433         * locale/C-translit.h.in: Add entry for U20B9.
44434         Patch by pravin.d.s@gmail.com.
44435
44436 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44437
44438         [BZ #12713]
44439         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44440         ENAMETOOLONG use generic getcwd.
44441         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44442         in rtld.  Use *stat64.
44443         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44444         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44445         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44446         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44447         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44448         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44449         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44450         __fstatat64 macros.
44451         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44452         * dirent/rewinddir.c: Add libc_hidden_def.
44453         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44454         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44455
44456         * include/dirent.h (__alloc_dir): Add flags parameter.
44457         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44458         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44459         __alloc_dir.
44460         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44461         from fdopendir if O_CLOEXEC is already set.
44462
44463 2011-03-15  Alan Modra  <amodra@gmail.com>
44464
44465         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44466         l_tls_firstbyte_offset non-zero.  Save padding offset in
44467         l_tls_firstbyte_offset for later use.
44468         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44469         freeing static tls block.
44470
44471 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44472
44473         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44474         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44475         being defined by the kernel headers.
44476
44477 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44478
44479         [BZ #12734]
44480         * resolv/resolv.h: Define RES_NOTLDQUERY.
44481         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44482         no-tld-query and set RES_NOTLDQUERY.
44483         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44484         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44485         modern BIND to search name as TLD unless forbidden.
44486
44487 2011-05-07  Petr Baudis  <pasky@suse.cz>
44488             Ulrich Drepper  <drepper@gmail.com>
44489
44490         [BZ #12393]
44491         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44492         (is_trusted_path): ...to here.
44493         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44494         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44495         using is_trusted_path_normalize() in setuid scripts.
44496
44497 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44498
44499         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44500         __BEGIN/__END_DECLS.
44501
44502 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44503
44504         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44505         NSS_STATUS_NOTFOUND if no record was found.
44506
44507 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44508
44509         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44510         (headers-not-in-tirpc): Remove rpc/netdb.h
44511         * resolv/netdb.h: Revert last change.
44512
44513 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44514
44515         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44516         circular dependency between libgcc.a and libc.a.
44517
44518 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44519
44520         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44521         * nis/Makefile: Don't install rpcsvc/*.
44522         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44523         instead of <rpc/types.h>.
44524         (MAXHOSTNAMELEN): Define.
44525
44526 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44527
44528         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44529
44530 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44531
44532         [BZ #12714]
44533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44534         gethostbyname4_r when IPv6 results are possible.
44535
44536 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44537
44538         [BZ #12723]
44539         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44540         _PC_PIPE_BUF handling.
44541
44542 2011-04-30  Bruno Haible  <bruno@clisp.org>
44543
44544         [BZ #12717]
44545         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44546         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44547         to 'int'.
44548         * inet/getnameinfo.c (getnameinfo): Likewise.
44549
44550 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44551
44552         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44553         to groups setting in database lookup.
44554         * nss/nsswitch.conf: Add initgroups entry.
44555
44556 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44557
44558         [BZ #12685]
44559         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44560         mode string.
44561         Patch by Eric Blake <eblake@redhat.com>.
44562
44563 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44564
44565         * sunrpc/Makefile (need-export-routines): Add svc_run.
44566         (routines): Remove svc_run.
44567         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44568         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44569         * sunrpc/svc_run.c (svc_run): Likewise.
44570         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44571
44572 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44573
44574         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44575         problem in reallocation in last patch.
44576
44577 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44578
44579         * sunrpc/Makefile: Move inclusion of Rules.
44580
44581 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44582
44583         * nss/nss_files/files-initgroups.c: New file.
44584         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44585         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44586         _nss_files_initgroups_dyn.
44587
44588 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44589
44590         * elf/elf.h (R_ARM_IRELATIVE): Define.
44591
44592 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44593
44594         * po/ru.po: Update from translation team.
44595
44596 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44597
44598         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44599         dependencies.
44600
44601 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44602
44603         [BZ #12653]
44604         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44605         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44606         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44608         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44609
44610 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44611
44612         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44613         differing bytes.
44614         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44615         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44616         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44617
44618 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44619
44620         [BZ #12420]
44621         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44622         storing it.
44623         * stdlib/bug-getcontext.c: New file.
44624         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44625
44626 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44627
44628         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44629         instructions into .machine "z9-109".
44630         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44631         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44632
44633 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44634
44635         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44636         between environment variables and auxiliary vector.
44637
44638 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44639
44640         * Makefile: Add rules to build linkobj/libc.so.
44641         * include/libc-symbols.h: Define libc_hidden_nolink.
44642         * include/rpc/auth.h: Mark functions which are to be hidden.
44643         * include/rpc/auth_des.h: Likewise.
44644         * include/rpc/auth_unix.h: Likewise.
44645         * include/rpc/clnt.h: Likewise.
44646         * include/rpc/des_crypt.h: Likewise.
44647         * include/rpc/key_prot.h: Likewise.
44648         * include/rpc/pmap_clnt.h: Likewise.
44649         * include/rpc/pmap_prot.h: Likewise.
44650         * include/rpc/pmap_rmt.h: Likewise.
44651         * include/rpc/rpc_msg.h: Likewise.
44652         * include/rpc/svc.h: Likewise.
44653         * include/rpc/svc_auth.h: Likewise.
44654         * include/rpc/xdr.h: Likewise.
44655         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44656         * nss/Makefile: Likewise.
44657         * sunrpc/Makefile: Don't install headers.  Build library with normal
44658         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44659         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44660         for the compat linking library.  Remove use of INTDEF/INTUSE.
44661         * sunrpc/auth_none.c: Likewise.
44662         * sunrpc/auth_unix.c: Likewise.
44663         * sunrpc/authdes_prot.c: Likewise.
44664         * sunrpc/authuxprot.c: Likewise.
44665         * sunrpc/clnt_gen.c: Likewise.
44666         * sunrpc/clnt_perr.c: Likewise.
44667         * sunrpc/clnt_raw.c: Likewise.
44668         * sunrpc/clnt_simp.c: Likewise.
44669         * sunrpc/clnt_tcp.c: Likewise.
44670         * sunrpc/clnt_udp.c: Likewise.
44671         * sunrpc/clnt_unix.c: Likewise.
44672         * sunrpc/des_crypt.c: Likewise.
44673         * sunrpc/des_soft.c: Likewise.
44674         * sunrpc/get_myaddr.c: Likewise.
44675         * sunrpc/key_call.c: Likewise.
44676         * sunrpc/key_prot.c: Likewise.
44677         * sunrpc/netname.c: Likewise.
44678         * sunrpc/pm_getmaps.c: Likewise.
44679         * sunrpc/pm_getport.c: Likewise.
44680         * sunrpc/pmap_clnt.c: Likewise.
44681         * sunrpc/pmap_prot.c: Likewise.
44682         * sunrpc/pmap_prot2.c: Likewise.
44683         * sunrpc/pmap_rmt.c: Likewise.
44684         * sunrpc/publickey.c: Likewise.
44685         * sunrpc/rpc_cmsg.c: Likewise.
44686         * sunrpc/rpc_common.c: Likewise.
44687         * sunrpc/rpc_dtable.c: Likewise.
44688         * sunrpc/rpc_prot.c: Likewise.
44689         * sunrpc/rpc_thread.c: Likewise.
44690         * sunrpc/rtime.c: Likewise.
44691         * sunrpc/svc.c: Likewise.
44692         * sunrpc/svc_auth.c: Likewise.
44693         * sunrpc/svc_authux.c: Likewise.
44694         * sunrpc/svc_raw.c: Likewise.
44695         * sunrpc/svc_run.c: Likewise.
44696         * sunrpc/svc_simple.c: Likewise.
44697         * sunrpc/svc_tcp.c: Likewise.
44698         * sunrpc/svc_udp.c: Likewise.
44699         * sunrpc/svc_unix.c: Likewise.
44700         * sunrpc/svcauth_des.c: Likewise.
44701         * sunrpc/xcrypt.c: Likewise.
44702         * sunrpc/xdr.c: Likewise.
44703         * sunrpc/xdr_array.c: Likewise.
44704         * sunrpc/xdr_float.c: Likewise.
44705         * sunrpc/xdr_intXX_t.c: Likewise.
44706         * sunrpc/xdr_mem.c: Likewise.
44707         * sunrpc/xdr_rec.c: Likewise.
44708         * sunrpc/xdr_ref.c: Likewise.
44709         * sunrpc/xdr_sizeof.c: Likewise.
44710         * sunrpc/xdr_stdio.c: Likewise.
44711
44712 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44713
44714         [BZ #12650]
44715         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44716         * sysdeps/ia64/dl-tls.h: Likewise.
44717         * sysdeps/powerpc/dl-tls.h: Likewise.
44718         * sysdeps/s390/dl-tls.h: Likewise.
44719         * sysdeps/sh/dl-tls.h: Likewise.
44720         * sysdeps/sparc/dl-tls.h: Likewise.
44721         * sysdeps/x86_64/dl-tls.h: Likewise.
44722         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44723
44724 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44725
44726         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44727         rpath element also skip the following colon.
44728         (expand_dynamic_string_token): Add is_path parameter and pass
44729         down to DL_DST_REQUIRED and _dl_dst_substitute.
44730         (decompose_rpath): Call expand_dynamic_string_token with
44731         non-zero is_path.  Ignore empty rpaths.
44732         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44733         with zero is_path.
44734
44735 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44736
44737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44738         Make cancelable.
44739
44740 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44741
44742         [BZ #12655]
44743         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44744         Patch by Filipe David Manana <fdmanana@apache.org>.
44745
44746 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44747
44748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44749         Maintain aligned stack.
44750         (CHECK_RSP): Remove unused macro.
44751
44752 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44753
44754         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44755         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44756
44757 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44758
44759         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44760
44761         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44762
44763 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44764
44765         [BZ #12518]
44766         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44767         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44768         * sysdeps/x86_64/memmove.c: New file.
44769         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44770         (memcpy): Renamed to ...
44771         (__new_memcpy): This.
44772         (memcpy): Provide GLIBC_2_14 memcpy.
44773         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44774         (memcpy): Provide GLIBC_2_2_5 memcpy.
44775
44776 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44777
44778         [BZ #12631]
44779         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44780
44781 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44782
44783         * misc/syncfs.c: New file.
44784         * misc/Makefile (routines): Add syncfs.
44785         * posix/unistd.h: Declare syncfs.
44786         * sysdeps/unix/syscalls.list: Add syncfs.
44787
44788 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44789
44790         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44791         open_by_handle_at.
44792         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44793         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44794         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44795         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44797         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44798         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44799
44800 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44801
44802         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44803         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44804         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44808         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44809
44810         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44811         sync_file_range.c with -fexceptions.
44812         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44813         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44814         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44815         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44816         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44817         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44818         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44819         sync_file_range as cancellation point
44820         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44821         now a wrapper around __call_sync_file_range with cancellation handling.
44822         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44823         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44824         function name to __call_sync_file_range.
44825         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44826         Add call_sync_file_range.
44827
44828 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44829
44830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44831         bits/timex.h.
44832
44833 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44834
44835         * iconv/iconv.h: Fix typo in comment.
44836         * io/fcntl.h: Likewise.
44837         * libio/stdio.h: Likewise.
44838         * posix/spawn.h: Likewise.
44839         * posix/unistd.h: Likewise.
44840         * stdlib/stdlib.h: Likewise.
44841         * time/time.h: Likewise.
44842         * wcsmbs/wchar.h: Likewise.
44843
44844         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44845         open_by_handle): Add.
44846         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44847         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44848         Augment a few comments.
44849         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44850         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44851         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44853         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44854         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44855         open_by_handle.
44856
44857         * io/fcntl.h (AT_EMPTY_PATH): Define.
44858
44859 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44860
44861         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44862         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44863         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44864         to...
44865         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44866         * Versions.def: Add GLIBC_2.14.
44867         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44868         Export.
44869
44870 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44871
44872         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44873         round counter.
44874         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44875
44876 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44877
44878         [BZ #12597]
44879         * string/test-strncmp.c (do_page_test): New function.
44880         (check2): Likewise.
44881         (test_main): Call check2.
44882         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44883
44884 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44885
44886         [BZ #12587]
44887         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44888         Handle cache information in CPU leaf 4.
44889         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44890
44891 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44892
44893         [BZ #12583]
44894         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44895         character representation.
44896         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44897
44898 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44899
44900         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44901         END(__isnan) to END(__isnanf) to match function entry point/label
44902         EALIGN(__isnanf,...).
44903
44904 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44905
44906         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44907
44908 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44909
44910         [BZ #12510]
44911         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44912         copy from the symbol referenced in the relocation to initialize the
44913         used variable.
44914         Patch by Piotr Bury <pbury@goahead.com>.
44915         * elf/Makefile: Add rules to build and tst-unique3.
44916         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44917         * elf/tst-unique3.cc: New file.
44918         * elf/tst-unique3.h: New file.
44919         * elf/tst-unique3lib.cc: New file.
44920         * elf/tst-unique3lib2.cc: New file.
44921
44922         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44923
44924 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44925
44926         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44927         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44928         to _start.
44929
44930 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44931
44932         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44933         to-be-loaded object along a path to loader is ld.so.
44934
44935 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44936             Ulrich Drepper  <drepper@gmail.com>
44937
44938         * sysdeps/x86_64/memset.S: After aligning destination, code
44939         branches to different locations depending on the value of
44940         misalignment, when multiarch is enabled. Fix this.
44941
44942 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44943
44944         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44945         Set _x86_64_preferred_memory_instruction for AMD processsors.
44946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44947         Set bit_Prefer_SSE_for_memop for AMD processors.
44948
44949 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44950
44951         * libio/fmemopen.c (fmemopen): Optimize a bit.
44952
44953 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44954
44955         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44956
44957 2011-03-03  Roland McGrath  <roland@redhat.com>
44958
44959         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44960
44961 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44962
44963         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44964         __bzero_ultra1 instead of __memset_ultra1.
44965
44966 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44967             Ulrich Drepper  <drepper@gmail.com>
44968
44969         [BZ #12509]
44970         * include/link.h (struct link_map): Add l_orig_initfini.
44971         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44972         returning unsuccessfully.
44973         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44974         close of a file loaded at startup, restore the original l_initfini
44975         list.
44976         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44977         list, store the pointer.
44978         * elf/Makefile ($(objpfx)noload-mem): New rule.
44979         (noload-ENV): Define.
44980         (tests): Add $(objpfx)noload-mem.
44981         * elf/noload.c: Include <memcheck.h>.
44982         (main): Call mtrace.  Close all opened handles.
44983
44984 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44985
44986         [BZ #12454]
44987         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44988         dependencies are missing.
44989
44990 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44991
44992         Fix __if_freereq crash: Unlike the generic version which uses free,
44993         Hurd needs munmap.
44994         * sysdeps/mach/hurd/ifreq.h: New file.
44995
44996 2011-01-27  Petr Baudis  <pasky@suse.cz>
44997             Ulrich Drepper  <drepper@gmail.com>
44998
44999         [BZ 12445]#
45000         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45001         to extend_alloca().
45002         * stdio-common/bug23.c: New file.
45003         * stdio-common/Makefile (tests): Add bug23.
45004
45005 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45006             Ulrich Drepper  <drepper@gmail.com>
45007
45008         [BZ #12489]
45009         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45010         before performing relro protection.  At old place add assertion
45011         to make sure nothing changed.
45012
45013 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45014             Glauber de Oliveira Costa  <glommer@gmail.com>
45015
45016         * elf/elf.h: Add new ARM TLS relocs.
45017
45018 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45019
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45021         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45022         cast from r3.
45023         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45024         'tests' variable.
45025         * sysdeps/wordsize-64/tst-writev.c: New file.
45026
45027 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45028
45029         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45030         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45031         insns in _dl_start to prevent a TOC reference before relocs are
45032         resolved.
45033
45034 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45035
45036         [BZ #12469]
45037         * Makeconfig: Remove RANLIB definition.
45038         * Makerules: Don't use RANLIB.
45039         * aclocal.m4: Remove ranlib test.
45040         * configure.in: No need to check for ranlib.
45041         * elf/rtld-Rules: Don't use RANLIB.
45042
45043 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45044
45045         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45046         protection macro.
45047         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45048         inclusion protection macro.
45049
45050         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45051         SIGRTMIN and SIGRTMAX and print information in that case only when
45052         SIGRTMIN is defined.
45053
45054 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45055
45056         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45057         arginfo fn returning -1.
45058
45059         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45060         and thousands string is zero terminated.
45061
45062 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45063
45064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45065         sysdeps/unix/sysv/linux/bits/socket.h.
45066
45067 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45068
45069         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45070         (__CPU_COUNT): Remove old macros.
45071         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45072         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45073         (__CPU_ALLOC, __CPU_FREE): Add macros.
45074         (__sched_cpualloc, __sched_cpufree): Add declarations.
45075
45076 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45077
45078         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45079         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45080         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45081         (readdhstai): Return value of addhstaiX call.
45082         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45083         (addgrbyX): Return value returned by cache_addgr.
45084         (readdgrbyname): Return value returned by addgrbyX.
45085         (readdgrbygid): Likewise.
45086         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45087         (addpwbyX): Return value returned by cache_addpw.
45088         (readdpwbyname): Return value returned by addhstbyX.
45089         (readdpwbyuid): Likewise.
45090         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45091         (addservbyX): Return value returned by cache_addserv.
45092         (readdservbyname): Return value returned by addservbyX:
45093         (readdservbyport): Likewise.
45094         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45095         (addhstbyX): Return value returned by cache_addhst.
45096         (readdhstbyname): Return value returned by addhstbyX.
45097         (readdhstbyaddr): Likewise.
45098         (readdhstbynamev6): Likewise.
45099         (readdhstbyaddrv6): Likewise.
45100         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45101         (readdinitgroups): Return value returned by addinitgroupsX.
45102         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45103         (prune_cache): Keep track of timeout value of re-added entries.
45104         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45105         * nscd/nscd.h: Adjust prototypes of readd* functions.
45106
45107 2011-02-04  Roland McGrath  <roland@redhat.com>
45108
45109         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45110         (nis_stats): Likewise.
45111         * nis/nis_modify.c (nis_modify): Likewise.
45112         * nis/nis_remove.c (nis_remove): Likewise.
45113         * nis/nis_add.c (nis_add): Likewise.
45114
45115         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45116
45117         * posix/fnmatch_loop.c: Add some consts.
45118
45119         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45120
45121 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45122
45123         [BZ #12460]
45124         * config.make.in (config-cflags-novzeroupper): Define.
45125         * configure.in: Substitute libc_cv_cc_novzeroupper.
45126         * elf/Makefile (AVX-CFLAGS): Define.
45127         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45128         (CFLAGS-tst-auditmod4a.c): Likewise.
45129         (CFLAGS-tst-auditmod4b.c): Likewise.
45130         (CFLAGS-tst-auditmod6b.c): Likewise.
45131         (CFLAGS-tst-auditmod6c.c): Likewise.
45132         (CFLAGS-tst-auditmod7b.c): Likewise.
45133         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45134
45135 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45136
45137         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45138         function to the callback.
45139         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45140
45141 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45142
45143         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45144         of errno.
45145
45146 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45147
45148         [BZ #11724]
45149         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45150         of constructors.
45151         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45152         of destructors.
45153         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45154
45155         [BZ #11724]
45156         * elf/Makefile: Add rules to build and run new test.
45157         * elf/tst-initorder.c: New file.
45158         * elf/tst-initorder.exp: New file.
45159         * elf/tst-initordera1.c: New file.
45160         * elf/tst-initordera2.c: New file.
45161         * elf/tst-initordera3.c: New file.
45162         * elf/tst-initordera4.c: New file.
45163         * elf/tst-initorderb1.c: New file.
45164         * elf/tst-initorderb2.c: New file.
45165         * elf/tst-order-a1.c: New file.
45166         * elf/tst-order-a2.c: New file.
45167         * elf/tst-order-a3.c: New file.
45168         * elf/tst-order-a4.c: New file.
45169         * elf/tst-order-b1.c: New file.
45170         * elf/tst-order-b2.c: New file.
45171         * elf/tst-order-main.c: New file.
45172         New test case by George Gensure <werkt0@gmail.com>.
45173
45174 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45175
45176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45177         decoding ACE if AI_CANONIDN.
45178
45179 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45180
45181         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45182
45183 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45184
45185         * version.h (RELEASE): Bump for 2.13 release.
45186         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45187
45188         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45189
45190         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45191         MADV_NOHUGEPAGE.
45192         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45193         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45194         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45195         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45197         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45198
45199         * posix/getconf.c: Update copyright year.
45200         * catgets/gencat.c: Likewise.
45201         * csu/version.c: Likewise.
45202         * debug/catchsegv.sh: Likewise.
45203         * debug/xtrace.sh: Likewise.
45204         * elf/ldconfig.c: Likewise.
45205         * elf/ldd.bash.in: Likewise.
45206         * elf/sprof.c (print_version): Likewise.
45207         * iconv/iconv_prog.c: Likewise.
45208         * iconv/iconvconfig.c: Likewise.
45209         * locale/programs/locale.c: Likewise.
45210         * locale/programs/localedef.c: Likewise.
45211         * malloc/memusage.sh: Likewise.
45212         * malloc/mtrace.pl: Likewise.
45213         * nscd/nscd.c (print_version): Likewise.
45214         * nss/getent.c: Likewise.
45215
45216         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45217         PF_CAIF, and PF_ALG.
45218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45219
45220 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45221
45222         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45223         (modules-names): Use them.
45224         (ifunc-test-modules, ifunc-pie-tests): Define.
45225         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45226         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45227         (test-extras): Likewise.
45228         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45229         $(compile-command.c).
45230         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45231         (all-built-dso): Define.
45232         (check-textrel.out, check-execstack.out): Depend on it.
45233
45234         * configure.in: Don't override --enable-multi-arch.
45235
45236 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45237
45238         [BZ #6812]
45239         * nscd/hstcache.c (tryagain): Define.
45240         (cache_addhst): Return tryagain not notfound for temporary errors.
45241         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45242         failed.
45243
45244 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45245
45246         [BZ #10563]
45247         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45248         to make the syscall.
45249         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45250
45251         [BZ #12378]
45252         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45253         and fall back to matching as normal character if the string ends before
45254         the matching ']' is found.  This is what POSIX requires.
45255         * posix/testfnm.c: Adjust test result.
45256         * posix/globtest.sh: Adjust test result.  Add new test.
45257         * posix/tst-fnmatch.input: Likewise.
45258         * posix/tst-fnmatch2.c: Add new test.
45259
45260 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45261
45262         * elf/Makefile (check-execstack): Revert last change.  Depend on
45263         check-execstack.h.
45264         (check-execstack.h): New target.
45265         (generated): Add check-execstack.h.
45266         * elf/check-execstack.c: Include "check-execstack.h".
45267         (main): Revert last change.
45268         (handle_file): Return zero if GNU_STACK is absent and
45269         DEFAULT_STACK_PERMS doesn't include PF_X.
45270
45271 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45272
45273         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45274         in child fails because the descriptor is already closed.
45275         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45276         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45277         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45278
45279         [BZ #12397]
45280         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45281         syscall.
45282
45283         [BZ #10484]
45284         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45285         temporary buffer used to handle multi lookups locally.
45286         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45287
45288 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45289
45290         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45291         loader is ld.so.
45292
45293 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45294
45295         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45296         alignment for SSE2.
45297
45298 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45299
45300         [BZ #12394]
45301         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45302         characters.  When rounding increased number of integer digits recompute
45303         number of groups.
45304         * stdio-common/tst-grouping.c: New file.
45305         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45306
45307 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45308
45309         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45310         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45311
45312         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45313         void.
45314         * bits/select.h: Likewise.
45315
45316 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45317
45318         * po/ja.po: Update from translation team.
45319
45320 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45321
45322         [BZ #11155]
45323         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45324         implementation just like for lxstat, fxstatat, et al.
45325
45326 2010-12-27  Jim Meyering  <meyering@redhat.com>
45327
45328         [BZ #12348]
45329         * posix/regexec.c (build_trtable): Return failure indication upon
45330         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45331
45332 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45333
45334         [BZ #12201]
45335         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45336         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45337         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45338         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45339
45340         [BZ #12207]
45341         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45342
45343         [BZ #12204]
45344         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45345         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45346
45347 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45348
45349         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45350         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45351         script has SORT_BY_INIT_PRIORITY.
45352         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45353         NO_CTORS_DTORS_SECTIONS is defined.
45354         * elf/soinit.c: Likewise.
45355         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45356         NO_CTORS_DTORS_SECTIONS is defined.
45357         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45358         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45359         * sysdeps/sh/init-first.c: Likewise.
45360         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45361
45362 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45363
45364         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45365         always use the slow path.
45366
45367 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45368
45369         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45370         similar rule which adds the sysdep directories to the header search in
45371         order to pick up the correct platform stackinfo.h.
45372         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45373         perform test if it is, otherwise return successfully without testing.
45374         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45375         DEFAULT_STACK_PERMS define in stackinfo.h.
45376         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45377         defined in stackinfo.h.
45378         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45379         DEFAULT_STACK_PERMS defined in stackinfo.h.
45380         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45381         * sysdeps/ia64/stackinfo.h: Likewise.
45382         * sysdeps/s390/stackinfo.h: Likewise.
45383         * sysdeps/sh/stackinfo.h: Likewise.
45384         * sysdeps/sparc/stackinfo.h: Likewise.
45385         * sysdeps/x86_64/stackinfo.h: Likewise.
45386         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45387         PF_X for powerpc64.  Retain PF_X for powerpc32.
45388
45389 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45390
45391         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45392         accurately.
45393         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45394         GETDENTS_64BIT_ALIGNED.
45395
45396 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45397
45398         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45399
45400 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45401
45402         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45403         _GNU_SOURCE.
45404
45405         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45406         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45407         Remove __restrict.
45408         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45409         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45410
45411 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45412
45413         [BZ #11655]
45414         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45415         are initialized.
45416
45417 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45418
45419         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45420
45421 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45422
45423         * po/it.po: Update from translation team.
45424
45425 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45426
45427         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45428         unused codes.
45429
45430 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45431
45432         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45433
45434 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45435
45436         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45437         specially.
45438         (gaih_getanswer_slice): Likewise.
45439
45440 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45441
45442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45443
45444 2010-05-31  Petr Baudis  <pasky@suse.cz>
45445
45446         [BZ #11149]
45447         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45448         silently even in the chroot mode.
45449
45450 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45451
45452         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45453         last patch a bit.  Pretty printing
45454
45455 2010-05-31  Petr Baudis <pasky@suse.cz>
45456
45457         [BZ #10085]
45458         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45459         initialization of skip_initgroups_dyn.
45460
45461 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45462
45463         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45464         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45465
45466 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45467
45468         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45469
45470 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45471
45472         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45473         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45474         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45475         ($(objpfx)tst-fnmatch-mem): New rule.
45476         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45477         * posix/tst-fnmatch.c (main): Call mtrace.
45478
45479 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45480
45481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45482         Support Intel processor model 6 and model 0x2c.
45483
45484 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45485
45486         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45487           signed comparison.
45488
45489 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45490
45491         [BZ #12205]
45492         * string/test-strncasecmp.c (check_result): New function.
45493         (do_one_test): Use it.
45494         (check1): New function.
45495         (test_main): Use it.
45496         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45497         Support strcasecmp and strncasecmp.
45498
45499 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45500
45501         [BZ #12194]
45502         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45503         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45504
45505 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45506
45507         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45508         IFUNC support.
45509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45510         memset-x86-64.
45511         * sysdeps/x86_64/multiarch/bzero.S: New file.
45512         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45513         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45514         * sysdeps/x86_64/multiarch/memset.S: New file.
45515         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45517         Set bit_Prefer_SSE_for_memop for Intel processors.
45518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45519         Define.
45520         (index_Prefer_SSE_for_memop): Define.
45521         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45522
45523 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45524
45525         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45526         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45527
45528 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45529
45530         [BZ #12191]
45531         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45532         (__x86_64_raw_data_cache_size_half): Likewise.
45533         (__x86_64_raw_shared_cache_size): Likewise.
45534         (__x86_64_raw_shared_cache_size_half): Likewise.
45535
45536         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45537         (__x86_64_raw_data_cache_size_half): Likewise.
45538         (__x86_64_raw_shared_cache_size): Likewise.
45539         (__x86_64_raw_shared_cache_size_half): Likewise.
45540         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45541         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45542         and __x86_64_raw_shared_cache_size_half.  Round
45543         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45544         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45545         to multiple of 256 bytes.
45546
45547 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45548
45549         [BZ #12167]
45550         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45551         of inacessible symlinks.  Verify result of symlink before returning it.
45552         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45553         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45554
45555 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45556
45557         * math/math.h (isinf): Fix typo in comment.
45558
45559 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45560
45561         * po/da.po: Update from translation team.
45562
45563 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45564
45565         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45566         is added to the list.
45567
45568 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45569             Ulrich Drepper  <drepper@gmail.com>
45570
45571         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45572         the global list here.  Move code to...
45573         (_dl_add_to_namespace_list): ...here.  New function.
45574         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45575         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45576         * elf/dl-load.c (lose): Don't remove the element from the list.
45577         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45578         (_dl_map_object): Likewise.
45579
45580 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45581
45582         [BZ #12159]
45583         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45584         into all bytes of SSE register.
45585         Patch by Richard Li <richardpku@gmail.com>.
45586
45587 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45588
45589         [BZ #12140]
45590         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45591         perturbing.
45592
45593 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45594
45595         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45596         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45597         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45598         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45600         submachine.
45601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45602
45603 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45604
45605         * include/dlfcn.h (__RTLD_SECURE): Define.
45606         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45607         mode & __RTLD_SECURE instead.
45608         (open_path): Rename preloaded parameter to secure.
45609         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45610         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45611         * elf/dl-deps.c (openaux): Likewise.
45612         * elf/rtld.c (struct map_args): Remove is_preloaded.
45613         (map_doit): Don't use it.
45614         (dl_main): Likewise.
45615         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45616         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45617
45618 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45619
45620         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45621         (sysd-rules-targets): Remove duplicates.
45622         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45623         rtld-%.$o dependency.
45624
45625 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45626
45627         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45628         _dl_map_object do it.
45629
45630 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45631
45632         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45633         fast fma builtins, define the macros in the C99 standard.
45634         (FP_FAST_FMAF): Likewise.
45635         (FP_FAST_FMAL): Likewise.
45636         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45637
45638         * bits/mathdef.h: Update copyright year.
45639         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45640
45641 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45642
45643         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45644         builtins, define the macros in the C99 standard.
45645         (FP_FAST_FMAF): Likewise.
45646         (FP_FAST_FMAL): Likewise.
45647         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45648         multiply/add.
45649         (FP_FAST_FMAF): Likewise.
45650
45651 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45652
45653         [BZ #3268]
45654         * math/libm-test.inc (fma_test): Some new testcases.
45655         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45657         y and infinite z.  Do multiplication by C already in long double.
45658         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45660         y and infinite z.  Do bitwise or of inexact bit into u.d.
45661         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45662         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45663         * sysdeps/i386/fpu/s_fma.S: Removed.
45664         * sysdeps/i386/fpu/s_fmal.S: Removed.
45665
45666 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45667
45668         [BZ #3268]
45669         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45671         computation is not scheduled after fetestexcept.  Fix value
45672         of minimum denormal long double.
45673
45674 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45675
45676         [BZ #3268]
45677         * math/libm-test.inc (fma_test): Add some more tests.
45678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45679         correctly.
45680
45681 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45682
45683         * scripts/data/localplt-s390-linux-gnu.data: New file.
45684         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45685
45686 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45687
45688         [BZ #3268]
45689         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45690         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45691         instead of dbl-64.
45692         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45693         inlines.
45694         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45696         if one of x and y is very large and the other is subnormal.
45697         * sysdeps/s390/fpu/s_fmaf.c: New file.
45698         * sysdeps/s390/fpu/s_fma.c: New file.
45699         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45700         * sysdeps/powerpc/fpu/s_fma.S: New file.
45701         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45702         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45703         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45704
45705 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45706
45707         [BZ #3268]
45708         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45709         fma tests.
45710         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45711         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45712         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45713         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45714         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45715         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45716         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45717
45718 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45719
45720         [BZ #12078]
45721         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45722         * posix/bug-regex31.input: Add test case.
45723
45724 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45725
45726         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45727         * posix/bug-regex31.input: New file.
45728
45729         [BZ #12078]
45730         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45731         (parse_sub_exp): Fix last change, use postorder.
45732
45733         * posix/bug-regex31.c: New file.
45734         * posix/Makefile: Add rules to build and run bug-regex31.
45735
45736         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45737
45738         [BZ #12078]
45739         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45740
45741         [BZ #12108]
45742         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45743         to have entries in sys_siglist.
45744
45745         [BZ #12093]
45746         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45747         be NULL.
45748
45749 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45750
45751         [BZ #3268]
45752         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45753         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45754         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45755         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45756         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45757         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45758         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45759         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45760         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45761         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45762         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45763         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45764         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45765         * math/ftestexcept.c (fetestexcept): Likewise.
45766         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45767         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45768         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45769         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45770         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45771         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45772         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45773
45774 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45775
45776         [BZ #12107]
45777         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45778         newline.
45779
45780 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45781
45782         * string/bug-strstr1.c: New file.
45783         * string/Makefile: Add rules to build and run bug-strstr1.
45784
45785 2010-10-05  Eric Blake  <eblake@redhat.com>
45786
45787         [BZ #12092]
45788         * string/str-two-way.h (two_way_long_needle): Always clear memory
45789         when skipping input due to the shift table.
45790
45791 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45792
45793         [BZ #12005]
45794         * malloc/mcheck.c: Handle large requests.
45795
45796         [BZ #12077]
45797         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45798         for strncmp and strncasecmp.
45799         * string/stratcliff.c: Add tests for strcmp and strncmp.
45800         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45801
45802 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45803
45804         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45805         __set_fpscr.
45806
45807 2010-09-30  Andreas Jaeger  <aj@suse.de>
45808
45809         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45810         (CGROUP_SUPER_MAGIC): Define.
45811         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45812         Handle btrfs and cgroup file systems.
45813         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45814         Likewise.
45815
45816 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45817
45818         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45819         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45820
45821 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45822
45823         [BZ #12067]
45824         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45825         trying to locate the ELF header.
45826
45827 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45828
45829         [BZ #11611]
45830         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45831         Mask out sign-bit copies when constructing f_fsid.
45832
45833 2010-09-24  Petr Baudis <pasky@suse.cz>
45834
45835         * debug/stack_chk_fail_local.c: Add missing licence exception.
45836         * debug/warning-nop.c: Likewise.
45837
45838 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45839
45840         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45841         implementing getdents64 using getdents syscall, set d_type if
45842         __ASSUME_GETDENTS32_D_TYPE.
45843
45844 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45845
45846         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45847         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45848
45849 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45850
45851         [BZ #12037]
45852         * posix/unistd.h: Undo change of feature selection for ftruncate from
45853         2010-01-11.
45854
45855 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45856
45857         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45858         detection.
45859
45860 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45861
45862         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45863         fanotify_mark.
45864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45865
45866 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45867
45868         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45869         variables after CHECK_SP call.
45870         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45871
45872 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45873             Ulrich Drepper  <drepper@redhat.com>
45874
45875         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45876         re-relocationg ld.so.
45877         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45878         _dl_init_paths call.
45879         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45880         here anymore.
45881
45882 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45883
45884         * resolv/res_init.c (__res_vinit): Count the default server we added.
45885
45886 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45887             Ulrich Drepper  <drepper@redhat.com>
45888
45889         [BZ #11968]
45890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45891         (____longjmp_chk): Use %ebx for saving value across system call.
45892         Add unwind info.
45893
45894 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45895
45896         * manual/Makefile: Don't mix pattern rules with normal rules.
45897
45898 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45899
45900         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45901         operation.
45902         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45903         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45904         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45905         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45907         Likewise.
45908
45909 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45910
45911         [BZ #11979]
45912         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45913         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45914
45915 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45916
45917         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45918         * sysdeps/x86_64/addmul_1.S: Likewise.
45919         * sysdeps/x86_64/lshift.S: Likewise.
45920         * sysdeps/x86_64/mul_1.S: Likewise.
45921         * sysdeps/x86_64/rshift.S: Likewise.
45922         * sysdeps/x86_64/sub_n.S: Likewise.
45923         * sysdeps/x86_64/submul_1.S: Likewise.
45924
45925 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45926
45927         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45928         Define __sched_param instead of SCHED_* and sched_param when
45929         <bits/sched.h> is included with __need_schedparam defined.
45930         * bits/sched.h [__need_schedparam]
45931         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45932         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45933         (__defined_schedparam): Define to 1.
45934         (__sched_param): New structure, identical to sched_param.
45935         (__need_schedparam): Undefine.
45936
45937 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45938
45939         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45940         (epoll_create1): Declare.
45941
45942         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45943
45944 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45945
45946         [BZ #7066]
45947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45948         shifting retval into place.
45949
45950 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45951
45952         * nis/rpcsvc/nis.h: Update copyright notice.
45953         * nis/rpcsvc/nis.x: Likewise.
45954         * nis/rpcsvc/nis_callback.h: Likewise.
45955         * nis/rpcsvc/nis_callback.x: Likewise.
45956         * nis/rpcsvc/nis_object.x: Likewise.
45957         * nis/rpcsvc/nis_tags.h: Likewise.
45958         * nis/rpcsvc/yp.h: Likewise.
45959         * nis/rpcsvc/yp.x: Likewise.
45960         * nis/rpcsvc/ypupd.h: Likewise.
45961         * nis/yp_xdr.c: Likewise.
45962         * nis/ypupdate_xdr.c: Likewise.
45963
45964         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45965         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45966         (pmap_getport): Use __libc_rpc_getport.
45967         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45968         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45969         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45970
45971 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45972
45973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45974         fanotify_mark.
45975
45976 2010-08-27  Roland McGrath  <roland@redhat.com>
45977
45978         * sysdeps/i386/i686/multiarch/Makefile
45979         (CFLAGS-varshift.c): New variable.
45980
45981 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45982
45983         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45984         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45985
45986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45987
45988         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45989
45990 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45991
45992         * sysdeps/x86_64/strlen.S: Unroll the loop.
45993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45994         strlen-sse2 strlen-sse2-bsf.
45995         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45996         __strlen_no_bsf if bit_Slow_BSF is set.
45997         (__strlen_sse42): Removed.
45998         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45999         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46000
46001 2010-08-25  Roland McGrath  <roland@redhat.com>
46002
46003         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46004         * sysdeps/x86_64/multiarch/varshift.c: New file.
46005         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46006         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46007         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46008         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46009
46010 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46011
46012         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46013         strlen-sse2 strlen-sse2-bsf.
46014         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46015         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46016         (__strlen_sse2): Removed.
46017         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46020         bit_Slow_BSF for Atom.
46021         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46022         (index_Slow_BSF): Define.
46023         (HAS_SLOW_BSF): Define.
46024
46025 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46026
46027         [BZ #10851]
46028         * resolv/res_init.c (__res_vinit): When no server address at all
46029         is given default to loopback.
46030
46031 2010-08-24  Roland McGrath  <roland@redhat.com>
46032
46033         * configure.in: Remove config-name.h generation.
46034         * configure: Regenerated.
46035         * config-name.in: File removed.
46036         * scripts/config-uname.sh: New file.
46037         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46038         ($(objdir)config-name.h): New target.
46039
46040         * sunrpc/rpc_parse.h: Avoid nested comment.
46041
46042 2010-08-24  Richard Henderson  <rth@redhat.com>
46043             Ulrich Drepper  <drepper@redhat.com>
46044             H.J. Lu  <hongjiu.lu@intel.com>
46045
46046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46048         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46049         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46050         _mm_alignr_epi8 with _mm_loadu_si128.
46051         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46052         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46053         (__m128i_shift_right): Removed.
46054         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46055         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46056         * sysdeps/x86_64/multiarch/varshift.h: New file.
46057         * sysdeps/x86_64/multiarch/varshift.S: New file.
46058
46059 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46060
46061         * configure.in: Move assembler checks to before sysdep dir checking.
46062
46063 2010-08-20  Petr Baudis  <pasky@suse.cz>
46064
46065         * LICENSES: Sync the sunrpc license.
46066
46067 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46068
46069         * sunrpc/auth_des.c: Update copyright notice once again.
46070         * sunrpc/auth_none.c: Likewise.
46071         * sunrpc/auth_unix.c: Likewise.
46072         * sunrpc/authdes_prot.c: Likewise.
46073         * sunrpc/authuxprot.c: Likewise.
46074         * sunrpc/bindrsvprt.c: Likewise.
46075         * sunrpc/clnt_gen.c: Likewise.
46076         * sunrpc/clnt_perr.c: Likewise.
46077         * sunrpc/clnt_raw.c: Likewise.
46078         * sunrpc/clnt_simp.c: Likewise.
46079         * sunrpc/clnt_tcp.c: Likewise.
46080         * sunrpc/clnt_udp.c: Likewise.
46081         * sunrpc/clnt_unix.c: Likewise.
46082         * sunrpc/des_crypt.c: Likewise.
46083         * sunrpc/des_soft.c: Likewise.
46084         * sunrpc/get_myaddr.c: Likewise.
46085         * sunrpc/getrpcport.c: Likewise.
46086         * sunrpc/key_call.c: Likewise.
46087         * sunrpc/key_prot.c: Likewise.
46088         * sunrpc/openchild.c: Likewise.
46089         * sunrpc/pm_getmaps.c: Likewise.
46090         * sunrpc/pm_getport.c: Likewise.
46091         * sunrpc/pmap_clnt.c: Likewise.
46092         * sunrpc/pmap_prot.c: Likewise.
46093         * sunrpc/pmap_prot2.c: Likewise.
46094         * sunrpc/pmap_rmt.c: Likewise.
46095         * sunrpc/rpc/auth.h: Likewise.
46096         * sunrpc/rpc/auth_unix.h: Likewise.
46097         * sunrpc/rpc/clnt.h: Likewise.
46098         * sunrpc/rpc/des_crypt.h: Likewise.
46099         * sunrpc/rpc/key_prot.h: Likewise.
46100         * sunrpc/rpc/netdb.h: Likewise.
46101         * sunrpc/rpc/pmap_clnt.h: Likewise.
46102         * sunrpc/rpc/pmap_prot.h: Likewise.
46103         * sunrpc/rpc/pmap_rmt.h: Likewise.
46104         * sunrpc/rpc/rpc.h: Likewise.
46105         * sunrpc/rpc/rpc_des.h: Likewise.
46106         * sunrpc/rpc/rpc_msg.h: Likewise.
46107         * sunrpc/rpc/svc.h: Likewise.
46108         * sunrpc/rpc/svc_auth.h: Likewise.
46109         * sunrpc/rpc/types.h: Likewise.
46110         * sunrpc/rpc/xdr.h: Likewise.
46111         * sunrpc/rpc_clntout.c: Likewise.
46112         * sunrpc/rpc_cmsg.c: Likewise.
46113         * sunrpc/rpc_common.c: Likewise.
46114         * sunrpc/rpc_cout.c: Likewise.
46115         * sunrpc/rpc_dtable.c: Likewise.
46116         * sunrpc/rpc_hout.c: Likewise.
46117         * sunrpc/rpc_main.c: Likewise.
46118         * sunrpc/rpc_parse.c: Likewise.
46119         * sunrpc/rpc_parse.h: Likewise.
46120         * sunrpc/rpc_prot.c: Likewise.
46121         * sunrpc/rpc_sample.c: Likewise.
46122         * sunrpc/rpc_scan.c: Likewise.
46123         * sunrpc/rpc_scan.h: Likewise.
46124         * sunrpc/rpc_svcout.c: Likewise.
46125         * sunrpc/rpc_tblout.c: Likewise.
46126         * sunrpc/rpc_util.c: Likewise.
46127         * sunrpc/rpc_util.h: Likewise.
46128         * sunrpc/rpcinfo.c: Likewise.
46129         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46130         * sunrpc/rpcsvc/key_prot.x: Likewise.
46131         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46132         * sunrpc/rpcsvc/mount.x: Likewise.
46133         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46134         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46135         * sunrpc/rpcsvc/rex.x: Likewise.
46136         * sunrpc/rpcsvc/rstat.x: Likewise.
46137         * sunrpc/rpcsvc/rusers.x: Likewise.
46138         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46139         * sunrpc/rpcsvc/spray.x: Likewise.
46140         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46141         * sunrpc/rtime.c: Likewise.
46142         * sunrpc/svc.c: Likewise.
46143         * sunrpc/svc_auth.c: Likewise.
46144         * sunrpc/svc_authux.c: Likewise.
46145         * sunrpc/svc_raw.c: Likewise.
46146         * sunrpc/svc_run.c: Likewise.
46147         * sunrpc/svc_simple.c: Likewise.
46148         * sunrpc/svc_tcp.c: Likewise.
46149         * sunrpc/svc_udp.c: Likewise.
46150         * sunrpc/svc_unix.c: Likewise.
46151         * sunrpc/svcauth_des.c: Likewise.
46152         * sunrpc/xcrypt.c: Likewise.
46153         * sunrpc/xdr.c: Likewise.
46154         * sunrpc/xdr_array.c: Likewise.
46155         * sunrpc/xdr_float.c: Likewise.
46156         * sunrpc/xdr_mem.c: Likewise.
46157         * sunrpc/xdr_rec.c: Likewise.
46158         * sunrpc/xdr_ref.c: Likewise.
46159         * sunrpc/xdr_sizeof.c: Likewise.
46160         * sunrpc/xdr_stdio.c: Likewise.
46161
46162         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46163         handling.
46164
46165 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46166
46167         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46168
46169 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46170
46171         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46173         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46174         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46175         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46176         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46177         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46178         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46179         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46180         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46181         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46182         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46183         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46184         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46185
46186 2010-07-26  Anton Blanchard  <anton@samba.org>
46187
46188         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46189         * malloc/arena.c (heap_trim): Likewise.
46190
46191 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46192
46193         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46194         here.  Not...
46195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46196         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46197
46198 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46199
46200         * sysdeps/i386/elf/Makefile: New file.
46201
46202 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46203
46204         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46205         from fanotify_init.
46206         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46207         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46208
46209 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46210
46211         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46212         of strncasecmp_l.
46213         * sysdeps/multiarch/strcmp.S: Likewise.
46214
46215 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46216
46217         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46218         strncase_l-nonascii.
46219         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46220         Add strncase_l-ssse3.
46221         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46222         * sysdeps/x86_64/strcmp.S: Likewise.
46223         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46224         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46225         * sysdeps/x86_64/strncase.S: New file.
46226         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46227         * sysdeps/x86_64/strncase_l.S: New file.
46228         * string/Makefile (strop-tests): Add strncasecmp.
46229         * string/test-strncasecmp.c: New file.
46230
46231         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46232         warning.
46233
46234         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46235         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46236
46237 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46238
46239         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46240
46241 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46242
46243         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46244         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46245         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46246
46247 2010-05-01  Alan Modra  <amodra@gmail.com>
46248
46249         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46250         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46251         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46252         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46253         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46254         tidying.  Don't tail-call __sigjmp_save for static lib.
46255         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46256         save location.
46257         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46258         (CALL_MCOUNT): Add eh info, and nop after bl.
46259         (TAIL_CALL_SYSCALL_ERROR): New macro.
46260         (PSEUDO_RET): Use it.
46261         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46262         Correct save location of integer regs and cr.
46263         (_dl_profile_resolve): Correct cr save location.  Delete nops
46264         after bl when SHARED.  Reduce cfi size a little by better
46265         placement of cfi directives.
46266         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46267         make a stack frame.  Instead use parm save area as a temp.
46268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46269         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46271         Don't make a stack frame for parent, use parm save area.
46272         Increase child stack frame to 112 bytes.  Don't save unused reg,
46273         and adjust reg usage.  Set up cfi on error recovery and
46274         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46276         (__makecontext): Add dummy nop after jump to exit.
46277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46278         Use correct parm save area and cr save, reduce stack frame.
46279         Correct cfi for possible PSEUDO_RET frame setup.
46280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46281         Branch to local label emitted by PSEUDO_RET rather than
46282         __syscall_error.
46283
46284 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46285
46286         [BZ #11904]
46287         * locale/programs/locale.c (print_assignment): New function.
46288         (show_locale_vars): Use it.
46289
46290 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46291
46292         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46293         field.
46294         (struct statfs64): Likewise.
46295         (_STATFS_F_FLAGS): Define.
46296         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46297         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46298         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46299         (ST_VALID): Define locally.
46300         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46301         __statvfs_getflags, use the provided value.
46302         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46303         __ASSUME_STATFS_F_FLAGS.
46304
46305         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46306
46307         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46308         Add sys/fanotify.h.
46309         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46310         fanotify_mask for GLIBC_2.13.
46311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46312         fanotify_init and fanotify_mark.
46313         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46314         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46315
46316         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46317         Add prlimit.
46318         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46319         prlimit64 for GLIBC_2.13.
46320         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46321         prlimit64.
46322         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46323         syscall.
46324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46326         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46327         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46328         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46329         add prlimit alias.
46330         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46331
46332         [BZ #11903]
46333         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46334         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46335
46336         * nss/Makefile: Add rules to build and run tst-nss-test1.
46337         * shlib-versions: Add entry for libnss_test1.
46338         * nss/nss_test1.c: New file.
46339         * nss/tst-nss-test1.c: New file.
46340
46341         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46342         (__nss_configure_lookup): Set appropriate entry in
46343         __nss_configure_lookup to true.
46344         * nss/nsswitch.h: Define enum with indeces of databases in
46345         databases and __nss_database_custom arrays.  Declare
46346         __nss_database_custom.
46347         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46348         to avoid using nscd when custom rules are installed.
46349         * nss/getXXbyYY_r.c: Likewise.
46350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46351
46352         * nss/nss_files/files-parse.c: Whitespace fixes.
46353
46354 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46355
46356         [BZ #11883]
46357         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46358         * posix/fnmatch_loop.c: Likewise.
46359
46360 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46361
46362         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46363         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46364         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46365         * Versions.def [GLIBC_2.13]: Add.
46366
46367 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46368
46369         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46370         Also fail if tpwd after pwuid call is NULL.
46371
46372 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46373
46374         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46375         when converting to ms.
46376
46377 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46378
46379         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46380         EOPNOTSUPP errors with ENOTTY.
46381         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46382         EOPNOTSUPP errors with ENOTTY.
46383
46384 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46385
46386         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46387         Add strcasecmp_l-ssse3.
46388         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46389         strcasecmp.
46390         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46391         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46392         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46393
46394 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46395
46396         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46397
46398         * string/Makefile (strop-tests): Add strcasecmp.
46399         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46400         strcasecmp_l-nonascii.
46401         (gen-as-const-headers): Add locale-defines.sym.
46402         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46403         * sysdeps/x86_64/strcasecmp.S: New file.
46404         * sysdeps/x86_64/strcasecmp_l.S: New file.
46405         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46406         * sysdeps/x86_64/locale-defines.sym: New file.
46407         * string/test-strcasecmp.c: New file.
46408
46409         * string/test-strcasestr.c: Test both ends of the range of characters.
46410         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46411
46412 2010-07-29  Roland McGrath  <roland@redhat.com>
46413
46414         [BZ #11856]
46415         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46416
46417 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46418
46419         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46420         for ld.so.
46421
46422 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46423
46424         * manual/memory.texi (Malloc Tunable Parameters): Document
46425         M_PERTURB.
46426
46427 2010-07-26  Roland McGrath  <roland@redhat.com>
46428
46429         [BZ #11840]
46430         * configure.in (-fgnu89-inline check): Set and substitute
46431         gnu89_inline, not libc_cv_gnu89_inline.
46432         * configure: Regenerated.
46433         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46434
46435 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46436
46437         * string/test-strnlen.c: New file.
46438         * string/Makefile (strop-tests): Add strnlen.
46439         * string/tester.c (test_strnlen): Add a few more test cases.
46440         * string/tst-strlen.c: Better error reporting.
46441
46442         * sysdeps/x86_64/strnlen.S: New file.
46443
46444 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46445
46446         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46447         lower-latency instructions.
46448
46449 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46450
46451         * string/test-strcasestr.c: New file.
46452         * string/test-strstr.c: New file.
46453         * string/Makefile (strop-tests): Add strstr and strcasestr.
46454         * string/str-two-way.h: Don't undefine MAX.
46455         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46456
46457 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46458
46459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46460         strcasestr-nonascii.
46461         (CFLAGS-strcasestr-nonascii.c): Define.
46462         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46463         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46464         Remove unused attribute.
46465
46466 2010-07-20  Roland McGrath  <roland@redhat.com>
46467
46468         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46469         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46470         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46471         like LD_HWCAP_MASK can disable hwcaps.
46472
46473 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46474
46475         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46476
46477 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46478
46479         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46480         call in strcasestr.
46481         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46482         __strcasestr_sse42_nonascii.
46483         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46484         strcasestr-nonascii.c.
46485         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46486
46487 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46488
46489         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46490         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46491         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46492         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46493
46494 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46495
46496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46497         fcntl.
46498
46499 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46500
46501         [BZ #11577]
46502         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46503         dl_signal_cerror.
46504
46505 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46506
46507         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46508         _PC_PIPE_BUF using F_GETPIPE_SZ.
46509
46510 2010-07-05  Roland McGrath  <roland@redhat.com>
46511
46512         * manual/arith.texi (Rounding Functions): Fix rint description
46513         implicit in round description.
46514
46515 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46516
46517         * elf/Makefile: Fix linking for a few tests to make recent linker
46518         happy.
46519
46520 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46521
46522         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46523         $(common-objpfx)libc_nonshared.a.
46524
46525 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46526
46527         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46528         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46529         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46530         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46531         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46532         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46533         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46534         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46549         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46550         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46551         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46552         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46553         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46554         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46555         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46556         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46557         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46558         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46559         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46560         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46575
46576 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46577
46578         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46579         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46580         * string/memmove.c (memmove): Renamed to ...
46581         (MEMMOVE): ...this.  Default to memmove.
46582         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46583         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46584         (END_CHK): Define.
46585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46586         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46587         mempcpy-ssse3-back memmove-ssse3-back.
46588         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46589         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46591         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46592         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46593         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46594         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46595         * sysdeps/x86_64/multiarch/memmove.c: New file.
46596         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46597         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46598         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46599         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46600         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46601         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46602         Define.
46603         (index_Fast_Copy_Backward): Define.
46604         (HAS_ARCH_FEATURE): Define.
46605         (HAS_FAST_REP_STRING): Define.
46606         (HAS_FAST_COPY_BACKWARD): Define.
46607
46608 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46609
46610         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46611         Restore proper fallback handling.
46612
46613 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46614
46615         [BZ #11701]
46616         * posix/group_member.c (__group_member): Correct checking loop.
46617
46618         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46619         OOM in getpwuid_r correctly.  Return error number when the caller
46620         should return, otherwise -1.
46621         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46622         call returning > 0 value.
46623         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46624
46625 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46626
46627         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46628         libc_nonshared.a from targets in modules-names.
46629
46630 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46631
46632         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46633         requires it.
46634
46635 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46636
46637         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46638         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46639         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46640         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46641
46642 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46643
46644         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46645
46646 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46647
46648         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46649         and F_GETPIPE_SZ.
46650         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46651         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46652         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46654         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46655         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46656
46657 2010-06-14  Roland McGrath  <roland@redhat.com>
46658
46659         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46660
46661 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46662
46663         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46664         __REDIRECT followed by __THROW.
46665         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46666         * posix/getopt.h (getopt): Likewise.
46667
46668 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46669
46670         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46671         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46672         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46673         in AT_FLAGS.
46674         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46675         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46676
46677 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46678
46679         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46680
46681 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46682
46683         [BZ #11640]
46684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46685         Properly check family and model.
46686
46687 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46688
46689         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46690
46691 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46692
46693         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46694
46695 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46696
46697         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46698         symbol reference.
46699
46700 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46701
46702         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46703         symbol reference.
46704
46705 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46706
46707         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46708         and internal_recvmmsg.
46709         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46710         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46711         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46712         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46713
46714         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46715         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46716         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46717
46718 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46719
46720         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46721
46722 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46723
46724         POWER7 optimizations.
46725         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46726         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46727
46728 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46729
46730         * version.h: Update for 2.13 development version.
46731
46732 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46733
46734         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46735         exceptions.  Return 0.
46736
46737 2010-05-07  Roland McGrath  <roland@redhat.com>
46738
46739         * elf/ldconfig.c (main): Add a const.
46740
46741 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46742
46743         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46744         (args_options): Add no-idn option.
46745         (ahosts_keys_int): Add idn_flags to ai_flags.
46746         (parse_option): Handle 'i' option to clear idn_flags.
46747
46748         * malloc/malloc.c (_int_free): Possible race in the most recently
46749         added check.  Only act on the data if no current modification
46750         happened.
46751
46752 See ChangeLog.17 for earlier changes.