Clean up HAVE_CONFIG_H and STDC_HEADERS.
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-06-20  Roland McGrath  <roland@hack.frob.com>
2
3         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7
8         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9         * nptl/stack-aliasing.h: New file.
10         * sysdeps/i386/i686/stack-aliasing.h: New file.
11         * sysdeps/i386/i686/nptl/Makefile: File removed.
12         * sysdeps/x86_64/stack-aliasing.h: New file.
13         * sysdeps/x86_64/nptl/Makefile
14         (CFLAGS-pthread_create.c): Variable removed.
15
16         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18         old file.
19         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
20         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
21         old file.
22
23 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24
25         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26         (__ASSUME_SIGFRAME_V2): Remove macro.
27         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32         Declare as function.  Remove conditional macro definitions.
33         (__default_rt_sa_restorer): Likewise.
34         (__default_sa_restorer_v1): Remove declaration.
35         (__default_sa_restorer_v2): Likewise.
36         (__default_rt_sa_restorer_v1): Likewise.
37         (__default_rt_sa_restorer_v2): Likewise.
38         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41
42 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43
44         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
45         (libpthread-routines): Add sysdep.
46         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47         * sysdeps/unix/sysv/linux/sparc/Versions
48         (libpthread: GLIBC_2.3.3): New version set.
49         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
50         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
51         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
52         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
53         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
54         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
55         Moved ...
56         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
57         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
58         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
59         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
60         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
61         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
62         * sysdeps/sparc/nptl/sem_init.c: ... here.
63         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
64         * sysdeps/sparc/nptl/sem_post.c: ... here.
65         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
66         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
67         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
68         * sysdeps/sparc/nptl/sem_wait.c: ... here.
69         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
70         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
71         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
72         (libpthread-routines): Add cpu_relax.
73         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
74         File removed.
75         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
76         (librt: GLIBC_2.3.3): New version set.
77         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
78         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
79         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
80         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
81         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
82         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
83         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
84         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
85         Moved ...
86         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
87         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
88         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
89         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
90         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
91         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
92         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
93         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
94         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
95         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
96         Moved ...
97         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
98         Update #include.
99         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
100         Moved ...
101         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
102         Update #include.
103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
104         Moved ...
105         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
106         Update #include.
107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
108         Moved ...
109         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
110         Update #include.
111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
112         Moved ...
113         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
114         Update #include.
115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
116         Moved ...
117         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
118         Update #include.
119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
120         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
126         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
128         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
130         Moved ...
131         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
133         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
135         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
136
137 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
138
139         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
140         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
141         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
142         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
143         * nscd/nscd.c: Likewise.
144         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
145         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
146         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
147         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
148
149         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
150         <kernel-features.h>.
151         (init_mq_netlink): Remove conditional have_sock_cloexec
152         definitions.  Remove code conditional on have_sock_cloexec < 0.
153         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
154         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
155         * sysdeps/unix/sysv/linux/opensock.c: Do not include
156         <kernel-features.h>.
157         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
158         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
159
160 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
161
162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
163         Add tests for memset_chk and memset.
164
165         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
166         with AVX2_Usable.
167
168 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
169
170         [BZ #16046]
171         * elf/tst-dl-iter-static.c: New file.
172         * elf/Makefile (tests-static): Add tst-dl-iter-static.
173
174         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
175         error.
176
177 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
178
179         * sysdeps/unix/sysv/linux/kernel-features.h
180         (__ASSUME_F_GETOWN_EX): Remove macro.
181         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
182         <kernel-features.h>.
183         (miss_F_GETOWN_EX): Remove variable or macro.
184         (do_fcntl): Do not check miss_F_GETOWN_EX.
185         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
186
187         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
188         Remove macro.
189         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
190         [!__ASSUME_AT_RANDOM]: Remove conditional code.
191         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
192
193         * sysdeps/unix/sysv/linux/kernel-features.h
194         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
195         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
196         [ADJ_OFFSET_SS_READ]: Make code unconditional.
197         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
198
199 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
200
201         [BZ #17075]
202         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
203         Fix calculation of the symbol's value.
204         * sysdeps/arm/tst-armtlsdescloc.c: New file.
205         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
206         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
207         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
208         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
209         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
210         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
211         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
212         (modules-names): Add `tst-armtlsdescmod',
213         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
214         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
215         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
216         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
217         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
218         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
219         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
220         ($(objpfx)tst-armtlsdescloc): New dependency.
221         ($(objpfx)tst-armtlsdescextnow): Likewise.
222         ($(objpfx)tst-armtlsdescextlazy): Likewise.
223         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
224         TLS scheme support.
225         * sysdeps/arm/configure: Regenerate.
226
227 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
228
229         * include/fcntl.h (__atfct_seterrno): Remove prototype.
230         (__atfct_seterrno_2): Likewise.
231         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
232         <kernel-features.h>.
233         (__ASSUME_ATFCTS): Do not undefine and redefine.
234         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
235         (__have_atfcts): Remove conditional definition.
236         (__fxstatat([__NR_fstatat64]: Make code unconditional.
237         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
238         unreachable if [__ASSUME_ATFCTS].
239         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
240         not undefine and redefine.
241         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
242         <kernel-features.h>.
243         (faccessat) [__NR_faccessat]: Make code unconditional.
244         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
245         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
246         <kernel-features.h>.
247         (fchmodat) [__NR_fchmodat]: Make code unconditional.
248         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
249         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
250         <kernel-features.h>.
251         (fchownat) [__NR_fchownat]: Make code unconditional.
252         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
253         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
254         <kernel-features.h>.
255         (futimesat) [__NR_futimesat]: Make code unconditional.
256         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
257         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
258         <kernel-features.h>.
259         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
260         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
261         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
262         <kernel-features.h>.
263         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
264         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
265         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
266         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
267         <kernel-features.h>.
268         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
269         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
270         * sysdeps/unix/sysv/linux/linkat.c: Do not include
271         <kernel-features.h>.
272         (linkat) [__NR_linkat]: Make code unconditional.
273         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
274         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
275         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
276         <kernel-features.h>.
277         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
278         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
279         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
280         <kernel-features.h>.
281         (mkdirat) [__NR_mkdirat]: Make code unconditional.
282         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
283         * sysdeps/unix/sysv/linux/openat.c: Do not include
284         <kernel-features.h>.
285         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
286         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
287         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
288         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
289         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
290         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
291         <kernel-features.h>.
292         (readlinkat) [__NR_readlinkat]: Make code unconditional.
293         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
294         result of INLINE_SYSCALL directly, not via int variable.
295         * sysdeps/unix/sysv/linux/renameat.c: Do not include
296         <kernel-features.h>.
297         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
298         (renameat) [__NR_renameat]: Make code unconditional.
299         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
300         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
301         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
302         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
303         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
304         (__ASSUME_ATFCTS): Do not undefine and redefine.
305         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
306         <kernel-features.h>.
307         (symlinkat) [__NR_symlinkat]: Make code unconditional.
308         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
309         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
310         <kernel-features.h>.
311         (unlinkat) [__NR_unlinkat]: Make code unconditional.
312         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
313         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
314         (__ASSUME_ATFCTS): Do not undefine and redefine.
315         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
316         <kernel-features.h>.
317         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
318         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
319         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
320         <kernel-features.h>.
321         (__xmknodat) [__NR_mknodat]: Make code unconditional.
322         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
323
324 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
325
326         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
327
328 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
329
330         [BZ #17069]
331         * posix/regcomp.c (parse_reg_exp): Deallocate partially
332         constructed tree before returning error.
333         * posix/bug-regexp36.c: Expand test case.
334
335 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
336
337         [BZ #6803]
338         * math/libm-test.inc (scalbln_test_date):
339         Add errno expectations.
340         * math/w_scalblnf.c: New File.
341         Add wrapper which checks for setting errno to ERANGE.
342         Add weak_alias for corresponding scalbln function.
343         * math/w_scalbln.c: Likewise.
344         * math/w_scalblnl.c: Likewise.
345         * math/Makefile (libm-calls): Add w_scalbln.
346         * sysdeps/ieee754/flt-32/s_scalblnf.c:
347         Remove weak_alias for corresponding scalbln function.
348         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
349         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
350         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
351         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
352         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
353         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
354         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
355         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
356         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
357         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
358         Remove long_double_symbol for scalblnl function in libm, libc.
359         * sysdeps/ieee754/ldbl-64-128/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, libc.
362         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
363         Remove long_double_symbol for scalblnl in libm.
364         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
365         Add wrapper which checks for setting errno to ERANGE.
366         Add long_double_symbol for scalblnl function in libm.
367         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
368         Do not use wrapper because of own implementation.
369
370 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
371
372         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
373         3 bytes for __pad1 for x32.
374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
375
376 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
377             H.J. Lu  <hongjiu.lu@intel.com>
378
379         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
380         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
381         * sysdeps/x86_64/multiarch/memset.S: Likewise.
382         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
383         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
384
385 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
386
387         [BZ #17069]
388         * posix/regcomp.c (parse_expression): Deallocate partially
389         constructed tree before returning error.
390         * posix/Makefile.c (tests): Add bug-regex36.
391         (generated): Add bug-regex36.mtrace.
392         (tests-special): Add $(objpfx)bug-regex36-mem.out
393         (bug-regex36-ENV): New variable.
394         ($(objpfx)bug-regex36-mem.out): New rule.
395         * posix/bug-regex36.c: New file.
396
397 2014-06-19  Will Newton  <will.newton@linaro.org>
398
399         * malloc/malloc.c (systrim): If extra is zero then return
400         early.
401
402 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
403
404         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
405
406 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
407
408         * sysdeps/aarch64/strchr.S: New file.
409
410 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
411
412         [BZ #17022]
413         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
414         from arguments -2 or below.
415         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
416         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
417
418 2014-06-18  Andreas Schwab  <schwab@suse.de>
419
420         [BZ #17062]
421         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
422         of a bracket expr not to run off the end of the string.
423         * posix/Makefile (tests): Add tst-fnmatch3.
424         * posix/tst-fnmatch3.c: New file.
425
426 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
427
428         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
429         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
430         [$(cross-compiling) = no]: Likewise.
431         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
432         [$(cross-compiling) = no]: Likewise.
433
434 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
435
436         [BZ #17031]
437         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
438         double, adjusted for any remainder from the high double.
439         * math/libm-test.inc (nearbyint): Add tests.
440         (rint): Likewise.
441
442 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
443
444         * nptl/sysdeps/powerpc/Makefile: Moved ...
445         * sysdeps/powerpc/nptl/Makefile: ... here.
446         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
447         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
448         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
449         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
450         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
451         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
452         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
453         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
454         * nptl/sysdeps/powerpc/tls.h: Moved ...
455         * sysdeps/powerpc/nptl/tls.h: ... here.
456
457 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
458
459         [BZ #16681]
460         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
461         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
462         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
463         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
464         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
465         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
466         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
467         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
468         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
469
470 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
471
472         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
473
474 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
475
476         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
477         defined operator.
478
479         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
480         $TIMEOUTFACTOR.
481
482 2014-06-16  Florian Weimer  <fweimer@redhat.com>
483
484         [BZ #17058]
485         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
486         non-executed part of the test.
487
488 2014-06-16  Andreas Schwab  <schwab@suse.de>
489
490         * string/bits/string2.h (strdup, strndup): Update feature guard.
491
492 2014-06-14  David S. Miller  <davem@davemloft.net>
493
494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
495
496 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
497
498         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
499         that was previously under [RESET_PID].
500         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
501
502         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
503         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
504         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
505         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
506         (__libc_vfork): New strong alias.
507         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
508
509 2014-06-14 Andi Kleen  <ak@linux.intel.com>
510
511         * sysdeps/generic/elide.h: New file.
512
513 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
514
515         * Makefile (installed-headers): Adjust path of pthread.h header.
516
517 2014-06-13  Roland McGrath  <roland@hack.frob.com>
518
519         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
520         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
521         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
522         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
523
524         * nptl/sysdeps/s390/Makefile: Moved ...
525         * sysdeps/s390/nptl/Makefile: ... here.
526         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
527         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
528         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
529         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
530         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
531         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
532         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
533         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
534         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
535         * sysdeps/s390/nptl/pthreaddef.h: ... here.
536         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
537         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
538         * nptl/sysdeps/s390/tls.h: Moved ...
539         * sysdeps/s390/nptl/tls.h: ... here.
540
541         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
542         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
543
544 2014-06-13  David S. Miller  <davem@davemloft.net>
545
546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
549         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
553         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
554         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
555         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
556         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
557         Remove RESET_PID cpp guards.
558         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
559         Remove RESET_PID cpp guards.
560         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
561
562 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
563
564         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
565         __sp to uintptr_t.
566
567 2014-06-13  Andi Kleen  <ak@linux.intel.com>
568
569         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
570         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
571         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
572         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
573         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
574         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
575         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
576         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
577         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
578         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
579         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
580         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
581         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
582         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
583         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
585         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
586         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
587         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
588         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
589
590         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
591         (pthread_rwlock_rdlock): Add elision.
592         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
593         (pthread_rwlock_wrlock): Add elision.
594         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
595         (pthread_rwlock_trywrlock): Add elision.
596         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
597         (pthread_rwlock_tryrdlock): Add elision.
598         * nptl/pthread_rwlock_unlock.c: Include elide.h.
599         (pthread_rwlock_tryrdlock): Add elision unlock.
600         * nptl/sysdeps/pthread/pthread.h:
601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
602         (PTHREAD_RWLOCK_INITIALIZER,
603         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
604         Handle new elision field.
605         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
606         * sysdeps/arm/nptl/bits/pthreadtypes.h
607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
608         * sysdeps/sh/nptl/bits/pthreadtypes.h
609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
610         * sysdeps/tile/nptl/bits/pthreadtypes.h
611         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
612         * sysdeps/a/nptl/bits/pthreadtypes.h
613         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
614         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
616         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
617         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
618         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
619         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
620         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
622         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
624         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
626         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
627         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
628         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
629         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
630         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
631         (elision_init): Set try_xbegin to zero when no RTM.
632         * sysdeps/x86/nptl/bits/pthreadtypes.h
633         (pthread_rwlock_t): Change __pad1 to __rwelision.
634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
635
636 2014-06-13  Andi Kleen  <ak@linux.intel.com>
637
638         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
639         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
640         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
641         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
642
643 2014-06-13  Meador Inge  <meadori@codesourcery.com>
644
645         [BZ #16996]
646         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
647         that the cached result has been set before returning it.
648
649 2014-06-12  Roland McGrath  <roland@hack.frob.com>
650
651         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
652         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
653         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
654         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
655         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
656         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
657
658         * nptl/sysdeps/sparc/Makefile: Moved ...
659         * sysdeps/sparc/nptl/Makefile: ... here.
660         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
661         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
662         * nptl/sysdeps/sparc/tls.h: Moved ...
663         * sysdeps/sparc/nptl/tls.h: ... here.
664         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
665         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
666         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
667         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
668         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
669         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
670         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
671         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
672         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
673         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
674         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
675         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
676         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
677         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
678         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
679         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
680         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
681         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
682         Update #include.
683         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
684         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
685         Update #include.
686         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
688         Update #include.
689         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
690         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
691         Update #include.
692
693         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
694
695         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
696         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
697
698         * sysdeps/pthread/posix-timer.h: Include <list.h>.
699         (struct list_links): Type removed.
700         (struct thread_node, struct timer_node): Replace struct list_links
701         with struct list_head.
702         (list_unlink_ip): Likewise.
703         * sysdeps/pthread/timer_routines.c
704         (timer_free_list, thread_free_list, thread_active_list): Likewise.
705         (list_append, list_insbefore): Likewise.
706         (list_init): Function removed.
707         (thread_init, init_module): Use INIT_LIST_HEAD instead.
708         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
709         * sysdeps/pthread/Makefile: ... here, new file.
710
711         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
712         * sysdeps/nptl/Implies: ... here.
713         * sysdeps/unix/sysv/linux/Implies: Add nptl.
714         * nptl/sysdeps/pthread/list.h: Moved ...
715         * include/list.h: ... here.
716         * nptl/sysdeps/pthread/createthread.c: Moved ...
717         * nptl/createthread.c: ... here.
718         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
719         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
720         * nptl/pt-longjmp.c: ... here.
721         * nptl/sysdeps/pthread/Makefile: Moved ...
722         * sysdeps/nptl/Makefile: ... here.
723         * nptl/sysdeps/pthread/Subdirs: Moved ...
724         * sysdeps/nptl/Subdirs: ... here.
725         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
726         * sysdeps/nptl/aio_misc.h: ... here.
727         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
728         * sysdeps/nptl/bits/libc-lock.h: ... here.
729         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
730         * sysdeps/nptl/bits/libc-lockP.h: ... here.
731         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
732         * sysdeps/nptl/bits/stdio-lock.h: ... here.
733         * nptl/sysdeps/pthread/configure: Moved ...
734         * sysdeps/nptl/configure: ... here.
735         * nptl/sysdeps/pthread/configure.ac: Moved ...
736         * sysdeps/nptl/configure.ac: ... here.
737         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
738         * sysdeps/nptl/gai_misc.h: ... here.
739         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
740         * sysdeps/nptl/librt-cancellation.c: ... here.
741         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
742         * sysdeps/nptl/malloc-machine.h: ... here.
743         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
744         * sysdeps/nptl/pthread-functions.h: ... here.
745         * nptl/sysdeps/pthread/pthread.h: Moved ...
746         * sysdeps/nptl/pthread.h: ... here.
747         * nptl/sysdeps/pthread/setxid.h: Moved ...
748         * sysdeps/nptl/setxid.h: ... here.
749         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
750         * sysdeps/nptl/sigfillset.c: ... here.
751         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
752         * sysdeps/nptl/tcb-offsets.h: ... here.
753         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
754         * sysdeps/nptl/tst-mqueue8x.c: ... here.
755         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
756         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
757         * nptl/sysdeps/pthread/allocalim.h: Moved ...
758         * sysdeps/pthread/allocalim.h: ... here.
759         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
760         * sysdeps/pthread/bits/sigthread.h: ... here.
761         * nptl/sysdeps/pthread/flockfile.c: Moved ...
762         * sysdeps/pthread/flockfile.c: ... here.
763         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
764         * sysdeps/pthread/ftrylockfile.c: ... here.
765         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
766         * sysdeps/pthread/funlockfile.c: ... here.
767         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
768         * sysdeps/pthread/posix-timer.h: ... here.
769         * nptl/sysdeps/pthread/timer_create.c: Moved ...
770         * sysdeps/pthread/timer_create.c: ... here.
771         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
772         * sysdeps/pthread/timer_delete.c: ... here.
773         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
774         * sysdeps/pthread/timer_getoverr.c: ... here.
775         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
776         * sysdeps/pthread/timer_gettime.c: ... here.
777         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
778         * sysdeps/pthread/timer_routines.c: ... here.
779         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
780         * sysdeps/pthread/timer_settime.c: ... here.
781         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
782         * sysdeps/pthread/tst-timer.c: ... here.
783         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
784         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
785
786         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
787         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
788
789         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
790         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
791         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
792         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
793         Update #include target.
794         * nptl/sysdeps/i386/i686/Makefile: Moved ...
795         * sysdeps/i386/i686/nptl/Makefile: ... here.
796         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
797         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
798         Update #include target.
799         * nptl/sysdeps/i386/i686/tls.h: Moved ...
800         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
801         * nptl/sysdeps/i386/Makefile: Moved ...
802         * sysdeps/i386/nptl/Makefile: ... here.
803         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
804         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
805         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
806         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
807         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
808         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
809         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
810         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
811         * sysdeps/i386/nptl/pthreaddef.h: ... here.
812         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
813         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
814         * nptl/sysdeps/i386/tls.h: Moved ...
815         * sysdeps/i386/nptl/tls.h: ... here.
816
817         * sysdeps/sh/Makefile [$(subdir) = csu]
818         (gen-as-const-headers): Add tcb-offsets.sym.
819         * nptl/sysdeps/sh/Makefile: File removed.
820         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
821         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
822         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
823         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
824         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
825         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
826         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
827         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
828         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
829         * sysdeps/sh/nptl/pthreaddef.h: ... here.
830         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
831         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
832         * nptl/sysdeps/sh/tls.h: Moved ...
833         * sysdeps/sh/nptl/tls.h: ... here.
834         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
835         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
836         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
837         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
838         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
839         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
840         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
841         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
842         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
843         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
844         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
845         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
846         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
847         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
848         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
849         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
850         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
851         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
852         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
853         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
854         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
855         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
856         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
858         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
859         Moved ...
860         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
862         Moved ...
863         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
864         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
865         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
866         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
867         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
868         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
869         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
870         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
871         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
872         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
873         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
874         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
875         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
876         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
877         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
878         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
879         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
880         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
881         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
882
883 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
884
885         * posix/spawn_faction_addopen.c: Include string.h.
886
887 2014-06-11  Roland McGrath  <roland@hack.frob.com>
888
889         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
890         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
891         * nptl/sysdeps/x86_64/Makefile: Moved ...
892         * sysdeps/x86_64/nptl/Makefile: ... here.
893         * nptl/sysdeps/x86_64/configure: Moved ...
894         * sysdeps/x86_64/nptl/configure: ... here.
895         * nptl/sysdeps/x86_64/configure.ac: Moved ...
896         * sysdeps/x86_64/nptl/configure.ac: ... here.
897         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
898         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
899         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
900         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
901         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
902         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
903         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
904         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
905         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
906         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
907         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
908         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
909         * nptl/sysdeps/x86_64/tls.h: Moved ...
910         * sysdeps/x86_64/nptl/tls.h: ... here.
911         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
912         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
913         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
914         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
915
916         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
917
918 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
919
920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
921
922 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
923
924         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
925         type.
926         [POSIX] (off_t): Likewise.
927         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
928         [POSIX] (S_ISBLK): Require macro.
929         [POSIX] (S_ISCHR): Likewise.
930         [POSIX] (S_ISDIR): Likewise.
931         [POSIX] (S_ISFIFO): Likewise.
932         [POSIX] (S_ISREG): Likewise.
933         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
934         optional-macro.
935         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
936         type.
937         [POSIX] (time_t): Likewise.
938         [POSIX] (timer_t): Likewise.
939
940 2014-06-11  Florian Weimer  <fweimer@redhat.com>
941
942         [BZ #17048]
943         * posix/spawn_int.h (struct __spawn_action): Make the path string
944         non-const to support deallocation.
945         * posix/spawn_faction_addopen.c
946         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
947         * posix/spawn_faction_destroy.c
948         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
949         path in all spawn_do_open actions.
950         * posix/tst-spawn.c (do_test): Exercise the copy operation in
951         posix_spawn_file_actions_addopen.
952
953 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
954
955         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
956         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
957         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
958         conditional code always true.
959         (__libc_vfork): New alias.
960
961 2014-06-11  Roland McGrath  <roland@hack.frob.com>
962
963         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
964         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
965
966         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
967
968         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
969         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
970
971         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
972         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
973
974         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
975         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
976
977 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
978
979         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
980         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
981         multiarch strcmp for PPC64.
982         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
983         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
985         multiarch optimizations.
986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
987         (__libc_ifunc_impl_list): Likewise.
988
989 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
990
991         * benchtests/scripts/validate_benchout.py: New script.
992         * benchtests/Makefile (bench-func): Call it.
993         * benchtests/scripts/benchout.schema.json: New file.
994
995 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
996
997         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
998         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
999         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1000         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1001         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1002         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1003         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1004         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1005         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1006         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1007         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1008         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1009         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1010         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1011         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1012         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1014         Moved ...
1015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1016         ... here.
1017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1018         Moved ...
1019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1021         Moved ...
1022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1023         ... here.
1024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1025         Moved ...
1026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1027         ... here.
1028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1029         Moved ...
1030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1034         ... here.
1035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1036         Moved ...
1037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1038         ... here.
1039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1040         Moved ...
1041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1043         Moved ...
1044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1045         ... here.
1046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1047         Moved ...
1048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1049         ... here.
1050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1051         Moved ...
1052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1053         ... here.
1054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1055         Moved ...
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1058         Moved ...
1059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1060         ... here.
1061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1064         ... here.
1065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1066         Moved ...
1067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1068         ... here.
1069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1070         Moved ...
1071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1073         Moved ...
1074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1075         ... here.
1076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1077         Moved ...
1078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1079         ... here.
1080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1081         Moved ...
1082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1084         Moved ...
1085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1086         ... here.
1087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1088         Moved ...
1089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1091         Moved ...
1092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1094         Moved ...
1095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1096         ... here.
1097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1100         ... here.
1101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1102         Moved ...
1103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1104         ... here.
1105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1106         Moved ...
1107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1109         Moved ...
1110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1111         ... here.
1112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1113         Moved ...
1114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1115         ... here.
1116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1117         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1119         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1121         Moved ...
1122         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1123         ... here.
1124         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1125         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1126         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1127         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1128         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1129         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1131         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1133         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1135         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1136         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1137         Moved ...
1138         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1140         Moved ...
1141         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1143         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1145         Moved ...
1146         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1148         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1149         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1150         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1151         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1152         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1153
1154 2014-06-10  Wilco  <wdijkstr@arm.com>
1155
1156         * math/test-fenv-return.c: New file.
1157         * math/Makefile: Add new test test-fenv-return.
1158
1159 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1160
1161         [BZ #17042]
1162         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1163         when x - 1 is zero.
1164         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1165         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1166         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1167         0.0L for an argument of 1.0L.
1168         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1169         Likewise.
1170         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1171         value when x - 1 is zero.
1172         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1173         * sysdeps/i386/fpu/libm-test-ulps: Update.
1174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1175
1176 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1177
1178         [BZ #15119]
1179         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1180
1181 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1182
1183         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1184         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1185
1186 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1187
1188         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1189         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1190
1191         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1192         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1193
1194         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1195         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1196
1197         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1198         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1199
1200         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1201         if not already defined.
1202         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1203         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1204         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1205         (TLS_INIT_TP): Use it.
1206         (TLS_DEFINE_INIT_TP): New macro.
1207         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1208
1209 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1210
1211         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1212         constant.
1213         [POSIX] (IXANY): Likewise.
1214         [POSIX] (OLCUC): Likewise.
1215         [POSIX || POSIX2008] (CBAUD): Do not allow.
1216         [POSIX || POSIX2008] (DEFECHO): Likewise.
1217         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1218         [POSIX || POSIX2008] (ECHOKE): Likewise.
1219         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1220         [POSIX || POSIX2008] (EXTA): Likewise.
1221         [POSIX || POSIX2008] (EXTB): Likewise.
1222         [POSIX || POSIX2008] (FLUSHO): Likewise.
1223         [POSIX || POSIX2008] (LOBLK): Likewise.
1224         [POSIX || POSIX2008] (PENDIN): Likewise.
1225         [POSIX || POSIX2008] (SWTCH): Likewise.
1226         [POSIX || POSIX2008] (VDISCARD): Likewise.
1227         [POSIX || POSIX2008] (VDSUSP): Likewise.
1228         [POSIX || POSIX2008] (VLNEXT): Likewise.
1229         [POSIX || POSIX2008] (VREPRINT): Likewise.
1230         [POSIX || POSIX2008] (VSTATUS): Likewise.
1231         [POSIX || POSIX2008] (VWERASE): Likewise.
1232         (B*): Change to B[0123456789]*.
1233         * conform/data/time.h-data [POSIX || UNIX98]
1234         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1235         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1236         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1237         [POSIX] (tm_*): Do not allow.
1238
1239 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1240
1241         * Makefile (install): Don't set LANGUAGE.
1242         * Makefile.in (install): Likewise.
1243         * assert/Makefile (test-assert-ENV): Remove variable.
1244         (test-assert-perr-ENV): Likewise.
1245         * elf/Makefile (neededtest4-ENV): Likewise.
1246         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1247         [$(cross-compiling) = no]: Don't set LANGUAGE.
1248         * io/ftwtest-sh (LANG): Remove variable.
1249         * libio/Makefile (tst-widetext-ENV): Likewise.
1250         * manual/install.texi (Running make install): Don't refer to
1251         environment settings for make install.
1252         * INSTALL: Regenerated.
1253         * nptl/tst-tls6.sh: Don't set LANG.
1254         * posix/globtest.sh (LANG): Remove variable.
1255         * string/Makefile (tester-ENV): Likewise.
1256         (inl-tester-ENV): Likewise.
1257         (noinl-tester-ENV): Likewise.
1258         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1259         [$(cross-compiling) = no]: Don't set LANGUAGE.
1260         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1261         without explicit environment settings.
1262
1263 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1264
1265         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1266         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1267         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1268         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1269
1270 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1271
1272         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1273         other files in the crypt directory.
1274         * crypt/crypt.c: Remove duplicate includes.
1275         * crypt/crypt-entry.c: Likewise.
1276         * crypt/crypt_util.c: Likewise.
1277
1278 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1279
1280         * Makeconfig (run-program-env): New variable.
1281         (run-program-prefix-before-env): Likewise.
1282         (run-program-prefix-after-env): Likewise.
1283         (run-program-prefix): Define in terms of new variables.
1284         (built-program-cmd-before-env): New variable.
1285         (built-program-cmd-after-env): Likewise.
1286         (built-program-cmd): Define in terms of new variables.
1287         (test-program-prefix-before-env): New variable.
1288         (test-program-prefix-after-env): Likewise.
1289         (test-program-prefix): Define in terms of new variables.
1290         (test-program-cmd-before-env): New variable.
1291         (test-program-cmd-after-env): Likewise.
1292         (test-program-cmd): Define in terms of new variables.
1293         * Rules (make-test-out): Use $(run-program-env).
1294         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1295         (help): Do not mention environment variables.  Mention
1296         --timeoutfactor option.
1297         (timeoutfactor): New variable.
1298         (blacklist_exports): Remove function.
1299         (exports): Remove variable.
1300         (command): Do not include ${exports}.
1301         * manual/install.texi (Configuring and compiling): Do not mention
1302         test wrappers preserving environment variables.  Mention that last
1303         assignment to a variable must take precedence.
1304         * INSTALL: Regenerated.
1305         * benchtests/Makefile (run-bench): Use $(run-program-env).
1306         * catgets/Makefile ($(objpfx)test1.cat): Use
1307         $(built-program-cmd-before-env), $(run-program-env) and
1308         $(built-program-cmd-after-env).
1309         ($(objpfx)test2.cat): Do not specify environment variables
1310         explicitly.
1311         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1312         $(run-program-env) and $(built-program-cmd-after-env).
1313         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1314         $(run-program-env) and $(test-program-cmd-after-env).
1315         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1316         explicitly.
1317         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1318         run_program_env and test_program_cmd_after_env arguments.
1319         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1320         * elf/tst-pathopt.sh: Use run_program_env argument.
1321         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1322         $(test-wrapper-env) and $(run-program-env).
1323         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1324         run_program_env arguments.
1325         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1326         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1327         $(test-program-prefix-before-env), $(run-program-env) and
1328         $(test-program-prefix-after-env).
1329         ($(objpfx)tst-gettext2.out): Likewise.
1330         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1331         run_program_env and test_program_prefix_after_env arguments.
1332         * intl/tst-gettext2.sh: Likewise.
1333         * intl/tst-gettext4.sh: Do not set environment variables
1334         explicitly.
1335         * intl/tst-gettext6.sh: Likewise.
1336         * intl/tst-translit.sh: Likewise.
1337         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1338         $(test-program-prefix-before-env), $(run-program-env) and
1339         $(test-program-prefix-after-env).
1340         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1341         run_program_env and test_program_prefix_after_env arguments.
1342         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1343         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1344         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1345         explicitly with each use of ${test_wrapper_env}.
1346         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1347         $(test-program-prefix-before-env), $(run-program-env) and
1348         $(test-program-prefix-after-env).
1349         * posix/tst-getconf.sh: Do not set environment variables
1350         explicitly.
1351         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1352         run_program_env and test_program_prefix_after_env arguments.
1353         * stdio-common/tst-printf.sh: Do not set environment variables
1354         explicitly.
1355         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1356         $(test-program-prefix-before-env), $(run-program-env) and
1357         $(test-program-prefix-after-env).
1358         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1359         run_program_env and test_program_prefix_after_env arguments.
1360         Split $test calls into $test_pre and $test.
1361         * timezone/Makefile (build-testdata): Use
1362         $(built-program-cmd-before-env), $(run-program-env) and
1363         $(built-program-cmd-after-env).
1364
1365 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1366
1367         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1368         strlen for non SHARED builds.
1369
1370 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1371
1372         * nptl/allocatestack.c (check_list): Inlined function...
1373         (__reclaim_stacks): ... here.
1374
1375 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1376
1377         [BZ #15698]
1378         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1379         memory overrun.
1380
1381 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1382
1383         * Rules (make-test-out): Include
1384         LOCPATH=$(common-objpfx)localedata in default environment.
1385         * debug/Makefile (tst-chk1-ENV): Remove variable.
1386         (tst-chk2-ENV): Likewise.
1387         (tst-chk3-ENV): Likewise.
1388         (tst-chk4-ENV): Likewise.
1389         (tst-chk5-ENV): Likewise.
1390         (tst-chk6-ENV): Likewise.
1391         (tst-lfschk1-ENV): Likewise.
1392         (tst-lfschk2-ENV): Likewise.
1393         (tst-lfschk3-ENV): Likewise.
1394         (tst-lfschk4-ENV): Likewise.
1395         (tst-lfschk5-ENV): Likewise.
1396         (tst-lfschk6-ENV): Likewise.
1397         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1398         (tst-iconv7-ENV): Likewise.
1399         * intl/Makefile (LOCPATH-ENV): Likewise.
1400         (tst-codeset-ENV): Likewise.
1401         (tst-gettext3-ENV): Likewise.
1402         (tst-gettext5-ENV): Likewise.
1403         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1404         (tst-fopenloc-ENV): Likewise.
1405         (tst-fgetws-ENV): Remove variable.
1406         (tst-ungetwc1-ENV): Likewise.
1407         (tst-ungetwc2-ENV): Likewise.
1408         (bug-ungetwc2-ENV): Likewise.
1409         (tst-swscanf-ENV): Likewise.
1410         (bug-ftell-ENV): Likewise.
1411         (tst-fgetwc-ENV): Likewise.
1412         (tst-fseek-ENV): Likewise.
1413         (tst-ftell-partial-wide-ENV): Likewise.
1414         (tst-ftell-active-handler-ENV): Likewise.
1415         (tst-ftell-append-ENV): Likewise.
1416         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1417         (tst-regexloc-ENV): Likewise.
1418         (bug-regex1-ENV): Likewise.
1419         (tst-regex-ENV): Likewise.
1420         (tst-regex2-ENV): Likewise.
1421         (bug-regex5-ENV): Likewise.
1422         (bug-regex6-ENV): Likewise.
1423         (bug-regex17-ENV): Likewise.
1424         (bug-regex18-ENV): Likewise.
1425         (bug-regex19-ENV): Likewise.
1426         (bug-regex20-ENV): Likewise.
1427         (bug-regex22-ENV): Likewise.
1428         (bug-regex23-ENV): Likewise.
1429         (bug-regex25-ENV): Likewise.
1430         (bug-regex26-ENV): Likewise.
1431         (bug-regex30-ENV): Likewise.
1432         (bug-regex32-ENV): Likewise.
1433         (bug-regex33-ENV): Likewise.
1434         (bug-regex34-ENV): Likewise.
1435         (bug-regex35-ENV): Likewise.
1436         (tst-rxspencer-ENV): Likewise.
1437         (tst-rxspencer-no-utf8-ENV): Likewise.
1438         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1439         (tst-sscanf-ENV): Likewise.
1440         (tst-swprintf-ENV): Likewise.
1441         (tst-swscanf-ENV): Likewise.
1442         (test-vfprintf-ENV): Likewise.
1443         (scanf13-ENV): Likewise.
1444         (bug14-ENV): Likewise.
1445         (tst-grouping-ENV): Likewise.
1446         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1447         (tst-strtod3-ENV): Likewise.
1448         (tst-strtod4-ENV): Likewise.
1449         (tst-strtod5-ENV): Likewise.
1450         (testmb2-ENV): Likewise./
1451         * string/Makefile (tst-strxfrm-ENV): Likewise.
1452         (tst-strxfrm2-ENV): Likewise.
1453         (bug-strcoll1-ENV): Likewise.
1454         (test-strcasecmp-ENV): Likewise.
1455         (test-strncasecmp-ENV): Likewise.
1456         * time/Makefile (tst-strptime-ENV): Likewise.
1457         (tst-ftime_l-ENV): Likewise.
1458         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1459         (tst-mbrtowc-ENV): Likewise.
1460         (tst-wcrtomb-ENV): Likewise.
1461         (tst-mbrtowc2-ENV): Likewise.
1462         (tst-c16c32-1-ENV): Likewise.
1463         (tst-mbsnrtowcs-ENV): Likewise.
1464
1465 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1466
1467         * manual/resource.texi (How to get information about the memory
1468         subsystem?): Fix typo.
1469         Reported by Peon de la Parra Ivan <peon@keba.com>
1470
1471 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1472
1473         [BZ #16882]
1474         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1475         (pthread_spin_lock): Branch out of spin loop to proper location.
1476         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1477         (pthread_spin_lock): Likewise.
1478
1479         * nptl/tst-spin4.c: New test.
1480         * nptl/Makefile (tests): Add tst-spin4.
1481
1482 2014-06-03  Andreas Schwab  <schwab@suse.de>
1483
1484         [BZ #15946]
1485         * resolv/res_send.c (send_dg): Reload file descriptor after
1486         calling reopen.
1487
1488 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1489
1490         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1491
1492 2014-06-03  Richard Henderson  <rth@redhat.com>
1493
1494         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1495         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1496         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1497         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1498         in the SAVE_PID block.
1499         (__libc_vfork): New alias.
1500         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1501
1502         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1503         child in registers, not on the stack.  Remove RESET_PID conditionals.
1504         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1505
1506 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1507
1508         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1509
1510 2014-06-03  Wilco  <wdijkstr@arm.com>
1511
1512         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1513         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1514         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1515         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1516         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1517         Likewise.
1518
1519 2014-06-03  Wilco  <wdijkstr@arm.com>
1520
1521         * sysdeps/aarch64/fpu/math_private.h
1522         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1523         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1524         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1525         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1526         Fix declarations.
1527
1528 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1529
1530         * crypt/crypt-private.h: Include ufc-crypt.h.
1531         (__b64_from_24bit): Declare extern.
1532         * crypt/crypt_util.c(__b64_from_24bit): New function.
1533         (b64t): New static const variable.
1534         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1535         (b64t): Remove variable.
1536         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1537         * crypt/sha256-crypt.c: Include crypt-private.h.
1538         (b64t): Remove variable.
1539         (__sha256_crypt_r): Remove b64_from_24bit and replace
1540         with __b64_from_24bit.
1541         * crypt/sha512-crypt.c: Likewise.
1542
1543 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1544
1545         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1546         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1547         Label the code __libc_vfork rather than __vfork.
1548         [!NOT_IN_libc] (vfork): Define as weak alias.
1549         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1550         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1551         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1552
1553 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1554
1555         * malloc/malloc.c (malloc_info): Fix format specifier for
1556         n_mmaps.
1557
1558 2014-06-02  Wilco  <wdijkstr@arm.com>
1559
1560         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1561         FPCR write.
1562
1563 2014-06-02  Wilco  <wdijkstr@arm.com>
1564
1565         [BZ #17009]
1566         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1567         Rewrite to reduce FPCR/FPSR accesses.
1568
1569 2014-06-01  David S. Miller  <davem@davemloft.net>
1570
1571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1572
1573 2014-05-31  David S. Miller  <davem@davemloft.net>
1574
1575         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1576         to occur in round to nearest mode when |x| >= 2.0
1577
1578 2014-05-30  Richard Henderson  <rth@twiddle.net>
1579
1580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1581         (PSEUDO_RET_NOERRNO): Remove.
1582         (ret): Don't redefine.
1583         (ret_NOERRNO): Define in terms of ret.
1584         (ret_ERRVAL): Likewise.
1585
1586         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1587         use of PSEUDO_RET; perform the error check directly.
1588
1589 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1590
1591         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1592         with __int128_t.
1593
1594 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1595
1596         * malloc/malloc (malloc_info): Fix formatting.
1597
1598 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1599             Roland McGrath  <roland@hack.frob.com>
1600
1601         * malloc/malloc (malloc_info): Also print mmapped statistics.
1602
1603 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1604
1605         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1606         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1607
1608 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1609
1610         * malloc/malloc.c (malloc_info): Inline mi_arena.
1611
1612 2014-05-29  Richard Henderson  <rth@twiddle.net>
1613
1614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1615         Remove comma before expanding ASM_ARGS_##nr.
1616         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1617         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1618         of ASM_ARGS_##nr.
1619         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1620         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1621         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1622         (ASM_ARGS_1): Add leading comma.
1623
1624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1625         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1626         to __errno_location.
1627         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1628         Remove the expected plt for __errno_location.
1629
1630         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1631         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1632         call to __read_tp.
1633
1634         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1635         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1636         it and break it down.
1637         (DOCARGS_0, DOCARGS_1): Do nothing.
1638         (DOCARGS_2): Update to store into the new stack frame.
1639         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1640         (UNDOCARGS_1): Update to restore from the new stack frame.
1641         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1642         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1643
1644         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1645         (SINGLE_THREAD_P): New parameter for result regno.
1646         (PSEUDO): Update to match; use cbz instead of beq.
1647
1648         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1649         Use ENTRY to define the _nocancel entry point.  Share the syscall
1650         and syscall error check paths with the cancel path.
1651         (PSEUDO_END): New.
1652
1653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1654         whitespace; tabs before and after asm mnemonics.
1655
1656 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1657
1658         [BZ #15132]
1659         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1660         Call fstat64 or stat64 internally, depending on arguments passed.
1661         Replace stat buffer argument with file descriptor argument.
1662         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1663         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1664         Pass fd to __internal_statvfs instead of calling fstat64.
1665         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1666         Pass fd to __internal_statvfs64 instead of calling fstat64.
1667         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1668         Pass -1 to __internal_statvfs instead of calling stat64.
1669         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1670         Pass -1 to __internal_statvfs64 instead of calling stat64.
1671
1672 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1673
1674         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1675         that was previously under [RESET_PID].
1676         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1677
1678         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1679         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1680
1681 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1682
1683         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1684
1685         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1686         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1687
1688 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1689
1690         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1691
1692 2014-05-27  Andreas Schwab  <schwab@suse.de>
1693
1694         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1695         TLS_INIT_TP macro.
1696         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1697         * elf/rtld.c (init_tls, dl_main): Likewise.
1698         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1699         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1700         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1701         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1702         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1703         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1704         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1705         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1706         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1707         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1708         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1709         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1710         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1711         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1712         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1713         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1714         * sysdeps/generic/tls.h: Update description.
1715
1716 2014-05-27  Will Newton  <will.newton@linaro.org>
1717
1718         [BZ #16990]
1719         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1720         and restore r2 rather than just restoring.
1721
1722 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1723
1724         [BZ #16724]
1725         * libio/tst-ftell-append.c: New test case.
1726         * libio/Makefile (tests): Add test case.
1727         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1728         append mode.
1729         * libio/wfileops.c (do_ftell_wide): Likewise.
1730
1731 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1732
1733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1734
1735         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1736         ...
1737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1739         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1740         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1741         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1742         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1743         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1744         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1746         Moved ...
1747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1749         Moved ...
1750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1751         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1752         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1753         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1754         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1756         ...
1757         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1758         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1759         Moved ...
1760         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1761         here.
1762         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1763         ...
1764         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1766         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1767
1768         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1769         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1771         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1772
1773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1774         merge into ...
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1777         ...
1778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1780         ...
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1783         Moved ...
1784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1785         here.
1786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1787         Moved ...
1788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1790         Moved ...
1791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1792
1793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1794         conditional [RESET_PID].
1795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1797         removed.
1798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1799         removed.
1800
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1802         <tcb-offsets.h>.
1803         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1804         (__libc_vfork): New strong alias.
1805         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1806         removed.
1807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1808         Removed.
1809
1810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1811         <tcb-offsets.h>.
1812         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1813         (__libc_vfork): New strong alias.
1814         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1815         removed.
1816         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1817         removed.
1818
1819 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1820
1821         * malloc/malloc.c (mi_arena): New function.
1822         (malloc_info): Remove nested function mi_arena. Call non-nosted
1823         function mi_arena.
1824
1825 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1826
1827         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1828         by insrwi.
1829         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1830         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1831         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1832         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1833         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1834         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1835         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1836
1837 2014-05-26  Andreas Schwab  <schwab@suse.de>
1838
1839         [BZ #16984]
1840         * locale/programs/repertoire.c (repertoire_read): Add slash
1841         between I18NPATH element and file name.
1842         * locale/programs/locfile.c (locfile_read): Likewise.
1843
1844 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1845
1846         * nptl/pthread_mutexattr_settype.c
1847         (__pthread_mutexattr_settype):
1848         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1849
1850 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1851
1852         * nptl/tst-mutex5 (do_test):
1853         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1854
1855 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1856
1857         * benchtests/README: Document 'init' directive.
1858         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1859         BENCH_INIT.
1860         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1861         (parse_file): Recognize 'init' directive.
1862
1863 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1864
1865         [BZ #16796]
1866         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1867         alignment of struct pthread.
1868
1869 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1870
1871         [BZ #16878]
1872         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1873         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1874         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1875         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1876
1877 2014-05-25  Richard Henderson  <rth@twiddle.net>
1878
1879         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1880         (SINGLE_THREAD_P_PIC): Remove.
1881         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1882         (SINGLE_THREAD_P_PIC): Remove.
1883
1884         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1885         branch to syscall error ...
1886         (PSEUDO): ... here.
1887         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1888         from __local_syscall_error to .Lsyscall_error.
1889         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1890         (SYSCALL_ERROR): Update label name.
1891
1892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1893         Do not use DOARGS/UNDOARGS.
1894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1895         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1896         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1897         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1898         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1899
1900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1901         block comment.
1902
1903         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1904         define if !NOT_IN_libc.
1905         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1906         define with non-default symbol versions.
1907
1908 2014-05-23  Richard Henderson  <rth@twiddle.net>
1909
1910         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1911         (vfork, __vfork): Define via compat_symbol.
1912
1913         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1914         [!HAVE_IFUNC] (vfork_compat): Remove.
1915         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1916
1917 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1918
1919         [BZ #16978]
1920         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1921         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1922         variable.
1923
1924 2014-05-23  Richard Henderson  <rth@twiddle.net>
1925
1926         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1927         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1928         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1929         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1930
1931         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1932         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1933         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1934         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1935         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1936         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1937         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1938         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1939         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1940         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1941         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1942         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1943         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1944         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1948         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1950         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1951         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1952         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1970         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1971         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1972         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1973         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1974         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1975         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1976         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1977         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1978         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1979         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1980         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1981         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1982         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1983         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1984         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1986         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1987
1988         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1989         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1990         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1991         before exiting on error.
1992         (__libc_vfork): New strong alias.
1993         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1994         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1995
1996         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1997         that was previously under [RESET_PID].
1998         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1999
2000         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2001
2002 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2003
2004         [BZ #16977]
2005         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2006         value when x - 1 is zero.
2007         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2008         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2009         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2010         0.0L for an argument of 1.0L.
2011         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2012         Likewise.
2013         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2014         value when x - 1 is zero.
2015         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2016         * sysdeps/i386/fpu/libm-test-ulps: Update.
2017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2018
2019 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2020
2021         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2022         alphasort and versionsort.
2023
2024 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2025
2026         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2027         macro.
2028         [copysignf]: Likewise.
2029
2030 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2031
2032         * crypt/md5-crypt.c: Fix formatting.
2033
2034 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2035
2036         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2037         (b64_from_24bit): New function.
2038
2039 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2040
2041         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2042         libc_hidden_builtin_def to ifunc.
2043         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2044         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2045
2046 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2047
2048         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2049         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2050
2051 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2052
2053         * nscd/Depend (linuxthreads): Remove.
2054         (nptl): Add.
2055         * resolv/Depend (linuxthreads): Remove.
2056         * rt/Depend (linuxthreads): Remove.
2057
2058         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2059         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2060         $(common-objpfx)elf/.
2061         (link-libc-before-gnulib): Likewise.
2062         (elfobjdir): Remove variable.
2063         * Makefile (install): Use $(elf-objpfx) instead of
2064         $(common-objpfx)elf/.
2065         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2066         $(elfobjdir)/.
2067         (link-libc-deps): Likewise.
2068         ($(common-objpfx)libc.so): Likewise.
2069         ($(common-objpfx)linkobj/libc.so): Likewise.
2070         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2071         instead of $(common-objpfx)elf/.
2072         (symbolic-link-list): Likewise.
2073         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2074         [$(cross-compiling) = no]: Likewise.
2075         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2076         $(elfobjdir)/.
2077         (static-gnulib-arch): Likewise.
2078         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2079         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2080         $(common-objpfx)elf/.
2081
2082 2014-05-21  Richard Henderson  <rth@redhat.com>
2083
2084         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2085         (SINGLE_THREAD_P): Use the correct width load.  Fold
2086         into the ldr offset.
2087
2088         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2089         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2090
2091 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2092
2093         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2094         (libgcc_s_resume): Use __attribute_used__.
2095         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2096         Likewise.
2097
2098 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2099
2100         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2101         optimization when used with float constants.
2102
2103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2104
2105 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2106
2107         [BZ #16915]
2108         * locale/nl_langinfo_l.c: Make direct reference to every
2109         _nl_current_CATEGORY symbol.
2110         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2111         (tests-static): Add tst-langinfo-static.
2112         (tests-special): Add tst-langinfo-static.out.
2113         ($(objpfx)tst-langinfo.out): Redirect output.
2114         ($(objpfx)tst-langinfo-static.out): New.
2115         * localedata/tst-langinfo.sh: Send output to stdout.
2116         * localedata/tst-langinfo-static.c: New file.
2117
2118         [BZ #16965]
2119         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2120         when the shift amount is modulo the limb size.
2121
2122 2014-05-20  Richard Henderson  <rth@redhat.com>
2123
2124         [BZ #16967]
2125         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2126         Change type of sa_flags from unsigned int to int.
2127
2128         [BZ #16966]
2129         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2130
2131         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2132
2133 2014-05-20  Will Newton  <will.newton@linaro.org>
2134
2135         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2136         Test the return value of the system call in the nocancel case.
2137
2138 2014-05-20  Will Newton  <will.newton@linaro.org>
2139             Yvan Roux  <yvan.roux@linaro.org>
2140
2141         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2142         #include of asm/ptrace.h.
2143         (PTRACE_GET_THREAD_AREA): Remove #undef.
2144         (PTRACE_GETHBPREGS): Likewise.
2145         (PTRACE_SETHBPREGS): Likewise.
2146         (struct user_regs_struct): New structure.
2147         (struct user_fpsimd_struct): New structure.
2148         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2149         #include of asm/ptrace.h and second #include of sys/user.h.
2150         (PTRACE_GET_THREAD_AREA): Remove #undef.
2151         (PTRACE_GETHBPREGS): Likewise.
2152         (PTRACE_SETHBPREGS): Likewise.
2153         (ELF_NGREG): Use new struct user_regs_struct.
2154         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2155
2156 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2157
2158         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2160
2161 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2162
2163         [BZ #16958]
2164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2165         membar to avoid block loads/stores to overlap previous stores.
2166
2167 2014-05-17  Richard Henderson  <rth@redhat.com>
2168
2169         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2170         Create the __##syscall_name##_nocancel entry point.
2171         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2172         Remove; let the sysdep-cancel.h code create it.
2173
2174 2014-05-17  David S. Miller  <davem@davemloft.net>
2175
2176         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2177         Protect with __USE_GNU.
2178         (TIOCSET_TEMPT): Likewise.
2179         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2180         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2181         these are already provided in bits/ioctl-types.h
2182
2183 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2184
2185         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2186         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2187
2188         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2189         Use wait4 regardless of [__NR_waitpid].
2190
2191 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2192
2193         PR libgcc/60166
2194         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2195         (_FP_NANSIGN_Q): Set the quiet bit.
2196
2197 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2198
2199         * benchtests/Makefile
2200         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2201         not $(common-objpfx)math/libm.so.
2202         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2203         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2204         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2205         $(common-objpfx)dlfcn/libdl.so.
2206         ($(objpfx)tst-audit8): Depend on $(libm), not
2207         $(common-objpfx)math/libm.so.
2208         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2209         not $(common-objpfx)dlfcn/libdl.so.
2210         * math/Makefile
2211         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2212         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2213         [$(build-shared) = yes].
2214         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2215         $(common-objpfx)nptl/libpthread.so.
2216         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2217         $(common-objpfx)math/libm.so$(libm.so-version) or
2218         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2219         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2220         $(common-objpfx)dlfcn/libdl.so.
2221         * setjmp/Makefile (link-libm): Remove variable.
2222         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2223         * stdio-common/Makefile (link-libm): Remove variable.
2224         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2225         * stdlib/Makefile (link-libm): Remove variable.
2226         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2227         ($(objpfx)tst-strtod-round): Likewise.
2228         ($(objpfx)tst-tininess): Likewise.
2229         ($(objpfx)tst-strtod-underflow): Likewise.
2230         ($(objpfx)tst-strtod6): Likewise.
2231         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2232         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2233         $(common-objpfx)dlfcn/libdl.so.
2234
2235 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2236
2237         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2238         BSD terminal modes definitions.
2239
2240 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2241
2242         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2243         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2244
2245         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2246         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2247         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2248         Don't do #include_next.
2249         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2250         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2251         Don't do #include_next.
2252         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2253         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2254         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2255         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2256
2257 2014-05-16  Allan McRae  <allan@archlinux.org>
2258
2259         * po/sv.po: Update Swedish translation from translation project.
2260
2261         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2262         in sed expression.
2263
2264 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2265
2266         [BZ #16917]
2267         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2268         errno if the TIOCGPTN ioctl fails with an error different than
2269         EINVAL.
2270         * login/tst-ptsname.c: New file.
2271         * login/Makefile (tests): Add tst-ptsname.
2272
2273         [BZ #16943]
2274         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2275         and prlimit64.
2276
2277 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2278
2279         [BZ #16849]
2280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2281         herrno to return EAI_AGAIN.
2282
2283 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2284
2285         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2286         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2287         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2288         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2292         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2294         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2296         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2297         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2298         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2299         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2300         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2302         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2304         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2305         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2306         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2307         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2308         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2314         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2316         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2320         Moved ...
2321         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2323         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2331         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2333         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2335         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2337         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2339         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2341         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2343         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2345         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2347         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2349         Moved ...
2350         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2352         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2356         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2358         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2360         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2362         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2364         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2370         Moved ...
2371         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2374
2375         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2376         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2377         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2378         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2379         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2380         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2381         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2382         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2383         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2384         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2385         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2386         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2387         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2388         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2389         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2390         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2391         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2392         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2393         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2394         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2395         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2396         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2397         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2398         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2399         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2400         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2401         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2403         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2404         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2405         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2406
2407         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2408         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2409
2410         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2411         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2412         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2413         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2414         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2415         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2416         Moved ...
2417         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2418         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2419         Moved ...
2420         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2421         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2422         Moved ...
2423         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2425         Moved ...
2426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2427         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2428         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2433         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2435         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2437         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2438         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2439         Moved ...
2440         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2442         Moved ...
2443         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2444         ... here.
2445         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2446         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2447         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2448         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2449         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2450         Moved ...
2451         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2452         ... here.
2453         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2454         Moved ...
2455         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2456         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2457         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2458         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2459         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2460         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2461         Moved ...
2462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2463         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2466         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2467         Moved ...
2468         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2470         Moved ...
2471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2472         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2473         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2475         Moved ...
2476         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2477         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2478         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2480         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2481         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2482         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2483         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2484         Moved ...
2485         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2487         Moved ...
2488         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2489         ... here.
2490         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2491         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2492         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2493         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2494         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2495         Moved ...
2496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2497         ... here.
2498         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2499         Moved ...
2500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2501         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2502         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2503         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2504         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2505         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2506         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2507         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2508         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2510         Moved ...
2511         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2513         Moved ...
2514         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2516         Moved ...
2517         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2519         Moved ...
2520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2521         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2522         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2524         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2525         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2526         Moved ...
2527         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2529         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2531         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2533         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2534         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2535         Moved ...
2536         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2537         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2538         Moved ...
2539         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2540         ... here.
2541         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2542         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2543         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2544         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2545         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2546         Moved ...
2547         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2548         ... here.
2549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2550         Moved ...
2551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2552         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2553         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2554         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2555         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2556         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2557         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2558         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2559         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2560         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2561         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2562
2563         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2564         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2565
2566         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2567         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2568
2569         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2570         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2571         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2573         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2574         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2575         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2576         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2577         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2578         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2580         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2581         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2582         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2583         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2585         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2587         Moved ...
2588         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2592         Moved ...
2593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2597         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2599         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2600         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2601         Moved ...
2602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2604         Moved ...
2605         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2607         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2609         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2611         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2612         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2613         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2614         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2615         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2616         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2617         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2618         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2619         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2620         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2621         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2622
2623         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2624         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2625         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2626         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2627         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2628
2629         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2630         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2631         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2632         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2633         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2634         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2635         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2636         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2637         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2638         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2639
2640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2642
2643         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2644         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2645         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2646         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2647         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2648         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2649         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2650         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2651         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2652         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2653         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2654         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2655         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2656         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2657         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2658         Update #include.
2659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2660         Likewise.
2661         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2662         Likewise.
2663         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2664         Likewise.
2665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2666         Likewise.
2667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2668         Likewise.
2669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2670         Likewise.
2671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2672         Likewise.
2673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2674         Likewise.
2675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2676         Likewise.
2677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2682         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2683         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2684         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2687         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2688         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2689         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2690         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2691         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2692
2693         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2694         that was previously under [RESET_PID].
2695         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2696         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2697         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2698
2699         * sysdeps/i386/nptl/Implies: New file.
2700         * sysdeps/x86_64/nptl/Implies: New file.
2701         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2702         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2703         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2704         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2705
2706         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2707         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2708         (__libc_vfork): New strong alias.
2709         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2710         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2711
2712         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2713         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2714         (__libc_vfork): New strong alias.
2715         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2716         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2717
2718         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2719         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2720         (__libc_vfork): New strong alias.
2721         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2722         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2723         * nptl/pt-vfork.c: New file.
2724         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2725         (libpthread: GLIBC_2.20): New version set (empty).
2726
2727 2014-05-14  Will Newton  <will.newton@linaro.org>
2728
2729         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2730         rather than #if.
2731
2732 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2733
2734         [BZ #16564]
2735         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2736         arguments with exponent 65 or above.
2737         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2738         arguments 0x1p113L or above.
2739         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2740         to arguments 0x1p107L or above.
2741         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2742         positive arguments with exponent 65 or above.
2743         * math/auto-libm-test-in: Add more tests of log1p.
2744         * math/auto-libm-test-out: Regenerated.
2745
2746         [BZ #16928]
2747         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2748         non-finite arguments is +0.
2749         * math/s_cacosf.c (__cacosf): Likewise.
2750         * math/s_cacosl.c (__cacosl): Likewise.
2751         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2752         * sysdeps/i386/fpu/libm-test-ulps: Update.
2753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2754
2755         [BZ #16927]
2756         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2757         value.
2758         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2759         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2760         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2761         for explicit high bit of mantissa when testing for argument equal
2762         to 1.
2763         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2764         * sysdeps/i386/fpu/libm-test-ulps: Update.
2765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2766
2767         [BZ #16516]
2768         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2769         (__erf): Scale by 16 instead of 8 in potentially underflowing
2770         case.  Ensure exception if result actually underflows.
2771         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2772         (__erff): Scale by 16 instead of 8 in potentially underflowing
2773         case.  Ensure exception if result actually underflows.
2774         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2775         (efx8): Remove variable.
2776         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2777         case.  Ensure exception if result actually underflows.
2778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2779         (efx8): Remove variable.
2780         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2781         case.  Ensure exception if result actually underflows.
2782         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2783         (efx8): Remove variable.
2784         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2785         case.  Ensure exception if result actually underflows.
2786         * math/auto-libm-test-in: Add more tests of erf.
2787         * math/auto-libm-test-out: Regenerated.
2788
2789 2014-05-14  Andreas Schwab  <schwab@suse.de>
2790
2791         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2792         Remove code conditionalized on USE___THREAD.
2793
2794         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2795         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2796         not definedness.
2797
2798 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2799
2800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2801         Define unconditionally.
2802         (__ASSUME_O_CLOEXEC): Likewise.
2803         (__ASSUME_SOCK_CLOEXEC): Likewise.
2804         (__ASSUME_IN_NONBLOCK): Likewise.
2805         (__ASSUME_PIPE2): Likewise.
2806         (__ASSUME_EVENTFD2): Likewise.
2807         (__ASSUME_SIGNALFD4): Likewise.
2808         (__ASSUME_DUP3): Likewise.
2809         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2810         (__ASSUME_DUP3): Do not define.
2811         (__ASSUME_EVENTFD2): Likewise.
2812         (__ASSUME_IN_NONBLOCK): Likewise.
2813         (__ASSUME_O_CLOEXEC): Likewise.
2814         (__ASSUME_PIPE2): Likewise.
2815         (__ASSUME_SIGNALFD4): Likewise.
2816         (__ASSUME_SOCK_CLOEXEC): Likewise.
2817         (__ASSUME_UTIMES): Undefine.
2818         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2819         (__ASSUME_UTIMES): Do not define.
2820         (__ASSUME_O_CLOEXEC): Likewise.
2821         (__ASSUME_SOCK_CLOEXEC): Likewise.
2822         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2823         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2824         0x020621].
2825         (__ASSUME_PIPE2): Likewise.
2826         (__ASSUME_EVENTFD2): Likewise.
2827         (__ASSUME_SIGNALFD4): Likewise.
2828         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2829         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2830         Do not define.
2831         (__ASSUME_EVENTFD2): Likewise.
2832         (__ASSUME_SIGNALFD4): Likewise.
2833         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2834         (__ASSUME_32BITUIDS): Likewise.
2835         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2836         (__ASSUME_IPC64): Likewise.
2837         (__ASSUME_ST_INO_64_BIT): Likewise.
2838         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2839         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2840         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2841         (__ASSUME_UTIMES): Do not define.
2842         (__ASSUME_PSELECT): Likewise.
2843         (__ASSUME_PPOLL): Likewise.
2844         (__ASSUME_O_CLOEXEC): Likewise.
2845         (__ASSUME_SOCK_CLOEXEC): Likewise.
2846         (__ASSUME_IN_NONBLOCK): Likewise.
2847         (__ASSUME_PIPE2): Likewise.
2848         (__ASSUME_EVENTFD2): Likewise.
2849         (__ASSUME_SIGNALFD4): Likewise.
2850         (__ASSUME_DUP3): Likewise.
2851         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2852         (__ASSUME_UTIMES): Likewise.
2853         (__ASSUME_O_CLOEXEC): Likewise.
2854         (__ASSUME_SOCK_CLOEXEC): Likewise.
2855         (__ASSUME_IN_NONBLOCK): Likewise.
2856         (__ASSUME_PIPE2): Likewise.
2857         (__ASSUME_EVENTFD2): Likewise.
2858         (__ASSUME_SIGNALFD4): Likewise.
2859         (__ASSUME_DUP3): Likewise.
2860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2861         (__ASSUME_UTIMES): Likewise.
2862         (__ASSUME_O_CLOEXEC): Likewise.
2863         (__ASSUME_SOCK_CLOEXEC): Likewise.
2864         (__ASSUME_IN_NONBLOCK): Likewise.
2865         (__ASSUME_PIPE2): Likewise.
2866         (__ASSUME_EVENTFD2): Likewise.
2867         (__ASSUME_SIGNALFD4): Likewise.
2868         (__ASSUME_DUP3): Likewise.
2869         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2870         Likewise.
2871         (__ASSUME_UTIMES): Likewise.
2872         (__ASSUME_EVENTFD2): Likewise.
2873         (__ASSUME_SIGNALFD4): Likewise.
2874         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2875         (__ASSUME_O_CLOEXEC): Likewise.
2876         (__ASSUME_SOCK_CLOEXEC): Likewise.
2877         (__ASSUME_IN_NONBLOCK): Likewise.
2878         (__ASSUME_PIPE2): Likewise.
2879         (__ASSUME_EVENTFD2): Likewise.
2880         (__ASSUME_SIGNALFD4): Likewise.
2881         (__ASSUME_DUP3): Likewise.
2882         (__ASSUME_UTIMES): Undefine.
2883
2884         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2885         feclearexcept.  Remove symbol versioning code.
2886         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2887         symbol versioning code.
2888         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2889         symbol versioning code.
2890         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2891         feupdateenv.  Remove symbol versioning code.
2892         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2893         fegetexceptflag.  Remove symbol versioning code.
2894         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2895         fesetexceptflag.  Remove symbol versioning code.
2896         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2897         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2898         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2899         (__posix_fadvise64_l32): Remove prototype.
2900         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2901         code.
2902
2903 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2904
2905         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2906         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2907         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2908         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2909
2910 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2911
2912         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2913         current working directory
2914
2915 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2916
2917         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2918         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2919         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2920         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2921         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2922         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2923         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2924         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2926         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2927         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2928         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2929         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2930         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2931         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2932         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2934         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2935         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2936         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2937         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2938         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2942         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2946         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2950         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2951         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2952         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2953         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2954         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2955         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2956         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2957         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2958         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2959
2960         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2961         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2962
2963         * sysdeps/unix/sysv/linux/arm/Makefile
2964         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2965         Add rt-aeabi_unwind_cpp_pr1.
2966         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2967         Add nptl-aeabi_unwind_cpp_pr1.
2968         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2969         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2970         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2971         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2972         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2973         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2974
2975         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2976         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2977         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2978         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2979
2980         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2981         Deconditionalize the code that was previously under [RESET_PID].
2982         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2983
2984         * sysdeps/generic/exit-thread.h: New file.
2985         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2986         * include/unistd.h (__exit_thread): Remove declaration.
2987         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2988         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2989         * csu/libc-start.c: Include <exit-thread.h>.
2990         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2991         * nptl/pthread_create.c: Include <exit-thread.h>.
2992         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2993         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2994         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2995         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2996         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2997         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2998         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2999         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3000         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3001         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3002         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3003         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3004         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3005         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3006         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3007         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3008         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3009
3010 2014-05-13  Andreas Schwab  <schwab@suse.de>
3011
3012         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3013
3014 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3015
3016         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3017         (__ASSUME_UTIMES): Do not condition on kernel version.
3018         (__ASSUME_PSELECT): Define unconditionally.
3019         (__ASSUME_PPOLL): Likewise.
3020         (__ASSUME_ATFCTS): Likewise.
3021         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3022         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3023         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3024         (__ASSUME_UTIMENSAT): Define unconditionally.
3025         (__ASSUME_PRIVATE_FUTEX): Likewise.
3026         (__ASSUME_FALLOCATE): Likewise.
3027         (__ASSUME_O_CLOEXEC): Likewise.
3028         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3029         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3030         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3031         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3032         (__ASSUME_IN_NONBLOCK): Likewise.
3033         (__ASSUME_PIPE2): Likewise.
3034         (__ASSUME_EVENTFD2): Likewise.
3035         (__ASSUME_SIGNALFD4): Likewise.
3036         (__ASSUME_DUP3): Likewise.
3037         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3038         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3039         (__ASSUME_AT_RANDOM): Likewise.
3040         (__ASSUME_PREADV): Likewise.
3041         (__ASSUME_PWRITEV): Likewise.
3042         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3043         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3044         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3045         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3046         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3047         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3048         (__ASSUME_O_CLOEXEC): Define unconditionally.
3049         (__ASSUME_PSELECT): Do not undefine conditionally.
3050         (__ASSUME_PPOLL): Likewise.
3051         (__ASSUME_ATFCTS): Likewise.
3052         (__ASSUME_SET_ROBUST_LIST): Likewise.
3053         (__ASSUME_UTIMENSAT): Likewise.
3054         (__ASSUME_FDATASYNC): Define unconditionally.
3055         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3056         (__ASSUME_SIGFRAME_V2): Likewise.
3057         )__ASSUME_EVENTFD2): Likewise.
3058         (__ASSUME_SIGNALFD4): Likewise.
3059         (__ASSUME_PSELECT): Do not undefine conditionally.
3060         (__ASSUME_PPOLL): Likewise.
3061         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3062         (__ASSUME_PSELECT): Define unconditionally.
3063         (__ASSUME_PPOLL): Likewise.
3064         (__ASSUME_O_CLOEXEC): Likewise.
3065         (__ASSUME_SOCK_CLOEXEC): Likewise.
3066         (__ASSUME_IN_NONBLOCK): Likewise.
3067         (__ASSUME_PIPE2): Likewise.
3068         (__ASSUME_EVENTFD2): Likewise.
3069         (__ASSUME_SIGNALFD4): Likewise.
3070         (__ASSUME_DUP3): Likewise.
3071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3072         (__ASSUME_O_CLOEXEC): Likewise.
3073         (__ASSUME_SOCK_CLOEXEC): Likewise.
3074         (__ASSUME_IN_NONBLOCK): Likewise.
3075         (__ASSUME_PIPE2): Likewise.
3076         (__ASSUME_EVENTFD2): Likewise.
3077         (__ASSUME_SIGNALFD4): Likewise.
3078         (__ASSUME_DUP3): Likewise.
3079         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3080         (__ASSUME_EVENTFD2): Likewise.
3081         (__ASSUME_SIGNALFD4): Likewise.
3082         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3083
3084 2014-05-12  Andreas Schwab  <schwab@suse.de>
3085
3086         [BZ #16932]
3087         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3088         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3089         than maximum RPC packet size.
3090         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3091         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3092         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3093         (_nss_nis_getservbyport_r): Likewise.
3094
3095 2014-05-12  Will Newton  <will.newton@linaro.org>
3096
3097         * malloc/Makefile (tests): Add tst-mallopt.
3098         * malloc/tst-mallopt.c: New file.
3099
3100 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3101
3102         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3103         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3104
3105 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3106
3107         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3108         (tst-tlsmod6.so): Likewise.
3109
3110 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3111
3112         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3113
3114 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3115
3116         [BZ #16064]
3117         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3118         and <dl-procinfo.h>.
3119         (__fegetenv): Save SSE state in envp->__eip if supported.
3120         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3121         envp->__eip if supported.
3122         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3123         and <dl-procinfo.h>.
3124         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3125         __data_offset and __data_selector in environment to 0.  Set SSE
3126         state if supported.
3127         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3128         test-fenv-sse.
3129         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3130         -mfpmath=sse.
3131         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3132
3133 2014-05-09  Will Newton  <will.newton@linaro.org>
3134
3135         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3136         and libc_relro_required for ARM.
3137         * sysdeps/arm/preconfigure: Regenerate.
3138
3139 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3140             Stefan Liebler  <stli@linux.vnet.ibm.com>
3141
3142         * config.make.in (enable-lock-elision): New Makefile variable.
3143         * configure.ac: Likewise.
3144         * configure: Regenerate.
3145         * sysdeps/s390/configure.ac:
3146         Add check for gcc transactions support.
3147         * sysdeps/s390/configure: Regenerate.
3148         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3149         Build elision files if enabled.
3150         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3151         Add lock elision support for s390.
3152         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3153         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3154         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3155         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3156         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3157         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3158         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3159         Likewise.
3160         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3161         Likewise.
3162         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3163         Likewise.
3164         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3165         Likewise.
3166         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3167         (__lll_timedlock_elision, __lll_lock_elision)
3168         (__lll_unlock_elision, __lll_trylock_elision)
3169         (lll_timedlock_elision, lll_lock_elision)
3170         (lll_unlock_elision, lll_trylock_elision): Add.
3171         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3172         (pthread_mutex_t): Add lock elision support for s390.
3173
3174 2014-05-14  Wilco  <wdijkstr@arm.com>
3175
3176         * sysdeps/arm/fclrexcpt.c: Cleanup.
3177         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3178         * sysdeps/arm/feenablxcpt.c: Cleanup.
3179         * sysdeps/arm/fegetenv.c: Cleanup.
3180         * sysdeps/arm/fegetexcept.c: Cleanup.
3181         * sysdeps/arm/fegetround.c: Cleanup.
3182         * sysdeps/arm/feholdexcpt.c: Cleanup.
3183         * sysdeps/arm/fesetenv.c: Cleanup.
3184         * sysdeps/arm/fesetround.c: Cleanup.
3185         * sysdeps/arm/feupdateenv.c: Cleanup.
3186         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3187         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3188         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3189         * sysdeps/arm/ftestexcept.c: Cleanup.
3190         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3191         * sysdeps/arm/setfpucw.c: Cleanup.
3192
3193 2014-05-09  Will Newton  <will.newton@linaro.org>
3194
3195         * sysdeps/arm/armv7/strcmp.S: New file.
3196         * NEWS: Mention addition of ARMv7 optimized strcmp.
3197
3198 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3199
3200         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3201         look for %.ac rather than %.in.
3202
3203         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3204         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3205         * sysdeps/mach/hurd/configure: Regenerated.
3206         * sysdeps/unix/sysv/linux/configure: Regenerated.
3207
3208         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3209
3210 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3211
3212         [BZ# 16922]
3213         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3214         (LONG_SUB): Ditto.
3215         (PTR_SUB): Ditto.
3216
3217 2014-05-07  Andreas Schwab  <schwab@suse.de>
3218
3219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3220         when skipping over non-matching result from nscd.
3221
3222 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3223
3224         [BZ #16876]
3225         * nptl/sockperf.c (client): Check socket return value.
3226
3227         [BZ #16877]
3228         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3229         nscd security class.
3230
3231 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3232
3233         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3234         * sysdeps/arm/unwind.h: ... here.
3235
3236 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3237
3238         [BZ# 16916]
3239         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3240         Define.
3241
3242 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3243
3244         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3245         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3246         multiarch strncpy for PPC64.
3247         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3248         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3250         multiarch optimizations.
3251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3252         (__libc_ifunc_impl_list): Likewise.
3253         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3254         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3255         multiarch stpncpy for PPC64.
3256         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3257         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3258
3259 2014-05-06  Andreas Schwab  <schwab@suse.de>
3260
3261         [BZ #16912]
3262         * gmon/mcount.c (_MCOUNT_DECL): Use
3263         atomic_compare_and_exchange_bool_acq instead of
3264         catomic_compare_and_exchange_bool_acq.
3265
3266 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3267
3268         * elf/Makefile (others, install-bin): Remove pldd.
3269         (pldd-modules): Variable removed.
3270         ($(objpfx)pldd): Target removed.
3271         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3272         (others, install-bin): Append pldd here.
3273         ($(objpfx)pldd): New target.
3274
3275         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3276         to 0, so the first #if test emitted later doesn't see it undefined.
3277         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3278         * sysdeps/gnu/errlist.c: Regenerated.
3279
3280 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3281
3282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3283         [libc_hidden_builtin_def]: Define to empty value.
3284         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3285         [libc_hidden_builtin_def]: Likewise.
3286         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3287         [libc_hidden_builtin_def]: Likewise.
3288         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3289         [libc_hidden_builtin_def]: Likewise.
3290         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3291         __redirect_memcpy and define ifunc as default hidden symbol.
3292         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3293         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3294
3295 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3296
3297         * locale/iso-4217.def: Reintroduce XDR currency.
3298
3299 2014-05-04  Allan McRae  <allan@archlinux.org>
3300
3301         * po/eo.po: Update Esperanto translation from translation project.
3302
3303 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3304
3305         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3306         and FEATURE_INDEX_MAX to 1.
3307         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3308
3309 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3310
3311         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3312         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3313         * iconvdata/big5.c (ONE_DIRECTION): Define.
3314         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3315         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3316         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3317         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3318         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3319         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3320         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3321         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3322         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3323         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3324         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3325         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3326         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3327         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3328         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3329         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3330         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3331         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3332         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3333         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3334         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3335         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3336         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3337         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3338         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3339         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3340         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3341         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3342         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3343         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3344         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3345         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3346         * iconvdata/johab.c (ONE_DIRECTION): Define.
3347         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3348         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3349         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3350         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3351         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3352         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3353         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3354         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3355         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3356         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3357
3358 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3359
3360         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3361         (_IO_JUMPS_OFFSET): Define to 0.
3362
3363         * nptl/sysdeps/pthread/bits/libc-lock.h
3364         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3365         (__libc_lock_define_initialized_recursive): Always define using
3366         initializer.  Modern compilers treat uninitialized (implicit zero) and
3367         explicit zero initializers the same (i.e. put the datum in bss).
3368
3369 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3370
3371         * nscd/nscd-client.h: Include <string.h>.
3372
3373 2014-05-01  David S. Miller  <davem@davemloft.net>
3374
3375         [BZ #16885]
3376         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3377         multiple zero bytes exist at the end of a string.
3378         Reported by Aurelien Jarno <aurelien@aurel32.net>
3379
3380         * string/test-strcmp.c (check): Add explicit test for situations where
3381         there are multiple zero bytes after the first.
3382
3383 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3384
3385         [BZ #16890]
3386         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3387         when compiling wprintf.
3388         * stdio-common/tstdiomisc.c (t3): New function.
3389         (main): Call it.
3390
3391 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3392
3393         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3394         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3395         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3396         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3397
3398 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3399
3400         * stdlib/longlong.h: Updated from GCC.
3401
3402 2014-05-01  Will Newton  <will.newton@linaro.org>
3403             Bernard Ogden  <bernie.ogden@linaro.org>
3404
3405         * NEWS: Update fixed bug list.
3406
3407         [BZ #15119]
3408         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3409
3410 2014-04-30  David S. Miller  <davem@davemloft.net>
3411
3412         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3413         (libc_feholdexcept_setround_sparc_ctx): New function.
3414         (libc_fesetenv_sparc_ctx): Likewise.
3415         (libc_feupdateenv_sparc_ctx): Likewise.
3416         (libc_feholdsetround_sparc_ctx): Likewise.
3417         (libc_feholdexcept_setround_ctx): Define.
3418         (libc_feholdexcept_setroundf_ctx): Likewise.
3419         (libc_feholdexcept_setroundl_ctx): Likewise.
3420         (libc_fesetenv_ctx): Likewise.
3421         (libc_fesetenvf_ctx): Likewise.
3422         (libc_fesetenvl_ctx): Likewise.
3423         (libc_feupdateenv_ctx): Likewise.
3424         (libc_feupdateenvf_ctx): Likewise.
3425         (libc_feupdateenvl_ctx): Likewise.
3426         (libc_feresetround_ctx): Likewise.
3427         (libc_feresetroundf_ctx): Likewise.
3428         (libc_feresetroundl_ctx): Likewise.
3429         (libc_feholdsetround_ctx): Likewise.
3430         (libc_feholdsetroundf_ctx): Likewise.
3431         (libc_feholdsetroundl_ctx): Likewise.
3432
3433         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3434         with __USE_GNU instead of XOPEN cpp guards.
3435
3436         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3437         0.
3438
3439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3440         with XOPEN cpp guards.
3441
3442 2014-04-30  Julian Brown  <julian@codesourcery.com>
3443
3444         [BZ #16888]
3445         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3446         handling.
3447
3448 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3449
3450         [BZ #9894]
3451         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3452         Change to 2.6.32.
3453         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3454         * sysdeps/unix/sysv/linux/configure: Regenerated.
3455         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3456         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3457         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3458         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3459         * README: Update reference to required Linux kernel version.
3460         * manual/install.texi (Linux): Update reference to required Linux
3461         kernel headers version.
3462         * INSTALL: Regenerated.
3463
3464         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3465         header inclusion.
3466         [POSIX] (limits.h): Likewise.
3467         [POSIX] (math.h): Likewise.
3468         [POSIX] (sys/wait.h): Likewise.
3469         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3470         function.
3471         [POSIX] (stddef.h): Do not allow header inclusion.
3472
3473 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3474
3475         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3476
3477 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3478
3479         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3480         Return immediately after lll_futex_wake.
3481
3482 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3483
3484         [BZ #16791]
3485         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3486         structure.
3487         (datahead_init_pos): Call datahead_init_common early.
3488         (datahead_init_neg): Likewise.
3489
3490         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3491         datahead_init_neg): New functions.
3492         * nscd/aicache.c (addhstaiX): Use them.
3493         * nscd/grpcache.c (cache_addgr): Likewise.
3494         * nscd/hstcache.c (cache_addhst): Likewise.
3495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3496         * nscd/netgroupcache.c (do_notfound): Likewise.
3497         (addgetnetgrentX): Likewise.
3498         (addinnetgrX): Likewise.
3499         * nscd/pwdcache.c (cache_addpw): Likewise.
3500         * nscd/servicescache.c (cache_addserv): Likewise.
3501
3502 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3503             Atsushi Onoe  <atsushi@onoe.org>
3504
3505         [BZ #14308]
3506         [BZ #12994]
3507         [BZ #13651]
3508         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3509         one response is valid.
3510         * resolv/res_send.c (send_dg): Check for validity of other
3511         response if the current response is a referral.
3512
3513 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3514
3515         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3516
3517 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3518
3519         [BZ #16823]
3520         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3521         Always divide by positive zero when computing -Inf result.
3522         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3523         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3524
3525 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3526
3527         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3528         FPSCR if value do not change.
3529         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3530         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3531         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3532         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3533         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3534         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3535         function.
3536
3537 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3538
3539         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3540         * sysdeps/unix/sysv/linux/hppa: Move directory from
3541         ports/systeps/unix/sysv/linux/hppa.
3542         * README: Update listing for hppa-*-linux-gnu.
3543
3544 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3545
3546         [BZ #16754]
3547         * manual/stdio.texi (Hook functions): Fix types of stream hook
3548         functions.
3549         [BZ #16854]
3550         * socket/sys/socket.h: Fix typo in comment.
3551
3552 2014-04-28  Wilco  <wdijkstr@arm.com>
3553
3554         * sysdeps/arm/fenv_private.h: New file.
3555         * sysdeps/arm/math_private.h: New file.
3556         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3557
3558 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3559
3560         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3561         with __int128_t.
3562         (La_x86_64_retval): Likewise.
3563
3564 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3565
3566         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3567         fpsr if value didn't change.
3568         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3569         to fpcr if value didn't change.
3570         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3571         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3572         fpsr or fpcr if value didn't change.
3573         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3574         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3575         fpcr if value didn't change.
3576         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3577         to fpsr if value didn't change.
3578
3579 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3580
3581         * nptl/tst-sem3.c: Use test-skeleton.c
3582         (main): Rename to do_test.  Use return instead of
3583         exit.
3584         * nptl/tst-sem4.c: Use test-skeleton.c
3585         (main): Rename to do_test.
3586
3587 2014-04-22  David S. Miller  <davem@davemloft.net>
3588
3589         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3590         (struct sigaction): New struct member __glibc_reserved0, change
3591         type of sa_flags to int.
3592
3593 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3594
3595         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3596         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3597
3598 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3599
3600         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3601         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3602
3603 2014-04-22  Will Newton  <will.newton@linaro.org>
3604             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3605
3606         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3607         (__longjmp): Add longjmp and longjmp_target SystemTap
3608         probes.
3609         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3610         (__sigsetjmp): Add setjmp SystemTap probe.
3611
3612 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3613
3614         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3615         match manual order.
3616
3617 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3618
3619         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3620
3621         * sysdeps/powerpc/fpu/fenv_private.h
3622         (libc_feholdexcept_setroundl_ctx): Define to
3623         libc_feholdexcept_setround_ppc_ctx.
3624         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3625         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3626         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3627         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3628
3629 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3630
3631         * sysdeps/aarch64/math-tests.h: New file.
3632
3633 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3634
3635         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3636         New.
3637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3638         Check and set bit_AVX2_Usable.
3639         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3640         macro.
3641         (bit_AVX2): Likewise.
3642         (index_AVX2_Usable): Likewise.
3643         (CPUID_AVX2): Likewise.
3644         (HAS_AVX2): Likewise.
3645
3646 2014-04-17  Will Newton  <will.newton@linaro.org>
3647
3648         * manual/setjmp.texi (System V contexts): Add note that
3649         calling setcontext on a context created by a call to a
3650         signal handler is undefined.  Update text to note that
3651         setcontext from a signal handler is possible but not
3652         recommended.
3653
3654         [BZ #16629]
3655         * stdlib/tst-setcontext.c: Include signal.h.
3656         (main): Check that the signal stack before and
3657         after swapcontext is the same.
3658
3659         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3660         Re-implement to restore registers in user code and avoid
3661         rt_sigreturn system call.
3662
3663 2014-04-17  Wilco  <wdijkstr@arm.com>
3664
3665         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3666         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3667         * math/test-fenv.c: Skip exception trap tests on targets which only
3668         support non-stop mode.
3669
3670 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3671             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3672
3673         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3674         (libc_feholdsetround_aarch64_ctx)
3675         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3676         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3677         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3678         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3679         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3680         (libc_feresetround_noexl_ctx): Define.
3681
3682 2014-04-16  Richard Henderson  <rth@redhat.com>
3683
3684         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3685
3686         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3687         unwind tables.
3688
3689         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3690         const from the non-libc, non-ldso copy.
3691
3692         * sysdeps/alpha/libm-test-ulps: Regenerate.
3693
3694 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3695             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3696
3697         * sysdeps/aarch64/fpu/math_private.h: New file.
3698
3699 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3700
3701         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3702
3703 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3704
3705         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3706         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3708         Intel MPX bound registers before _dl_profile_fixup.
3709         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3710         registers after _dl_profile_fixup.  Save and restore bound
3711         registers bnd0/bnd1 when calling _dl_call_pltexit.
3712         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3713         (LR_BND_OFFSET): Likewise.
3714         (LRV_BND0_OFFSET): Likewise.
3715         (LRV_BND1_OFFSET): Likewise.
3716
3717 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3718
3719         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3720         to...
3721         * sysdeps/mach/hurd/i386/tls.h: ... here.
3722         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3723         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3724         fields.
3725
3726 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3727
3728         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3729
3730 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3731
3732         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3733
3734 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3735
3736         [BZ #14770]
3737         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3738         * sysdeps/s390/configure: Regenerate.
3739
3740         [BZ #16824]
3741         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3742         Set round-to-nearest internally to reduce error accumulation.
3743
3744 2014-04-16  Alan Modra  <amodra@gmail.com>
3745
3746         [BZ #16740]
3747         [BZ #16619]
3748         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3749         * math/libm-test.inc (frexp_test_data): Add tests.
3750         * NEWS: Update fixed bug list.
3751
3752 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3753
3754         * benchtests/Makefile: Depend on libraries in build directory.
3755         (bench-math): Separate out math tests.
3756         (bench-pthread): Separate out pthread tests.
3757         (bench): Include math and pthread tests.
3758
3759 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3760
3761         [BZ #16831]
3762         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3763         _dl_debug_initialize.
3764
3765         * configure.ac: Remove SELinux header check.
3766         * configure: Regenerate.
3767         * nscd/selinux.c (perms): Array of const char* to permission names.
3768         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3769         default policy. Call string_to_security_class and string_to_av_perm to
3770         translate strings. Enforce default policy and call avs_has_perm with
3771         results of translated strings.
3772
3773 2014-04-13  David S. Miller  <davem@davemloft.net>
3774
3775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3776
3777 2014-04-12  Allan McRae  <allan@archlinux.org>
3778
3779         [BZ #16838]
3780         * manual/string.texi (Collation Functions): Fix qsort argument
3781         order in example.
3782         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3783
3784 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3785
3786         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3787         Make the test a no-op if there are no exceptions defined.
3788
3789 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3790
3791         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3792         enable-hardcoded-path-in-tests
3793
3794 2014-04-11  Will Newton  <will.newton@linaro.org>
3795
3796         * benchtests/Makefile (extra-objs): Add json-lib.o.
3797         (bench-func): Tidy up JSON output.
3798         * benchtests/bench-skeleton.c: Include json-lib.h.
3799         (main): Use JSON library functions to do output of
3800         benchmark results.
3801         * benchtests/bench-timing-type.c (main): Output the
3802         timing type simply, leaving formatting to the user.
3803         * benchtests/json-lib.c: New file.
3804         * benchtests/json-lib.h: Likewise.
3805
3806 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3807
3808         [BZ #15215]
3809         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3810         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3811         memory barriers.  Add comments.
3812         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3813         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3814         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3815         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3816         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3817         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3818
3819 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3820
3821         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3822         * sysdeps/s390/s390-64/configure.ac: ... this ...
3823         * sysdeps/s390/configure.ac: ... to here.
3824         * sysdeps/s390/s390-32/configure: Delete file.
3825         * sysdeps/s390/s390-64/configure: Delete file.
3826         * sysdeps/s390/configure: Regenerate.
3827
3828 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3829
3830         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3831
3832 2014-04-11  Will Newton  <will.newton@linaro.org>
3833
3834         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3835         to zero if it is not defined elsewhere.  (mtrim): Test
3836         the value of MALLOC_DEBUG with #if rather than #ifdef.
3837
3838 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3839
3840         * benchtests/pthread_once-inputs: New file.
3841         * benchtests/pthread_once-source.c: New file.
3842         * benchtests/README: Update documentation.
3843
3844 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3845             H.J. Lu  <hongjiu.lu@intel.com>
3846
3847         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3848         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3849         * sysdeps/x86_64/configure: Regenerated.
3850         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3851         macro.
3852         (REGISTER_SAVE_RAX): Likewise.
3853         (REGISTER_SAVE_RCX): Likewise.
3854         (REGISTER_SAVE_RDX): Likewise.
3855         (REGISTER_SAVE_RSI): Likewise.
3856         (REGISTER_SAVE_RDI): Likewise.
3857         (REGISTER_SAVE_R8): Likewise.
3858         (REGISTER_SAVE_R9): Likewise.
3859         (REGISTER_SAVE_BND0): Likewise.
3860         (REGISTER_SAVE_BND1): Likewise.
3861         (REGISTER_SAVE_BND2): Likewise.
3862         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3863         bound registers when calling _dl_fixup.
3864
3865 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3866
3867         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3868         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3869         of its definition.
3870         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3871         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3872         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3873         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3874         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3875         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3876         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3877
3878 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3879
3880         [BZ #15514]
3881         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3882         pathconf(_PC_NAME_MAX).
3883
3884 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3885
3886         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3887         Remove macro usage.
3888         (__PTHREAD_SPINS): Move definition to ...
3889         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3890         (__PTHREAD_SPINS): ... here.
3891         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3892         (__PTHREAD_SPIN): Likewise.
3893         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3894         (__PTHREAD_SPIN): Likewise.
3895         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3896         (__PTHREAD_SPIN): Likewise.
3897         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3898         (__PTHREAD_SPIN): Likewise.
3899         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3900         (__PTHREAD_SPIN): Likewise.
3901         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3902         (__PTHREAD_SPIN): Likewise.
3903         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3904         (__PTHREAD_SPIN): Likewise.
3905         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3906         (__PTHREAD_SPIN): Likewise.
3907         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3908         (__PTHREAD_SPIN): Likewise.
3909         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3910         (__PTHREAD_SPIN): Likewise.
3911         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3912         (__PTHREAD_SPIN): Likewise.
3913         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3914         (__PTHREAD_SPIN): Likewise.
3915
3916         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3917         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3918         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3919         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3920         imply folder.
3921         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3922         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3923         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3924         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3925         correct imply path.
3926         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3927         strlen symbol for non multi-arch builds.
3928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3929         missing hidden_def and weak_alias.
3930
3931 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3932
3933         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3934
3935 2014-04-07  Will Newton  <will.newton@linaro.org>
3936
3937         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3938         and contents.  [!_LIBC] Remove #ifndef and contents.
3939         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3940         * string/memccpy.c (__memccpy): Use ANSI prototype.
3941         * string/memfrob.c (memfrob): Likewise.
3942         * string/strcoll.c (STRCOLL): Likewise.
3943         * string/strlen.c (strlen): Likewise.
3944         * string/strtok.c (STRTOK): Likewise.
3945         * string/strcat.c: Remove unused #include of memcopy.h.
3946         (strcat): Use ANSI prototype.
3947         * string/strchr.c: Remove unused #include of memcopy.h.
3948         (strchr): Use ANSI prototype.
3949         * string/strcmp.c: Remove unused #include of memcopy.h.
3950         (strcmp): Use ANSI prototype.
3951         * string/strcpy.c: Remove unused #include of memcopy.h.
3952         (strcpy): Use ANSI prototype.
3953
3954 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3955
3956         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3957         * config.make.in (config-extra-cppflags): Set it from
3958         libc_extra_cppflags.
3959         * configure.ac (libc_extra_cflags): Make it accumulate over
3960         configure fragments.
3961         (libc_extra_cppflags): New flag.
3962         * configure. Regenerate.
3963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3964         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3965         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3967
3968         [BZ #16815]
3969         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3970         result for FE_DOWNWARD rounding mode.
3971         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3972         Likewise.
3973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3974
3975 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3976
3977         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3978         in function argument name.
3979
3980 2014-04-03  David Svoboda  <svoboda@cert.org>
3981
3982         [BZ #5666]
3983         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3984         explicitly.
3985
3986 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3987
3988         * elf/dl-unmap-segments.h: New file.
3989         * sysdeps/generic/ldsodefs.h
3990         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3991         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3992         * elf/dl-fptr.c: Likewise.
3993         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3994         * sysdeps/aarch64/tlsdesc.c: Likewise.
3995         * sysdeps/arm/tlsdesc.c: Likewise.
3996         * sysdeps/i386/tlsdesc.c: Likewise.
3997         * sysdeps/tile/dl-runtime.c: Likewise.
3998         * sysdeps/x86_64/tlsdesc.c: Likewise.
3999         * elf/dl-load.h: New file.
4000         * elf/dl-load.c: Include it.
4001         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4002         Macros moved to dl-load.h.
4003         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4004         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4005         Use _dl_unmap_segments in place of __munmap.
4006         Break out segment-mapping loop into ...
4007         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4008
4009 2014-04-03  Will Newton  <will.newton@linaro.org>
4010
4011         * elf/dl-lookup.c (do_lookup_x): Remove comment
4012         referring to nested function and move variable
4013         declarations down to before first use.
4014
4015 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4016
4017         [BZ #16799]
4018         [BZ #16800]
4019         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4020         with 0 numerator.
4021         * math/s_catanf.c (__catanf): Likewise.
4022         * math/s_catanh.c (__catanh): Likewise.
4023         * math/s_catanhf.c (__catanhf): Likewise.
4024         * math/s_catanhl.c (__catanhl): Likewise.
4025         * math/s_catanl.c (__catanl): Likewise.
4026         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4027         by positive zero when computing -Inf result.
4028         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4029         (catanh_test): Likewise.
4030         * sysdeps/i386/fpu/libm-test-ulps: Update.
4031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4032
4033         [BZ #16789]
4034         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4035         instead of using underflowing value in computing result.
4036         * math/s_clog10.c (__clog10): Likewise.
4037         * math/s_clog10f.c (__clog10f): Likewise.
4038         * math/s_clog10l.c (__clog10l): Likewise.
4039         * math/s_clogf.c (__clogf): Likewise.
4040         * math/s_clogl.c (__clogl): Likewise.
4041         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4042         (clog10_test): Likewise.
4043         * sysdeps/i386/fpu/libm-test-ulps: Update.
4044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4045
4046 2014-04-02  Alan Modra  <amodra@gmail.com>
4047
4048         [BZ #16739]
4049         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4050         output when value is near a power of two.  Use int64_t for lx and
4051         remove casts.  Use decimal rather than hex exponent constants.
4052         Don't use long double multiplication when double will suffice.
4053         * math/libm-test.inc (nextafter_test_data): Add tests.
4054         * NEWS: Add 16739 and 16786 to bug list.
4055
4056         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4057
4058         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4059
4060 2014-04-01  Will Newton  <will.newton@linaro.org>
4061
4062         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4063         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4064
4065 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4066
4067         [BZ #13347]
4068         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4069         * nptl/tst-setuid2.c: New file.
4070         * nptl/Makefile (xtests): Add tst-setuid2.
4071
4072 2014-04-01  Alan Modra  <amodra@gmail.com>
4073
4074         [BZ #16786]
4075         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4076
4077 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4078
4079         [BZ #6803]
4080         [BZ #6804]
4081         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4082         set errno as appropriate.
4083         * math/w_scalbf.c (__scalbf): Likewise.
4084         * math/w_scalbl.c (__scalbl): Likewise.
4085         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4086         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4087         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4088         Add more NaN tests.
4089
4090         [BZ #16349]
4091         * math/w_atan2.c: Include <errno.h>.
4092         (__atan2): Set errno for result underflowing to zero.
4093         * math/w_atan2f.c: Include <errno.h>.
4094         (__atan2f): Set errno for result underflowing to zero.
4095         * math/w_atan2l.c: Include <errno.h>.
4096         (__atan2l): Set errno for result underflowing to zero.
4097         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4098         tests.
4099         * math/auto-libm-test-out: Regenerated.
4100
4101 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4102
4103         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4104         Encode instruction correctly in little endian.
4105         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4106         Likewise.
4107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4108         Likewise.
4109         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4110         Likewise.
4111         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4112         Likewise.
4113
4114 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4115
4116         [BZ #9894]
4117         * sysdeps/unix/sysv/linux/kernel-features.h
4118         [__sparc__ && !__arch64__ && !__sparc_v9__]
4119         (__ASSUME_SET_ROBUST_LIST): Do not define.
4120         [__sparc__ && !__arch64__ && !__sparc_v9__]
4121         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4122         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4123         Likewise.
4124         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4125         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4126         (__ASSUME_REQUEUE_PI): Likewise.
4127         (__ASSUME_SET_ROBUST_LIST): Likewise.
4128         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4129         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4130         Undefine.
4131         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4132         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4133         Likewise.
4134         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4135         Likewise.
4136         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4137         Likewise.
4138         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4139         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4140         Undefine.
4141         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4142         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4143         Likewise.
4144
4145         [BZ #16648]
4146         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4148         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4149
4150 2014-03-31  Will Newton  <will.newton@linaro.org>
4151
4152         * benchtests/Makefile (bench): Add ffs and ffsll to list
4153         of tests.
4154         * benchtests/ffs-inputs: New file.
4155         * benchtests/ffsll-inputs: Likewise.
4156
4157 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4158
4159         [BZ #16770]
4160         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4161         too large before casting to int.
4162         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4163         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4164         * math/libm-test.inc (scalb_test_data): Add more tests.
4165
4166 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4167
4168         * benchtests/Makefile (DETAILED_OPT): New make option.
4169         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4170         set.
4171         * benchtests/bench-skeleton.c: Include stdbool.h.
4172         (main): Store and print timings per input.
4173         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4174         member to each argument value.
4175         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4176         (_print_arg_data): Initialize per-input timing to 0.
4177
4178         * benchtests/Makefile (timing-type): New binary.
4179         (bench-clean): Also remove bench-timing-type.
4180         (bench): New target for timing-type.
4181         (bench-func): Print output in JSON format.
4182         * benchtests/bench-skeleton.c (main): Print output in JSON
4183         format.
4184         * benchtests/bench-timing-type.c: New file.
4185         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4186         (TIMING_PRINT_STATS): Remove.
4187         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4188         name separately.
4189
4190         * benchtests/bench-modf.c: Remove.
4191         * benchtests/modf-inputs: New inputs file.
4192
4193 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4194
4195         [BZ #16362]
4196         * math/s_clog10.c (M_PI_LOG10E): New macro.
4197         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4198         imaginary parts are 0.
4199         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4200         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4201         imaginary parts are 0.
4202         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4203         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4204         imaginary parts are 0.
4205         * math/libm-test.inc (clog10_test_data): Update expected results
4206         for when real and imaginary parts are 0.
4207
4208 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4209
4210         * elf/dl-load.c: Finish conversion of __builtin_expect into
4211         __glibc_{un}likely.
4212
4213 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4214
4215         [BZ #16348]
4216         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4217         1+x for argument with exponent below -67.
4218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4219         Likewise.
4220         * math/auto-libm-test-in: Add more tests of exp.
4221         * math/auto-libm-test-out: Regenerated.
4222
4223 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4224
4225         [BZ #16759]
4226         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4227         (nscd_getnetgrent): Use it.
4228
4229         [BZ #16760]
4230         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4231         of stpcpy.
4232
4233 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4234
4235         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4236         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4237         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4238         (lll_robust_unlock): Remove out of line section. Use cfi
4239         intrinsics.
4240         (LLL_STUB_UNWIND_INFO*): Remove.
4241         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4242         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4243         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4244         (lll_robust_unlock): Remove out of line section. Use cfi
4245         intrinsics.
4246         (LLL_STUB_UNWIND_INFO*): Remove.
4247
4248 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4249
4250         [BZ #16758]
4251         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4252         blank values.
4253
4254 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4255
4256         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4257
4258 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4259
4260         [BZ #16198]
4261         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4262         fnstenv.
4263         * math/test-fenv-preserve.c: New file.
4264         * math/Makefile (tests): Add test-fenv-preserve.
4265
4266 2014-03-26  Will Newton <will.newton@linaro.org>
4267
4268         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4269
4270 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4271
4272         * scripts/versionlist.awk: Partition the version sets and emit all
4273         GLIBC_* (sorted) before all others (sorted).
4274
4275 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4276
4277         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4278         GLIBC_2.2.5 version.
4279
4280 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4281
4282         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4283         calls.
4284
4285         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4286         previous change.
4287
4288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4289
4290 2014-03-25  Andreas Schwab  <schwab@suse.de>
4291
4292         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4293         label to be used after in6ailist is initialized.
4294
4295 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4296
4297         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4298         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4299
4300 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4301
4302         [BZ #16357]
4303         [BZ #16599]
4304         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4305         min_plus_half.
4306         (fp_formats): Update initializers.
4307         (init_fp_formats): Initialize new field.
4308         (output_for_one_input_case): Allow underflow for results up to
4309         min_plus_half.
4310         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4311         * math/auto-libm-test-in: Don't mark some underflows from asin and
4312         atanh as spurious.
4313         * math/auto-libm-test-out: Regenerated.
4314         * sysdeps/i386/fpu/libm-test-ulps: Update.
4315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4316
4317 2014-03-25  Andreas Schwab  <schwab@suse.de>
4318
4319         * libio/Makefile (tst-ftell-partial-wide-ENV)
4320         (tst-ftell-active-handler-ENV): Define.
4321
4322 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4323
4324         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4325
4326 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4327
4328         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4329
4330 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4331
4332         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4333         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4334         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4335
4336 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4337
4338         [BZ #16634]
4339         * elf/dl-load.c (open_verify): Add mode parameter.
4340         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4341         (open_path): Change from boolean 'secure' to complete flag 'mode'
4342         (_dl_map_object): Adjust.
4343         * elf/Makefile (tests): Add tst-dlopen-aout.
4344         * elf/tst-dlopen-aout.c: New test.
4345
4346 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4347
4348         [BZ #16714]
4349         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4350         (struct stat): Rename member pad0 to __glibc_reserved0.
4351
4352         [BZ #16712]
4353         * sysdeps/s390/s390-32/bits/wordsize.h
4354         (__WORDSIZE32_SIZE_ULONG): New define.
4355         * sysdeps/s390/s390-64/bits/wordsize.h
4356         (__WORDSIZE32_SIZE_ULONG): Likewise.
4357         * sysdeps/generic/stdint.h (SIZE_MAX):
4358         Define as UL if __WORDSIZE32_SIZE_ULONG.
4359
4360         [BZ #16713]
4361         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4362         (__glibc_reserved0): New variable.
4363         (sa_flags): Change type to int.
4364
4365         * posix/Makefile (before-compile): Use += before-compile instead
4366         of a :=.
4367
4368         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4369         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4370
4371 2014-03-20  Andreas Schwab  <schwab@suse.de>
4372
4373         [BZ #16743]
4374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4375         non-matching result from nscd.
4376
4377 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4378
4379         * scripts/bench.py: Moved to ...
4380         * benchtests/scripts/bench.py: ... here.
4381         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4382
4383 2014-03-24  Andreas Schwab  <schwab@suse.de>
4384
4385         [BZ #16002]
4386         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4387         alloca_account and account alloca use for struct in6ailist.
4388
4389 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4390
4391         [BZ #16284]
4392         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4393         rounding mode to recompute results that overflow to infinity or
4394         underflow to zero.
4395         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4396         bug 16284.
4397         * math/auto-libm-test-out: Regenerated.
4398         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4399         (ccosh_test): Likewise.
4400         (csin_test_data): Use plus_oflow.
4401         (csin_test): Use ALL_RM_TEST.
4402         (csinh_test_data): Use plus_oflow.
4403         (csinh_test): Use ALL_RM_TEST.
4404         * sysdeps/i386/fpu/libm-test-ulps: Update.
4405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4406
4407 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4408
4409         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4410         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4411         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4412
4413         [BZ #16731]
4414         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4415         when x - 1 is zero.
4416         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4417         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4418         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4419         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4420         argument is 1.
4421         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4422         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4423         zero.
4424         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4425         * sysdeps/i386/fpu/libm-test-ulps: Update.
4426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4427
4428 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4429
4430         * scripts/bench.pl: Remove file.
4431         * scripts/bench.py: New benchmark script.
4432         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4433         * benchtests/README: Mention python dependency.
4434         * scripts/pylintrc: New file.
4435         * scripts/pylint: New file.
4436
4437         * bits/mathdef.h: Use #ifdef instead of #if.
4438         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4439         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4440         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4441         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4442         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4443         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4444
4445 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4446             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4447
4448         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4450         and strpbrk-ppc64 objects.
4451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4452         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4453         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4454         multiarch strpbrk for POWER7.
4455         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4456         multiarch strpbrk for PPC64.
4457         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4458         ifunc selector.
4459         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4460         strpbrk for POWER7.
4461
4462 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4463
4464         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4465         (atan_test): Likewise.
4466         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4467         (atanh_test): Use ALL_RM_TEST.
4468         (atan2_test_data): Likewise.
4469         (cabs_test): Likewise.
4470         (cacosh_test): Likewise.
4471         (carg_test): Likewise.
4472         (casin_test): Likewise.
4473         (casinh_test): Likewise.
4474         (cbrt_test): Likewise.
4475         (csqrt_test): Likewise.
4476         (erf_test): Likewise.
4477         (erfc_test): Likewise.
4478         (pow10_test): Likewise.
4479         (exp2_test): Likewise.
4480         (hypot_test): Likewise.
4481         (j0_test): Likewise.
4482         (j1_test): Likewise.
4483         (lgamma_test): Likewise.
4484         (gamma_test): Likewise.
4485         (sincos_test): Likewise.
4486         (tanh_test): Likewise.
4487         (y0_test): Likewise.
4488         (y1_test): Likewise.
4489         * sysdeps/i386/fpu/libm-test-ulps: Update.
4490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4491
4492 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4493
4494         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4496         and strcspn-ppc64 objects.
4497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4498         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4499         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4500         multiarch strcspn for POWER7.
4501         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4502         multiarch strcspn for PPC64.
4503         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4504         ifunc selector.
4505         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4506         strcspn for POWER7.
4507
4508 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4509
4510         * math/gen-libm-test.pl (generate_testfile): Expect only function
4511         name as argument to AUTO_TESTS_* and pass results for all rounding
4512         modes to parse_args.
4513         (parse_auto_input): Separate inputs of automatic tests from
4514         outputs before storing in %auto_tests.
4515         * math/libm-test.inc (acos_test_data): Update call to
4516         AUTO_TESTS_f_f.
4517         (acos_test): Use ALL_RM_TEST.
4518         (acos_tonearest_test_data): Remove.
4519         (acos_test_tonearest): Likewise.
4520         (acos_towardzero_test_data): Likewise.
4521         (acos_test_towardzero): Likewise.
4522         (acos_downward_test_data): Likewise.
4523         (acos_test_downward): Likewise.
4524         (acos_upward_test_data): Likewise.
4525         (acos_test_upward): Likewise.
4526         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4527         (asin_test_data): Likewise.
4528         (asin_test): Use ALL_RM_TEST.
4529         (asin_tonearest_test_data): Remove.
4530         (asin_test_tonearest): Likewise.
4531         (asin_towardzero_test_data): Likewise.
4532         (asin_test_towardzero): Likewise.
4533         (asin_downward_test_data): Likewise.
4534         (asin_test_downward): Likewise.
4535         (asin_upward_test_data): Likewise.
4536         (asin_test_upward): Likewise.
4537         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4538         (atan_test_data): Likewise.
4539         (atanh_test_data): Likewise.
4540         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4541         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4542         (carg_test_data): Likewise.
4543         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4544         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4545         (ccosh_test_data): Likewise.
4546         (cexp_test_data): Likewise.
4547         (clog_test_data): Likewise.
4548         (clog10_test_data): Likewise.
4549         (cos_test_data): Update call to AUTO_TESTS_f_f.
4550         (cos_test): Use ALL_RM_TEST.
4551         (cos_tonearest_test_data): Remove.
4552         (cos_test_tonearest): Likewise.
4553         (cos_towardzero_test_data): Likewise.
4554         (cos_test_towardzero): Likewise.
4555         (cos_downward_test_data): Likewise.
4556         (cos_test_downward): Likewise.
4557         (cos_upward_test_data): Likewise.
4558         (cos_test_upward): Likewise.
4559         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4560         (cosh_test): Use ALL_RM_TEST.
4561         (cosh_tonearest_test_data): Remove.
4562         (cosh_test_tonearest): Likewise.
4563         (cosh_towardzero_test_data): Likewise.
4564         (cosh_test_towardzero): Likewise.
4565         (cosh_downward_test_data): Likewise.
4566         (cosh_test_downward): Likewise.
4567         (cosh_upward_test_data): Likewise.
4568         (cosh_test_upward): Likewise.
4569         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4570         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4571         (ctan_test_data): Likewise.
4572         (ctan_test): Use ALL_RM_TEST.
4573         (ctan_tonearest_test_data): Remove.
4574         (ctan_test_tonearest): Likewise.
4575         (ctan_towardzero_test_data): Likewise.
4576         (ctan_test_towardzero): Likewise.
4577         (ctan_downward_test_data): Likewise.
4578         (ctan_test_downward): Likewise.
4579         (ctan_upward_test_data): Likewise.
4580         (ctan_test_upward): Likewise.
4581         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4582         (ctanh_test): Use ALL_RM_TEST.
4583         (ctanh_tonearest_test_data): Remove.
4584         (ctanh_test_tonearest): Likewise.
4585         (ctanh_towardzero_test_data): Likewise.
4586         (ctanh_test_towardzero): Likewise.
4587         (ctanh_downward_test_data): Likewise.
4588         (ctanh_test_downward): Likewise.
4589         (ctanh_upward_test_data): Likewise.
4590         (ctanh_test_upward): Likewise.
4591         (erf_test_data): Update call to AUTO_TESTS_f_f.
4592         (erfc_test_data): Likewise.
4593         (exp_test_data): Likewise.
4594         (exp_test): Use ALL_RM_TEST.
4595         (exp_tonearest_test_data): Remove.
4596         (exp_test_tonearest): Likewise.
4597         (exp_towardzero_test_data): Likewise.
4598         (exp_test_towardzero): Likewise.
4599         (exp_downward_test_data): Likewise.
4600         (exp_test_downward): Likewise.
4601         (exp_upward_test_data): Likewise.
4602         (exp_test_upward): Likewise.
4603         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4604         (exp10_test): Use ALL_RM_TEST.
4605         (exp10_tonearest_test_data): Remove.
4606         (exp10_test_tonearest): Likewise.
4607         (exp10_towardzero_test_data): Likewise.
4608         (exp10_test_towardzero): Likewise.
4609         (exp10_downward_test_data): Likewise.
4610         (exp10_test_downward): Likewise.
4611         (exp10_upward_test_data): Likewise.
4612         (exp10_test_upward): Likewise.
4613         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4614         (expm1_test_data): Likewise.
4615         (expm1_test): Use ALL_RM_TEST.
4616         (expm1_tonearest_test_data): Remove.
4617         (expm1_test_tonearest): Likewise.
4618         (expm1_towardzero_test_data): Likewise.
4619         (expm1_test_towardzero): Likewise.
4620         (expm1_downward_test_data): Likewise.
4621         (expm1_test_downward): Likewise.
4622         (expm1_upward_test_data): Likewise.
4623         (expm1_test_upward): Likewise.
4624         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4625         (fma_test): Use ALL_RM_TEST.
4626         (fma_towardzero_test_data): Remove.
4627         (fma_test_towardzero): Likewise.
4628         (fma_downward_test_data): Likewise.
4629         (fma_test_downward): Likewise.
4630         (fma_upward_test_data): Likewise.
4631         (fma_test_upward): Likewise.
4632         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4633         (j0_test_data): Update call to AUTO_TESTS_f_f.
4634         (j1_test_data): Likewise.
4635         (jn_test_data): Update call to AUTO_TESTS_if_f.
4636         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4637         (log_test_data): Update call to AUTO_TESTS_f_f.
4638         (log10_test_data): Likewise.
4639         (log1p_test_data): Likewise.
4640         (log2_test_data): Likewise.
4641         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4642         (pow_tonearest_test_data): Likewise.
4643         (sin_test_data): Update call to AUTO_TESTS_f_f.
4644         (sin_test): Use ALL_RM_TEST.
4645         (sin_tonearest_test_data): Remove.
4646         (sin_test_tonearest): Likewise.
4647         (sin_towardzero_test_data): Likewise.
4648         (sin_test_towardzero): Likewise.
4649         (sin_downward_test_data): Likewise.
4650         (sin_test_downward): Likewise.
4651         (sin_upward_test_data): Likewise.
4652         (sin_test_upward): Likewise.
4653         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4654         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4655         (sinh_test): Use ALL_RM_TEST.
4656         (sinh_tonearest_test_data): Remove.
4657         (sinh_test_tonearest): Likewise.
4658         (sinh_towardzero_test_data): Likewise.
4659         (sinh_test_towardzero): Likewise.
4660         (sinh_downward_test_data): Likewise.
4661         (sinh_test_downward): Likewise.
4662         (sinh_upward_test_data): Likewise.
4663         (sinh_test_upward): Likewise.
4664         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4665         (sqrt_test): Use ALL_RM_TEST.
4666         (sqrt_tonearest_test_data): Remove.
4667         (sqrt_test_tonearest): Likewise.
4668         (sqrt_towardzero_test_data): Likewise.
4669         (sqrt_test_towardzero): Likewise.
4670         (sqrt_downward_test_data): Likewise.
4671         (sqrt_test_downward): Likewise.
4672         (sqrt_upward_test_data): Likewise.
4673         (sqrt_test_upward): Likewise.
4674         (tan_test_data): Update call to AUTO_TESTS_f_f.
4675         (tan_test): Use ALL_RM_TEST.
4676         (tan_tonearest_test_data): Remove.
4677         (tan_test_tonearest): Likewise.
4678         (tan_towardzero_test_data): Likewise.
4679         (tan_test_towardzero): Likewise.
4680         (tan_downward_test_data): Likewise.
4681         (tan_test_downward): Likewise.
4682         (tan_upward_test_data): Likewise.
4683         (tan_test_upward): Likewise.
4684         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4685         (tgamma_test_data): Likewise.
4686         (y0_test_data): Likewise.
4687         (y1_test_data): Likewise.
4688         (yn_test_data): Update call to AUTO_TESTS_if_f.
4689         (main): Do not call removed functions.
4690
4691 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4692
4693         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4694         (ldexp_test_data): Remove.
4695         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4696         scalbn_test_data.
4697         (scalb_test): Use ALL_RM_TEST.
4698
4699 2014-03-19  Andreas Schwab  <schwab@suse.de>
4700
4701         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4702
4703 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4704
4705         [BZ #16649]
4706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4707         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4708         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4710         (__ASSUME_PREADV): Undefine.
4711         (__ASSUME_PWRITEV): Likewise.
4712
4713 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4714
4715         * bits/mman-linux.h: Add comment about non-Linux use.
4716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4717         bits/mman-linux.h resting place.
4718
4719         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4720         * bits/mman-linux.h: ... here.
4721
4722 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4723
4724         * conform/conformtest.pl: Add standard definition when calling C
4725         preprocessor on data files.
4726         (checknamespace): Remove unused variable.
4727
4728 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4729
4730         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4731         minus_oflow, plus_uflow and minus_uflow in expected results.
4732         * math/libm-test.inc (scalbn_test_data): Add more tests of
4733         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4734         minus_uflow.
4735         (scalbn_test): Use ALL_RM_TEST.
4736         (scalbln_test_data): Add more tests of negative arguments.  Use
4737         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4738         (scalbln_test): Use ALL_RM_TEST.
4739
4740 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4741
4742         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4743
4744 2014-03-18  Will Newton  <will.newton@linaro.org>
4745
4746         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4747         inaccurate comment.
4748
4749 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4750
4751         * Makerules [!subdir] (check-abi): Exit with error status if a
4752         test failed.
4753
4754 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4755
4756         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4757         for rint.  Include results for all rounding modes.
4758         (nearbyint_test): Use ALL_RM_TEST.
4759         (rint_test_data): Include all tests used for nearbyint.
4760
4761 2014-03-17  Will Newton  <will.newton@linaro.org>
4762
4763         * nptl/sysdeps/pthread/pthread.h: Revert previous
4764         change.
4765
4766         * sysdeps/generic/ldsodefs.h: Revert previous
4767         change.
4768
4769         * libio/genops.c: Revert previous change.
4770         * libio/libioP.h: Likewise.
4771         * stdio-common/vfprintf.c: Likewise.
4772
4773         * sysdeps/generic/math_private.h: Revert previous
4774         change.
4775
4776         * sysdeps/generic/math_private.h: Check whether
4777         HAVE_RM_CTX is defined with #ifdef rather
4778         than #if.
4779
4780         * argp/argp-fmtstream.h: Check whether
4781         __STRICT_ANSI__ is defined with #ifdef rather
4782         than #if.
4783         * argp/argp.h: Likewise.
4784
4785         * libio/genops.c: Check whether
4786         _IO_JUMPS_OFFSET is defined with #ifdef rather
4787         than #if.
4788         * libio/libioP.h: Likewise.
4789         * stdio-common/vfprintf.c: Likewise.
4790
4791         * sysdeps/generic/ldsodefs.h: Check whether
4792         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4793         than #if.
4794
4795         * nptl/sysdeps/pthread/pthread.h: Check
4796         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4797         its value.
4798
4799 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4800
4801         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4802         setting O_APPEND.
4803         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4804         test case.
4805
4806         [BZ #16680]
4807         * libio/fileops.c (_IO_file_open): Seek to end of file but
4808         don't cache the offset.
4809         (get_file_offset): Remove function.
4810         (do_ftell): Use cached offset when available.
4811         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4812         don't cache the offset.
4813         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4814         case.
4815         (do_one_test): Call it.
4816         (do_ftell_test): Fix up expected old offset for a+ mode.
4817         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4818         available.
4819
4820         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4821         up test status with function return status.
4822         (do_write_test): Likewise.
4823         (do_append_test): Likewise.
4824
4825         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4826         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4827         Remove.
4828
4829 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4830
4831         * math/gen-libm-test.pl (parse_args): Handle results specified for
4832         each rounding mode separately.
4833         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4834         tests and results from lrint_tonearest_test_data,
4835         lrint_towardzero_test_data, lrint_downward_test_data and
4836         lrint_upward_test_data.
4837         (lrint_test): Use ALL_RM_TEST.
4838         (lrint_tonearest_test_data): Remove.
4839         (lrint_test_tonearest): Likewise.
4840         (lrint_towardzero_test_data): Likewise.
4841         (lrint_test_towardzero): Likewise.
4842         (lrint_downward_test_data): Likewise.
4843         (lrint_test_downward): Likewise.
4844         (lrint_upward_test_data): Likewise.
4845         (lrint_test_upward): Likewise.
4846         (llrint_test_data): Merge in per-rounding-mode tests and results
4847         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4848         llrint_downward_test_data and llrint_upward_test_data.
4849         (llrint_test): Use ALL_RM_TEST.
4850         (llrint_tonearest_test_data): Remove.
4851         (llrint_test_tonearest): Likewise.
4852         (llrint_towardzero_test_data): Likewise.
4853         (llrint_test_towardzero): Likewise.
4854         (llrint_downward_test_data): Likewise.
4855         (llrint_test_downward): Likewise.
4856         (llrint_upward_test_data): Likewise.
4857         (llrint_test_upward): Likewise.
4858         (rint_test_data): Merge in per-rounding-mode tests and results
4859         from rint_tonearest_test_data, rint_towardzero_test_data,
4860         rint_downward_test_data and rint_upward_test_data.  Add
4861         per-rounding-mode results for tests not in those arrays.
4862         (rint_test): Use ALL_RM_TEST.
4863         (rint_tonearest_test_data): Remove.
4864         (rint_test_tonearest): Likewise.
4865         (rint_towardzero_test_data): Likewise.
4866         (rint_test_towardzero): Likewise.
4867         (rint_downward_test_data): Likewise.
4868         (rint_test_downward): Likewise.
4869         (rint_upward_test_data): Likewise.
4870         (rint_test_upward): Likewise.
4871         (main): Don't call removed functions.
4872
4873 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4874
4875         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4876         "Compiled on ..." crapola.  It is anti-useful.
4877
4878 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4879
4880         * scripts/evaluate-test.sh: Handle fourth argument to determine
4881         whether test run should stop on failure.
4882         * Makeconfig (stop-on-test-failure): New variable.
4883         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4884         $(stop-on-test-failure).
4885         * Makefile (tests): Give a summary of results from testing and
4886         exit with failure status if they include an ERROR or FAIL.
4887         (xtests): Likewise.
4888         * manual/install.texi (Configuring and compiling): Mention
4889         stop-on-test-failure=y.
4890         * INSTALL: Regenerated.
4891
4892 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4893
4894         * scripts/versionlist.awk: New file.
4895         * Makerules [$(build-shared) = yes]
4896         (postclean-generated): Add Versions.def, not Versions.def.v and
4897         Versions.def.v.i.
4898         ($(common-objpfx)Versions.def.v.i): Target removed.
4899         ($(common-objpfx)Versions.def): New target.
4900         ($(common-objpfx)Versions.all): Depend on that rather that
4901         $(common-objpfx)Versions.def.v.
4902         * Versions.def: File removed.
4903
4904         * Makeconfig (+gccwarn): Add -Wundef.
4905         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4906         a dl-sysdep.h breaking its contract.
4907         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4908         * include/stackinfo.h: New file.
4909         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4910         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4911         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4912         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4913         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4914         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4915         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4916         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4917         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4918         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4919         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4920         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4921         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4922         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4923         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4924
4925 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4926
4927         [BZ #16707]
4928         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4929         implementation.
4930         * math/libm-test.inc (round_test_data): Add more tests.
4931
4932         [BZ #16706]
4933         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4934         implementation.
4935         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4936
4937         [BZ #16701]
4938         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4939         implementation.
4940         * math/libm-test.inc (ceil_test_data): Add more tests.
4941
4942         * math/libm-test.inc (trunc_test_data): Add more tests related to
4943         BZ#16414.
4944
4945 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4946
4947         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4948         with #if rather than #ifdef.
4949         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4950
4951 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4952
4953         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4954         first.  Disable AVX-512 GCC support if assembler doesn't support
4955         it.
4956         * sysdeps/x86_64/configure: Regenerated.
4957
4958 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4959
4960         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4961         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4962         (__old_pthread_attr_setstack): Likewise.
4963         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4964         [!_STACK_GROWS_DOWN]: Likewise.
4965
4966 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4967
4968         * config.make.in (have-bash2): Delete.
4969         * configure.ac (libc_cv_have_bash2): Delete.
4970         * configure: Regenerate.
4971         * elf/Makefile (common-ldd-rewrite): Rename to ...
4972         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4973         (sh-ldd-rewrite): Delete.
4974         (bash-ldd-rewrite): Delete.
4975         (have-bash2): Delete checks.
4976         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4977         ldd-rewrite.
4978
4979         * config.make.in (have-ksh): Delete.
4980         (KSH): Delete.
4981         * configure.ac (libc_cv_have_ksh): Delete.
4982         * configure: Regenerate.
4983
4984         * elf/Makefile: Delete $(have-ksh) check.
4985         ($(objpfx)sotruss): Change KSH to BASH.
4986         * elf/sotruss.ksh: Rename to ...
4987         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4988         function style to match POSIX.  Drop ksh vim mode setting.
4989
4990         * manual/time.texi (Specifying the Time Zone with TZ): Change
4991         Tuesday to Thursday.
4992
4993         * debug/tst-longjmp_chk2.c: Update header comment.
4994         (stackoverflow_handler): Add comment.  Call assert on pass value.
4995
4996 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4997
4998         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4999         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5000         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5001         (La_x86_64_vector): Add zmm.
5002         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5003         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5004         ($(objpfx)tst-audit10): New target.
5005         ($(objpfx)tst-audit10.out): Likewise.
5006         (tst-audit10-ENV): New.
5007         (AVX512-CFLAGS): Likewise.
5008         (CFLAGS-tst-audit10.c): Likewise.
5009         (CFLAGS-tst-auditmod10a.c): Likewise.
5010         (CFLAGS-tst-auditmod10b.c): Likewise.
5011         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5012         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5013         * sysdeps/x86_64/configure: Regenerated.
5014         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5015         AVX-512 zmm register support.
5016         (_dl_x86_64_save_sse): Likewise.
5017         (_dl_x86_64_restore_sse): Likewise.
5018         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5019         size vector registers.
5020         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5021         (ZMM_SIZE): Likewise.
5022         * sysdeps/x86_64/tst-audit10.c: New file.
5023         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5024         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5025
5026 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5027
5028         * configure.ac (HAVE_EHDR_START): New check.
5029         * configure: Regenerated.
5030         * config.h.in (HAVE_EHDR_START): New #undef.
5031         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5032         assuming the lowest-addressed segment maps the start of the file.
5033
5034 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5035
5036         * INSTALL: Regenerated.
5037
5038 2014-03-13  Will Newton  <will.newton@linaro.org>
5039
5040         * manual/setjmp.texi (System V contexts): Improve
5041         clarity and grammar of documentation.
5042
5043 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5044
5045         [BZ #16381]
5046         * elf/Makefile (tests): Add tst-pie2.
5047         (tests-pie): Add tst-pie2.
5048         * elf/tst-pie2.c: New file.
5049         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5050         for ET_EXEC.
5051         * elf/rtld.c (map_doit): Load executable as lt_executable.
5052         (dl_main): Likewise.
5053
5054 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5055
5056         [BZ #16642]
5057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5058         (__ASSUME_PSELECT): Undefine.
5059
5060 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5061
5062         [BZ #16689]
5063         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5064         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5065         static build.
5066         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5067         selector for static builds.
5068
5069 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5070
5071         [BZ #16695]
5072         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5073         key in the buffer.
5074
5075 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5076
5077         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5078         IFUNC selector for static builds.
5079
5080 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5081
5082         * sysdeps/mips/math_private.h [__mips_hard_float]
5083         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5084         libc_feresetround_mips_ctx.
5085         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5086         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5087         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5088
5089         [BZ #16677]
5090         * math/s_nextafter.c (__nextafter): Do not return value from
5091         overflowing computation.
5092         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5093         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5094         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5095         Likewise.
5096         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5097         Likewise.
5098         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5099         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5100
5101 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5102
5103         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5104         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5105         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5106         the new mov targetting sp.
5107
5108 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5109
5110         [BZ #16683]
5111         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5112         Define it for static builds as well.
5113         (NO_BZERO_IMPL): Likewise.
5114
5115 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5116
5117         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5118         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5119         multiarch strspn for PPC64.
5120         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5121         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5123         (__libc_ifunc_impl_list): Likewise.
5124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5125         multiarch optimizations
5126         * string/strspn.c (strspn): Using macro to redefine symbol name.
5127
5128 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5130
5131         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5132         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5133         multiarch strncat for PPC64.
5134         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5135         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5137         (__libc_ifunc_impl_list): Likewise.
5138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5139         multiarch optimizations
5140
5141 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5142
5143         [BZ #16639]
5144         * nscd/nscd.service: Make service type forking.
5145
5146 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5147
5148         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5149         sign in non default rounding modes.
5150         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5151
5152 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5153
5154         * math/libm-test.inc (ALL_RM_TEST): New macro.
5155         (ceil_test): Use ALL_RM_TEST.
5156         (cimag_test): Likewise.
5157         (conj_test): Likewise.
5158         (copysign_test): Likewise.
5159         (cproj_test): Likewise.
5160         (creal_test): Likewise.
5161         (fabs_test): Likewise.
5162         (floor_test): Likewise.
5163         (fmax_test): Likewise.
5164         (fmin_test): Likewise.
5165         (fmod_test): Likewise.
5166         (fpclassify_test): Likewise.
5167         (frexp_test): Likewise.
5168         (ilogb_test): Likewise.
5169         (isfinite_test): Likewise.
5170         (finite_test): Likewise.
5171         (isgreater_test): Likewise.
5172         (isgreaterequal_test): Likewise.
5173         (isinf_test): Likewise.
5174         (isless_test): Likewise.
5175         (islessequal_test): Likewise.
5176         (islessgreater_test): Likewise.
5177         (isnan_test): Likewise.
5178         (isnormal_test): Likewise.
5179         (issignaling_test): Likewise.
5180         (isunordered_test): Likewise.
5181         (logb_test): Likewise.
5182         (logb_downward_test_data): Remove.
5183         (logb_test_downward): Likewise.
5184         (lround_test): Use ALL_RM_TEST.
5185         (llround_test): Likewise.
5186         (modf_test): Likewise.
5187         (nexttoward_test): Likewise.
5188         (remainder_test): Likewise.
5189         (drem_test): Likewise.
5190         (remainder_tonearest_test_data): Likewise.
5191         (remainder_test_tonearest): Likewise.
5192         (drem_test_tonearest): Likewise.
5193         (remainder_towardzero_test_data): Likewise.
5194         (remainder_test_towardzero): Likewise.
5195         (drem_test_towardzero): Likewise.
5196         (remainder_downward_test_data): Likewise.
5197         (remainder_test_downward): Likewise.
5198         (drem_test_downward): Likewise.
5199         (remainder_upward_test_data): Likewise.
5200         (remainder_test_upward): Likewise.
5201         (drem_test_upward): Likewise.
5202         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5203         (round_test): Use ALL_RM_TEST.
5204         (signbit_test): Likewise.
5205         (trunc_test): Likewise.
5206         (significand_test): Likewise.
5207         (main): Don't call removed functions.
5208
5209 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5210
5211         [BZ #16674]
5212         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5213         || __USE_XOPEN2K8].
5214         (ILL_ILLOPN): Likewise.
5215         (ILL_ILLADR): Likewise.
5216         (ILL_ILLTRP): Likewise.
5217         (ILL_PRVOPC): Likewise.
5218         (ILL_PRVREG): Likewise.
5219         (ILL_COPROC): Likewise.
5220         (ILL_BADSTK): Likewise.
5221         (FPE_INTDIV): Likewise.
5222         (FPE_INTOVF): Likewise.
5223         (FPE_FLTDIV): Likewise.
5224         (FPE_FLTOVF): Likewise.
5225         (FPE_FLTUND): Likewise.
5226         (FPE_FLTRES): Likewise.
5227         (FPE_FLTINV): Likewise.
5228         (FPE_FLTSUB): Likewise.
5229         (SEGV_MAPERR): Likewise.
5230         (SEGV_ACCERR): Likewise.
5231         (BUS_ADRALN): Likewise.
5232         (BUS_ADRERR): Likewise.
5233         (BUS_OBJERR): Likewise.
5234         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5235         (TRAP_TRACE): Likewise.
5236         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5237         __USE_XOPEN2K8].
5238         (CLD_KILLED): Likewise.
5239         (CLD_DUMPED): Likewise.
5240         (CLD_TRAPPED): Likewise.
5241         (CLD_STOPPED): Likewise.
5242         (CLD_CONTINUED): Likewise.
5243         (POLL_IN): Likewise.
5244         (POLL_OUT): Likewise.
5245         (POLL_MSG): Likewise.
5246         (POLL_ERR): Likewise.
5247         (POLL_PRI): Likewise.
5248         (POLL_HUP): Likewise.
5249         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5250         Likewise.
5251         (ILL_ILLOPN): Likewise.
5252         (ILL_ILLADR): Likewise.
5253         (ILL_ILLTRP): Likewise.
5254         (ILL_PRVOPC): Likewise.
5255         (ILL_PRVREG): Likewise.
5256         (ILL_COPROC): Likewise.
5257         (ILL_BADSTK): Likewise.
5258         (FPE_INTDIV): Likewise.
5259         (FPE_INTOVF): Likewise.
5260         (FPE_FLTDIV): Likewise.
5261         (FPE_FLTOVF): Likewise.
5262         (FPE_FLTUND): Likewise.
5263         (FPE_FLTRES): Likewise.
5264         (FPE_FLTINV): Likewise.
5265         (FPE_FLTSUB): Likewise.
5266         (SEGV_MAPERR): Likewise.
5267         (SEGV_ACCERR): Likewise.
5268         (BUS_ADRALN): Likewise.
5269         (BUS_ADRERR): Likewise.
5270         (BUS_OBJERR): Likewise.
5271         (BUS_MCEERR_AR): Likewise.
5272         (BUS_MCEERR_AO): Likewise.
5273         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5274         (TRAP_TRACE): Likewise.
5275         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5276         __USE_XOPEN2K8].
5277         (CLD_KILLED): Likewise.
5278         (CLD_DUMPED): Likewise.
5279         (CLD_TRAPPED): Likewise.
5280         (CLD_STOPPED): Likewise.
5281         (CLD_CONTINUED): Likewise.
5282         (POLL_IN): Likewise.
5283         (POLL_OUT): Likewise.
5284         (POLL_MSG): Likewise.
5285         (POLL_ERR): Likewise.
5286         (POLL_PRI): Likewise.
5287         (POLL_HUP): Likewise.
5288         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5289         (ILL_ILLOPN): Likewise.
5290         (ILL_ILLADR): Likewise.
5291         (ILL_ILLTRP): Likewise.
5292         (ILL_PRVOPC): Likewise.
5293         (ILL_PRVREG): Likewise.
5294         (ILL_COPROC): Likewise.
5295         (ILL_BADSTK): Likewise.
5296         (FPE_INTDIV): Likewise.
5297         (FPE_INTOVF): Likewise.
5298         (FPE_FLTDIV): Likewise.
5299         (FPE_FLTOVF): Likewise.
5300         (FPE_FLTUND): Likewise.
5301         (FPE_FLTRES): Likewise.
5302         (FPE_FLTINV): Likewise.
5303         (FPE_FLTSUB): Likewise.
5304         (SEGV_MAPERR): Likewise.
5305         (SEGV_ACCERR): Likewise.
5306         (BUS_ADRALN): Likewise.
5307         (BUS_ADRERR): Likewise.
5308         (BUS_OBJERR): Likewise.
5309         (BUS_MCEERR_AR): Likewise.
5310         (BUS_MCEERR_AO): Likewise.
5311         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5312         (TRAP_TRACE): Likewise.
5313         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5314         __USE_XOPEN2K8].
5315         (CLD_KILLED): Likewise.
5316         (CLD_DUMPED): Likewise.
5317         (CLD_TRAPPED): Likewise.
5318         (CLD_STOPPED): Likewise.
5319         (CLD_CONTINUED): Likewise.
5320         (POLL_IN): Likewise.
5321         (POLL_OUT): Likewise.
5322         (POLL_MSG): Likewise.
5323         (POLL_ERR): Likewise.
5324         (POLL_PRI): Likewise.
5325         (POLL_HUP): Likewise.
5326         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5327         Likewise.
5328         (ILL_ILLOPN): Likewise.
5329         (ILL_ILLADR): Likewise.
5330         (ILL_ILLTRP): Likewise.
5331         (ILL_PRVOPC): Likewise.
5332         (ILL_PRVREG): Likewise.
5333         (ILL_COPROC): Likewise.
5334         (ILL_BADSTK): Likewise.
5335         (ILL_BADIADDR): Likewise.
5336         (ILL_BREAK): Likewise.
5337         (FPE_INTDIV): Likewise.
5338         (FPE_INTOVF): Likewise.
5339         (FPE_FLTDIV): Likewise.
5340         (FPE_FLTOVF): Likewise.
5341         (FPE_FLTUND): Likewise.
5342         (FPE_FLTRES): Likewise.
5343         (FPE_FLTINV): Likewise.
5344         (FPE_FLTSUB): Likewise.
5345         (FPE_DECOVF): Likewise.
5346         (FPE_DECDIV): Likewise.
5347         (FPE_DECERR): Likewise.
5348         (FPE_INVASC): Likewise.
5349         (FPE_INVDEC): Likewise.
5350         (SEGV_MAPERR): Likewise.
5351         (SEGV_ACCERR): Likewise.
5352         (SEGV_PSTKOVF): Likewise.
5353         (BUS_ADRALN): Likewise.
5354         (BUS_ADRERR): Likewise.
5355         (BUS_OBJERR): Likewise.
5356         (BUS_MCEERR_AR): Likewise.
5357         (BUS_MCEERR_AO): Likewise.
5358         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5359         (TRAP_TRACE): Likewise.
5360         (TRAP_BRANCH): Likewise.
5361         (TRAP_HWBKPT): Likewise.
5362         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5363         __USE_XOPEN2K8].
5364         (CLD_KILLED): Likewise.
5365         (CLD_DUMPED): Likewise.
5366         (CLD_TRAPPED): Likewise.
5367         (CLD_STOPPED): Likewise.
5368         (CLD_CONTINUED): Likewise.
5369         (POLL_IN): Likewise.
5370         (POLL_OUT): Likewise.
5371         (POLL_MSG): Likewise.
5372         (POLL_ERR): Likewise.
5373         (POLL_PRI): Likewise.
5374         (POLL_HUP): Likewise.
5375         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5376         (ILL_ILLOPN): Likewise.
5377         (ILL_ILLADR): Likewise.
5378         (ILL_ILLTRP): Likewise.
5379         (ILL_PRVOPC): Likewise.
5380         (ILL_PRVREG): Likewise.
5381         (ILL_COPROC): Likewise.
5382         (ILL_BADSTK): Likewise.
5383         (FPE_INTDIV): Likewise.
5384         (FPE_INTOVF): Likewise.
5385         (FPE_FLTDIV): Likewise.
5386         (FPE_FLTOVF): Likewise.
5387         (FPE_FLTUND): Likewise.
5388         (FPE_FLTRES): Likewise.
5389         (FPE_FLTINV): Likewise.
5390         (FPE_FLTSUB): Likewise.
5391         (SEGV_MAPERR): Likewise.
5392         (SEGV_ACCERR): Likewise.
5393         (BUS_ADRALN): Likewise.
5394         (BUS_ADRERR): Likewise.
5395         (BUS_OBJERR): Likewise.
5396         (BUS_MCEERR_AR): Likewise.
5397         (BUS_MCEERR_AO): Likewise.
5398         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5399         (TRAP_TRACE): Likewise.
5400         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5401         __USE_XOPEN2K8].
5402         (CLD_KILLED): Likewise.
5403         (CLD_DUMPED): Likewise.
5404         (CLD_TRAPPED): Likewise.
5405         (CLD_STOPPED): Likewise.
5406         (CLD_CONTINUED): Likewise.
5407         (POLL_IN): Likewise.
5408         (POLL_OUT): Likewise.
5409         (POLL_MSG): Likewise.
5410         (POLL_ERR): Likewise.
5411         (POLL_PRI): Likewise.
5412         (POLL_HUP): Likewise.
5413         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5414         (ILL_ILLOPN): Likewise.
5415         (ILL_ILLADR): Likewise.
5416         (ILL_ILLTRP): Likewise.
5417         (ILL_PRVOPC): Likewise.
5418         (ILL_PRVREG): Likewise.
5419         (ILL_COPROC): Likewise.
5420         (ILL_BADSTK): Likewise.
5421         (FPE_INTDIV): Likewise.
5422         (FPE_INTOVF): Likewise.
5423         (FPE_FLTDIV): Likewise.
5424         (FPE_FLTOVF): Likewise.
5425         (FPE_FLTUND): Likewise.
5426         (FPE_FLTRES): Likewise.
5427         (FPE_FLTINV): Likewise.
5428         (FPE_FLTSUB): Likewise.
5429         (SEGV_MAPERR): Likewise.
5430         (SEGV_ACCERR): Likewise.
5431         (BUS_ADRALN): Likewise.
5432         (BUS_ADRERR): Likewise.
5433         (BUS_OBJERR): Likewise.
5434         (BUS_MCEERR_AR): Likewise.
5435         (BUS_MCEERR_AO): Likewise.
5436         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5437         (TRAP_TRACE): Likewise.
5438         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5439         __USE_XOPEN2K8].
5440         (CLD_KILLED): Likewise.
5441         (CLD_DUMPED): Likewise.
5442         (CLD_TRAPPED): Likewise.
5443         (CLD_STOPPED): Likewise.
5444         (CLD_CONTINUED): Likewise.
5445         (POLL_IN): Likewise.
5446         (POLL_OUT): Likewise.
5447         (POLL_MSG): Likewise.
5448         (POLL_ERR): Likewise.
5449         (POLL_PRI): Likewise.
5450         (POLL_HUP): Likewise.
5451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5452         (ILL_ILLOPN): Likewise.
5453         (ILL_ILLADR): Likewise.
5454         (ILL_ILLTRP): Likewise.
5455         (ILL_PRVOPC): Likewise.
5456         (ILL_PRVREG): Likewise.
5457         (ILL_COPROC): Likewise.
5458         (ILL_BADSTK): Likewise.
5459         (FPE_INTDIV): Likewise.
5460         (FPE_INTOVF): Likewise.
5461         (FPE_FLTDIV): Likewise.
5462         (FPE_FLTOVF): Likewise.
5463         (FPE_FLTUND): Likewise.
5464         (FPE_FLTRES): Likewise.
5465         (FPE_FLTINV): Likewise.
5466         (FPE_FLTSUB): Likewise.
5467         (SEGV_MAPERR): Likewise.
5468         (SEGV_ACCERR): Likewise.
5469         (BUS_ADRALN): Likewise.
5470         (BUS_ADRERR): Likewise.
5471         (BUS_OBJERR): Likewise.
5472         (BUS_MCEERR_AR): Likewise.
5473         (BUS_MCEERR_AO): Likewise.
5474         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5475         (TRAP_TRACE): Likewise.
5476         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5477         __USE_XOPEN2K8].
5478         (CLD_KILLED): Likewise.
5479         (CLD_DUMPED): Likewise.
5480         (CLD_TRAPPED): Likewise.
5481         (CLD_STOPPED): Likewise.
5482         (CLD_CONTINUED): Likewise.
5483         (POLL_IN): Likewise.
5484         (POLL_OUT): Likewise.
5485         (POLL_MSG): Likewise.
5486         (POLL_ERR): Likewise.
5487         (POLL_PRI): Likewise.
5488         (POLL_HUP): Likewise.
5489         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5490         (ILL_ILLOPN): Likewise.
5491         (ILL_ILLADR): Likewise.
5492         (ILL_ILLTRP): Likewise.
5493         (ILL_PRVOPC): Likewise.
5494         (ILL_PRVREG): Likewise.
5495         (ILL_COPROC): Likewise.
5496         (ILL_BADSTK): Likewise.
5497         (ILL_DBLFLT): Likewise.
5498         (ILL_HARDWALL): Likewise.
5499         (FPE_INTDIV): Likewise.
5500         (FPE_INTOVF): Likewise.
5501         (FPE_FLTDIV): Likewise.
5502         (FPE_FLTOVF): Likewise.
5503         (FPE_FLTUND): Likewise.
5504         (FPE_FLTRES): Likewise.
5505         (FPE_FLTINV): Likewise.
5506         (FPE_FLTSUB): Likewise.
5507         (SEGV_MAPERR): Likewise.
5508         (SEGV_ACCERR): Likewise.
5509         (BUS_ADRALN): Likewise.
5510         (BUS_ADRERR): Likewise.
5511         (BUS_OBJERR): Likewise.
5512         (BUS_MCEERR_AR): Likewise.
5513         (BUS_MCEERR_AO): Likewise.
5514         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5515         (TRAP_TRACE): Likewise.
5516         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5517         __USE_XOPEN2K8].
5518         (CLD_KILLED): Likewise.
5519         (CLD_DUMPED): Likewise.
5520         (CLD_TRAPPED): Likewise.
5521         (CLD_STOPPED): Likewise.
5522         (CLD_CONTINUED): Likewise.
5523         (POLL_IN): Likewise.
5524         (POLL_OUT): Likewise.
5525         (POLL_MSG): Likewise.
5526         (POLL_ERR): Likewise.
5527         (POLL_PRI): Likewise.
5528         (POLL_HUP): Likewise.
5529         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5530         (ILL_ILLOPN): Likewise.
5531         (ILL_ILLADR): Likewise.
5532         (ILL_ILLTRP): Likewise.
5533         (ILL_PRVOPC): Likewise.
5534         (ILL_PRVREG): Likewise.
5535         (ILL_COPROC): Likewise.
5536         (ILL_BADSTK): Likewise.
5537         (FPE_INTDIV): Likewise.
5538         (FPE_INTOVF): Likewise.
5539         (FPE_FLTDIV): Likewise.
5540         (FPE_FLTOVF): Likewise.
5541         (FPE_FLTUND): Likewise.
5542         (FPE_FLTRES): Likewise.
5543         (FPE_FLTINV): Likewise.
5544         (FPE_FLTSUB): Likewise.
5545         (SEGV_MAPERR): Likewise.
5546         (SEGV_ACCERR): Likewise.
5547         (BUS_ADRALN): Likewise.
5548         (BUS_ADRERR): Likewise.
5549         (BUS_OBJERR): Likewise.
5550         (BUS_MCEERR_AR): Likewise.
5551         (BUS_MCEERR_AO): Likewise.
5552         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5553         (TRAP_TRACE): Likewise.
5554         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5555         __USE_XOPEN2K8].
5556         (CLD_KILLED): Likewise.
5557         (CLD_DUMPED): Likewise.
5558         (CLD_TRAPPED): Likewise.
5559         (CLD_STOPPED): Likewise.
5560         (CLD_CONTINUED): Likewise.
5561         (POLL_IN): Likewise.
5562         (POLL_OUT): Likewise.
5563         (POLL_MSG): Likewise.
5564         (POLL_ERR): Likewise.
5565         (POLL_PRI): Likewise.
5566         (POLL_HUP): Likewise.
5567         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5568         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5569
5570         [BZ #16670]
5571         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5572         before #include of <time.h>.
5573         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5574         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5575         (test-xfail-UNIX98/sched.h/conform): Likewise.
5576
5577 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5578
5579         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5580         error absence of trapping exception support.
5581         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5582
5583 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5584
5585         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5586         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5587         * timezone/Makefile (testdata): Move definition above include of
5588         Rules.
5589         (test-zones): New variable.
5590         (tests-special): Add zone files.
5591         (build-testdata): Use $(evaluate-test).
5592
5593         * elf/Makefile (tests-special): Rename tests to end with .out.
5594         ($(objpfx)noload-mem): Likewise.
5595         ($(objpfx)tst-leaks1-mem): Likewise.
5596         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5597         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5598         $(objpfx)test-iconvconfig.out.
5599         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5600         set -e inside subshell and redirect output to file.
5601         * iconvdata/Makefile (generated): Rename tests to end with .out.
5602         Correct type.
5603         (tests-special): Rename tests to end with .out.
5604         ($(objpfx)mtrace-tst-loading): Likewise.
5605         * intl/Makefile (generated): Likewise.
5606         (tests-special): Likewise.
5607         ($(objpfx)mtrace-tst-gettext): Likewise.
5608         * misc/Makefile (generated): Likewise.
5609         (tests-special): Likewise.
5610         ($(objpfx)tst-error1-mem): Likewise.
5611         * nptl/Makefile (tests-special): Likewise.
5612         ($(objpfx)tst-stack3-mem): Likewise.
5613         (generated): Likewise.
5614         * posix/Makefile (generated): Likewise.
5615         (tests-special): Likewise.
5616         (xtests-special): Likewise.
5617         ($(objpfx)tst-fnmatch-mem): Likewise.
5618         ($(objpfx)bug-regex2-mem): Likewise.
5619         ($(objpfx)bug-regex14-mem): Likewise.
5620         ($(objpfx)bug-regex21-mem): Likewise.
5621         ($(objpfx)bug-regex31-mem): Likewise.
5622         ($(objpfx)tst-vfork3-mem): Likewise.
5623         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5624         ($(objpfx)tst-pcre-mem): Likewise.
5625         ($(objpfx)tst-boost-mem): Likewise.
5626         ($(objpfx)bug-ga2-mem): Likewise.
5627         ($(objpfx)bug-glob2-mem): Likewise.
5628         * resolv/Makefile (generate): Likewise.
5629         (tests-special): Likewise.
5630         (xtests-special): Likewise.
5631         (generated): Likewise.
5632         ($(objpfx)mtrace-tst-leaks): Likewise.
5633         ($(objpfx)mtrace-tst-leaks2): Likewise.
5634
5635         * scripts/merge-test-results.sh: New file.
5636         * Makefile (tests-special-notdir): New variable.
5637         (tests): Run merge-test-results.sh.
5638         (xtests): Likewise.
5639         * Rules (tests-special-notdir): New variable.
5640         (xtests-special-notdir): Likewise.
5641         (tests): Run merge-test-results.sh
5642         (xtests): Likewise.
5643
5644         * Makeconfig (test-xfail-name): New variable.
5645         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5646         compute variable name for expected failures.
5647         * conform/Makefile (conformtest-headers-data): New variable.
5648         (conformtest-standards): Likewise.
5649         (conformtest-headers-ISO): Likewise.
5650         (conformtest-headers-ISO99): Likewise.
5651         (conformtest-headers-ISO11): Likewise.
5652         (conformtest-headers-POSIX): Likewise.
5653         (conformtest-headers-XPG3): Likewise.
5654         (conformtest-headers-XPG4): Likewise.
5655         (conformtest-headers-UNIX98): Likewise.
5656         (conformtest-headers-XOPEN2K): Likewise.
5657         (conformtest-headers-POSIX2008): Likewise.
5658         (conformtest-headers-XOPEN2K8): Likewise.
5659         (conformtest-header-list-base): Likewise.
5660         (conformtest-header-list-tests): Likewise.
5661         (conformtest-header-base): Likewise.
5662         (conformtest-header-tests): Likewise.
5663         (tests-special): Add $(conformtest-header-list-tests).  If
5664         [$(fast-check) && !$(cross-compiling)], add
5665         $(conformtest-header-tests) instead of
5666         $(objpfx)run-conformtest.out.
5667         (generated): Add $(conformtest-header-list-base).  If
5668         [$(fast-check) && !$(cross-compiling)], add
5669         $(conformtest-header-base).  Remove previous setting.
5670         ($(conformtest-header-list-tests)): New target.
5671         (test-xfail-run-conformtest): Remove variable.
5672         ($(objpfx)run-conformtest.out): Remove target.
5673         (test-xfail-ISO11/complex.h/conform): New variable.
5674         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5675         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5676         (test-xfail-XPG3/varargs.h/conform): Likewise.
5677         (test-xfail-XPG4/varargs.h/conform): Likewise.
5678         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5679         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5680         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5681         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5682         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5683         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5684         (test-xfail-XPG3/ftw.h/conform): Likewise.
5685         (test-xfail-XPG3/grp.h/conform): Likewise.
5686         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5687         (test-xfail-XPG3/limits.h/conform): Likewise.
5688         (test-xfail-XPG3/pwd.h/conform): Likewise.
5689         (test-xfail-XPG3/search.h/conform): Likewise.
5690         (test-xfail-XPG3/signal.h/conform): Likewise.
5691         (test-xfail-XPG3/stdio.h/conform): Likewise.
5692         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5693         (test-xfail-XPG3/string.h/conform): Likewise.
5694         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5695         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5696         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5697         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5698         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5699         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5700         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5701         (test-xfail-XPG3/termios.h/conform): Likewise.
5702         (test-xfail-XPG3/time.h/conform): Likewise.
5703         (test-xfail-XPG3/unistd.h/conform): Likewise.
5704         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5705         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5706         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5707         (test-xfail-XPG4/netdb.h/conform): Likewise.
5708         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5709         (test-xfail-XPG4/signal.h/conform): Likewise.
5710         (test-xfail-XPG4/stdio.h/conform): Likewise.
5711         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5712         (test-xfail-XPG4/stropts.h/conform): Likewise.
5713         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5714         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5715         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5716         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5717         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5718         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5719         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5720         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5721         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5722         (test-xfail-XPG4/termios.h/conform): Likewise.
5723         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5724         (test-xfail-XPG4/unistd.h/conform): Likewise.
5725         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5726         (test-xfail-POSIX/sched.h/conform): Likewise.
5727         (test-xfail-POSIX/signal.h/conform): Likewise.
5728         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5729         (test-xfail-POSIX/tar.h/conform): Likewise.
5730         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5731         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5732         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5733         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5734         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5735         (test-xfail-UNIX98/sched.h/conform): Likewise.
5736         (test-xfail-UNIX98/signal.h/conform): Likewise.
5737         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5738         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5739         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5740         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5741         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5742         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5743         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5744         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5745         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5746         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5747         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5748         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5749         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5750         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5751         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5752         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5753         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5754         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5755         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5756         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5757         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5758         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5759         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5760         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5761         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5762         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5763         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5764         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5765         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5766         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5767         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5768         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5769         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5770         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5771         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5772         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5773         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5774         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5775         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5776         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5777         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5778         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5779         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5780         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5781         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5782         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5783         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5784         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5785         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5786         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5787         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5788         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5789         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5790         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5791         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5792         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5793         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5794         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5795         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5796         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5797         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5798         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5799         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5800         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5801         (conformtest-cc-flags): Likewise.
5802         ($(conformtest-header-tests): New target.
5803         * conform/check-header-lists.sh: New file.
5804         * conform/run-conformtest.sh: Remove.
5805
5806         * conform/conformtest.pl: Allow ' and \ in values given for
5807         constants.
5808         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5809         inclusion.
5810         [POSIX] (sys/types.h): Likewise.
5811         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5812         inclusion.
5813         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5814         inclusion.
5815         * conform/data/signal.h-data (SIGIO): Remove expectation.
5816         [XPG3] (SIGBUS): Do not expect.
5817         [POSIX || XPG3] (SIGPOLL): Likewise.
5818         [POSIX || XPG3] (SIGPROF): Likewise.
5819         [POSIX || XPG3] (SIGSYS): Likewise.
5820         [XPG3] (SIGTRAP): Likewise.
5821         [POSIX || XPG3] (SIGURG): Likewise.
5822         [POSIX || XPG3] (SIGVTALRM): Likewise.
5823         [POSIX || XPG3] (SIGXCPU): Likewise.
5824         [POSIX || XPG3] (SIGXFSZ): Likewise.
5825         [POSIX] (SA_SIGINFO): Expect.
5826         [XPG3] (siginfo_t): Do not expect type or contents.
5827         [POSIX] (si_pid): Do not expect element.
5828         [POSIX] (si_uid): Likewise.
5829         [POSIX] (si_addr): Likewise.
5830         [POSIX] (si_status): Likewise.
5831         [POSIX] (si_band): Likewise.
5832         [XPG4] (si_value): Likewise.
5833         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5834         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5835         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5836         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5837         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5838         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5839         [POSIX || XPG3] (ILL_COPROC): Likewise.
5840         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5841         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5842         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5843         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5844         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5845         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5846         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5847         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5848         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5849         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5850         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5851         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5852         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5853         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5854         [POSIX || XPG3] (CLD_EXITED): Likewise.
5855         [POSIX || XPG3] (CLD_KILLED): Likewise.
5856         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5857         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5858         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5859         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5860         [POSIX || XPG3] (POLL_IN): Likewise.
5861         [POSIX || XPG3] (POLL_OUT): Likewise.
5862         [POSIX || XPG3] (POLL_MSG): Likewise.
5863         [POSIX || XPG3] (POLL_ERR): Likewise.
5864         [POSIX || XPG3] (POLL_PRI): Likewise.
5865         [POSIX || XPG3] (POLL_HUP): Likewise.
5866         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5867         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5868         (SIG*): Do not allow.
5869         [XPG3] (si_*): Likewise.
5870         [XPG3] (SI_*): Likewise.
5871         [XPG3 || XPG4] (sigev_*): Likewise.
5872         [XPG3 || XPG4] (SIGEV_*): Likewise.
5873         [XPG3 || XPG4] (sival_*): Likewise.
5874         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5875         [POSIX || XPG3] (BUS_*): Likewise.
5876         [POSIX || XPG3] (CLD_*): Likewise.
5877         [POSIX || XPG3] (FPE_*): Likewise.
5878         [POSIX || XPG3] (ILL_*): Likewise.
5879         [POSIX || XPG3] (POLL_*): Likewise.
5880         [POSIX || XPG3] (SEGV_*): Likewise.
5881         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5882         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5883         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5884         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5885         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5886         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5887         Specify type and value.
5888         (TVERSLEN): Likewise.
5889         (REGTYPE): Likewise.
5890         (AREGTYPE): Likewise.
5891         (LNKTYPE): Likewise.
5892         (SYMTYPE): Likewise.
5893         (CHRTYPE): Likewise.
5894         (BLKTYPE): Likewise.
5895         (DIRTYPE): Likewise.
5896         (FIFOTYPE): Likewise.
5897         (CONTTYPE): Likewise.
5898         (TSUID): Likewise.
5899         (TSGID): Likewise.
5900         (TSVTX): Likewise.
5901         (TUREAD): Likewise.
5902         (TUWRITE): Likewise.
5903         (TUEXEC): Likewise.
5904         (TGREAD): Likewise.
5905         (TGWRITE): Likewise.
5906         (TGEXEC): Likewise.
5907         (TOREAD): Likewise.
5908         (TOWRITE): Likewise.
5909         (TOEXEC): Likewise.
5910         [POSIX] (TSVTX): Expect constant.
5911
5912 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5913
5914         * Makefile (tests): Change dependencies to ....
5915         (tests-special): ... additions to this variable.
5916         (tests): Depend on $(tests-special).
5917         * Makerules (check-abi-list): New variable.
5918         (check-abi): Depend on $(check-abi-list).
5919         [$(subdir) = elf] (tests-special): Add
5920         $(objpfx)check-abi-libc.out.
5921         [$(build-shared) = yes && subdir] (tests-special): Add
5922         $(check-abi-list).
5923         [$(build-shared) = yes && subdir] (tests): Do not depend on
5924         check-abi.
5925         * Rules (tests): Depend on $(tests-special).
5926         (xtests): Depend on $(xtests-special).
5927         * catgets/Makefile (tests): Change dependencies to ....
5928         (tests-special): ... additions to this variable.
5929         * conform/Makefile (tests): Change dependencies to ....
5930         (tests-special): ... additions to this variable.
5931         * elf/Makefile (tests): Change dependencies to ....
5932         (tests-special): ... additions to this variable.
5933         * grp/Makefile (tests): Change dependencies to ....
5934         (tests-special): ... additions to this variable.
5935         * iconv/Makefile (xtests): Change dependencies to ....
5936         (xtests-special): ... additions to this variable.
5937         * iconvdata/Makefile (tests): Change dependencies to ....
5938         (tests-special): ... additions to this variable.
5939         * intl/Makefile (tests): Change dependencies to ....
5940         (tests-special): ... additions to this variable.  Also add
5941         $(objpfx)tst-gettext.out.
5942         * io/Makefile (tests): Change dependencies to ....
5943         (tests-special): ... additions to this variable.
5944         * libio/Makefile (tests): Change dependencies to ....
5945         (tests-special): ... additions to this variable.
5946         * malloc/Makefile (tests): Change dependencies to ....
5947         (tests-special): ... additions to this variable.
5948         * misc/Makefile (tests): Change dependencies to ....
5949         (tests-special): ... additions to this variable.
5950         * nptl/Makefile (tests): Change dependencies to ....
5951         (tests-special): ... additions to this variable.
5952         * nptl_db/Makefile (tests): Change dependencies to ....
5953         (tests-special): ... additions to this variable.
5954         * posix/Makefile (tests): Change dependencies to ....
5955         (tests-special): ... additions to this variable.
5956         (xtests): Change dependencies to ....
5957         (xtests-special): ... additions to this variable.
5958         * resolv/Makefile (tests): Change dependencies to ....
5959         (tests-special): ... additions to this variable.
5960         (xtests): Change dependencies to ....
5961         (xtests-special): ... additions to this variable.
5962         * stdio-common/Makefile (tests): Change dependencies to ....
5963         (tests-special): ... additions to this variable.
5964         (do-tst-unbputc): Remove target.
5965         (do-tst-printf): Likewise.
5966         * stdlib/Makefile (tests): Change dependencies to ....
5967         (tests-special): ... additions to this variable.
5968         * string/Makefile (tests): Change dependencies to ....
5969         (tests-special): ... additions to this variable.
5970         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5971         (tests-special): ... additions to this variable.
5972
5973         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5974         whole file.
5975         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5976         whole file.
5977         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5978         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5979
5980         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5981         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5982         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5983         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5984         * conform/data/libgen.h-data [XPG3]: Likewise.
5985         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5986         * conform/data/ndbm.h-data [XPG3]: Likewise.
5987         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5988         * conform/data/netdb.h-data [XPG3]: Likewise.
5989         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5990         * conform/data/poll.h-data [XPG3]: Likewise.
5991         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5992         * conform/data/strings.h-data [XPG3]: Likewise.
5993         * conform/data/stropts.h-data [XPG3]: Likewise.
5994         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5995         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5996         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5997         Likewise.
5998         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5999         * conform/data/sys/time.h-data [XPG3]: Likewise.
6000         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6001         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6002         * conform/data/sys/un.h-data [XPG3]: Likewise.
6003         * conform/data/syslog.h-data [XPG3]: Likewise.
6004         * conform/data/ucontext.h-data [XPG3]: Likewise.
6005         * conform/data/utmpx.h-data [XPG3]: Likewise.
6006         * conform/data/varargs.h-data [UNIX98]: Enable file.
6007
6008         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6009
6010         * math/libm-test.inc (struct test_f_f_data): Move expected results
6011         into structure for each rounding mode.
6012         (struct test_ff_f_data): Likewise.
6013         (struct test_ff_f_data_nexttoward): Likewise.
6014         (struct test_fi_f_data): Likewise.
6015         (struct test_fl_f_data): Likewise.
6016         (struct test_if_f_data): Likewise.
6017         (struct test_fff_f_data): Likewise.
6018         (struct test_c_f_data): Likewise.
6019         (struct test_f_f1_data): Likewise.
6020         (struct test_fF_f1_data): Likewise.
6021         (struct test_ffI_f1_data): Likewise.
6022         (struct test_c_c_data): Likewise.
6023         (struct test_cc_c_data): Likewise.
6024         (struct test_f_i_data): Likewise.
6025         (struct test_ff_i_data): Likewise.
6026         (struct test_f_l_data): Likewise.
6027         (struct test_f_L_data): Likewise.
6028         (struct test_fFF_11_data): Likewise.
6029         (RM_): New macro.
6030         (RM_FE_DOWNWARD): Likewise.
6031         (RM_FE_TONEAREST): Likewise.
6032         (RM_FE_TOWARDZERO): Likewise.
6033         (RM_FE_UPWARD): Likewise.
6034         (RUN_TEST_LOOP_f_f): Update references to expected results.
6035         (RUN_TEST_LOOP_2_f): Likewise.
6036         (RUN_TEST_LOOP_fff_f): Likewise.
6037         (RUN_TEST_LOOP_c_f): Likewise.
6038         (RUN_TEST_LOOP_f_f1): Likewise.
6039         (RUN_TEST_LOOP_fF_f1): Likewise.
6040         (RUN_TEST_LOOP_fI_f1): Likewise.
6041         (RUN_TEST_LOOP_ffI_f1): Likewise.
6042         (RUN_TEST_LOOP_c_c): Likewise.
6043         (RUN_TEST_LOOP_cc_c): Likewise.
6044         (RUN_TEST_LOOP_f_i): Likewise.
6045         (RUN_TEST_LOOP_f_i_tg): Likewise.
6046         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6047         (RUN_TEST_LOOP_f_b): Likewise.
6048         (RUN_TEST_LOOP_f_b_tg): Likewise.
6049         (RUN_TEST_LOOP_f_l): Likewise.
6050         (RUN_TEST_LOOP_f_L): Likewise.
6051         (RUN_TEST_LOOP_fFF_11): Likewise.
6052         * math/gen-libm-test.pl (parse_args): Output four copies of
6053         expected results for each test.
6054
6055         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6056         (__ASSUME_UTIMES): Remove.
6057         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6058         (__ASSUME_UTIMES): Likewise.
6059
6060         * math/gen-auto-libm-tests.c: Update comment on output format.
6061         (output_for_one_input_case): Generate before-rounding and
6062         after-rounding information as conditions on output flags not
6063         floating-point format.
6064         * math/auto-libm-test-out: Regenerated.
6065         * math/gen-libm-test.pl (cond_value): New function.
6066         (or_cond_value): Use cond_value.
6067         (generate_testfile): Handle conditional exceptions.
6068
6069 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6070
6071         * math/libm-test.inc (max_valid_error): New variable.
6072         (init_max_error): Take new argument specifying whether function
6073         results are exactly determined.  Set max_valid_error and bound
6074         other variables for errors based on this argument.
6075         (set_max_error): Do not record results above max_valid_error.
6076         (check_float_internal): Only accept errors of up to 0.5ulps if
6077         also at most max_valid_error.
6078         (START): Take new argument EXACT and pass it to init_max_error.
6079         (acos_test): Update call to START.
6080         (acos_test_tonearest): Likewise.
6081         (acos_test_towardzero): Likewise.
6082         (acos_test_downward): Likewise.
6083         (acos_test_upward): Likewise.
6084         (acosh_test): Likewise.
6085         (asin_test): Likewise.
6086         (asin_test_tonearest): Likewise.
6087         (asin_test_towardzero): Likewise.
6088         (asin_test_downward): Likewise.
6089         (asin_test_upward): Likewise.
6090         (asinh_test): Likewise.
6091         (atan_test): Likewise.
6092         (atanh_test): Likewise.
6093         (atan2_test): Likewise.
6094         (cabs_test): Likewise.
6095         (cacos_test): Likewise.
6096         (cacosh_test): Likewise.
6097         (carg_test): Likewise.
6098         (casin_test): Likewise.
6099         (casinh_test): Likewise.
6100         (catan_test): Likewise.
6101         (catanh_test): Likewise.
6102         (cbrt_test): Likewise.
6103         (ccos_test): Likewise.
6104         (ccosh_test): Likewise.
6105         (ceil_test): Likewise.
6106         (cexp_test): Likewise.
6107         (cimag_test): Likewise.
6108         (clog_test): Likewise.
6109         (clog10_test): Likewise.
6110         (conj_test): Likewise.
6111         (copysign_test): Likewise.
6112         (cos_test): Likewise.
6113         (cos_test_tonearest): Likewise.
6114         (cos_test_towardzero): Likewise.
6115         (cos_test_downward): Likewise.
6116         (cos_test_upward): Likewise.
6117         (cosh_test): Likewise.
6118         (cosh_test_tonearest): Likewise.
6119         (cosh_test_towardzero): Likewise.
6120         (cosh_test_downward): Likewise.
6121         (cosh_test_upward): Likewise.
6122         (cpow_test): Likewise.
6123         (cproj_test): Likewise.
6124         (creal_test): Likewise.
6125         (csin_test): Likewise.
6126         (csinh_test): Likewise.
6127         (csqrt_test): Likewise.
6128         (ctan_test): Likewise.
6129         (ctan_test_tonearest): Likewise.
6130         (ctan_test_towardzero): Likewise.
6131         (ctan_test_downward): Likewise.
6132         (ctan_test_upward): Likewise.
6133         (ctanh_test): Likewise.
6134         (ctanh_test_tonearest): Likewise.
6135         (ctanh_test_towardzero): Likewise.
6136         (ctanh_test_downward): Likewise.
6137         (ctanh_test_upward): Likewise.
6138         (erf_test): Likewise.
6139         (erfc_test): Likewise.
6140         (exp_test): Likewise.
6141         (exp_test_tonearest): Likewise.
6142         (exp_test_towardzero): Likewise.
6143         (exp_test_downward): Likewise.
6144         (exp_test_upward): Likewise.
6145         (exp10_test): Likewise.
6146         (exp10_test_tonearest): Likewise.
6147         (exp10_test_towardzero): Likewise.
6148         (exp10_test_downward): Likewise.
6149         (exp10_test_upward): Likewise.
6150         (pow10_test): Likewise.
6151         (exp2_test): Likewise.
6152         (expm1_test): Likewise.
6153         (expm1_test_tonearest): Likewise.
6154         (expm1_test_towardzero): Likewise.
6155         (expm1_test_downward): Likewise.
6156         (expm1_test_upward): Likewise.
6157         (fabs_test): Likewise.
6158         (fdim_test): Likewise.
6159         (floor_test): Likewise.
6160         (fma_test): Likewise.
6161         (fma_test_towardzero): Likewise.
6162         (fma_test_downward): Likewise.
6163         (fma_test_upward): Likewise.
6164         (fmax_test): Likewise.
6165         (fmin_test): Likewise.
6166         (fmod_test): Likewise.
6167         (fpclassify_test): Likewise.
6168         (frexp_test): Likewise.
6169         (hypot_test): Likewise.
6170         (ilogb_test): Likewise.
6171         (isfinite_test): Likewise.
6172         (finite_test): Likewise.
6173         (isgreater_test): Likewise.
6174         (isgreaterequal_test): Likewise.
6175         (isinf_test): Likewise.
6176         (isless_test): Likewise.
6177         (islessequal_test): Likewise.
6178         (islessgreater_test): Likewise.
6179         (isnan_test): Likewise.
6180         (isnormal_test): Likewise.
6181         (issignaling_test): Likewise.
6182         (isunordered_test): Likewise.
6183         (j0_test): Likewise.
6184         (j1_test): Likewise.
6185         (jn_test): Likewise.
6186         (ldexp_test): Likewise.
6187         (lgamma_test): Likewise.
6188         (gamma_test): Likewise.
6189         (lrint_test): Likewise.
6190         (lrint_test_tonearest): Likewise.
6191         (lrint_test_towardzero): Likewise.
6192         (lrint_test_downward): Likewise.
6193         (lrint_test_upward): Likewise.
6194         (llrint_test): Likewise.
6195         (llrint_test_tonearest): Likewise.
6196         (llrint_test_towardzero): Likewise.
6197         (llrint_test_downward): Likewise.
6198         (llrint_test_upward): Likewise.
6199         (log_test): Likewise.
6200         (log10_test): Likewise.
6201         (log1p_test): Likewise.
6202         (log2_test): Likewise.
6203         (logb_test): Likewise.
6204         (logb_test_downward): Likewise.
6205         (lround_test): Likewise.
6206         (llround_test): Likewise.
6207         (modf_test): Likewise.
6208         (nearbyint_test): Likewise.
6209         (nextafter_test): Likewise.
6210         (nexttoward_test): Likewise.
6211         (pow_test): Likewise.
6212         (pow_test_tonearest): Likewise.
6213         (pow_test_towardzero): Likewise.
6214         (pow_test_downward): Likewise.
6215         (pow_test_upward): Likewise.
6216         (remainder_test): Likewise.
6217         (drem_test): Likewise.
6218         (remainder_test_tonearest): Likewise.
6219         (drem_test_tonearest): Likewise.
6220         (remainder_test_towardzero): Likewise.
6221         (drem_test_towardzero): Likewise.
6222         (remainder_test_downward): Likewise.
6223         (drem_test_downward): Likewise.
6224         (remainder_test_upward): Likewise.
6225         (drem_test_upward): Likewise.
6226         (remquo_test): Likewise.
6227         (rint_test): Likewise.
6228         (rint_test_tonearest): Likewise.
6229         (rint_test_towardzero): Likewise.
6230         (rint_test_downward): Likewise.
6231         (rint_test_upward): Likewise.
6232         (round_test): Likewise.
6233         (scalb_test): Likewise.
6234         (scalbn_test): Likewise.
6235         (scalbln_test): Likewise.
6236         (signbit_test): Likewise.
6237         (sin_test): Likewise.
6238         (sin_test_tonearest): Likewise.
6239         (sin_test_towardzero): Likewise.
6240         (sin_test_downward): Likewise.
6241         (sin_test_upward): Likewise.
6242         (sincos_test): Likewise.
6243         (sinh_test): Likewise.
6244         (sinh_test_tonearest): Likewise.
6245         (sinh_test_towardzero): Likewise.
6246         (sinh_test_downward): Likewise.
6247         (sinh_test_upward): Likewise.
6248         (sqrt_test): Likewise.
6249         (sqrt_test_tonearest): Likewise.
6250         (sqrt_test_towardzero): Likewise.
6251         (sqrt_test_downward): Likewise.
6252         (sqrt_test_upward): Likewise.
6253         (tan_test): Likewise.
6254         (tan_test_tonearest): Likewise.
6255         (tan_test_towardzero): Likewise.
6256         (tan_test_downward): Likewise.
6257         (tan_test_upward): Likewise.
6258         (tanh_test): Likewise.
6259         (tgamma_test): Likewise.
6260         (trunc_test): Likewise.
6261         (y0_test): Likewise.
6262         (y1_test): Likewise.
6263         (yn_test): Likewise.
6264         (significand_test): Likewise.
6265
6266         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6267         individual tests in comment.
6268         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6269         (prev_max_error): New variable.
6270         (prev_real_max_error): Likewise.
6271         (prev_imag_max_error): Likewise.
6272         (compare_ulp_data): Don't refer to test names in comment.
6273         (find_test_ulps): Remove function.
6274         (find_function_ulps): Likewise.
6275         (find_complex_function_ulps): Likewise.
6276         (init_max_error): Take function name as argument.  Look up ulps
6277         for that function.
6278         (print_ulps): Remove function.
6279         (print_max_error): Use prev_max_error instead of calling
6280         find_function_ulps.
6281         (print_complex_max_error): Use prev_real_max_error and
6282         prev_imag_max_error instead of calling find_complex_function_ulps.
6283         (check_float_internal): Take max_ulp parameter instead of calling
6284         find_test_ulps.  Don't call print_ulps.
6285         (check_float): Update call to check_float_internal.
6286         (check_complex): Update calls to check_float_internal.
6287         (START): Pass argument to init_max_error.
6288         * math/gen-libm-test.pl (%results): Don't include "kind"
6289         information.
6290         (parse_ulps): Don't handle ulps of individual tests.
6291         (print_ulps_file): Likewise.
6292         (output_ulps): Likewise.
6293         * math/README.libm-test: Update.
6294         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6295         individual tests.
6296         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6297         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6298         * sysdeps/arm/libm-test-ulps: Likewise.
6299         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6300         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6301         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6302         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6303         * sysdeps/microblaze/libm-test-ulps: Likewise.
6304         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6305         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6306         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6307         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6308         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6309         * sysdeps/sh/libm-test-ulps: Likewise.
6310         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6311         * sysdeps/tile/libm-test-ulps: Likewise.
6312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6313
6314 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6315
6316         * math/libm-test.inc (print_complex_max_error): Check separately
6317         whether real and imaginary errors are within allowed range and
6318         pass 0 to print_complex_function_ulps instead of value within
6319         allowed range.
6320
6321 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6322
6323         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6324         formatting.
6325         (get_handles_fopen): Likewise.
6326         (do_write_test): Likewise.
6327
6328         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6329
6330         * libio/fileops.c (do_ftell): Use cached offset when
6331         available.
6332         * libio/iofwide.c (do_ftell_wide): Likewise.
6333         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6334         _IO_file_attach.
6335         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6336
6337         [BZ #16532]
6338         * libio/libioP.h (get_file_offset): New function.
6339         * libio/fileops.c (get_file_offset): Likewise.
6340         (do_ftell): Likewise.
6341         (_IO_new_file_seekoff): Split out ftell logic.
6342         * libio/wfileops.c (do_ftell_wide): Likewise.
6343         (_IO_wfile_seekoff): Split out ftell logic.
6344         * libio/tst-ftell-active-handler.c: New test case.
6345         * libio/Makefile (tests): Add it.
6346
6347 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6348
6349         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6350         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6351
6352 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6353
6354         [BZ #16639]
6355         * nscd/connections.c (nscd_init): Call do_exit.
6356         (start_threads): Call do_exit and notify_parent.
6357         (begin_drop_privileges): Call do_exit.
6358         (finish_drop_privileges): Likewise.
6359         * nscd/selinux.c (preserve_capabilities): Likewise.
6360         (install_real_capabilities): Likewise.
6361         (nscd_selinux_enabled): Likewise.
6362         (avc_create_thread): Likewise.
6363         (avc_alloc_lock): Likewise.
6364         (nscd_avc_init): Likewise.
6365         * nscd/nscd.c (parent_fd): New static variable.
6366         (main): Create a pipe between parent and child processes.
6367         Skip closing parent_fd.
6368         (monitor_child): New function.
6369         (do_exit): Likewise.
6370         (notify_parent): Likewise.
6371         * nscd/nscd.h (notify_parent): Likewise.
6372         (do_exit): Likewise.
6373
6374 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6375
6376         * malloc/malloc.c (__libc_calloc): Revert last change.
6377
6378 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6379
6380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6381
6382 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6383
6384         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6386         implementation.
6387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6388         (__libc_ifunc_impl_list): Likewise.
6389         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6390         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6391         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6392         * string/strrchr.c: Define STRRCHR.
6393
6394 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6395
6396         * benchtest/bench-strtok.c (simple_strtok): Delete.
6397         (strtok_string): Use as benchmark.
6398         * string/strtok (STRTOK): New macro.
6399
6400 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6401
6402         * manual/threads.texi: Add header and standard comments to all
6403         functions.
6404
6405         * elf/dl-lookup.c (check_match): New function.
6406         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6407         (do_lookup_x): Remove nested function check_match. Use non-nested
6408         function check_match.
6409
6410 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6411
6412         * csu/Makefile (generated, before-compile): Use += rather than =.
6413         * catgets/Makefile (generated, generated-dirs): Likewise.
6414         * debug/Makefile (generated): Likewise.
6415         * dlfcn/Makefile (generated): Likewise.
6416         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6417         * iconvdata/Makefile (before-compile, generated): Likewise.
6418         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6419         * libio/Makefile (generated): Likewise.
6420         * malloc/Makefile (generated): Likewise.
6421         * manual/Makefile (generated, generated-dirs): Likewise.
6422         * misc/Makefile (generated): Likewise.
6423         * posix/Makefile (generated): Likewise.
6424         * resolv/Makefile (generated): Likewise.
6425         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6426         * timezone/Makefile (generated, generated-dirs): Likewise.
6427
6428         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6429
6430 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6431
6432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6433         power8 implementation.
6434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6435         file: POWER8 llround ifunc implementation.
6436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6437         (__lllround): Add POWER8 implementation.
6438         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6439         POWER8 llround implementation.
6440
6441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6442         power8 implementation.
6443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6444         file: POWER8 llrint ifunc implementation.
6445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6446         Add POWER8 implementation.
6447         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6448         POWER8 llrint implementation.
6449
6450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6451         power8 implementation.
6452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6453         file: POWER8 finite ifunc implementation.
6454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6455         Add POWER8 implementation.
6456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6457         Likewise.
6458         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6459         POWER8 finite implementation.
6460         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6461
6462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6463         power8 implementation.
6464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6465         file: POWER8 isinf ifunc implementation.
6466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6467         POWER8 implementation.
6468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6469         Likewise.
6470         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6471         isinf implementation.
6472         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6473
6474         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6475         (INIT_ARCH): Add hwcap2 initialization.
6476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6477         power8 implementation.
6478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6479         file: POWER8 isnan ifunc implementation.
6480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6481         POWER8 implementation.
6482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6483         Likewise.
6484         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6485         isnan implementation.
6486         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6487
6488 2014-02-27  Joey Ye  <joey.ye@arm.com>
6489
6490         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6491         (_FP_NANFRAC_Q): Set to zero.
6492
6493 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6494
6495         [BZ #16623]
6496         * math/auto-libm-test-in: New test inputs.
6497         * math/auto-libm-test-out: Regenerate.
6498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6499         and DA.
6500         (__cos): Likewise.
6501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6502
6503 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6504
6505         * scripts/evaluate-test.sh: Take new argument indicating whether
6506         failure is expected.
6507         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6508         indicating whether failure is expected.
6509         * conform/Makefile (test-xfail-run-conformtest): New variable.
6510         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6511         level.
6512         * posix/Makefile (test-xfail-annexc): New variable.
6513         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6514
6515 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6516
6517         * argp/Makefile: Include Makeconfig immediately after defining
6518         subdir.
6519         * assert/Makefile: Likewise.
6520         * benchtests/Makefile: Likewise.
6521         * catgets/Makefile: Likewise.
6522         * conform/Makefile: Likewise.
6523         * crypt/Makefile: Likewise.
6524         * csu/Makefile: Likewise.
6525         (all): Remove target.
6526         * ctype/Makefile: Include Makeconfig immediately after defining
6527         subdir.
6528         * debug/Makefile: Likewise.
6529         * dirent/Makefile: Likewise.
6530         * dlfcn/Makefile: Likewise.
6531         * gmon/Makefile: Likewise.
6532         * gnulib/Makefile: Likewise.
6533         * grp/Makefile: Likewise.
6534         * gshadow/Makefile: Likewise.
6535         * hesiod/Makefile: Likewise.
6536         * hurd/Makefile: Likewise.
6537         (all): Remove target.
6538         * iconvdata/Makefile: Include Makeconfig immediately after
6539         defining subdir.
6540         * inet/Makefile: Likewise.
6541         * intl/Makefile: Likewise.
6542         * io/Makefile: Likewise.
6543         * libio/Makefile: Likewise.
6544         (all): Remove target.
6545         * locale/Makefile: Include Makeconfig immediately after defining
6546         subdir.
6547         * login/Makefile: Likewise.
6548         * mach/Makefile: Likewise.
6549         (all): Remove target.
6550         * malloc/Makefile: Include Makeconfig immediately after defining
6551         subdir.
6552         (all): Remove target.
6553         * manual/Makefile: Include Makeconfig immediately after defining
6554         subdir.
6555         * math/Makefile: Likewise.
6556         * misc/Makefile: Likewise.
6557         * nis/Makefile: Likewise.
6558         * nss/Makefile: Likewise.
6559         * po/Makefile: Likewise.
6560         (all): Remove target.
6561         * posix/Makefile: Include Makeconfig immediately after defining
6562         subdir.
6563         * pwd/Makefile: Likewise.
6564         * resolv/Makefile: Likewise.
6565         * resource/Makefile: Likewise.
6566         * rt/Makefile: Likewise.
6567         * setjmp/Makefile: Likewise.
6568         * shadow/Makefile: Likewise.
6569         * signal/Makefile: Likewise.
6570         * socket/Makefile: Likewise.
6571         * soft-fp/Makefile: Likewise.
6572         * stdio-common/Makefile: Likewise.
6573         * stdlib/Makefile: Likewise.
6574         * streams/Makefile: Likewise.
6575         * string/Makefile: Likewise.
6576         * sunrpc/Makefile: Likewise.
6577         (all): Remove target.
6578         * sysvipc/Makefile: Include Makeconfig immediately after defining
6579         subdir.
6580         * termios/Makefile: Likewise.
6581         * time/Makefile: Likewise.
6582         * timezone/Makefile: Likewise.
6583         (all): Remove target.
6584         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6585         subdir.
6586         * wctype/Makefile: Likewise.
6587
6588 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6589
6590         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6591         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6592         (libc_feholdexcept_setround_mips): Ditto.
6593         (libc_feholdsetround): New.
6594         (libc_feholdsetroundf): New.
6595         (libc_feholdsetroundl): New.
6596         (libc_feupdateenv_test_mips): New.
6597         (libc_feupdateenv_test): New.
6598         (libc_feupdateenv_testf): New.
6599         (libc_feupdateenv_testl): New.
6600         (libc_feresetround): New.
6601         (libc_feresetroundf): New.
6602         (libc_feresetroundl): New.
6603         (libc_fetestexcept_mips): New.
6604         (libc_fetestexcept): New.
6605         (libc_fetestexceptf): New.
6606         (libc_fetestexceptl): New.
6607         (HAVE_RM_CTX): New.
6608         (libc_feholdexcept_setround_mips_ctx): New.
6609         (libc_feholdexcept_setround_ctx): New.
6610         (libc_feholdexcept_setroundf_ctx): New.
6611         (libc_feholdexcept_setroundl_ctx): New.
6612         (libc_fesetenv_mips_ctx): New.
6613         (libc_fesetenv_ctx): New.
6614         (libc_fesetenv_ctxf): New.
6615         (libc_fesetenv_ctxl): New.
6616         (libc_feupdateenv_mips_ctx): New.
6617         (libc_feupdateenv_ctx): New.
6618         (libc_feupdateenvf_ctx): New.
6619         (libc_feupdateenvl_ctx): New.
6620         (libc_feholdsetround_mips_ctx): New.
6621         (libc_feholdsetround_ctx): New.
6622         (libc_feholdsetroundf_ctx): New.
6623         (libc_feholdsetroundl_ctx): New.
6624         (libc_feresetround_mips_ctx): New.
6625         (libc_feresetround_ctx): New.
6626         (libc_feresetroundf_ctx): New.
6627         (libc_feresetroundl_ctx): New.
6628
6629 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6630
6631         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6632
6633         * manual/ipc.texi: New file.
6634         * manual/Makefile (chapters): Add ipc.
6635         * manual/job.texi: Add "Inter-Process Communication" to next.
6636         * manual/process.texi: Add "Inter-Process Communication" to prev.
6637
6638 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6639
6640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6641
6642 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6643
6644         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6645
6646         * manual/arith.texi: Fix spaces after sentences.
6647         * manual/charset.texi: Likewise.
6648         * manual/errno.texi: Likewise.
6649         * manual/install.texi: Likewise.
6650         * manual/llio.texi: Likewise.
6651         * manual/locale.texi: Likewise.
6652         * manual/maint.texi: Likewise.
6653         * manual/math.texi: Likewise.
6654         * manual/memory.texi: Likewise.
6655         * manual/message.texi: Likewise.
6656         * manual/probes.texi: Likewise.
6657         * manual/resource.texi: Likewise.
6658         * manual/signal.texi: Likewise.
6659         * manual/socket.texi: Likewise.
6660         * manual/stdio.texi: Likewise.
6661         * manual/string.texi: Likewise.
6662         * manual/time.texi: Likewise.
6663         * manual/users.texi: Likewise.
6664
6665 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6666
6667         [BZ #16632]
6668         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6669         _DEFAULT_SOURCE is defined.
6670
6671 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6672             Carlos O'Donell  <carlos@redhat.com>
6673
6674         [BZ #16613]
6675         * elf/dl-tls.c (_dl_count_modids): New function.
6676         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6677         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6678         audit library and increment generation counter.
6679         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6680         * elf/tst-audit9.c: New file.
6681         * elf/tst-auditmod9a.c: New file.
6682         * elf/tst-auditmod9b.c: New file.
6683         * elf/Makefile: Add rules to build and run tst-audit9.
6684
6685 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6686
6687         [BZ #15347]
6688         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6689
6690 2014-02-25  Will Newton  <will.newton@linaro.org>
6691
6692         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6693         (__longjmp): Restore sp and lr before restoring callee
6694         saved registers.  Add longjmp and longjmp_target
6695         SystemTap probe point.
6696         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6697         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6698         Define to zero to match jmpbuf layout.
6699         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6700         (__sigsetjmp): Save sp and lr before saving callee
6701         saved registers.  Add setjmp SystemTap probe point.
6702
6703 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6704
6705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6706
6707 2014-02-24  Andreas Schwab  <schwab@suse.de>
6708
6709         [BZ #15804]
6710         * elf/pldd.c (wait_for_ptrace_stop): New function.
6711         (main): Call it after attaching.
6712
6713 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6714
6715         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6716         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6717         Versions files is now verboten.
6718         * hurd/Versions (libc: GLIBC_2.0):
6719         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6720         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6721         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6722         * mach/Versions: Likewise.
6723
6724         * csu/Versions: Remove unused %include.
6725         * resolv/Versions: Likewise.
6726
6727 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6728
6729         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6730         ($(objpfx)check-local-headers.out): Likewise.
6731         ($(objpfx)begin-end-check.out): Likewise.
6732         * Makerules (check-abi-%.out): Likewise.
6733         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6734         ($(objpfx)test2.cat): Likewise.
6735         ($(objpfx)de/libc.cat): Likewise.
6736         ($(objpfx)test-gencat.out): Likewise.
6737         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6738         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6739         ($(objpfx)noload-mem): Likewise.
6740         ($(objpfx)tst-pathopt.out): Likewise.
6741         ($(objpfx)tst-rtld-load-self.out): Likewise.
6742         ($(objpfx)tst-array1-cmp.out): Likewise.
6743         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6744         ($(objpfx)tst-array2-cmp.out): Likewise.
6745         ($(objpfx)tst-array3-cmp.out): Likewise.
6746         ($(objpfx)tst-array4-cmp.out): Likewise.
6747         ($(objpfx)tst-array5-cmp.out): Likewise.
6748         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6749         ($(objpfx)check-textrel.out): Likewise.
6750         ($(objpfx)check-execstack.out): Likewise.
6751         ($(objpfx)check-localplt.out): Likewise.
6752         ($(objpfx)order2-cmp.out): Likewise.
6753         ($(objpfx)tst-leaks1-mem): Likewise.
6754         ($(objpfx)tst-leaks1-static-mem): Likewise.
6755         ($(objpfx)tst-initorder-cmp.out): Likewise.
6756         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6757         ($(objpfx)tst-unused-dep.out): Likewise.
6758         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6759         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6760         * iconv/Makefile (test-iconvconfig): Likewise.
6761         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6762         ($(objpfx)iconv-test.out): Likewise.
6763         ($(objpfx)tst-tables.out): Likewise.
6764         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6765         ($(objpfx)tst-gettext.out): Likewise.
6766         ($(objpfx)tst-translit.out): Likewise.
6767         ($(objpfx)tst-gettext2.out): Likewise.
6768         ($(objpfx)tst-gettext4.out): Likewise.
6769         ($(objpfx)tst-gettext6.out): Likewise.
6770         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6771         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6772         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6773         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6774         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6775         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6776         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6777         ($(objpfx)wordexp-tst.out): Likewise.
6778         ($(objpfx)annexc.out): Likewise.
6779         ($(objpfx)tst-fnmatch-mem): Likewise.
6780         ($(objpfx)bug-regex2-mem): Likewise.
6781         ($(objpfx)bug-regex14-mem): Likewise.
6782         ($(objpfx)bug-regex21-mem): Likewise.
6783         ($(objpfx)bug-regex31-mem): Likewise.
6784         ($(objpfx)tst-vfork3-mem): Likewise.
6785         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6786         ($(objpfx)tst-pcre-mem): Likewise.
6787         ($(objpfx)tst-boost-mem): Likewise.
6788         ($(objpfx)tst-getconf.out): Likewise.
6789         ($(objpfx)bug-ga2-mem): Likewise.
6790         ($(objpfx)bug-glob2-mem): Likewise.
6791         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6792         ($(objpfx)mtrace-tst-leaks2): Likewise.
6793         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6794         ($(objpfx)tst-printf.out): Likewise.
6795         ($(objpfx)tst-setvbuf1.out): Likewise.
6796         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6797         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6798         ($(objpfx)tst-fmtmsg.out): Likewise.
6799         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6800         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6801
6802         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6803         * bits/sigaction.h [__USE_MISC]: Likewise.
6804         * bits/waitstatus.h: Update #endif comments.
6805         * ctype/ctype.h: Likewise.
6806         * dirent/dirent.h: Likewise.
6807         [__USE_MISC]: Remove redundant conditionals.
6808         * grp/grp.h: Update #endif comments.
6809         [__USE_GNU]: Remove redundant conditionals.
6810         [__USE_MISC]: Likewise.
6811         * inet/netinet/in.h [__USE_GNU]: Likewise.
6812         * io/sys/stat.h [__USE_MISC]: Likewise.
6813         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6814         * libio/bits/stdio.h: Update #endif comments.
6815         [__USE_MISC]: Remove redundant conditionals.
6816         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6817         * libio/stdio.h: Update #endif comments.
6818         [__USE_MISC]: Remove redundant conditionals.
6819         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6820         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6821         * math/math.h: Update #else and #endif comments.
6822         [__USE_MISC]: Remove redundant conditionals.
6823         * misc/sys/uio.h: Update #endif comments.
6824         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6825         * posix/glob.h [__USE_MISC]: Likewise.
6826         * posix/sys/types.h: Update #endif comments.
6827         [__USE_MISC]: Remove redundant conditionals.
6828         * posix/sys/wait.h: Update #endif comments.
6829         [__USE_MISC]: Remove redundant conditionals.
6830         * posix/unistd.h: Update #endif comments.
6831         [__USE_MISC]: Remove redundant conditionals.
6832         * pwd/pwd.h [__USE_GNU]: Likewise.
6833         [__USE_MISC]: Likewise.
6834         * resolv/netdb.h [__USE_GNU]: Likewise.
6835         * signal/signal.h: Update #endif comments.
6836         [__USE_MISC]: Remove redundant conditionals.
6837         * stdlib/stdlib.h: Update #else and #endif comments.
6838         [__USE_MISC]: Remove redundant conditionals.
6839         [__USE_GNU]: Likewise.
6840         * string/bits/string2.h [__USE_MISC]: Likewise.
6841         * string/string.h: Update #endif comments.
6842         [__USE_MISC]: Remove redundant conditionals.
6843         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6844         Likewise.
6845         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6846         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6847         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6848         Likewise.
6849         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6852         comments.
6853         [__USE_MISC]: Remove redundant conditionals.
6854         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6855         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6856         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6857         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6858         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6859         Likewise.
6860         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6861         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6864         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6865         Likewise.
6866         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6867         Likewise.
6868         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6869         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6870         Likewise.
6871         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6872         Likewise.
6873         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6874         * sysdeps/x86/bits/string.h: Update #endif comments.
6875         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6876         conditionals.
6877         * time/sys/time.h: Update #endif comments.
6878         * time/time.h: Likewise.
6879         [__USE_MISC]: Remove redundant conditionals.
6880
6881 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6882
6883         [BZ #16600]
6884         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6885
6886 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6887
6888         * Versions.def (librt): Add GLIBC_2.17.
6889
6890 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6891
6892         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6893         synonym for _SYS_AUXV_H to allow direct inclusion.
6894         * sysdeps/sparc/bits/hwcap.h: Likewise.
6895         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6896         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6897         * sysdeps/sparc/sysdep.h: Likewise.
6898
6899 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6900
6901         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6902
6903 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6904
6905         * benchtests/bench-strrchr.c: Print length instead of position.
6906
6907 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6908
6909         [BZ #16611]
6910         * sysdeps/unix/sysv/linux/kernel-features.h
6911         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6912         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6913         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6914         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6915         Likewise.
6916         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6917         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6918         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6919         (__ASSUME_SENDMMSG): Define instead of using previous
6920         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6921         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6922         (__ASSUME_SENDMMSG_SYSCALL): Define.
6923         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6924         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6925         Likewise.
6926         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6927         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6928         Likewise.
6929         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6930         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6931         Likewise.
6932         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6933         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6934         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6935         [__ASSUME_SENDMMSG]: Change conditionals to
6936         [__ASSUME_SENDMMSG_SOCKETCALL].
6937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6938         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6939         Define.
6940         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6941         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6942         Likewise.
6943         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6944         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6945         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6946         [!__ASSUME_SENDMMSG]: Change conditional to
6947         [!__ASSUME_SENDMMSG_SOCKETCALL].
6948         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6949         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6950         Define.
6951
6952         [BZ #16610]
6953         * sysdeps/unix/sysv/linux/kernel-features.h
6954         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6955         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6956         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6957         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6958         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6959         [__i386__ || __sparc__]
6960         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6961         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6962         (__ASSUME_RECVMMSG): Define instead of using previous
6963         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6964         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6965         (__ASSUME_RECVMMSG_SYSCALL): Define.
6966         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6967         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6968         Likewise.
6969         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6970         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6971         Likewise.
6972         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6973         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6974         Likewise.
6975         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6976         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6977         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6978         [__ASSUME_RECVMMSG]: Change condition to
6979         [__ASSUME_RECVMMSG_SOCKETCALL].
6980         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6982         Define.
6983         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6984         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6985         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6988         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6989         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6990         [!__ASSUME_RECVMMSG]: Change condition to
6991         [!__ASSUME_RECVMMSG_SOCKETCALL].
6992         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6993         (__ASSUME_RECVMMSG_SYSCALL): Define.
6994
6995         [BZ #16609]
6996         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6997         __powerpc__ || __s390__ || __sh__ || __sparc__]
6998         (__ASSUME_SOCKETCALL): Define.
6999         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7000         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7001         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7002         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7003         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7004         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7005         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7006         (__ASSUME_ACCEPT4): Define instead of using previous
7007         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7008         __powerpc__ || __sparc__ || __s390__)] condition.
7009         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7010         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7011         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7012         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7013         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7014         [!__ASSUME_ACCEPT4]: Change condition to
7015         [!__ASSUME_ACCEPT4_SOCKETCALL].
7016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7017         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7018         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7019         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7020         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7021         __ASSUME_ACCEPT4_SYSCALL.
7022         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7023         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7024         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7025         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7026         __ASSUME_ACCEPT4_SYSCALL.
7027         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7028         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7029         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7030         [__ASSUME_ACCEPT4]: Change condition to
7031         [__ASSUME_ACCEPT4_SOCKETCALL].
7032         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7033         (__ASSUME_SOCKETCALL): Define.
7034         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7036         (__ASSUME_SOCKETCALL): Define.
7037         (__ASSUME_ACCEPT4): Remove.
7038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7039         Define.
7040         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7041         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7042         Likewise.
7043         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7044         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7045
7046         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7047         macro.
7048         (HWCAP_ARM_LPAE): Likewise.
7049         (HWCAP_ARM_EVTSTRM): Likewise.
7050         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7051         Add vpfd32, lpae and evtstrm.
7052         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7053         Increase to 22.
7054
7055 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7056
7057         * math/auto-libm-test-in: Add tests of clog10.
7058         * math/auto-libm-test-out: Regenerated.
7059         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7060         * sysdeps/i386/fpu/libm-test-ulps: Update.
7061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062
7063 2014-02-18  Andreas Schwab  <schwab@suse.de>
7064
7065         [BZ #16574]
7066         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7067         Store non-zero if the second buffer was newly allocated.
7068         (send_dg): Likewise.
7069         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7070         to send_vc and send_dg.
7071         (res_nsend): Pass NULL for ansp2_malloced.
7072         * resolv/res_query.c (__libc_res_nquery): Add parameter
7073         answerp2_malloced and pass it down to __libc_res_nsend.
7074         (res_nquery): Pass additional NULL to __libc_res_nquery.
7075         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7076         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7077         second answer buffer if answerp2_malloced was set.
7078         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7079         (__libc_res_nquerydomain): Add parameter
7080         answerp2_malloced and pass it down to __libc_res_nquery.
7081         (res_nquerydomain): Pass additional NULL to
7082         __libc_res_nquerydomain.
7083         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7084         additional NULL to __libc_res_nsend and __libc_res_nquery.
7085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7086         additional NULL to __libc_res_nsearch.
7087         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7088         parameter of __libc_res_nsearch to check for separately allocated
7089         second buffer.
7090         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7091         __libc_res_nquery.
7092         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7093         additional NULL to __libc_res_nquery.
7094         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7095         __libc_res_nsearch.
7096         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7097         * include/resolv.h: Update prototypes of __libc_res_nquery,
7098         __libc_res_nsearch, __libc_res_nsend.
7099
7100 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7101
7102         * math/auto-libm-test-in: Add tests of fma.
7103         * math/auto-libm-test-out: Regenerated.
7104         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7105         (fma_towardzero_test_data): Likewise.
7106         (fma_downward_test_data): Likewise.
7107         (fma_upward_test_data): Likewise.
7108         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7109         mpc_mode.
7110         (rounding_modes): Add values for new field.
7111         (func_calc_method): Add value mpfr_fff_f.
7112         (func_calc_desc): Add mpfr_fff_f union field.
7113         (test_function): Add field exact_args.
7114         (FUNC): Add macro argument EXACT_ARGS.
7115         (FUNC_mpfr_f_f): Update call to FUNC.
7116         (FUNC_mpfr_f_f): Likewise.
7117         (FUNC_mpfr_ff_f): Likewise.
7118         (FUNC_mpfr_if_f): Likewise.
7119         (FUNC_mpc_c_f): Likewise.
7120         (FUNC_mpc_c_c): Likewise.
7121         (test_functions): Add fma.  Update calls to FUNC.
7122         (handle_input_arg): Add argument exact_args.
7123         (add_test): Update call to handle_input_arg.
7124         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7125         (output_for_one_input_case): Update call to calc_generic_results.
7126         Recalculate exact zero results in each rounding mode.
7127
7128         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7129         non-negative before setting low bit.
7130         * math/auto-libm-test-in: Mark one asin test possibly having
7131         spurious underflow.
7132         * math/auto-libm-test-out: Regenerated.
7133         * sysdeps/i386/fpu/libm-test-ulps: Update.
7134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7135
7136 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7137
7138         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7139         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7140         ports/sysdeps/unix/sysv/linux/microblaze.
7141         * README: Add missing listing for microblaze*-*-linux-gnu.
7142
7143 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7144
7145         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7146         * sysdeps/unix/sysv/linux/ia64: Move directory from
7147         ports/sysdeps/unix/sysv/linux/ia64.
7148         * README: Update listing for ia64-*-linux-gnu.
7149
7150 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7151             Joseph Myers  <joseph@codesourcery.com>
7152
7153         * Makeconfig (test-name): New variable.
7154         (evaluate-test): Likewise.
7155         * Makerules (do-test-clean): Remove .test-result files.
7156         (common-mostlyclean): Likewise.
7157         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7158         * scripts/evaluate-test.sh: New file.
7159
7160 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7161
7162         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7163         separate $(objpfx)tst-fopenloc-cmp.out and
7164         $(objpfx)tst-fopenloc-mem.out targets.
7165         (tests): Update dependencies.
7166         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7167         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7168         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7169         (tst-rxspencer-no-utf8-ARGS): New variable.
7170         (tst-rxspencer-no-utf8-ENV): Likewise.
7171         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7172         instead of $(objpfx)tst-rxspencer-mem.
7173         ($(objpfx)tst-rxspencer-mem): Change target to
7174         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7175         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7176         * posix/tst-rxspencer-no-utf8.c: New file.
7177
7178         * elf/Makefile ($(objpfx)order.out): Remove rule.
7179         [$(run-built-tests) = yes] (tests): Depend on
7180         $(objpfx)order-cmp.out.
7181         ($(objpfx)order-cmp.out): New rule.
7182         [$(run-built-tests) = yes] (tests): Depend on
7183         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7184         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7185         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7186         $(objpfx)tst-array5-static-cmp.out.
7187         ($(objpfx)tst-array1.out): Remove rule.
7188         ($(objpfx)tst-array1-cmp.out): New rule.
7189         ($(objpfx)tst-array1-static.out): Remove rule.
7190         ($(objpfx)tst-array1-static-cmp.out): New rule.
7191         ($(objpfx)tst-array2.out): Remove rule.
7192         ($(objpfx)tst-array2-cmp.out): New rule.
7193         ($(objpfx)tst-array3.out): Remove rule.
7194         ($(objpfx)tst-array3-cmp.out): New rule.
7195         ($(objpfx)tst-array4.out): Remove rule.
7196         ($(objpfx)tst-array4-cmp.out): New rule.
7197         ($(objpfx)tst-array5.out): Remove rule.
7198         ($(objpfx)tst-array5-cmp.out): New rule.
7199         ($(objpfx)tst-array5-static.out): Remove rule.
7200         ($(objpfx)tst-array5-static-cmp.out): New rule.
7201         [$(run-built-tests) = yes] (tests): Depend on
7202         $(objpfx)order2-cmp.out.
7203         ($(objpfx)order2.out): Remove rule.
7204         ($(objpfx)order2-cmp.out): New rule.
7205         ($(objpfx)tst-initorder.out): Remove rule.
7206         [$(run-built-tests) = yes] (tests): Depend on
7207         $(objpfx)tst-initorder-cmp.out.
7208         ($(objpfx)tst-initorder-cmp.out): New rule.
7209         ($(objpfx)tst-initorder2.out): Remove rule.
7210         [$(run-built-tests) = yes] (tests): Depend on
7211         $(objpfx)tst-initorder2-cmp.out.
7212         ($(objpfx)tst-initorder2-cmp.out): New rule.
7213         [$(run-built-tests) = yes] (tests): Depend on
7214         $(objpfx)tst-unused-dep-cmp.out.
7215         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7216         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7217         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7218         on $(objpfx)tst-setvbuf1-cmp.out.
7219         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7220         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7221         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7222         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7223         ($(objpfx)tst-svc.out): Remove rule.
7224         ($(objpfx)tst-svc-cmp.out): New rule.
7225
7226 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7227
7228         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7229         * ctype/ctype.h [__USE_MISC]: Likewise.
7230         * dirent/dirent.h [__USE_MISC]: Likewise.
7231         * grp/grp.h [__USE_MISC]: Likewise.
7232         * io/fcntl.h [__USE_MISC]: Likewise.
7233         * io/sys/stat.h [__USE_MISC]: Likewise.
7234         * libio/stdio.h [__USE_MISC]: Likewise.
7235         * posix/unistd.h [__USE_MISC]: Likewise.
7236         * pwd/pwd.h [__USE_MISC]: Likewise.
7237         * stdlib.h [__USE_MISC]: Likewise.
7238         * string/bits/string2.h [__USE_MISC]: Likewise.
7239         * string/string.h [__USE_MISC]: Likewise.
7240         * time/time.h [__USE_MISC]: Likewise.
7241
7242 2014-02-13  Andreas Schwab  <schwab@suse.de>
7243
7244         [BZ #16574]
7245         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7246         second answer buffer if it was separately allocated.
7247
7248 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7249
7250         * sysdeps/mips/math-tests.h: Include <features.h>.
7251         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7252         (ROUNDING_TESTS_long_double): Do not define.
7253         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7254         (EXCEPTION_TESTS_long_double): Likewise.
7255         * sysdeps/mips/mips64/libm-test-ulps: Update.
7256
7257         * include/features.h (__USE_BSD): Remove macro definitions.
7258         (__USE_SVID): Likewise.
7259         (_BSD_SOURCE): Likewise.
7260         (_SVID_SOURCE): Likewise.
7261         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7262         from definition of _DEFAULT_SOURCE.
7263         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7264         [_DEFAULT_SOURCE].
7265         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7266         * bits/mman.h [__USE_BSD]: Likewise.
7267         * bits/termios.h [__USE_BSD]: Likewise.
7268         * bits/waitstatus.h [__USE_BSD]: Likewise.
7269         * ctype/ctype.h [__USE_SVID]: Likewise.
7270         * dirent/dirent.h [__USE_BSD]: Likewise.
7271         * grp/grp.h [__USE_SVID]: Likewise.
7272         [__USE_BSD]: Likewise.
7273         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7274         * io/fcntl.h [__USE_BSD]: Likewise.
7275         * io/ftw.h [__USE_BSD]: Likewise.
7276         * io/sys/stat.h [__USE_BSD]: Likewise.
7277         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7278         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7279         * libio/stdio.h [__USE_SVID]: Likewise.
7280         [__USE_BSD]: Likewise.
7281         * math/math.h [__USE_SVID]: Likewise.
7282         [__USE_BSD]: Likewise.
7283         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7284         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7285         * misc/search.h [__USE_SVID]: Likewise.
7286         * misc/sys/mman.h [__USE_BSD]: Likewise.
7287         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7288         * misc/sys/uio.h [__USE_BSD]: Likewise.
7289         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7290         * posix/glob.h [__USE_BSD]: Likewise.
7291         * posix/regex.h [__USE_BSD]: Likewise.
7292         * posix/sys/types.h [__USE_BSD]: Likewise.
7293         [__USE_SVID]: Likewise.
7294         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7295         * posix/sys/wait.h [__USE_BSD]: Likewise.
7296         [__USE_SVID]: Likewise.
7297         * posix/unistd.h [__USE_BSD]: Likewise.
7298         [__USE_SVID]: Likewise.
7299         * pwd/pwd.h [__USE_SVID]: Likewise.
7300         * resolv/netdb.h [__USE_BSD]: Likewise.
7301         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7302         * signal/signal.h [__USE_BSD]: Likewise.
7303         [__USE_SVID]: Likewise.
7304         * socket/sys/socket.h [__USE_BSD]: Likewise.
7305         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7306         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7307         [__USE_SVID]: Likewise.
7308         * string/bits/string2.h [__USE_BSD]: Likewise.
7309         [__USE_SVID]: Likewise.
7310         * string/bits/string3.h [__USE_BSD]: Likewise.
7311         * string/endian.h [__USE_BSD]: Likewise.
7312         * string/string.h [__USE_SVID]: Likewise.
7313         [__USE_BSD]: Likewise.
7314         * string/strings.h [__USE_BSD]: Likewise.
7315         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7316         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7318         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7319         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7320         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7321         Likewise.
7322         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7323         Likewise.
7324         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7325         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7326         Likewise.
7327         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7328         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7329         Likewise.
7330         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7331         Likewise.
7332         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7333         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7334         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7335         Likewise.
7336         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7337         Likewise.
7338         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7339         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7340         * termios/termios.h [__USE_BSD]: Likewise.
7341         * time/sys/time.h [__USE_BSD]: Likewise.
7342         * time/time.h [__USE_BSD]: Likewise.
7343         [__USE_SVID]: Likewise.
7344
7345         * Makefile (subdir_targets): Remove subdir_lint.out.
7346
7347         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7348         (do-tst-printf): Likewise.
7349         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7350         $(objpfx)tst-printf.out.
7351
7352         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7353
7354         * Makerules (check-abi-%): Change target to
7355         $(objpfx)check-abi-%.out.
7356         (check-abi target): Update dependencies.
7357         (check-abi-pattern variable): Redirect output of diff to $@.
7358         (check-abi variable): Likewise.
7359         * elf/Makefile (check-abi): Update dependencies.
7360
7361         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7362         unused.
7363         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7364         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7365         subnormal range.
7366         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7367         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7368         value has largest subnormal exponent.
7369         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7370         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7371         * sysdeps/aarch64/soft-fp/sfp-machine.h
7372         (_FP_TININESS_AFTER_ROUNDING): New macro.
7373         * sysdeps/alpha/soft-fp/sfp-machine.h
7374         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7375         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7376         Likewise.
7377         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7378         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7379         * sysdeps/mips/soft-fp/sfp-machine.h
7380         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7381         * sysdeps/powerpc/soft-fp/sfp-machine.h
7382         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7383         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7384         Likewise.
7385         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7386         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7387         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7388         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7389         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7390         Likewise.
7391
7392 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7393
7394         [BZ #16545]
7395         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7396         model 1.
7397
7398 2014-02-12  Richard Henderson  <rth@redhat.com>
7399
7400         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7401         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7402         * sysdeps/unix/sysv/linux/alpha: Move directory from
7403         ports/sysdeps/unix/sysv/linux/alpha.
7404         * README: Update listing for alpha-*-linux-gnu.
7405
7406 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7407
7408         * include/features.h: Update comment documenting feature test
7409         macros.
7410         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7411         _DEFAULT_SOURCE.
7412         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7413         (_SVID_SOURCE): Likewise.
7414         (_DEFAULT_SOURCE): Update description of default features.
7415         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7416         with _GNU_SOURCE.
7417         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7418         (S_ISVTX): Likewise.
7419         * manual/math.texi (Mathematical Constants): Likewise.
7420         * manual/signal.texi (Interrupted Primitives): Likewise.
7421         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7422         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7423         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7424         Don't refer to _SVID_SOURCE in warning text.
7425
7426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7427
7428         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7429         already defined.
7430         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7431         * sysdeps/mips/dl-lookup.c: Remove.
7432         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7433
7434 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7435
7436         [BZ #16447]
7437         * math/auto-libm-test-in: Add testcase for expl.
7438         * math/auto-libm-test-out: Regenerate.
7439         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7440         calculation of unsafe.
7441         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7442
7443 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7444
7445         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7446         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7447         ports/sysdeps/unix/sysv/linux/aarch64.
7448         * README: Update listing for aarch64*-*-linux-gnu.
7449
7450 2014-02-11  Will Newton  <will.newton@linaro.org>
7451
7452         * manual/probes.texi (Mathematical Function Probes): Use
7453         "triggered" instead of "hit".
7454
7455         * manual/probes.texi (Internal Probes): Add documentation
7456         of setjmp, longjmp and longjmp_target probes.
7457
7458         * include/stap-probe.h: Add comment about probe argument
7459         format.
7460
7461         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7462         definition.  (tr_where, tr_freehook, tr_mallochook,
7463         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7464
7465 2014-02-11  David S. Miller  <davem@davemloft.net>
7466
7467         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7468         processing int_tests.
7469
7470 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7471
7472         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7473         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7474         * sysdeps/unix/sysv/linux/mips: Move directory from
7475         ports/sysdeps/unix/sysv/linux/mips.
7476         * README: Update listing for mips-*-linux-gnu and
7477         mips64-*-linux-gnu.
7478
7479 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7480
7481         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7482         * sysdeps/unix/sysv/linux/m68k: Move directory from
7483         ports/sysdeps/unix/sysv/linux/m68k.
7484         * README: Update listing for m68k-*-linux-gnu.
7485
7486 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7487
7488         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7489         * sysdeps/unix/sysv/linux/generic: Move directory from
7490         ports/sysdeps/unix/sysv/linux/generic.
7491         * sysdeps/unix/sysv/linux/tile: Move directory from
7492         ports/sysdeps/unix/sysv/linux/tile.
7493         * README: Update listing for tile*-*-linux-gnu.
7494
7495 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7496
7497         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7498         __builtin_expect.
7499         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7500         * catgets/open_catalog.c (__open_catalog): Likewise.
7501         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7502         * debug/confstr_chk.c: Likewise.
7503         * debug/fread_chk.c (__fread_chk): Likewise.
7504         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7505         * debug/getgroups_chk.c: Likewise.
7506         * debug/mbsnrtowcs_chk.c: Likewise.
7507         * debug/mbsrtowcs_chk.c: Likewise.
7508         * debug/mbstowcs_chk.c: Likewise.
7509         * debug/memcpy_chk.c: Likewise.
7510         * debug/memmove_chk.c: Likewise.
7511         * debug/mempcpy_chk.c: Likewise.
7512         * debug/memset_chk.c: Likewise.
7513         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7514         * debug/strcat_chk.c (__strcat_chk): Likewise.
7515         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7516         * debug/strncat_chk.c (__strncat_chk): Likewise.
7517         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7518         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7519         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7520         * debug/wcpncpy_chk.c: Likewise.
7521         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7522         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7523         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7524         * debug/wcsncpy_chk.c: Likewise.
7525         * debug/wcsnrtombs_chk.c: Likewise.
7526         * debug/wcsrtombs_chk.c: Likewise.
7527         * debug/wcstombs_chk.c: Likewise.
7528         * debug/wmemcpy_chk.c: Likewise.
7529         * debug/wmemmove_chk.c: Likewise.
7530         * debug/wmempcpy_chk.c: Likewise.
7531         * debug/wmemset_chk.c: Likewise.
7532         * dirent/scandirat.c (SCANDIRAT): Likewise.
7533         * dlfcn/dladdr1.c (dladdr1): Likewise.
7534         * dlfcn/dladdr.c (dladdr): Likewise.
7535         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7536         * dlfcn/dlerror.c (__dlerror): Likewise.
7537         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7538         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7539         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7540         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7541         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7542         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7543         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7544         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7545         Likewise.
7546         * elf/dl-conflict.c: Likewise.
7547         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7548         * elf/dl-dst.h: Likewise.
7549         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7550         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7551         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7552         * elf/dl-init.c (call_init, _dl_init): Likewise.
7553         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7554         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7555         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7556         Likewise.
7557         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7558         Likewise.
7559         * elf/dl-minimal.c (__libc_memalign): Likewise.
7560         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7561         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7562         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7563         * elf/dl-sym.c (do_sym): Likewise.
7564         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7565         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7566         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7567         * elf/dl-writev.h (_dl_writev): Likewise.
7568         * elf/ldconfig.c (search_dir): Likewise.
7569         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7570         (dl_main): Likewise.
7571         * elf/setup-vdso.h (setup_vdso): Likewise.
7572         * grp/compat-initgroups.c (compat_call): Likewise.
7573         * grp/fgetgrent.c (fgetgrent): Likewise.
7574         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7575         * grp/putgrent.c (putgrent): Likewise.
7576         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7577         Likewise.
7578         * hurd/hurdinit.c: Likewise.
7579         * iconvdata/8bit-gap.c (struct): Likewise.
7580         * iconvdata/ansi_x3.110.c : Likewise.
7581         * iconvdata/big5.c : Likewise.
7582         * iconvdata/big5hkscs.c : Likewise.
7583         * iconvdata/cp1255.c: Likewise.
7584         * iconvdata/cp1258.c : Likewise.
7585         * iconvdata/cp932.c : Likewise.
7586         * iconvdata/euc-cn.c: Likewise.
7587         * iconvdata/euc-jisx0213.c : Likewise.
7588         * iconvdata/euc-jp.c: Likewise.
7589         * iconvdata/euc-jp-ms.c : Likewise.
7590         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7591         * iconvdata/gb18030.c : Likewise.
7592         * iconvdata/gbbig5.c (const): Likewise.
7593         * iconvdata/gbgbk.c: Likewise.
7594         * iconvdata/gbk.c : Likewise.
7595         * iconvdata/ibm1364.c : Likewise.
7596         * iconvdata/ibm930.c : Likewise.
7597         * iconvdata/ibm932.c: Likewise.
7598         * iconvdata/ibm933.c : Likewise.
7599         * iconvdata/ibm935.c : Likewise.
7600         * iconvdata/ibm937.c : Likewise.
7601         * iconvdata/ibm939.c : Likewise.
7602         * iconvdata/ibm943.c: Likewise.
7603         * iconvdata/iso_11548-1.c: Likewise.
7604         * iconvdata/iso-2022-cn.c : Likewise.
7605         * iconvdata/iso-2022-cn-ext.c : Likewise.
7606         * iconvdata/iso-2022-jp-3.c: Likewise.
7607         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7608         * iconvdata/iso-2022-kr.c : Likewise.
7609         * iconvdata/iso646.c (gconv_end): Likewise.
7610         * iconvdata/iso_6937-2.c : Likewise.
7611         * iconvdata/iso_6937.c : Likewise.
7612         * iconvdata/iso8859-1.c: Likewise.
7613         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7614         * iconvdata/shift_jisx0213.c : Likewise.
7615         * iconvdata/sjis.c : Likewise.
7616         * iconvdata/t.61.c : Likewise.
7617         * iconvdata/tcvn5712-1.c : Likewise.
7618         * iconvdata/tscii.c: Likewise.
7619         * iconvdata/uhc.c : Likewise.
7620         * iconvdata/unicode.c (gconv_end): Likewise.
7621         * iconvdata/utf-16.c (gconv_end): Likewise.
7622         * iconvdata/utf-32.c (gconv_end): Likewise.
7623         * iconvdata/utf-7.c (base64): Likewise.
7624         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7625         * iconv/gconv_close.c (__gconv_close): Likewise.
7626         * iconv/gconv_open.c (__gconv_open): Likewise.
7627         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7628         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7629         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7630         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7631         (ucs4le_internal_loop_single): Likewise.
7632         * iconv/iconv.c (iconv): Likewise.
7633         * iconv/iconv_close.c: Likewise.
7634         * iconv/loop.c (SINGLE): Likewise.
7635         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7636         * include/atomic.h: Likewise.
7637         * inet/inet6_option.c (option_alloc): Likewise.
7638         * intl/bindtextdom.c (set_binding_values): Likewise.
7639         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7640         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7641         * intl/localealias.c (read_alias_file): Likewise.
7642         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7643         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7644         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7645         * libio/fmemopen.c (fmemopen): Likewise.
7646         * libio/iofgets.c (_IO_fgets): Likewise.
7647         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7648         * libio/iofgetws.c (fgetws): Likewise.
7649         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7650         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7651         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7652         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7653         * locale/findlocale.c (_nl_find_locale): Likewise.
7654         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7655         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7656         Likewise.
7657         * locale/setlocale.c (setlocale): Likewise.
7658         * login/programs/pt_chown.c (main): Likewise.
7659         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7660         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7661         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7662         (mmap, mmap64, mremap, munmap): Likewise.
7663         * math/e_exp2l.c: Likewise.
7664         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7665         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7666         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7667         * math/s_catan.c (__catan): Likewise.
7668         * math/s_catanf.c (__catanf): Likewise.
7669         * math/s_catanh.c (__catanh): Likewise.
7670         * math/s_catanhf.c (__catanhf): Likewise.
7671         * math/s_catanhl.c (__catanhl): Likewise.
7672         * math/s_catanl.c (__catanl): Likewise.
7673         * math/s_ccosh.c (__ccosh): Likewise.
7674         * math/s_ccoshf.c (__ccoshf): Likewise.
7675         * math/s_ccoshl.c (__ccoshl): Likewise.
7676         * math/s_cexp.c (__cexp): Likewise.
7677         * math/s_cexpf.c (__cexpf): Likewise.
7678         * math/s_cexpl.c (__cexpl): Likewise.
7679         * math/s_clog10.c (__clog10): Likewise.
7680         * math/s_clog10f.c (__clog10f): Likewise.
7681         * math/s_clog10l.c (__clog10l): Likewise.
7682         * math/s_clog.c (__clog): Likewise.
7683         * math/s_clogf.c (__clogf): Likewise.
7684         * math/s_clogl.c (__clogl): Likewise.
7685         * math/s_csin.c (__csin): Likewise.
7686         * math/s_csinf.c (__csinf): Likewise.
7687         * math/s_csinh.c (__csinh): Likewise.
7688         * math/s_csinhf.c (__csinhf): Likewise.
7689         * math/s_csinhl.c (__csinhl): Likewise.
7690         * math/s_csinl.c (__csinl): Likewise.
7691         * math/s_csqrt.c (__csqrt): Likewise.
7692         * math/s_csqrtf.c (__csqrtf): Likewise.
7693         * math/s_csqrtl.c (__csqrtl): Likewise.
7694         * math/s_ctan.c (__ctan): Likewise.
7695         * math/s_ctanf.c (__ctanf): Likewise.
7696         * math/s_ctanh.c (__ctanh): Likewise.
7697         * math/s_ctanhf.c (__ctanhf): Likewise.
7698         * math/s_ctanhl.c (__ctanhl): Likewise.
7699         * math/s_ctanl.c (__ctanl): Likewise.
7700         * math/w_pow.c: Likewise.
7701         * math/w_powf.c: Likewise.
7702         * math/w_powl.c: Likewise.
7703         * math/w_scalb.c (sysv_scalb): Likewise.
7704         * math/w_scalbf.c (sysv_scalbf): Likewise.
7705         * math/w_scalbl.c (sysv_scalbl): Likewise.
7706         * misc/error.c (error_tail): Likewise.
7707         * misc/pselect.c (__pselect): Likewise.
7708         * nis/nis_callback.c (__nis_create_callback): Likewise.
7709         * nis/nis_call.c (__nisfind_server): Likewise.
7710         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7711         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7712         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7713         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7714         * nis/nis_lookup.c (nis_lookup): Likewise.
7715         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7716         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7717         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7718         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7719         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7720         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7721         * nis/nss_compat/compat-initgroups.c (add_group)
7722         (internal_getgrent_r): Likewise.
7723         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7724         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7725         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7726         (internal_getspnam_r): Likewise.
7727         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7728         (_nss_nis_getaliasbyname_r): Likewise.
7729         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7730         (_nss_nis_getntohost_r): Likewise.
7731         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7732         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7733         (_nss_nis_getgrgid_r): Likewise.
7734         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7735         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7736         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7737         (_nss_nis_gethostbyname4_r): Likewise.
7738         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7739         (initgroups_netid): Likewise.
7740         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7741         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7742         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7743         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7744         (_nss_nis_getprotobynumber_r): Likewise.
7745         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7746         (_nss_nis_getsecretkey): Likewise.
7747         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7748         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7749         (_nss_nis_getpwuid_r): Likewise.
7750         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7751         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7752         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7753         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7754         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7755         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7756         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7757         Likewise.
7758         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7759         (_nss_nisplus_getntohost_r): Likewise.
7760         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7761         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7762         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7763         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7764         Likewise.
7765         * nis/nss_nisplus/nisplus-initgroups.c
7766         (_nss_nisplus_initgroups_dyn): Likewise.
7767         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7768         (_nss_nisplus_getnetbyaddr_r): Likewise.
7769         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7770         (_nss_nisplus_getprotobynumber_r): Likewise.
7771         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7772         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7773         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7774         Likewise.
7775         * nis/nss_nisplus/nisplus-service.c
7776         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7777         (_nss_nisplus_getservbyport_r): Likewise.
7778         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7779         (_nss_nisplus_getspnam_r): Likewise.
7780         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7781         Likewise.
7782         * nscd/aicache.c (addhstaiX): Likewise.
7783         * nscd/cache.c (cache_search, prune_cache): Likewise.
7784         * nscd/connections.c (register_traced_file, send_ro_fd)
7785         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7786         (main_loop_epoll): Likewise.
7787         * nscd/grpcache.c (addgrbyX): Likewise.
7788         * nscd/hstcache.c (addhstbyX): Likewise.
7789         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7790         * nscd/mem.c (gc, mempool_alloc): Likewise.
7791         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7792         (addinnetgrX): Likewise.
7793         * nscd/nscd-client.h (__nscd_acquire_maplock)
7794         (__nscd_drop_map_ref): Likewise.
7795         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7796         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7797         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7798         Likewise.
7799         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7800         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7801         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7802         (__nscd_get_map_ref): Likewise.
7803         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7804         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7805         Likewise.
7806         * nscd/pwdcache.c (addpwbyX): Likewise.
7807         * nscd/selinux.c (preserve_capabilities): Likewise.
7808         * nscd/servicescache.c (addservbyX): Likewise.
7809         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7810         * posix/fnmatch.c (fnmatch): Likewise.
7811         * posix/getopt.c (_getopt_internal_r): Likewise.
7812         * posix/glob.c (glob, glob_in_dir): Likewise.
7813         * posix/wordexp.c (exec_comm_child): Likewise.
7814         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7815         (getanswer_r, gaih_getanswer_slice): Likewise.
7816         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7817         * resolv/res_init.c: Likewise.
7818         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7819         * resolv/res_query.c (__libc_res_nquery): Likewise.
7820         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7821         Likewise.
7822         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7823         * stdio-common/perror.c (perror): Likewise.
7824         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7825         * stdio-common/tmpnam.c (tmpnam): Likewise.
7826         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7827         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7828         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7829         Likewise.
7830         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7831         * stdlib/putenv.c (putenv): Likewise.
7832         * stdlib/setenv.c (__add_to_environ): Likewise.
7833         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7834         * stdlib/strtol_l.c (INTERNAL): Likewise.
7835         * string/memmem.c (memmem): Likewise.
7836         * string/strerror.c (strerror): Likewise.
7837         * string/strnlen.c (__strnlen): Likewise.
7838         * string/test-memmem.c (simple_memmem): Likewise.
7839         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7840         * sunrpc/pm_getport.c (__get_socket): Likewise.
7841         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7842         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7843         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7844         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7845         Likewise.
7846         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7847         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7848         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7849         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7850         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7851         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7852         Likewise.
7853         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7854         Likewise.
7855         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7856         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7857         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7858         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7859         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7861         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7862         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7863         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7864         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7865         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7866         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7867         Likewise.
7868         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7869         Likewise.
7870         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7871         Likewise.
7872         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7874         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7875         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7876         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7877         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7878         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7879         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7881         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7882         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7883         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7884         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7885         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7887         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7888         Likewise.
7889         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7890         Likewise.
7891         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7892         Likewise.
7893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7894         Likewise.
7895         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7897         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7898         Likewise.
7899         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7900         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7901         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7902         * sysdeps/posix/sleep.c: Likewise.
7903         * sysdeps/posix/tempname.c: Likewise.
7904         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7905         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7906         Likewise.
7907         * sysdeps/powerpc/powerpc32/dl-machine.h
7908         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7909         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7911         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7912         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7913         Likewise.
7914         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7915         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7916         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7917         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7918         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7919         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7920         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7921         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7922         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7923         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7924         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7925         (elf_machine_lazy_rel): Likewise.
7926         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7927         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7928         (elf_machine_lazy_rel): Likewise.
7929         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7930         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7931         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7932         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7933         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7934         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7935         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7937         Likewise.
7938         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7939         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7940         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7941         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7942         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7943         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7944         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7945         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7946         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7947         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7948         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7951         (__posix_fallocate64_l64): Likewise.
7952         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7953         (posix_fallocate): Likewise.
7954         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7955         Likewise.
7956         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7957         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7958         (getifaddrs_internal): Likewise.
7959         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7960         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7961         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7962         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7963         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7964         (__posix_fallocate64_l64): Likewise.
7965         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7966         Likewise.
7967         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7968         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7969         (__get_clockfreq): Likewise.
7970         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7971         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7972         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7973         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7975         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7976         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7977         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7978         Likewise.
7979         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7980         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7981         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7982         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7983         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7984         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7985         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7986         Likewise.
7987         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7988         (posix_fallocate): Likewise.
7989         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7990         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7991         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7992         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7993         (elf_machine_rela, elf_machine_rela_relative)
7994         (elf_machine_lazy_rel): Likewise.
7995         * time/asctime.c (asctime_internal): Likewise.
7996         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7997         * time/tzset.c (__tzset_parse_tz): Likewise.
7998         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7999         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8000         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8001         * wcsmbs/wcsmbsload.h: Likewise.
8002
8003         [BZ #15894]
8004         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8005
8006         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8007         (arena_get2): Remove THREAD_STATS conditionals.
8008         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8009         (__malloc_stats, int): Likewise.
8010
8011 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8012
8013         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8014         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8015
8016         * manual/setjmp.texi: Fix typos/grammar errors.
8017
8018         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8019         Only return early when n is <= 0.  Delete unused return statement.
8020
8021         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8022         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8023         * debug/tst-longjmp_chk3.c: New file.
8024
8025         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8026         (test_main): Replace code with set_fortify_handler call.
8027         * debug/test-strcpy_chk.c: Likewise.
8028         * debug/tst-chk1.c: Likewise.
8029         * debug/tst-longjmp_chk.c: Likewise.
8030         * test-skeleton.c: Include fcntl.h & paths.h
8031         (set_fortify_handler): Define.
8032
8033         * debug/tst-longjmp_chk.c: Add header comment and include
8034         ../test-skeleton.c.
8035         (do_test): Mark static.
8036         (TEST_FUNCTION): Define.
8037
8038         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8039         (IP_PMTUDISC_INTERFACE): Likewise.
8040         (IP_MULTICAST_IF): Likewise.
8041         (IP_MULTICAST_TTL): Likewise.
8042         (IP_MULTICAST_LOOP): Likewise.
8043         (IP_ADD_MEMBERSHIP): Likewise.
8044         (IP_DROP_MEMBERSHIP): Likewise.
8045         (IP_UNBLOCK_SOURCE): Likewise.
8046         (IP_BLOCK_SOURCE): Likewise.
8047         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8048         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8049         (IP_MSFILTER): Likewise.
8050         (MCAST_JOIN_GROUP): Likewise.
8051         (MCAST_BLOCK_SOURCE): Likewise.
8052         (MCAST_UNBLOCK_SOURCE): Likewise.
8053         (MCAST_LEAVE_GROUP): Likewise.
8054         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8055         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8056         (MCAST_MSFILTER): Likewise.
8057         (IP_MULTICAST_ALL): Likewise.
8058         (IP_UNICAST_IF): Likewise.
8059
8060         * timezone/Makefile: Delete $(have-ksh) check.
8061         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8062         * timezone/tzselect.ksh: Add +x mode bits.
8063
8064         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8065         (ANON_INODE_FS_MAGIC): Likewise.
8066         (BDEVFS_MAGIC): Likewise.
8067         (BINFMTFS_MAGIC): Likewise.
8068         (BTRFS_TEST_MAGIC): Likewise.
8069         (CRAMFS_MAGIC_WEND): Likewise.
8070         (DEBUGFS_MAGIC): Likewise.
8071         (ECRYPTFS_SUPER_MAGIC): Likewise.
8072         (EXT3_SUPER_MAGIC): Likewise.
8073         (EXT4_SUPER_MAGIC): Likewise.
8074         (FUTEXFS_SUPER_MAGIC): Likewise.
8075         (HOSTFS_SUPER_MAGIC): Likewise.
8076         (HUGETLBFS_MAGIC): Likewise.
8077         (MINIX3_SUPER_MAGIC): Likewise.
8078         (MTD_INODE_FS_MAGIC): Likewise.
8079         (NILFS_SUPER_MAGIC): Likewise.
8080         (OPENPROM_SUPER_MAGIC): Likewise.
8081         (PIPEFS_MAGIC): Likewise.
8082         (PSTOREFS_MAGIC): Likewise.
8083         (QNX6_SUPER_MAGIC): Likewise.
8084         (RAMFS_MAGIC): Likewise.
8085         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8086         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8087         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8088         (SECURITYFS_MAGIC): Likewise.
8089         (SELINUX_MAGIC): Likewise.
8090         (SMACK_MAGIC): Likewise.
8091         (SOCKFS_MAGIC): Likewise.
8092         (SQUASHFS_MAGIC): Likewise.
8093         (STACK_END_MAGIC): Likewise.
8094         (TMPFS_MAGIC): Likewise.
8095         (USBDEVICE_SUPER_MAGIC): Likewise.
8096         (V9FS_MAGIC): Likewise.
8097         (XENFS_SUPER_MAGIC): Likewise.
8098         (CRAMFS_MAGIC): Fix typo in comment.
8099         (EXT2_SUPER_MAGIC): Update comment.
8100         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8101
8102 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8103
8104         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8105         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8106         * sysdeps/unix/sysv/linux/arm: Move directory from
8107         ports/sysdeps/unix/sysv/linux/arm.
8108         * README: Update listing for arm-*-linux-gnueabi.
8109
8110         * README: Remove mention of am33.
8111
8112 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8113
8114         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8115         than the comma operator, to avoid "rhs of comma has no effect"
8116         compiler warnings.
8117         (__sigfillset, __sigandset, __sigorset): Likewise.
8118         * include/signal.h (__sigemptyset): Likewise.
8119         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8120
8121 2014-02-07  Allan McRae  <allan@archlinux.org>
8122
8123         * version.h (RELEASE): Set to "development".
8124         (VERSION): Set to "2.19.90"
8125         * NEWS: Add 2.20 section.
8126
8127 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8128
8129         [BZ #16529]
8130         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8131
8132 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8133
8134         * manual/contrib.texi: Update entry for Carlos O'Donell,
8135         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8136
8137 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8138
8139         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8140
8141         * sysdeps/unix/sysv/linux/kernel-features.h
8142         [__LINUX_KERNEL_VERSION >= 0x020621]
8143         (__ASSUME_PROC_PID_TASK_COMM): Define.
8144
8145 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8146
8147         [BZ #16398]
8148         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8149         conversion when destination buffer does not have enough space.
8150         * libio/tst-ftell-partial-wide.c: New test case.
8151         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8152
8153         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8154         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8155         Leonard and Allan McRae.
8156
8157 2014-02-04  David S. Miller  <davem@davemloft.net>
8158
8159         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8160         32-bit.
8161
8162 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8163
8164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8165         New file
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8167         New file
8168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8169         New file.
8170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8171         New file.
8172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8173         New file.
8174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8175         New file.
8176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8177         New file.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8179         New file.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8181         New file.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8183         New file.
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8185         New file.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8187         New file.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8189         New file.
8190
8191 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8192
8193         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8194         * shlib-versions: Likewise.
8195
8196 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8197             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8198
8199         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8200         (abilist-pattern): New variable, set to %-le.abilist.
8201
8202         * Makerules (abilist-pattern): New variable.
8203         (vpath): Use $(abilist-pattern) in place of %.abilist.
8204         (check-abi-% pattern rule): Likewise.
8205         (check-abi, update-abi): Likewise.
8206
8207 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8208
8209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8210
8211 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8212
8213         * manual/startup.texi: Add next, previous, and top entries for
8214         the `Program Arguments' and `Environment Variables' nodes.
8215
8216 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8217
8218         * manual/macros.texi: Add comments before MTASC-safety macros.
8219
8220         * manual/users.texi: Document MTASC-safety properties.
8221
8222         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8223         (pthread_getspecific, pthread_setspecific): Format with
8224         @deftypefun, and add @safety note.
8225         * manual/signal.texi: Move comments that analyze the above
8226         functions to their home place.
8227
8228 2014-02-03  Allan McRae  <allan@archlinux.org>
8229
8230         * po/sl.po: Update Slovenian translation from translation project.
8231
8232 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8233
8234         * manual/time.texi (timegm): Add missing blank after @c.
8235         Reported by Joseph Myers <joseph@codesourcery.com>.
8236
8237 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8238
8239         * manual/check-safety.sh: New.
8240         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8241
8242         * manual/terminal.texi: Document MTASC-safety properties.
8243
8244         * manual/filesys.texi: Document MTASC-safety properties.
8245
8246         * manual/errno.texi: Document MTASC-safety properties.
8247
8248         * manual/intro.texi: Document safety identifiers and
8249         conditionals.
8250
8251         * manual/string.texi (wcstok): Fix prototype.
8252         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8253
8254         * manual/time.texi: Document MTASC-safety properties.
8255
8256         * manual/string.texi: Document MTASC-safety properties.
8257
8258         * manual/threads.texi: Document MTASC-safety properties.
8259
8260         * manual/stdio.texi: Document MTASC-safety properties.
8261
8262         * manual/syslog.texi: Document MTASC-safety properties.
8263
8264         * manual/sysinfo.texi: Document MTASC-safety properties.
8265
8266         * manual/startup.texi: Document MTASC-safety properties.
8267
8268         * manual/socket.texi: Document MTASC-safety properties.
8269
8270         * manual/signal.texi: Document MTASC-safety properties.
8271
8272 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8273
8274         * manual/setjmp.texi: Document MTASC-safety properties.
8275
8276         * manual/search.texi: Document MTASC-safety properties.
8277
8278         * manual/resource.texi: Document MTASC-safety properties.
8279
8280         * manual/process.texi: Document MTASC-safety properties.
8281
8282         * manual/platform.texi: Document MTASC-safety properties.
8283
8284         * manual/pipe.texi: Document MTASC-safety properties.
8285
8286         * manual/pattern.texi: Document MTASC-safety properties.
8287
8288         * manual/message.texi: Document MTASC-safety properties.
8289
8290         [BZ #12751]
8291         * manual/memory.texi: Document MTASC-safety properties.
8292
8293         * manual/math.texi: Document MTASC-safety properties.
8294
8295         * manual/locale.texi: Document MTASC-safety properties.
8296
8297         * manual/llio.texi: Document MTASC-safety properties.
8298
8299         * manual/libdl.texi: New.
8300
8301         * manual/lang.texi: Document MTASC-safety properties.
8302
8303         * manual/job.texi: Document MTASC-safety properties.
8304
8305         * manual/getopt.texi: Document MTASC-safety properties.
8306
8307         * manual/ctype.texi: Document MTASC-safety properties.
8308
8309 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8310
8311         [BZ #16046]
8312         * csu/libc-tls.c (static_map): Remove variable.
8313         (__libc_setup_tls): Use main executable's link map for TLS data.
8314         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8315         casing for LM_ID_BASE and GL(dl_nns).
8316         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8317         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8318         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8319         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8320         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8321         member.
8322         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8323         l_phnum members.
8324
8325 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8326
8327         * manual/debug.texi: Document MTASC-safety properties.
8328
8329 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8330
8331         [BZ #16510]
8332         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8333         of __x86_64__ when disabling x87 inline functions.
8334
8335 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8336
8337         * manual/charset.texi: Document MTASC-safety properties.
8338
8339         * manual/crypt.texi: Document MTASC-safety properties.
8340
8341         * manual/conf.texi: Document MTASC-safety properties.
8342
8343         * manual/arith.texi: Document MTASC-safety properties.
8344
8345         * manual/argp.texi: Document MTASC-safety properties.
8346
8347         * manual/macros.texi: Introduce macros to document multi
8348         thread, asynchronous signal and asynchronous cancellation
8349         safety properties.
8350         * manual/intro.texi: Introduce the properties themselves.
8351
8352 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8353
8354         * sysdeps/sh/sh4/Makefile: New file.
8355
8356 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8357
8358         * math/gen-libm-test.pl ($srcdir): New variable.
8359         ($auto_input): Use it.
8360
8361 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8362
8363         [BZ #16506]
8364         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8365         access beyond array bounds when parsing netgroups file.
8366
8367         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8368         the old buffer before realloc.
8369
8370 2014-01-27  Allan McRae  <allan@archlinux.org>
8371
8372         * po/fr.po: Update French translation from translation project.
8373
8374 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8375
8376         * sysdeps/sh/libm-test-ulps: Regenerate.
8377
8378 2014-01-24  David S. Miller  <davem@davemloft.net>
8379
8380         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8381
8382 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8383
8384         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8385         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8386
8387 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8388
8389         [BZ #16474]
8390         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8391         string pointers after reallocation.
8392
8393 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8394
8395         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8396         __SH4A__ instead of __SH_FPU_ANY__.
8397
8398 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8399
8400         * sysdeps/sh/fpu_control.h: New file.
8401         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8402         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8403         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8404         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8405         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8406         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8407         * sysdeps/sh/sys/ucontext.h: Remove.
8408         * sysdeps/sh/sys: Remove directory.
8409
8410 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8411
8412         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8413         s390/sys/ucontext.h.
8414         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8415         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8416
8417 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8418
8419         [BZ #15605]
8420         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8421
8422 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8423
8424         [BZ#16431]
8425         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8426         Adjust the vDSO correctly for internal calls.
8427         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8428
8429 2014-01-20  Allan McRae  <allan@archlinux.org>
8430
8431         * po/ca.po: Update Catalan translation from translation project.
8432
8433 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8434
8435         * sysdeps/s390/sotruss-lib.c: New file.
8436
8437 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8438
8439         [BZ#16430]
8440         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8441         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8442         local calls issues by not having a PLT stub required for IFUNC calls.
8443         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8444
8445 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8446
8447         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8448         * math/test-fpucw-static.c: Likewise.
8449
8450 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8451
8452         [BZ #16453]
8453         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8454
8455 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8456
8457         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8458         implementation for powerpc.
8459
8460 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8461
8462         [BZ #14782]
8463         * sysdeps/posix/system.c (__libc_system): Do not enable
8464         asynchronous cancellation.
8465
8466 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8467
8468         [BZ #16427]
8469         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8470         handling only for numbers special also in the IEEE case.
8471
8472 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8473
8474         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8475
8476 2014-01-11  Allan McRae  <allan@archlinux.org>
8477
8478         * po/bg.po: Update Bulgarian translation from translation project.
8479
8480         * po/de.po: Update German translation from translation project.
8481
8482 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8483
8484         * sysdeps/generic/gcc-compat.h: New file.
8485
8486 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8487
8488         * benchtests/asin-inputs: Correct slow inputs.
8489         * benchtests/acos-inputs: Likewise.
8490
8491 2014-01-10  Allan McRae  <allan@archlinux.org>
8492
8493         * po:sv.po: Update Swedish translation from translation project.
8494
8495         * po/vi.po: Update Vietnamese translation from translation project.
8496
8497         * po/eo.po: Update Esperanto translation from translation project.
8498
8499         * po/cs.po: Update Czech translation from translation project.
8500
8501         * po/nl.po: Update Dutch translation from translation project.
8502
8503         * po/pl.po: Update Polish translation from translation project.
8504
8505         * po/ru.po: Update Russian translation from translation project.
8506
8507         * po/uk.po: Update Ukrainian translation from translation project.
8508
8509 2014-01-08  Brooks Moses  <bmoses@google.com>
8510
8511         * elf/dl-load.c: Fix comment typo.
8512
8513 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8514
8515         * po/header.pot: Rename to...
8516         * po/pot.header: ... this.
8517         * po/Makefile: Use pot.header.
8518
8519 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8520             Maxim Kuvyrkov  <maxim@kugelworks.com>
8521
8522         [BZ #16394]
8523         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8524         SRC and DEST against LEN.
8525
8526 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8527
8528         [BZ #16414]
8529         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8530         implementation.
8531         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8532
8533 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8534
8535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8536
8537 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8538
8539         [BZ #16408]
8540         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8541         for large positive arguments.
8542
8543 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8544
8545         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8546
8547         * math/auto-libm-test-in: Mark various tests with
8548         xfail-rounding:ldbl-128ibm.
8549         * math/auto-libm-test-out: Regenerated.
8550
8551         [BZ #16407]
8552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8553         Increase overflow threshold.
8554
8555 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8556
8557         [BZ #14286]
8558         * stdio-common/vfprintf.c: Check for integer overflow.
8559
8560 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8561
8562         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8563         the first argument and return value of __tls_get_addr_internal.
8564
8565 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8566
8567         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8568         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8569
8570 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8571
8572         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8573         * sysdeps/s390/rtld-global-offsets.sym: New file.
8574         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8575         GLIBC_2.19 symbol.
8576         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8577         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8578         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8579         ... this.
8580         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8582         ... this.
8583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8584         Regenerate.
8585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8586         Regenerate.
8587         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8588         halfs of GPRs for high_gprs contexts.
8589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8590         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8591         field.
8592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8593         uc_flags field.
8594         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8595         64 bit versions:
8596         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8597         for high GPRs (uc_high_gprs) and for future extensions
8598         (__reserved).
8599         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8600         for future extensions (__reserved).
8601         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8602         64 bit versions:
8603         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8604         SC_HIGHGPRS offset definition.
8605         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8606         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8607
8608         * Versions.def: Add GLIBC_2.19 for libpthread.
8609         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8610         siglongjmp for libpthread with GLIBC_2.19 symver.
8611         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8612         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8613         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8614         * sysdeps/s390/__longjmp.c: New file.
8615         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8616         * sysdeps/s390/longjmp.c: New file.
8617         * sysdeps/s390/setjmp.S: New file.
8618         * sysdeps/s390/sigjmp.S: New file.
8619         * sysdeps/s390/v1-longjmp.c: New file.
8620         * sysdeps/s390/v1-setjmp.h: New file.
8621         * sysdeps/s390/v1-sigjmp.c: New file.
8622         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8623         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8624         GLIBC_2.19 version.
8625         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8626         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8627         versioned symbols for ____longjmp_chk.
8628         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8629         Likewise.
8630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8631         Regenerate.
8632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8633         Regenerate.
8634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8635         Regenerate.
8636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8637         Regenerate.
8638         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8639         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8640         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8641         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8642         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8643         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8644         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8645         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8646         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8647         * sysdeps/s390/rtld-__longjmp.c: New file.
8648         * sysdeps/s390/rtld-setjmp.S: New file.
8649
8650 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8651
8652         [BZ #16400]
8653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8654         Return -__logl (x) for small positive arguments without evaluating
8655         a polynomial.
8656
8657 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8658
8659         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8660         Rename to ...
8661         (__ptrace_peeksiginfo_args): ... this.
8662         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8663         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8664         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8665
8666 2014-01-06  Allan McRae  <allan@archlinux.org>
8667
8668         * inet/netinet/in.h: Fix typo in comment.
8669
8670 2014-01-05  Andreas Jaeger  <aj@suse.de>
8671
8672         * sysdeps/i386/fpu/libm-test-ulps: Update.
8673
8674 2014-01-05  Allan McRae  <allan@archlinux.org>
8675
8676         * po/libc.pot: Regenerated.
8677
8678         * malloc/memusagestat.c: Fix gettext call formatting.
8679
8680 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8681
8682         * nscd/nscd.c: Improve usage() output.
8683
8684 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8685
8686         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8687         * sysdeps/unix/sysv/linux/configure: Regenerated.
8688         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8689         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8690
8691 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8692
8693         [BZ #16390]
8694         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8695         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8696
8697 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8698
8699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8700         extra tokens at end of #undef directive.
8701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8702         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8703         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8704
8705 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8706
8707         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8708
8709         * math/auto-libm-test-in: Mark various tests with
8710         xfail-rounding:ldbl-128ibm.
8711         * math/auto-libm-test-out: Regenerated.
8712
8713 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8714
8715         [BZ #16386]
8716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8717         numbers with subnormal high part when calculating exponent.
8718
8719         [BZ #16385]
8720         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8721         fabs.
8722
8723         [BZ #16384]
8724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8725         M_LN2l.
8726         (__ieee754_acoshl): Use __log1pl not __log1p.
8727
8728 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8729
8730         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8731         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8732         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8733         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8734         (reused_arena, arena_get2): Convert to GNU style.
8735         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8736         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8737         (memalign_check, __malloc_set_state): Likewise.
8738         * malloc/mallocbug.c (main): Likewise.
8739         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8740         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8741         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8742         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8743         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8744         (__posix_memalign, malloc_info): Likewise.
8745         * malloc/malloc.h: Likewise.
8746         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8747         (mallochook, memalignhook, reallochook, mabort): Likewise.
8748         * malloc/mcheck.h: Likewise.
8749         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8750         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8751         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8752         * malloc/morecore.c (__default_morecore): Likewise.
8753         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8754         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8755         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8756         (print_and_abort): Likewise.
8757         * malloc/obstack.h: Likewise.
8758         * malloc/set-freeres.c (__libc_freeres): Likewise.
8759         * malloc/tst-mallocstate.c (main): Likewise.
8760         * malloc/tst-mtrace.c (main): Likewise.
8761         * malloc/tst-realloc.c (do_test): Likewise.
8762
8763 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8764
8765         [BZ #16366]
8766         * nscd/netgroupcache.c (do_notfound): New function.
8767         (addgetnetgrentX): Use it.
8768
8769         [BZ # 16365]
8770         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8771         NSS_STATUS_NOTFOUND.
8772
8773 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8774
8775         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8777
8778 2014-01-01  Allan McRae  <allan@archlinux.org>
8779
8780         * scripts/update-copyrights: Update configure input file suffix.
8781
8782         * NEWS: Update copyright year.
8783         * catgets/gencat.c: Likewise.
8784         * csu/version.c: Likewise.
8785         * debug/catchsegv.sh: Likewise.
8786         * debug/pcprofiledump.c: Likewise.
8787         * debug/xtrace.sh: Likewise.
8788         * elf/ldconfig.c: Likewise.
8789         * elf/ldd.bash.in: Likewise.
8790         * elf/pldd.c: Likewise.
8791         * elf/sotruss.ksh: Likewise.
8792         * elf/sprof.c: Likewise.
8793         * iconv/iconv_prog.c: Likewise.
8794         * iconv/iconvconfig.c: Likewise.
8795         * locale/programs/locale.c: Likewise.
8796         * locale/programs/localedef.c: Likewise.
8797         * login/programs/pt_chown.c: Likewise.
8798         * malloc/memusage.sh: Likewise.
8799         * malloc/memusagestat.c: Likewise.
8800         * malloc/mtrace.pl: Likewise.
8801         * manual/libc.texinfo: Likewise.
8802         * nscd/nscd.c: Likewise.
8803         * nss/getent.c: Likewise.
8804         * nss/makedb.c: Likewise.
8805         * posix/getconf.c: Likewise.
8806         * scripts/test-installation.pl: Likewise.
8807
8808         * All files with FSF copyright notices: Update copyright dates
8809         using scripts/update-copyrights.
8810         * intl/plural.c: Regenerated.
8811         * locale/programs/charmap-kw.h: Likewise.
8812         * locale/programs/locfile-kw.h: Likewise.
8813
8814 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8815
8816         * sysdeps/unix/sysv/linux/configure: Regenerated.
8817         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8818         the linux/fanotify.h header.
8819         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8820         HAVE_LINUX_FANOTIFY_H is defined.
8821
8822 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823
8824         * benchtests/cos-inputs: New inputs.
8825         * benchtests/sin-inputs: Likewise.
8826
8827         * benchtests/atan-inputs: New inputs. Fix name of multiple
8828         precision fallback inputs.
8829
8830         * benchtests/atanh-inputs: New inputs.
8831         * benchtests/tanh-inputs: Likewise.
8832
8833         * benchtests/acosh-inputs: New inputs.
8834         * benchtests/asinh-inputs: Likewise.
8835
8836         * benchtests/cosh-inputs: New inputs.
8837         * benchtests/sinh-inputs: Likewise.
8838
8839         * benchtests/acos-inputs: Add more inputs.
8840         * benchtests/asin-inputs: Likewise.
8841
8842 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8843
8844         [BZ #16375]
8845         * manual/arith.texi: Fix spelling.
8846         * manual/charset.texi: Likewise.
8847         * manual/errno.texi: Likewise.
8848         * manual/filesys.texi: Likewise.
8849         * manual/lang.texi: Likewise.
8850         * manual/llio.texi: Likewise.
8851         * manual/locale.texi: Likewise.
8852         * manual/message.texi: Likewise.
8853         * manual/resource.texi: Likewise.
8854         * manual/search.texi: Likewise.
8855         * manual/setjmp.texi: Likewise.
8856         * manual/stdio.texi: Likewise.
8857         * manual/string.texi: Likewise.
8858         * manual/sysinfo.texi: Likewise.
8859         * manual/time.texi: Likewise.
8860
8861 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8862
8863         * po/sl.po: New file.
8864
8865 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8866
8867         * .gitignore: Add core/.gdbinit/.gdb_history.
8868
8869 2013-12-27  Allan McRae  <allan@archlinux.org>
8870
8871         [BZ #16369]
8872         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8873         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8874
8875 2013-12-24  Brooks Moses  <bmoses@google.com>
8876
8877         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8878         all compilers that claim C++98 compliance, not just GCC.
8879         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8880         Likewise.
8881
8882 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8883
8884         * NEWS: Restore accidentally deleted bug-fix entries.
8885
8886 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8887             Ondřej Bílka  <neleai@seznam.cz>
8888
8889         [BZ #15073]
8890         * malloc/malloc.c (_int_free): Perform sanity check only if we
8891         have_lock.
8892
8893 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8894
8895         [BZ #12986]
8896         * manual/stdio.texi (String Input Conversions): Clarify that character
8897         classes are not supported.
8898
8899 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8900
8901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8902
8903 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8904
8905         [BZ #16337]
8906         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8907         Calculate results for small negative arguments directly rather
8908         than using reflection formula with special underflow handling.
8909
8910         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8911         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8912         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8913         (fchflags): Likewise.
8914         (revoke): Likewise.
8915         (setlogin): Likewise.
8916         (sigaltstack): Likewise.
8917         (wait4): Likewise.
8918         (sigblock): Remove.
8919         (sigsetmask): Likewise.
8920         (wait3): Likewise.
8921         (waitpid): Likewise.
8922         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8923         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8924         file.
8925         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8926         * sysdeps/unix/bsd/Makefile: ... here.
8927         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8928         * sysdeps/unix/bsd/Versions: ... here.
8929         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8930         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8931         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8932         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8933         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8934         * sysdeps/unix/bsd/sigblock.c: ... here.
8935         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8936         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8937         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8938         * sysdeps/unix/bsd/sigvec.c: ... here.
8939         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8940         * sysdeps/unix/bsd/tcdrain.c: ... here.
8941         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8942         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8943         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8944         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8945         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8946         * sysdeps/unix/bsd/wait.c: ... here.
8947         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8948         * sysdeps/unix/bsd/wait3.c: ... here.
8949         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8950         * sysdeps/unix/bsd/waitpid.c: ... here.
8951
8952 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8953
8954         [BZ #16356]
8955         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8956         round-to-nearest for [!USE_AS_EXPM1L].
8957         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8958         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8959         more tests of exp and exp10.  Expect some exp10 tests to miss
8960         exceptions or fail in directed rounding modes.
8961         * math/auto-libm-test-out: Regenerated.
8962         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8963         (exp10_test_tonearest): New function.
8964         (exp10_towardzero_test_data): New array.
8965         (exp10_test_towardzero): New function.
8966         (exp10_downward_test_data): New array.
8967         (exp10_test_downward): New function.
8968         (exp10_upward_test_data): New array.
8969         (exp10_test_upward): New function.
8970         (main): Call the new functions.
8971         * sysdeps/i386/fpu/libm-test-ulps: Update.
8972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973
8974 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8975
8976         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8977         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8978         * math/auto-libm-test-out: Regenerated.
8979         * math/libm-test.inc (acosh_test_data): Add more tests.
8980         (atanh_test_data): Likewise.
8981         (ceil_test_data): Likewise.
8982         (copysign_test_data): Likewise.
8983         * sysdeps/i386/fpu/libm-test-ulps: Update.
8984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8985
8986         * timezone/checktab.awk: Update from tzcode 2013i.
8987         * timezone/private.h: Likewise.
8988         * timezone/scheck.c: Likewise.
8989         * timezone/tzfile.h: Likewise.
8990         * timezone/tzselect.ksh: Likewise.
8991         * timezone/zdump.c: Likewise.
8992         * timezone/zic.c: Likewise.
8993
8994         * math/auto-libm-test-in: Add tests of cpow.
8995         * math/auto-libm-test-out: Regenerated.
8996         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8997         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8998         mpc_cc_c.
8999         (func_calc_desc): Add mpc_cc_c union field.
9000         (test_functions): Add cpow.
9001         (special_fill_2pi): New function.
9002         (special_real_inputs): Add 2pi.
9003         (calc_generic_results): Handle mpc_cc_c.
9004         * sysdeps/i386/fpu/libm-test-ulps: Update.
9005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9006
9007         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9008         csqrt, ctan and ctanh.
9009         * math/auto-libm-test-out: Regenerated.
9010         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9011         (TEST_COND_x86): Likewise.
9012         (ccos_test_data): Use AUTO_TESTS_c_c.
9013         (ccosh_test_data): Likewise.
9014         (cexp_test_data): Likewise.
9015         (clog_test_data): Likewise.
9016         (csqrt_test_data): Likewise.
9017         (ctan_test_data): Likewise.
9018         (ctan_tonearest_test_data): Likewise.
9019         (ctan_towardzero_test_data): Likewise.
9020         (ctan_downward_test_data): Likewise.
9021         (ctan_upward_test_data): Likewise.
9022         (ctanh_test_data): Likewise.
9023         (ctanh_tonearest_test_data): Likewise.
9024         (ctanh_towardzero_test_data): Likewise.
9025         (ctanh_downward_test_data): Likewise.
9026         (ctanh_upward_test_data): Likewise.
9027         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9028         mpc_c_c.
9029         (func_calc_desc): Add mpc_c_c union field.
9030         (FUNC_mpc_c_c): New macro.
9031         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9032         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9033         ctanh.
9034         (special_fill_min_subnorm_p120): New function.
9035         (special_real_inputs): Add min_subnorm_p120.
9036         (calc_generic_results): Handle mpc_c_c.
9037         * sysdeps/i386/fpu/libm-test-ulps: Update.
9038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9039
9040 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9041
9042         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9043         (do_sin_slow): New functions.
9044         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9045         (cslow2, csloww1, csloww2): Use the new functions.
9046
9047         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9048         Use M to change sign of result instead of X.  Assume X is
9049         positive.
9050         (csloww1): Likewise.
9051         (__sin): Adjust.
9052         (__cos): Adjust.
9053
9054         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9055         arguments A and DA.
9056         (__sin): Adjust.
9057         (__cos): Likewise.
9058
9059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9060         (__cos): Likewise.
9061         (sloww1): Don't adjust sign of DX.
9062         (csloww1): Likewise.
9063         (sloww2): Use X directly and don't adjust sign of DX.
9064         (csloww2): Likewise.
9065
9066 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9067
9068         * math/auto-libm-test-in: Add tests of cabs and carg.
9069         * math/auto-libm-test-out: Regenerated.
9070         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9071         (carg_test_data): Likewise.
9072         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9073         mpc_c_f.
9074         (func_calc_desc): Add mpc_c_f union field.
9075         (test_functions): Add cabs and carg.
9076         (calc_generic_results): Handle mpc_c_f.
9077
9078         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9079         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9080         as a macro and a compat symbol.
9081         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9082         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9083         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9084         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9085         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9086         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9087         not use .hidden.
9088         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9089         Likewise.
9090         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9091         Likewise.
9092         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9093         Likewise.
9094         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9095         Likewise.
9096         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9097         Likewise.
9098         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9099         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9100         from GLIBC_2.3.2.
9101
9102 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9103
9104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9105
9106 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9107
9108         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9109         trailing whitespace removed.
9110         * scripts/config.guess: Update to version 2013-11-29.
9111         * scripts/config.sub: Update to version 2013-10-01.
9112
9113         * math/auto-libm-test-in: Add tests of sincos.
9114         * math/auto-libm-test-out: Regenerated.
9115         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9116         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9117         mpfr_f_11.
9118         (func_calc_desc): Add mpfr_f_11 union field.
9119         (test_functions): Add sincos.
9120         (calc_generic_results): Handle mpfr_f_11.
9121         * sysdeps/i386/fpu/libm-test-ulps: Update.
9122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9123
9124 2013-12-19  Andreas Schwab  <schwab@suse.de>
9125
9126         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9127         CALL_MCOUNT.
9128         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9129         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9130         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9131
9132 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9133
9134         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9135         * sysdeps/i386/fpu/libm-test-ulps: Update.
9136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9137
9138         [BZ #16293]
9139         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9140         round-to-nearest mode when using frndint.
9141         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9142         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9143         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9144         Likewise.
9145         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9146         sinh test to fail.
9147         * math/auto-libm-test-out: Regenerated.
9148         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9149         (TEST_COND_x86): Likewise.
9150         (expm1_tonearest_test_data): New array.
9151         (expm1_test_tonearest): New function.
9152         (expm1_towardzero_test_data): New array.
9153         (expm1_test_towardzero): New function.
9154         (expm1_downward_test_data): New array.
9155         (expm1_test_downward): New function.
9156         (expm1_upward_test_data): New array.
9157         (expm1_test_upward): New function.
9158         (main): Run the new test functions.
9159         * sysdeps/i386/fpu/libm-test-ulps: Update.
9160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9161
9162         * include/features.h: Update comment documenting feature test
9163         macros.  Mention _DEFAULT_SOURCE in comment.
9164         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9165         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9166         _BSD_SOURCE and _SVID_SOURCE.
9167         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9168         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9169         !_SVID_SOURCE]: Likewise.
9170         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9171         (__USE_POSIX_IMPLICITLY): Define.
9172         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9173         (_POSIX_SOURCE): Undefine and redefine.
9174         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9175         (_POSIX_C_SOURCE): Likewise.
9176         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9177         (Feature Test Macros): Update documentation of default features.
9178
9179 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9180
9181         * benchtests/Makefile: Add bench-strtok.
9182         * benchtests/bench-strtok.c: New file: strtok benchtest.
9183
9184 2013-12-19  Allan McRae  <allan@archlinux.org>
9185
9186         * manual/install.texi: Suppress menu for plain text output.
9187         * INSTALL: Regenerated.
9188
9189 2013-12-18  Brooks Moses  <bmoses@google.com>
9190
9191         [BZ #15846]
9192         * misc/getauxval.c: Include errno.h.
9193         (__getauxval): Set errno to ENOENT if the requested type is not
9194         found.
9195         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9196         don't declare with __attribute_const__.
9197         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9198         * manual/startup.texi: Document that getauxval sets errno.
9199
9200 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9201
9202         * math/auto-libm-test-in: Add tests of jn and yn.
9203         * math/auto-libm-test-out: Regenerated.
9204         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9205         (yn_test_data): Likewise.
9206         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9207         mpfr_if_f.
9208         (func_calc_desc): Add mpfr_if_f union field.
9209         (FUNC_mpfr_if_f): New macro.
9210         (test_functions): Add jn and yn.
9211         (calc_generic_results): Assert type of second input for
9212         mpfr_ff_f.  Handle mpfr_if_f.
9213         (output_for_one_input_case): Disable all checking for arguments
9214         fitting floating-point types in case of an integer argument.
9215         * sysdeps/i386/fpu/libm-test-ulps: Update.
9216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9217
9218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9219         Don't expect fegetround reference in libm.so.
9220
9221 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9222
9223         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9224         $(config-cflags-nofma).
9225
9226 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9227
9228         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9229         * math/auto-libm-test-out: Regenerated.
9230
9231         [BZ #16338]
9232         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9233         to determine exponent and adjust argument to have exponent of -1.
9234         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9235         log2.
9236         * math/auto-libm-test-out: Regenerated.
9237         * sysdeps/i386/fpu/libm-test-ulps: Update.
9238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9239
9240 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9241
9242         * manual/probes.texi: Remove cases when per-thread arenas are
9243         disabled.
9244
9245 2013-12-18  Andreas Schwab  <schwab@suse.de>
9246
9247         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9248         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9249         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9250         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9251         * sysdeps/i386/i686/multiarch/Makefile: Update.
9252         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9253
9254 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9255
9256         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9257         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9258
9259 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9260
9261         [BZ #15968]
9262         Support TZ transition times < 00:00:00.
9263         This is needed for version-3 tz-format files; it supports time
9264         stamps past 2037 for America/Godthab (the only entry in the tz
9265         database for which this change is relevant).
9266         * manual/time.texi (TZ Variable): Document transition times
9267         from -167:59:59 through -00:00:01.
9268         * time/tzset.c (tz_rule): Time of day is now signed.
9269         (__tzset_parse_tz): Parse negative time of day.
9270
9271         Document TZ transition times >= 25:00:00.
9272         * manual/time.texi (TZ Variable): Document transition times from
9273         25:00:00 through 167:59:59.  These are already supported, and this
9274         support will help with version-3 tz-format files.
9275
9276         * manual/time.texi (TZ Variable): Modernize North America example
9277         to reflect current (i.e., 2007-and-later) daylight saving rules.
9278
9279         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9280
9281 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9282
9283         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9284         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9285         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9287         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9288         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9289         * sysdeps/unix/bsd/clock.c: Likewise.
9290         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9291         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9292         * sysdeps/unix/bsd/init-posix.c: Likewise.
9293         * sysdeps/unix/bsd/poll.c: Likewise.
9294         * sysdeps/unix/bsd/ptsname.c: Likewise.
9295         * sysdeps/unix/bsd/seekdir.c: Likewise.
9296         * sysdeps/unix/bsd/setegid.c: Likewise.
9297         * sysdeps/unix/bsd/seteuid.c: Likewise.
9298         * sysdeps/unix/bsd/setgid.c: Likewise.
9299         * sysdeps/unix/bsd/setrgid.c: Likewise.
9300         * sysdeps/unix/bsd/setruid.c: Likewise.
9301         * sysdeps/unix/bsd/setsid.c: Likewise.
9302         * sysdeps/unix/bsd/setuid.c: Likewise.
9303         * sysdeps/unix/bsd/sigaction.c: Likewise.
9304         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9305         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9306         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9307         * sysdeps/unix/bsd/telldir.c: Likewise.
9308         * sysdeps/unix/bsd/times.c: Likewise.
9309         * sysdeps/unix/bsd/usleep.c: Likewise.
9310
9311         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9312         ($(objpfx)libbsd-compat.a): Remove rule.
9313
9314         * include/features.h (__FAVOR_BSD): Do not define.
9315         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9316         features conflicting with POSIX.
9317         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9318         (_BSD_SOURCE): Remove description of not being a subset of other
9319         feature test macros.
9320         * manual/job.texi (getpgrp): Do not document BSD version.
9321         (getpgid): Do not document by reference to BSD getpgrp.
9322         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9323         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9324         * signal/signal.h [__FAVOR_BSD]: Likewise.
9325         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9326         instead of making contents conditional on [__FAVOR_BSD].
9327         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9328
9329 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9330
9331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9332
9333 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9334
9335         [BZ #16314]
9336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9337         values below 2**-450, not 2**-500.
9338         * math/auto-libm-test-in: Don't allow spurious underflow from
9339         hypot.
9340         * math/auto-libm-test-out: Regenerated.
9341
9342         [BZ #16316]
9343         [BZ #16330]
9344         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9345         values of ha and hb and sort them after adjusting subnormal
9346         arguments.
9347         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9348         Likewise.
9349         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9350         values of ea and eb and sort them after adjusting subnormal
9351         arguments.
9352         * math/auto-libm-test-in: Do not expect some hypot tests of
9353         subnormals to fail.  Add more hypot tests.
9354         * math/auto-libm-test-out: Regenerated.
9355
9356 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9357
9358         [BZ #13304]
9359         * sysdeps/sh/s_fma.c: New file.
9360         * sysdeps/sh/s_fmaf.c: New file.
9361         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9362         version.
9363         * sysdeps/sh/Implies: Add sh/soft-fp.
9364
9365 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9366
9367         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9368         level of indirection to members `objname', `errstring', `malloced'.
9369         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9370         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9371         it as the __longjmp argument (just pass 1 instead).
9372         (_dl_catch_error): Initialize C with argument pointers and address of
9373         volatile local ERRCODE rather than copying values out of C at return.
9374
9375 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9376
9377         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9378         * math/auto-libm-test-out: Regenerated.
9379         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9380         (hypot_test_data): Likewise.
9381         (pow_test_data): Likewise.
9382         (pow_tonearest_test_data): Likewise.
9383         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9384         mpfr_ff_f.
9385         (func_calc_desc): Add mpfr_ff_f union field.
9386         (FUNC_mpfr_ff_f): New macro.
9387         (test_functions): Add atan2, hypot and pow.
9388         (special_fill_min): New function.
9389         (special_fill_minus_min): Likewise.
9390         (special_fill_min_subnorm): Likewise.
9391         (special_fill_minus_min_subnorm): Likewise.
9392         (special_real_inputs): Add min, -min, min_subnorm and
9393         -min_subnorm.
9394         (calc_generic_results): Handle mpfr_ff_f.
9395         * sysdeps/i386/fpu/libm-test-ulps: Update.
9396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9397
9398 2013-12-16  Will Newton  <will.newton@linaro.org>
9399
9400         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9401         (Aligned Memory Blocks): Add documentation for aligned_alloc
9402         and suggest it as an alternative to posix_memalign.
9403         (Hooks for Malloc): Document __memalign_hook is also called
9404         for aligned_alloc.  (Summary of Malloc): Add summary for
9405         aligned alloc.  Document __memalign_hook is also called
9406         for aligned_alloc.
9407
9408 2013-12-16  Will Newton  <will.newton@linaro.org>
9409
9410         * manual/memory.texi (Malloc Examples): Clarify default
9411         alignment documentation.  Suggest posix_memalign rather
9412         than memalign or valloc.
9413         (Aligned Memory Blocks): Remove suggestion to use memalign
9414         or valloc.  Remove obsolete comment about BSD.
9415         Document memalign errno values and mark the function obsolete.
9416         Document posix_memalign returned error codes.  Mark valloc
9417         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9418         called for posix_memalign and valloc.
9419         (Summary of Malloc): Add posix_memalign to function summary.
9420         __memalign_hook is also called for posix_memalign and valloc.
9421
9422 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9423
9424         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9425         TAYLOR_SIN.
9426         (__sin): Adjust.
9427         (__cos): Likewise.
9428         (sloww): Use mynumber union.  Expand ternary operator into
9429         if-else statements.
9430         (cslow): use mynumber union.
9431
9432 2013-12-16  Allan McRae  <allan@archlinux.org>
9433
9434         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9435         * configure: Regenerated.
9436
9437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9438
9439         [BZ #14120]
9440         * configure.ac: Added --enable-maintainer-mode. Check for
9441         autoconf when enabled.
9442         * configure: Regenerated.
9443
9444         * nscd/nscd.service: New file.
9445         * nscd/nscd.tmpfiles: New file.
9446
9447 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9448
9449         [BZ #12100]
9450         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9451         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9452         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9453         (strstr): Add __strstr_sse2_unaligned ifunc.
9454         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9455         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9456         (strcasestr): Remove __strcasestr_sse42 ifunc.
9457         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9460
9461 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9462
9463         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9464         * sysdeps/sh/bits/fenv.h: ... here.
9465         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9466
9467 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9468
9469         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9470
9471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9472         hypotf multiarch implementations.
9473         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9476         multiarch hypot for PPC64.
9477         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9478         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9480         multiarch hypotf for PPC64.
9481
9482         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9483         modff multiarch implementations.
9484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9487         multiarch modf for PPC64.
9488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9491         multiarch modff for PPC64.
9492
9493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9494         and logl multiarch implementations.
9495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9498         multiarch logb for PPC64.
9499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9502         multiarch logb for PPC64.
9503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9506         multiarch logb for PPC64.
9507
9508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9509         isinff multiarch implementation.
9510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9511         file.
9512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9514         multiarch isinf for PPC64.
9515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9516         file.
9517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9518         multiarch isinff for PPC64.
9519
9520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9521         finitef multiarch implementation.
9522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9523         file.
9524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9526         multiarch finite for PPC64.
9527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9528         file.
9529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9530         multiarch finitef for PPC64.
9531
9532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9533         lrint multiarch implementation.
9534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9535         file.
9536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9538         multiarch llrint for PPC64.
9539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9540         multiarch lrint for PPC64.
9541
9542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9543         copysignf multiarch implementation.
9544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9545         file.
9546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9547         file.
9548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9549         multiarch copysign for PPC64.
9550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9551         multiarch copysignf for PPC64.
9552
9553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9554         multiarch implementation.
9555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9556         file.
9557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9558         file.
9559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9560         file.
9561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9562         file.
9563         multiarch llround for PPC64.
9564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9565         multiarch trunc for PPC64.
9566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9567         multiarch truncf for PPC64.
9568
9569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9570         multiarch implementation.
9571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9572         file.
9573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9574         file.
9575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9576         file.
9577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9578         file.
9579         multiarch llround for PPC64.
9580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9581         multiarch round for PPC64.
9582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9583         multiarch roundf for PPC64.
9584
9585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9586         multiarch implementation.
9587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9588         file.
9589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9590         file.
9591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9592         file.
9593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9594         file.
9595         multiarch llround for PPC64.
9596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9597         multiarch floor for PPC64.
9598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9599         multiarch floorf for PPC64.
9600
9601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9602         multiarch implementation.
9603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9604         file.
9605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9606         file.
9607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9608         file.
9609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9610         file.
9611         multiarch llround for PPC64.
9612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9613         multiarch ceil for PPC64.
9614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9615         multiarch ceilf for PPC64.
9616
9617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9618         multiarch implementation.
9619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9620         file.
9621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9622         file.
9623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9624         file.
9625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9626         multiarch llround for PPC64.
9627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9628         multiarch lround for PPC64.
9629
9630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9631         multiarch implementation.
9632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9635         file.
9636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9639         multiarch isnan for PPC64.
9640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9641         multiarch isnanf for PPC64.
9642
9643         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9644         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9645         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9646         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9647         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9649
9650         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9651         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9654
9655         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9656         multiarch implementations.
9657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9658         (__libc_ifunc_impl_list): Likewise.
9659         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9662         multiarch stpcpy for PPC64.
9663
9664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9665         multiarch implementations.
9666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9667         (__libc_ifunc_impl_list): Likewise.
9668         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9669         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9670         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9671         multiarch strcpy for PPC64.
9672
9673         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9674         redefine function name.
9675         (_wordcopy_fwd_dest_aligned): Likewise.
9676         (_wordcopy_bwd_aligned): Likewise.
9677         (_wordcopy_bwd_dest_aligned): Likewise.
9678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9679         multiarch implementations.
9680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9681         (__libc_ifunc_impl_list): Likewise.
9682         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9686         multiarch wcscpy for PPC64.
9687
9688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9689         multiarch implementations.
9690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9691         (__libc_ifunc_impl_list): Likewise.
9692         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9693         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9694         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9696         multiarch wcscpy for PPC64.
9697
9698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9699         multiarch implementations.
9700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9701         (__libc_ifunc_impl_list): Likewise.
9702         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9703         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9704         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9705         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9706         multiarch wcsrchr for PPC64.
9707
9708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9709         multiarch implementations.
9710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9711         (__libc_ifunc_impl_list): Likewise.
9712         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9713         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9714         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9715         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9716         multiarch wcschr for PPC64.
9717
9718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9719         multiarch implementations.
9720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9721         (__libc_ifunc_impl_list): Likewise.
9722         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9723         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9724         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9725         multiarch strchrnul for PPC64.
9726
9727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9728         implementations.
9729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9730         (__libc_ifunc_impl_list): Likewise.
9731         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9732         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9733         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9734         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9735         strchr for PPC64.
9736
9737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9738         implementations.
9739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9740         (__libc_ifunc_impl_list): Likewise.
9741         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9742         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9743         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9744         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9745         strncmp for PPC64.
9746
9747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9748         multiarch implementations.
9749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9750         (__libc_ifunc_impl_list): Likewise.
9751         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9752         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9753         strncasecmp for PPC64.
9754         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9755         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9756         multiarch strncasecmp_l for PPC64.
9757
9758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9759         multiarch implementations.
9760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9761         (__libc_ifunc_impl_list): Likewise.
9762         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9764         multiarch strcasecmp for PPC64.
9765         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9766         file.
9767         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9768         multiarch strcasecmp_l for PPC64.
9769
9770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9771         implementations.
9772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9773         (__libc_ifunc_impl_list): Likewise.
9774         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9775         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9776         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9777         strnlen for PPC64.
9778
9779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9780         implementations.
9781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9782         (__libc_ifunc_impl_list): Likewise.
9783         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9784         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9785         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9786         strlen for PPC64.
9787
9788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9789         implementations.
9790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9791         (__libc_ifunc_impl_list): Likewise.
9792         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9793         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9794         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9795         rawmemrchr for PPC64.
9796
9797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9798         implementation.
9799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9800         (__libc_ifunc_impl_list): Likewise.
9801         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9802         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9803         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9804         memrchr for PPC64.
9805
9806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9807         implementation.
9808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9809         (__libc_ifunc_impl_list): Likewise.
9810         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9811         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9812         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9813         memchr for PPC64.
9814
9815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9816         implementation.
9817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9818         (__libc_ifunc_impl_list): Likewise.
9819         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9820         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9821         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9822         mempcpy for PPC64.
9823
9824         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9825         avoid cretion of __bzero symbol.
9826         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9827         Likewise.
9828         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9829         Likewise.
9830         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9831         Likewise.
9832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9833         multiarch implementations.
9834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9835         (__libc_ifunc_impl_list): Likewise.
9836         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9837         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9838         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9839         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9840         bzero for PPC32.
9841         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9842         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9843         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9844         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9845         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9846         memset for PPC64.
9847         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9848
9849         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9851         implementations.
9852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9853         (__libc_ifunc_impl_list): Likewise.
9854         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9855         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9856         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9857         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9858         memcmp for PPC64.
9859
9860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9861         multiarch for POWER/PPC64.
9862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9863         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9866         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9868         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9869         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9870         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9871         memcpy for PPC64.
9872
9873         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9874         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9875         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9876         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9877         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9878         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9879         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9880         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9881         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9882         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9883         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9884         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9885         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9886         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9887         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9895
9896 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9897
9898         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9899
9900 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9901
9902         * benchtests/Makefile (bench): Add exp2 and log2.
9903         (LDLIBS-bench-exp2): Add -lm.
9904         (LDLIBS-bench-log2): Likewise.
9905         * benchtests/exp2-inputs: New inputs file.
9906         * benchtests/log2-inputs: New inputs file.
9907         * benchtests/log-inputs: Add new inputs.
9908         * benchtests/tan-inputs: Likewise.
9909
9910 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9911
9912         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9913         definition...
9914         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9915         (csloww2): ... from here.
9916
9917         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9918         instead of structures.
9919         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9920         (POLYNOMIAL): Likewise.
9921         (TAYLOR_SLOW): Likewise.
9922         (__sin): Likewise.
9923         (__cos): Likewise.
9924         (slow1): Likewise.
9925         (slow2): Likewise.
9926         (sloww): Likewise.
9927         (sloww1); Likewise.
9928         (sloww2): Likewise.
9929         (bsloww1): Likewise.
9930         (bsloww2): Likewise.
9931         (cslow2): Likewise.
9932         (csloww): Likewise.
9933         (csloww1): Likewise.
9934         (csloww2): Likewise.
9935
9936 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9937
9938         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9939         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9940         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9941         * malloc/hooks.c (realloc_check): Likewise.
9942
9943         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9944         * malloc/arena.c: Remove PER_THREAD conditional.
9945         [!PER_THREAD]: Remove code.
9946         (ptmalloc_unlock_all2): Likewise.
9947         (ptmalloc_init): Likewise.
9948         (_int_new_arena): Likewise.
9949         (arena_get2): Likewise.
9950         * malloc/hooks.c (__malloc_get_state): Likewise.
9951         (__malloc_set_state): Likewise.
9952         * malloc/malloc.c: Likewise.
9953         (struct malloc_state): Likewise.
9954         (struct malloc_par): Likewise.
9955         (__libc_realloc): Likewise.
9956         (__libc_mallopt): Likewise.
9957
9958 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9959
9960         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9961
9962 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9963
9964         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9965         macro to a function.  Check for zero perturb_byte.
9966         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9967
9968         * malloc/malloc.c: (force_reg): Remove.
9969         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9970         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9971         force_reg by atomic_forced_read.
9972         * malloc/arena.c (ptmalloc_init): Likewise.
9973         * malloc/hooks.c (top_check): Likewise.
9974
9975 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9976
9977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9978
9979 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9980
9981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9982
9983 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9984
9985         * math/auto-libm-test-in: Add tests of lgamma.
9986         * math/auto-libm-test-out: Regenerated.
9987         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9988         (M_LOG_2_SQRT_PIl): Likewise.
9989         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9990         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9991         mpfr_f_f1.
9992         (func_calc_desc): Add mpfr_f_f1 union field.
9993         (ARGS1): New macro.
9994         (ARGS2): Likewise.
9995         (ARGS3): Likewise.
9996         (ARGS4): Likewise.
9997         (RET1): Likewise.
9998         (RET2): Likewise.
9999         (CALC): Likewise.
10000         (FUNC): Likewise.
10001         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10002         (test_functions): Add lgamma.
10003         (calc_generic_results): Handle mpfr_f_f1.
10004         * sysdeps/i386/fpu/libm-test-ulps: Update.
10005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10006
10007 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10008
10009         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10010         __mpn_add_n for PowerPC64/POWER7.
10011         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10012         __mpn_sub_n for PowerPC64/POWER7.
10013
10014         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10015         __mpn_addmul_1 for PowerPC64.
10016         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10017         __mpn_submul_1 for PowerPC64.
10018         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10019         for PowerPC64.
10020         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10021         for PowerPC64.
10022
10023 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10024
10025         [BZ #15089]
10026         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10027
10028 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10029
10030         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10031
10032         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10033         add multiarch folders.
10034         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10035         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10036         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10037         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10038         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10039         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10040         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10041         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10042         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10043         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10044         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10051
10052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10053         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10055         New file.
10056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10057         New file.
10058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10059         multiarch __ieee754_hypot for PowerPC32.
10060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10061         New file.
10062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10063         New file.
10064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10065         multiarch __ieee754_hypotf for PowerPC32.
10066
10067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10068         long_double_symbol only if __logbl is defined.
10069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10070         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10072         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10074         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10075         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10076         path for implementation.
10077         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10078         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10080         logb, and logbl multiarch implementations for PowerPC32.
10081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10082         file.
10083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10084         file.
10085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10086         multiarch logb for PowerPC32.
10087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10088         file.
10089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10090         file.
10091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10092         multiarch logbf for PowerPC32.
10093         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10095         file.
10096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10097         multiarch logbl implementation for PowerPC32.
10098
10099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10100         and modff multiarch implementations.
10101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10102         New file.
10103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10104         New file.
10105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10106         multiarch modf for PowerPC32.
10107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10108         New file.
10109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10110         New file.
10111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10112         multiarch modff for PowerPC32.
10113
10114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10115         and lrintf multiarch implementations.
10116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10117         New file.
10118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10119         New file.
10120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10121         multiarch lrint for PowerPC32.
10122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10123         file: multiarch lrintf for PowerPC32.
10124
10125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10126         and lroundf multiarch implementations.
10127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10128         New file.
10129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10130         New file.
10131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10132         New file.
10133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10134         multiarch lround for PowerPC32.
10135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10136         file: multiarch lroundf for PowerPC32.
10137
10138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10139         copysign and copysignf multiarch implementations.
10140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10141         New file.
10142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10143         New file.
10144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10145         file: multiarch copysign for PowerPC32.
10146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10147         file: multiarch copysignf for PowerPC32.
10148
10149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10150         and truncf multiarch implementations.
10151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10152         New file.
10153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10154         file.
10155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10156         multiarch trunc for PowerPC32.
10157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10158         New file.
10159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10160         New file.
10161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10162         multiarch truncf for PowerPC32.
10163
10164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10165         and roundf multiarch implementations.
10166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10167         New file.
10168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10169         file.
10170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10171         multiarch round for PowerPC32.
10172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10173         New file.
10174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10175         New file.
10176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10177         multiarch roundf for PowerPC32.
10178
10179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10180         and floorf multiarch implementations.
10181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10182         New file.
10183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10184         file.
10185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10186         multiarch floor for PowerPC32.
10187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10188         New file.
10189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10190         New file.
10191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10192         multiarch floorf for PowerPC32.
10193
10194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10195         and ceilf multiarch implementations.
10196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10197         New file.
10198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10199         file.
10200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10201         multiarch ceil for PowerPC32.
10202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10203         New file.
10204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10205         file.
10206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10207         multiarch ceilf for PowerPC32.
10208
10209         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10210         is defined.
10211         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10212         FINITEF is defined.
10213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10214         and finitef multiarch implementations.
10215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10216         New file.
10217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10218         file.
10219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10220         multiarch finite for PowerPC32.
10221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10222         New file.
10223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10224         file: multiarch finitef for PowerPC32.
10225
10226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10227         and isinff multiarch implementations.
10228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10229         file.
10230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10231         file.
10232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10233         multiarch isinf for PowerPC32.
10234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10235         New file.
10236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10237         multiarch isinff for PowerPC32.
10238
10239         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10240         alias when __isnan is defined.
10241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10242         and isnanf multiarch implementations.
10243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10244         file.
10245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10246         file.
10247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10248         file.
10249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10250         file.
10251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10252         multiarch isnan for PowerPC32.
10253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10254         New file.
10255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10256         New file.
10257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10258         multiarch isnanf for PowerPC32.
10259
10260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10261         and sqrtf multiarch implementations.
10262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10263         file.
10264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10265         file.
10266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10267         multiarch sqrt for PowerPC32.
10268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10269         file.
10270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10271         file.
10272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10273         multiarch sqrtf for PowerPC32.
10274
10275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10276         and llroundf multiarch implementations.
10277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10278         New file.
10279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10280         New file.
10281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10282         New file.
10283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10284         file: multiarch llround for PowerPC32.
10285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10286         file: multiarch llroundf for PowerPC32.
10287
10288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10289         multiarch PowerPC32 fpu implementations.
10290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10291         New file.
10292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10293         New file.
10294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10295         multiarch llrint for PowerPC32.
10296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10297         New file.
10298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10299         New file.
10300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10301         file.
10302
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10304
10305         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10306         file.
10307         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10308         file.
10309         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10310         file.
10311         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10312         multiarch wordcopy for PPC32.
10313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10314         wordcopy objects.
10315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10316         (__libc_ifunc_impl_list): Likewise.
10317         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10318         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10319         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10320         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10321         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10322         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10323
10324         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10326         file.
10327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10328         file.
10329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10330         file.
10331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10332         multiarch wcscpy for PPC32.
10333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10334         multiarch objects.
10335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10336         (__libc_ifunc_impl_list): Likewise.
10337         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10338         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10339         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10340         sysdeps/powerpc/power6/wcscpy.c.
10341
10342         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10344         file.
10345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10346         file.
10347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10348         file.
10349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10350         multiarch wcsrchr for PPC32.
10351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10352         multiarch objects.
10353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10354         (__libc_ifunc_impl_list): Likewise.
10355         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10356         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10357         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10358         sysdeps/powerpc/power6/wcsrchr.c.
10359
10360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10361         file.
10362         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10363         file.
10364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10366         multiarch wcschr for PPc32.
10367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10368         multiarch objects.
10369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10370         (__libc_ifunc_impl_list): Likewise.
10371         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10372         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10373         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10374         sysdeps/powerpc/power6/wcschr.c.
10375
10376         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10378         file.
10379         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10380         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10381         file: multiarch strchr for PPC32.
10382         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10383         multiarch objects.
10384         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10385         (__libc_ifunc_impl_list): Likewise.
10386
10387         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10388         name.
10389         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10390         file.
10391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10392         file.
10393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10394         multiarch strchrnul for PPC32.
10395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10396         multiarch objects.
10397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10398         (__libc_ifunc_impl_list): Likewise.
10399
10400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10401         file.
10402         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10403         multiarch strncasecmp for PPC32.
10404         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10405         file.
10406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10407         multiarch strncasecmp_l for PPC32.
10408         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10409         strncasecmp multiarch objects.
10410         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10411         (__libc_ifunc_impl_list): Likewise.
10412
10413         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10414         file.
10415         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10416         multiarch strncasecmp for PPC32.
10417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10418         New file.
10419         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10420         multiarch strcasecmp_l for PPC32.
10421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10422         multiarch objects.
10423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10424         (__libc_ifunc_impl_list): Likewise.
10425
10426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10427         file.
10428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10429         file.
10430         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10431         multiarch strncmp for PPC32.
10432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10433         multiarch objects.
10434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10435         (__libc_ifunc_impl_list): Likewise.
10436
10437         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10438         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10439         file.
10440         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10441         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10443         multiarch objects.
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10445         (__libc_ifunc_impl_list): Likewise.
10446
10447         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10448         file.
10449         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10450         file.
10451         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10453         multiarch objects.
10454         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10455         (__libc_ifunc_impl_list): Likewise.
10456
10457         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10458         file.
10459         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10460         file.
10461         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10462         multiarch rawmemchr for PPC32.
10463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10464         multiarch objects.
10465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10466         (__libc_ifunc_impl_list): Likewise.
10467
10468         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10469         file.
10470         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10471         file.
10472         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10473         file: memrchr multiarch for PPC32.
10474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10475         multiarch objects.
10476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10477         (__libc_ifunc_impl_list): Likewise.
10478
10479         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10481         file.
10482         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10484         multiarch memchr for PPC32.
10485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10486         multiarch objects.
10487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10488         (__libc_ifunc_impl_list): Likewise.
10489
10490         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10491         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10492         file.
10493         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10494         file.
10495         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10496         file: multiarch mempcpy for PPC32.
10497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10498         multiarch objects.
10499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10500         (__libc_ifunc_impl_list): Likewise.
10501
10502         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10504         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10505         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10506         multiarch bzero for PPC32.
10507         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10508         file.
10509         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10510         file.
10511         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10512         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10513         file: multiarch memset for PPC32.
10514         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10516         memset multiarch objects.
10517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10518         (__libc_ifunc_impl_list): Likewise.
10519
10520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10521         file.
10522         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10524         memcmp for PPC32.
10525         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10527         multiarch objects.
10528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10529         (__libc_ifunc_impl_list): Likewise.
10530
10531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10534         file.
10535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10536         file.
10537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10538         file.
10539         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10540         multiarch memcpy for PPC32.
10541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10542         multiarch objects.
10543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10544         (__libc_ifunc_impl_list): Likewise.
10545
10546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10547         support multiarch for POWER/PPC32.
10548         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10549         Likewise.
10550         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10552         Implies file to make multiarch folder appers before the fpu and
10553         default folder for power4 configuration.
10554
10555 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10556
10557         * scripts/bench.pl: Append volatile keyword to type.
10558
10559 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10560
10561         * sysdeps/sh/sotruss-lib.c: New file.
10562         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10563
10564 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10565
10566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10567
10568 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10569
10570         [BZ #6810]
10571         * math/w_tgamma.c: Include <errno.h>.
10572         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10573         * math/w_tgammaf.c: Include <errno.h>.
10574         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10575         * math/w_tgammal.c: Include <errno.h>.
10576         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10577         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10578         underflow.  Add more tgamma tests.
10579         * math/auto-libm-test-out: Regenerated.
10580         * sysdeps/i386/fpu/libm-test-ulps: Update.
10581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10582
10583         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10584         sin, sinh, tan, tanh, tgamma, y0 and y1.
10585         * math/auto-libm-test-out: Regenerated.
10586         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10587         (TEST_COND_x86): Likewise.
10588         (M_E2l): Remove macro.
10589         (M_E3l): Likewise.
10590         (M_2_SQRT_PIl): Likewise.
10591         (M_SQRT_PIl): Likewise.
10592         (M_1_DIV_El): Likewise.
10593         (log_test_data): Use AUTO_TESTS_f_f.
10594         (log10_test_data): Likewise.
10595         (log1p_test_data): Likewise.
10596         (log2_test_data): Likewise.
10597         (sin_test_data): Likewise.
10598         (sin_tonearest_test_data): Likewise.
10599         (sin_towardzero_test_data): Likewise.
10600         (sin_downward_test_data): Likewise.
10601         (sin_upward_test_data): Likewise.
10602         (sinh_test_data): Likewise.
10603         (sinh_tonearest_test_data): Likewise.
10604         (sinh_towardzero_test_data): Likewise.
10605         (sinh_downward_test_data): Likewise.
10606         (sinh_upward_test_data): Likewise.
10607         (tan_test_data): Likewise.
10608         (tan_tonearest_test_data): Likewise.
10609         (tan_towardzero_test_data): Likewise.
10610         (tan_downward_test_data): Likewise.
10611         (tan_upward_test_data): Likewise.
10612         (tanh_test_data): Likewise.
10613         (tgamma_test_data): Likewise.
10614         (y0_test_data): Likewise.
10615         (y1_test_data): Likewise.
10616         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10617         (special_real_inputs): Add pi/4.
10618         * sysdeps/i386/fpu/libm-test-ulps: Update.
10619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620
10621 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10622
10623         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10624         "longjmp_target" static probes.
10625         (__longjmp): Rename to __longjmp_symbol.
10626         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10627         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10628         on which longjmp to generate.
10629         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10630         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10631         probe.
10632         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10633         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10634         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10635         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10636         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10637         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10639         __longjmp_symbol based on which __longjmp to generate.
10640         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10641         probe.
10642         (setjmp): Rename to setjmp_symbol.
10643         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10644         (_setjmp): Rename to _setjmp_symbol.
10645         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10646         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10647         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10648         which setjmp to generate.
10649         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10650         "longjmp_target" static probes.
10651
10652 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10653
10654         * benchtests/README: Add note about output arguments.
10655         * benchtests/bench-sincos.c: Remove file.
10656         * benchtests/sincos-inputs: New file.
10657         * scripts/bench.pl: Identify output arguments and define
10658         static variables for them.
10659
10660         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10661
10662         [BZ #15941]
10663         * Makefile (INSTALL): Add install-plain.texi as the primary
10664         dependency.
10665         * manual/install-plain.texi: New file.
10666         * manual/install.texi: Include node directive only for
10667         non-plaintext output.
10668
10669 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10670
10671         * stdlib/longlong.h: Update from GCC.
10672
10673         [BZ #6807]
10674         [BZ #15901]
10675         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10676         * math/w_j0f.c (y0f): Likewise.
10677         * math/w_j0l.c (__y0l): Likewise.
10678         * math/w_j1.c (y1): Likewise.
10679         * math/w_j1f.c (y1f): Likewise.
10680         * math/w_j1l.c (__y1l): Likewise
10681         * math/w_jn.c (yn): Likewise.
10682         * math/w_jnf.c (ynf): Likewise.
10683         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10684         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10685         value for Bessel function domain errors outside _SVID_ mode.
10686         Adjust sign of return value for yn (negative integer, 0).
10687         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10688         by zero in return for negative x and set sign appropriately for
10689         negative n.
10690         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10692         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10693         expectations in error cases.
10694         (y1_test_data): Likewise.
10695         (yn_test_data): Likewise.
10696         * sysdeps/i386/fpu/libm-test-ulps: Update.
10697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10698
10699 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10700
10701         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10702         "64" to "64-v1".  Add "64-v2".
10703         (abi-64-options): Rename to ...
10704         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10705         (abi-64-condition): Rename to ...
10706         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10707         (abi-64-ld-soname): Rename to ...
10708         (abi-64-v1-ld-soname): ... this.
10709         (abi-64-v2-options): Define.
10710         (abi-64-v2-condition): Likewise.
10711         (abi-64-v2-ld-soname): Likewise.
10712         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10713         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10717
10718 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10719             Alan Modra  <amodra@gmail.com>
10720
10721         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10722         New versions for use with the ELFv2 ABI.
10723         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10724         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10725         declaration.
10726         (struct La_ppc64v2_retval): Likewise.
10727         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10728         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10729         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10730         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10731         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10732         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10733         Do not save or restore CR.
10734         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10735         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10736         return values for ELFv2 ABI.  Fix location of FPR return registers.
10737         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10738         updated values for _CALL_ELF == 2.
10739         (La_regs, La_retval, int_retval): Likewise.
10740
10741 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10742
10743         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10744         (FRAME_MIN_SIZE_PARM): Likewise.
10745         (FRAME_BACKCHAIN): Likewise.
10746         (FRAME_CR_SAVE): Likewise.
10747         (FRAME_LR_SAVE): Likewise.
10748         (FRAME_TOC_SAVE): Likewise.
10749         (FRAME_PARM_SAVE): Likewise.
10750         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10751         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10752         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10753         (call_mcount_parm_offset): New macro.
10754         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10755         (PROF): Use symbolic stack frame offsets.
10756         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10757         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10758         Redefine in terms of FRAME_MIN_SIZE.
10759         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10760         (_dl_profile_resolve): Likewise.  Update comment.
10761         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10762         symbols stack frame offsets.
10763         (__sigsetjmp): Likewise.
10764         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10765         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10766         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10767         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10768
10769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10770         (FRAME_BACKCHAIN): Remove.
10771         (FRAME_CR_SAVE): Likewise.
10772         (FRAME_LR_SAVE): Likewise.
10773         (FRAME_COMPILER_DW): Likewise.
10774         (FRAME_LINKER_DW): Likewise.
10775         (FRAME_TOC_SAVE): Likewise.
10776         (FRAME_PARM_SAVE): Likewise.
10777         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10778         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10779         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10781         (CHECK_SP): Use symbolic stack frame offsets.
10782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10783         zone" instead of caller's parameter save area for temp storage.
10784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10785         Likewise.  Also, use symbolic stack frame offsets.
10786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10787         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10788         our own stack frame instead of the caller's.
10789         (__socket): Use symbolic stack frame offsets.
10790
10791 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10792             Alan Modra  <amodra@gmail.com>
10793
10794         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10795         Define.
10796         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10797         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10798         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10799         New function.
10800         (elf_machine_fixup_plt): Call it.
10801         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10802         reloc arguments.
10803         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10804         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10805         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10806         r2 before calling target.
10807
10808 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10809             Alan Modra  <amodra@gmail.com>
10810
10811         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10812         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10813         versions of macros to support ELFv2 ABI.
10814         (LOCALENTRY): New macro.
10815         (ENTRY, EALIGN): Use it.
10816         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10817         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10818         fall through into ENTRY entry point.
10819         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10820         Only define if _CALL_ELF != 2.
10821
10822         (elf_machine_matches_host): Verify ABI version matches.
10823         (RTLD_START): Use LOCALENTRY.
10824         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10825         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10826         (PLT_ENTRY_WORDS): New macro.
10827         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10828         (elf_machine_runtime_setup): Support ELFv2 ABI.
10829         (elf_machine_fixup_plt): Likewise.
10830         (elf_machine_plt_conflict): Likewise.
10831         (resolve_ifunc): Likewise.
10832         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10833         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10834         Likewise.
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10836         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10838         (makecontext): Support ELFv2 ABI.
10839         * elf/elf.h (EF_PPC64_ABI): Define.
10840
10841 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10842
10843         * sysdeps/powerpc/powerpc64/sysdep.h
10844         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10845         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10846         (ENTRY) [ASSEMBLER]: ... but instead here ...
10847         (EALIGN) [ASSEMBLER]: ... and here.
10848         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10849         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10850         (ENTRY_2) [!ASSEMBLER]: Use it.
10851         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10852         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10853         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10854         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10855         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10857         Use PPC64_LOAD_FUNCPTR.
10858
10859         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10860
10861 2013-12-04  Alan Modra  <amodra@gmail.com>
10862
10863         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10864         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10865         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10866         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10867
10868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10869         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10870         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10871         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10872         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10873         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10874
10875 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10876
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10878         (__makecontext): Fix incorrect CFI when backtracing out of
10879         context created via makecontext.
10880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10881         (__setcontext): Fix incorrect CFI during switch to new context.
10882         (__novec_setcontext): Likewise.
10883
10884 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10885
10886         [BZ #4772]
10887         * time/strptime_l.c (__strptime_internal): Allow modifiers
10888         in strptime.
10889         * time/tst-strptime.c (day_tests): Add testcase.
10890
10891 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10892
10893         * scripts/bench.pl: Skip over blank lines.
10894
10895 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10896
10897         [BZ #926]
10898         * manual/time.texi (Calendar Time): Clarify what timezone functions
10899         use.
10900
10901 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10902
10903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10904
10905 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10906
10907         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10908         implementation.
10909         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10910         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10911         * debug/memset_chk.c (__memset_chk): Likewise.
10912         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10913         * debug/strncpy_chk.c: Likewise.
10914
10915 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10916
10917         [BZ #15268]
10918         [BZ #15425]
10919         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10920         (__ieee754_exp): For possibly underflowing results, check size of
10921         result and force underflow exception if required.
10922         * math/auto-libm-test-in: Add more tests of exp.
10923         * math/auto-libm-test-out: Regenerated.
10924         * sysdeps/i386/fpu/libm-test-ulps: Update.
10925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10926
10927         [BZ #16283]
10928         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10929         * math/w_exp2f.c (__exp2f): Likewise.
10930         * math/w_exp2l.c (__exp2l): Likewise.
10931         * math/auto-libm-test-in: Do not allow missing errno on exp2
10932         underflow.
10933         * math/auto-libm-test-out: Regenerated.
10934
10935 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10936
10937         [BZ #16274]
10938         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10939         handle filename validation.
10940         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10941         (do_open): Delete.
10942
10943 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10944
10945         [BZ #6786]
10946         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10947         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10948         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10949         <float.h>.
10950         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10951         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10952         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10954         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10955         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10956         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10957         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10958         Add more erfc tests.
10959         * math/auto-libm-test-out: Regenerated.
10960         * sysdeps/i386/fpu/libm-test-ulps: Update.
10961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10962
10963         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10964         exp2, expm1, j0 and j1.
10965         * math/auto-libm-test-out: Regenerated.
10966         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10967         (erfc_test_data): Likewise.
10968         (exp_test_data): Likewise.
10969         (exp_tonearest_test_data): Likewise.
10970         (exp_towardzero_test_data): Likewise.
10971         (exp_downward_test_data): Likewise.
10972         (exp_upward_test_data): Likewise.
10973         (exp10_test_data): Likewise.
10974         (exp2_test_data): Likewise.
10975         (expm1_test_data): Likewise.
10976         (j0_test_data): Likewise.
10977         (j1_test_data): Likewise.
10978         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10979         (input_flag_type): Add flag_xfail_rounding.
10980         (input_flags): Add xfail-rounding.
10981         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10982         (output_for_one_input_case): Handle flag_xfail_rounding.
10983         * sysdeps/i386/fpu/libm-test-ulps: Update.
10984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985
10986 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10987
10988         [BZ #16289]
10989         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10990         division by 0.
10991
10992 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10993
10994         [BZ #16195]
10995         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10996         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10997         (STAP_PROBE0): New macro.
10998         (STAP_PROBE1): Likewise.
10999         (STAP_PROBE2): Likewise.
11000         (STAP_PROBE3): Likewise.
11001         (STAP_PROBE4): Likewise.
11002
11003 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11004
11005         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11006
11007 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11008
11009         * benchtests/Makefile (bench): Add sqrt.
11010         (LDLIBS-bench-sqrt): New.
11011         * benchtests/sqrt-input: New.
11012
11013 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11014
11015         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11016         (GAIH_EAI): Likewise.
11017         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11018         (gaih_inet): Likewise.
11019         (getaddrinfo): Don't use GAIH_EAI.
11020
11021         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11022         (struct gaih): Remove definition.
11023
11024 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11025
11026         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11027         Use HERRNOP directly.
11028
11029 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11030
11031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11032
11033 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11034
11035         * math/gen-auto-libm-tests.c (test_functions): Add more
11036         single-argument functions.
11037         (special_fill_pi_2): New function.
11038         (special_fill_minus_pi_2): Likewise.
11039         (special_fill_pi_6): Likewise.
11040         (special_fill_minus_pi_6): Likewise.
11041         (special_fill_pi_3): Likewise.
11042         (special_fill_2pi_3): Likewise.
11043         (special_fill_e): Likewise.
11044         (special_fill_1_e): Likewise.
11045         (special_fill_e_minus_1): Likewise.
11046         (special_real_inputs): Add more special inputs.
11047         (output_for_one_input_case): Do not require ERANGE on underflow to
11048         zero if round-to-nearest result does not underflow to zero, unless
11049         exact results required.
11050         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11051         atan, atanh, cbrt, cos and cosh.
11052         * math/auto-libm-test-out: Regenerated.
11053         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11054         (acos_tonearest_test_data): Likewise.
11055         (acos_towardzero_test_data): Likewise.
11056         (acos_downward_test_data): Likewise.
11057         (acos_upward_test_data): Likewise.
11058         (acosh_test_data): Likewise.
11059         (asin_test_data): Likewise.
11060         (asin_tonearest_test_data): Likewise.
11061         (asin_towardzero_test_data): Likewise.
11062         (asin_upward_test_data): Likewise.
11063         (asinh_test_data): Likewise.
11064         (atan_test_data): Likewise.
11065         (atanh_test_data): Likewise.
11066         (cbrt_test_data): Likewise.
11067         (cos_test_data): Likewise.
11068         (cos_tonearest_test_data): Likewise.
11069         (cos_towardzero_test_data): Likewise.
11070         (cos_downward_test_data): Likewise.
11071         (cos_upward_test_data): Likewise.
11072         (cosh_test_data): Likewise.
11073         (cosh_tonearest_test_data): Likewise.
11074         (cosh_towardzero_test_data): Likewise.
11075         (cosh_downward_test_data): Likewise.
11076         (cosh_upward_test_data): Likewise.
11077         * sysdeps/i386/fpu/libm-test-ulps: Update.
11078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11079
11080 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11081
11082         [BZ #6787]
11083         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11084         * math/w_exp10f.c (__exp10f): Likewise.
11085         * math/w_exp10l.c (__exp10l): Likewise.
11086         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11087         errno settings in existing tests.
11088
11089         [BZ #14032]
11090         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11091         precision control set to double precision.
11092         * sysdeps/i386/fpu/w_sqrt.c: New file.
11093         * math/auto-libm-test-in: Add more tests.
11094         * math/auto-libm-test-out: Update.
11095
11096         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11097         (sqrt_test_tonearest): New function.
11098         (sqrt_towardzero_test_data): New variable.
11099         (sqrt_test_towardzero): New function.
11100         (sqrt_downward_test_data): New variable.
11101         (sqrt_test_downward): New function.
11102         (sqrt_upward_test_data): New variable.
11103         (sqrt_test_upward): New function.
11104         (main): Call the new functions.
11105
11106         * math/gen-auto-libm-tests.c: New file.
11107         * math/auto-libm-test-in: Likewise.
11108         * math/auto-libm-test-out: New generated file.
11109         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11110         variables.
11111         (%beautify): Add generated representations of zero.
11112         (top level): Set $auto_input and call parse_auto_input.
11113         (beautify): Remove trailing "f" from hex float constants.
11114         (parse_args): Handle XFAIL_TEST.
11115         (convert_condition): New function.
11116         (or_value): Likewise.
11117         (or_cond_value): Likewise.
11118         (generate_testfile): Handle AUTO_TESTS_* lines.
11119         (parse_auto_input): New function.
11120         * math/libm-test.inc (XFAIL_TEST): New macro.
11121         (ERRNO_UNCHANGED): Update value.
11122         (ERRNO_EDOM): Likewise.
11123         (ERRNO_ERANGE): Likewise.
11124         (IGNORE_RESULT): Likewise.
11125         (TEST_COND_flt_32): New macro.
11126         (TEST_COND_dbl_64): Likewise.
11127         (TEST_COND_ldbl_96_intel): Likewise.
11128         (TEST_COND_ldbl_96_m68k): Likewise.
11129         (TEST_COND_ldbl_128): Likewise.
11130         (TEST_COND_ldbl_128ibm): Likewise.
11131         (TEST_COND_long32): Likewise.
11132         (TEST_COND_long64): Likewise.
11133         (TEST_COND_before_rounding): Likewise.
11134         (TEST_COND_after_rounding): Likewise.
11135         (enable_test): Handle XFAIL_TEST flag.
11136         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11137         with finite results.
11138         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11139         auto-libm-test-out.
11140
11141 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11142             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11143
11144         [BZ #16214]
11145         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11146         __tls_get_addr_internal instead of __tls_get_offset in order to
11147         avoid GOT pointer dependency.  Make rtld export
11148         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11149         __tls_get_addr since we are a __tls_get_offset platform.
11150         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11151         GOT pointer being set up before.
11152         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11153
11154 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11155
11156         * manual/math.texi (Errors in Math Functions): Document accuracy
11157         goals.
11158
11159         [BZ #15004]
11160         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11161         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11162         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11163         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11164         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11165         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11166         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11167         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11168         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11169         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11170         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11171         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11172         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11173         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11175         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11176
11177         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11178         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11179         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11180         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11181         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11182         Likewise.
11183         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11184         Likewise.
11185         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11186         Likewise.
11187         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11188         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11189         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11190         atomic-feupdateenv and flt-rounds.
11191         * sysdeps/powerpc/nofpu/Versions (libc): Add
11192         __atomic_feholdexcept, __atomic_feclearexcept,
11193         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11194         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11195         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11196         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11197         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11198         here.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11200         Update.
11201
11202         * manual/arith.texi (FP Exceptions): Document that exceptions may
11203         not be raised when matherr is used.
11204         (Math Error Reporting): Document overflow in directed rounding
11205         modes.  Document that errno may not be set when finite values are
11206         returned on overflow.  Document intent to set errno on underflow
11207         only for underflow to zero.
11208
11209         [BZ #16271]
11210         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11211         round-to-nearest then adjust result for other rounding modes.
11212         * include/fenv.h (fegetround): Use libm_hidden_proto.
11213         * math/fegetround.c (fegetround): Use libm_hidden_def.
11214         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11215         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11216         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11217         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11218         Likewise.
11219         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11220         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11221         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11222         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11223
11224 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11225
11226         [BZ #16077]
11227         * nss/Versions (libnss_files): Add
11228         _nss_files_gethostbyname3_r.
11229         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11230         New function.
11231         (HOST_DB_LOOKUP): Remove macro.
11232         (_nss_files_gethostbyname_r): Implement function without the
11233         HOST_DB_LOOKUP macro.
11234         (_nss_files_gethostbyname2_r): Likewise.
11235
11236 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11237
11238         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11239
11240 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11241
11242         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11243         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11244         warning.
11245
11246 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11247
11248         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11249         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11250         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11251         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11252         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11253         __fe_nomask_env_priv and attribute_hidden.
11254         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11255         (libc_feupdateenv_test_ppc): Likewise.
11256         (libc_feresetround_ppc): Likewise.
11257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11258         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11259         compat_symbol macro.
11260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11261         (__fe_nomask_env): Likewise.
11262         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11263
11264 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11265
11266         * string/Makefile: Remove ifunc tests.
11267         * string/test-string.h: Define TEST_IFUNC.
11268         * string/test-bcopy-ifunc.c: Remove.
11269         * string/test-bzero-ifunc.c: Likewise.
11270         * string/test-memccpy-ifunc.c: Likewise.
11271         * string/test-memchr-ifunc.c: Likewise.
11272         * string/test-memcmp-ifunc.c: Likewise.
11273         * string/test-memcpy-ifunc.c: Likewise.
11274         * string/test-memmem-ifunc.c: Likewise.
11275         * string/test-memmove-ifunc.c: Likewise.
11276         * string/test-mempcpy-ifunc.c: Likewise.
11277         * string/test-memrchr-ifunc.c: Likewise.
11278         * string/test-memset-ifunc.c: Likewise.
11279         * string/test-rawmemchr-ifunc.c: Likewise.
11280         * string/test-stpcpy-ifunc.c: Likewise.
11281         * string/test-stpncpy-ifunc.c: Likewise.
11282         * string/test-strcasecmp-ifunc.c: Likewise.
11283         * string/test-strcasestr-ifunc.c: Likewise.
11284         * string/test-strcat-ifunc.c: Likewise.
11285         * string/test-strchr-ifunc.c: Likewise.
11286         * string/test-strchrnul-ifunc.c: Likewise.
11287         * string/test-strcmp-ifunc.c: Likewise.
11288         * string/test-strcpy-ifunc.c: Likewise.
11289         * string/test-strcspn-ifunc.c: Likewise.
11290         * string/test-strlen-ifunc.c: Likewise.
11291         * string/test-strncasecmp-ifunc.c: Likewise.
11292         * string/test-strncat-ifunc.c: Likewise.
11293         * string/test-strncmp-ifunc.c: Likewise.
11294         * string/test-strncpy-ifunc.c: Likewise.
11295         * string/test-strnlen-ifunc.c: Likewise.
11296         * string/test-strpbrk-ifunc.c: Likewise.
11297         * string/test-strrchr-ifunc.c: Likewise.
11298         * string/test-strspn-ifunc.c: Likewise.
11299         * string/test-strstr-ifunc.c: Likewise.
11300
11301 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11302
11303         * benchtests/Makefile: Remove ifunc tests.
11304         * benchtests/bench-string.h: Define TEST_IFUNC.
11305         * benchtests/bench-bcopy-ifunc.c: Remove.
11306         * benchtests/bench-bzero-ifunc.c: Likewise.
11307         * benchtests/bench-memccpy-ifunc.c: Likewise.
11308         * benchtests/bench-memchr-ifunc.c: Likewise.
11309         * benchtests/bench-memcmp-ifunc.c: Likewise.
11310         * benchtests/bench-memcpy-ifunc.c: Likewise.
11311         * benchtests/bench-memmem-ifunc.c: Likewise.
11312         * benchtests/bench-memmove-ifunc.c: Likewise.
11313         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11314         * benchtests/bench-memrchr-ifunc.c: Likewise.
11315         * benchtests/bench-memset-ifunc.c: Likewise.
11316         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11317         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11318         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11319         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11320         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11321         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11322         * benchtests/bench-strcat-ifunc.c: Likewise.
11323         * benchtests/bench-strchr-ifunc.c: Likewise.
11324         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11325         * benchtests/bench-strcmp-ifunc.c: Likewise.
11326         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11327         * benchtests/bench-strcpy-ifunc.c: Likewise.
11328         * benchtests/bench-strcspn-ifunc.c: Likewise.
11329         * benchtests/bench-strlen-ifunc.c: Likewise.
11330         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11331         * benchtests/bench-strncat-ifunc.c: Likewise.
11332         * benchtests/bench-strncmp-ifunc.c: Likewise.
11333         * benchtests/bench-strncpy-ifunc.c: Likewise.
11334         * benchtests/bench-strnlen-ifunc.c: Likewise.
11335         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11336         * benchtests/bench-strrchr-ifunc.c: Likewise.
11337         * benchtests/bench-strsep-ifunc.c: Likewise.
11338         * benchtests/bench-strspn-ifunc.c: Likewise.
11339         * benchtests/bench-strstr-ifunc.c: Likewise.
11340
11341 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11342
11343         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11344
11345 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11346
11347         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11348         * rt/aio.h: Likewise.
11349         * sysdeps/gnu/bits/utmp.h: Likewise.
11350         * sysdeps/gnu/bits/utmpx.h: Likewise.
11351         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11352         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11353         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11354         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11355         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11356         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11357         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11358         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11359         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11362         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11363         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11365         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11366         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11367         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11368         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11369         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11370         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11371         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11372         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11373         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11374         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11375         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11377         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11378         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11379         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11380         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11381         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11382         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11383         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11384         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11385         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11386         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11387         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11388         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11389         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11390         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11391         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11392         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11393
11394 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11395
11396         [BZ #16245]
11397         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11398         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11399
11400 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11401
11402         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11404         Likewise.
11405
11406 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11407
11408         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11409         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11410         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11411         (__fesetround): Remove define.
11412         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11413         rounding and exceptions handling.
11414         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11415         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11416         (__fe_nomask_env): Likewise.
11417         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11418         __fegetround instead of fegetround.
11419         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11420         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11421
11422 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11423
11424         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11425         it's there.
11426
11427         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11428
11429 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11430
11431         [BZ #11157]
11432         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11433         (encrypt_r): Likewise.
11434         * malloc/obstack.h (obstack_free): Likewise.
11435         * posix/unistd.h (encrypt): Likewise.
11436
11437 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11438
11439         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11440         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11441         DL_CALL_DT_FINI() that call the functions directly.
11442         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11443         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11444         * elf/dl-fini.c: Likewise.
11445
11446 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11447
11448         * malloc/hooks.c (memalign_check): Add alignment rounding.
11449         * malloc/malloc.c (_mid_memalign): New function.
11450         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11451         Implement by calling _mid_memalign.
11452         * manual/probes.texi (Memory Allocation Probes): Remove
11453         memory_valloc_retry and memory_pvalloc_retry.
11454
11455 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456
11457         * locale/programs/locarchive.c (open_archive): Add const
11458         qualifier to ARCHIVEFNAME and copy default fname to
11459         DEFAULT_FNAME.
11460
11461         [BZ #15601]
11462         * libio/tst-widetext.input: Rename Oriya to Odia.
11463         * locale/iso-639.def: Likewise.
11464
11465         * manual/probes.texi (Mathematical Function Probes): Add
11466         documentation for sin, cos, asin and acos probes.
11467         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11468         (__sin32): Add slowasin probe.
11469         (__cos32): Add slowacos probe.
11470         (__mpsin): Add slowsin probe.
11471         (__mpcos): Add slowcos probe.
11472
11473 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11474
11475         [BZ #15483]
11476         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11477         thread-local __sim_exceptions_thread and global
11478         __sim_exceptions_global.
11479         (__sim_disabled_exceptions): Change to thread-local
11480         __sim_disabled_exceptions_thread and global
11481         __sim_disabled_exceptions_global.
11482         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11483         and global __sim_round_mode_global.
11484         (__simulate_exceptions): Use thread-local floating-point state and
11485         set global state from it as needed.
11486         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11487         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11488         __sim_round_mode_thread.
11489         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11490         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11491         and global __sim_exceptions_global.
11492         (__sim_disabled_exceptions): Change to thread-local
11493         __sim_disabled_exceptions_thread and global
11494         __sim_disabled_exceptions_global.
11495         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11496         and global __sim_round_mode_global.
11497         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11498         (SIM_SET_GLOBAL): Likewise.
11499         * sysdeps/powerpc/soft-fp/sfp-machine.h
11500         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11501         __sim_round_mode_thread.
11502         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11503         __sim_disabled_exceptions_thread.
11504         (__sim_exceptions): Change to __sim_exceptions_thread.
11505         (__sim_disabled_exceptions): Change to
11506         __sim_disabled_exceptions_thread.
11507         (__sim_round_mode): Change to __sim_round_mode_thread.
11508         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11509         thread-local floating-point state and set global state from it as
11510         needed.
11511         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11512         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11513         (__sim_disabled_exceptions): Remove extern declaration.
11514         (feenableexcept): Use thread-local floating-point state and set
11515         global state from it as needed.
11516         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11517         extern declaration.
11518         (__sim_disabled_exceptions): Likewise.
11519         (__sim_round_mode): Likewise.
11520         (__fegetenv): Use thread-local floating-point state.
11521         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11522         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11523         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11524         floating-point state and set global state from it as needed.
11525         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11526         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11527         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11528         Likewise.
11529         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11530         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11531         Likewise.
11532         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11533         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11534         Use __sim_round_mode_thread.
11535         * math/test-fenv-tls.c: New file.
11536         * math/Makefile (tests): Add test-fenv-tls.
11537         ($(objpfx)test-fenv-tls): Depend on
11538         $(common-objpfx)nptl/libpthread.so.
11539
11540 2013-11-19  Andreas Schwab  <schwab@suse.de>
11541
11542         * locale/programs/locale.c (show_info): Decode wordarray elements.
11543         * locale/categories.def (LC_MONETARY): Add element for
11544         _NL_MONETARY_CRNCYSTR.
11545         * locale/C-monetary.c (conversion_rate): New variable.
11546         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11547         element.
11548
11549 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11550
11551         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11552         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11553
11554 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11555
11556         * elf/Makefile (tst-auxv): New test.
11557         * elf/tst-auxv.c: New
11558         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11559
11560 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11561
11562         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11563         (hidden_proto): Caller changed.
11564         (hidden_tls_proto): New macro.
11565         (libc_hidden_tls_proto): Likewise.
11566         (rtld_hidden_tls_proto): Likewise.
11567         (libm_hidden_tls_proto): Likewise.
11568         (libresolv_hidden_tls_proto): Likewise.
11569         (librt_hidden_tls_proto): Likewise.
11570         (libdl_hidden_tls_proto): Likewise.
11571         (libnss_files_hidden_tls_proto): Likewise.
11572         (libnsl_hidden_tls_proto): Likewise.
11573         (libnss_nisplus_hidden_tls_proto): Likewise.
11574         (libutil_hidden_tls_proto): Likewise.
11575
11576 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11577
11578         [BZ #10253]
11579         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11580         (decompose_rpath): Defer expansion to fillin_rpath.
11581         (_dl_init_paths): Pass linkmap to fillin_rpath.
11582
11583 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11584
11585         * benchtests/Makefile: Add strsep.
11586         * benchtests/bench-strsep.c: New file: strsep benchtest.
11587         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11588
11589 2013-11-18  Andreas Schwab  <schwab@suse.de>
11590
11591         * locale/programs/locale.c (show_info) [case byte]: Check for
11592         '\377' instead of '\177'.
11593         * locale/C-monetary.c (not_available): Always use "\377".
11594         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11595         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11596         detect unavailable sign_posn locale elements.
11597         * locale/localeconv.c (__localeconv): For grouping and
11598         mon_grouping handle "\177" and "\377" like no grouping.
11599         (INT_ELEM): New macro.  Use it to set all numeric members.
11600         * locale/programs/ld-monetary.c (monetary_read)
11601         <tok_mon_grouping>: Normalize single -1 to the empty string.
11602         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11603         Likewise.
11604
11605 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11606
11607         [BZ #16055]
11608         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11609         when we match (nil).
11610         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11611
11612 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11613
11614         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11615         (NO_TEST_INLINE): Update value.
11616         (ERRNO_UNCHANGED): Likewise.
11617         (ERRNO_EDOM): Likewise.
11618         (ERRNO_ERANGE): Likewise.
11619         (IGNORE_RESULT): Likewise.
11620         (check_float_internal): Check signs of NaN results if
11621         TEST_NAN_SIGN used.
11622         (check_complex): Pass TEST_NAN_SIGN flag through to second
11623         check_float_internal call.
11624         (copysign_test_data): Add tests with quiet NaNs as second
11625         argument.  Use TEST_NAN_SIGN.
11626         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11627         TEST_NAN_SIGN.
11628         (signbit_test_data): Add tests of quiet NaN argument.
11629         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11630
11631         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11632         $ignore_result.
11633         (parse_args): Handle function results specified as IGNORE.
11634         * math/libm-test.inc (IGNORE_RESULT): New macro.
11635         (check_float_internal): Do not check numerical result if flag
11636         IGNORE_RESULT set.
11637         (check_complex): Pass through IGNORE_RESULT to second
11638         check_float_internal call.
11639         (check_int): Do not check numerical result if flag IGNORE_RESULT
11640         set.
11641         (check_long): Likewise.
11642         (check_bool): Likewise.
11643         (check_longlong): Likewise.
11644         (lrint_test_data): Add tests of infinite and NaN arguments.
11645         (lrint_tonearest_test_data): Likewise.
11646         (lrint_towardzero_test_data): Likewise.
11647         (lrint_downward_test_data): Likewise.
11648         (lrint_upward_test_data): Likewise.
11649         (llrint_test_data): Likewise.
11650         (llrint_tonearest_test_data): Likewise.
11651         (llrint_towardzero_test_data): Likewise.
11652         (llrint_downward_test_data): Likewise.
11653         (llrint_upward_test_data): Likewise.
11654         (lround_test_data): Likewise.
11655         (llround_test_data): Likewise.
11656
11657         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11658         (ERRNO_UNCHANGED): Update value.
11659         (ERRNO_EDOM): Likewise.
11660         (ERRNO_ERANGE): Likewise.
11661         (NO_TEST_INLINE_FLOAT): New macro.
11662         (NO_TEST_INLINE_DOUBLE): Likewise.
11663         (enable_test): New function.
11664         (RUN_TEST_f_f): Check enable_test before running test.
11665         (RUN_TEST_2_f): Likewise.
11666         (RUN_TEST_fff_f): Likewise.
11667         (RUN_TEST_c_f): Likewise.
11668         (RUN_TEST_f_f1): Likewise.
11669         (RUN_TEST_fF_f1): Likewise.
11670         (RUN_TEST_fI_f1): Likewise.
11671         (RUN_TEST_ffI_f1): Likewise.
11672         (RUN_TEST_c_c): Likewise.
11673         (RUN_TEST_cc_c): Likewise.
11674         (RUN_TEST_f_i): Likewise.
11675         (RUN_TEST_f_i_tg): Likewise.
11676         (RUN_TEST_ff_i_tg): Likewise.
11677         (RUN_TEST_f_b): Likewise.
11678         (RUN_TEST_f_b_tg): Likewise.
11679         (RUN_TEST_f_l): Likewise.
11680         (RUN_TEST_f_L): Likewise.
11681         (RUN_TEST_fFF_11): Likewise.
11682         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11683         conditionals.
11684         (cosh_test_data): Likewise.
11685         (exp_test_data): Likewise.
11686         (expm1_test_data): Likewise.
11687         (hypot_test_data): Likewise.
11688         (pow_test_data): Likewise.
11689         (sinh_test_data): Likewise.
11690         (tanh_test_data): Likewise.
11691         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11692         flags argument.
11693
11694         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11695         tests with quiet NaN input and output.
11696         (acosh_test_data): Likewise.
11697         (asin_test_data): Likewise.
11698         (asinh_test_data): Likewise.
11699         (atan_test_data): Likewise.
11700         (atanh_test_data): Likewise.
11701         (atan2_test_data): Likewise.
11702         (cbrt_test_data): Likewise.
11703         (cos_test_data): Likewise.
11704         (cosh_test_data): Likewise.
11705         (erf_test_data): Likewise.
11706         (erfc_test_data): Likewise.
11707         (exp_test_data): Likewise.
11708         (exp10_test_data): Likewise.
11709         (exp2_test_data): Likewise.
11710         (expm1_test_data): Likewise.
11711         (hypot_test_data): Likewise.
11712         (j0_test_data): Likewise.
11713         (j1_test_data): Likewise.
11714         (jn_test_data): Likewise.
11715         (lgamma_test_data): Likewise.
11716         (log_test_data): Likewise.
11717         (log10_test_data): Likewise.
11718         (log1p_test_data): Likewise.
11719         (log2_test_data): Likewise.
11720         (pow_test_data): Likewise.
11721         (scalb_test_data): Likewise.
11722         (sin_test_data): Likewise.
11723         (sincos_test_data): Likewise.
11724         (sinh_test_data): Likewise.
11725         (tan_test_data): Likewise.
11726         (tanh_test_data): Likewise.
11727         (tgamma_test_data): Likewise.
11728         (y0_test_data): Likewise.
11729         (y1_test_data): Likewise.
11730         (yn_test_data): Likewise.
11731
11732         [BZ #16167]
11733         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11734         argument being NaN and avoid computations with second argument in
11735         that case.
11736         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11737         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11738         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11739
11740 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11741
11742         * locale/iso-639.def: Add Chitwani Tharu (the).
11743
11744 2013-11-14  Andreas Schwab  <schwab@suse.de>
11745
11746         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11747         word instead of empty string.
11748
11749 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11750
11751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11752         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11754         (__fe_nomask_env): Likewise.
11755
11756 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11757
11758         * benchtests/bench-timing.h: Include time.h.
11759
11760 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11761
11762         [BZ #15997]
11763         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11764         to 3.4.0 for x32.
11765         * sysdeps/unix/sysv/linux/configure: Regenerated.
11766
11767 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11768
11769         [BZ #16151]
11770         * stdlib/strtod_l.c (round_and_return): Do not consider
11771         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11772         exponent one less than half the least subnormal exponent.
11773         * stdlib/test-strtod-round-data: Add more tests.
11774         * stdlib/tst-strtod-round.c (tests): Regenerated.
11775
11776 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11777
11778         [BZ #14143]
11779         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11780         (__fe_mask_env): Likewise.
11781         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11782         libm_hidden_proto and add function prototype.
11783         (__fe_mask_env): Add function prototype.
11784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11785         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11787         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11789         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11790
11791 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11792
11793         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11794         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11795
11796 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11797
11798         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11799         of htab_find_slot().
11800
11801 2013-11-11  David S. Miller  <davem@davemloft.net>
11802
11803         [BZ #16150]
11804         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11805         symbol in the non-vis3 case in static builds.
11806         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11807         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11808         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11809         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11810
11811 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11812
11813         [BZ #387]
11814         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11815         it is empty.
11816
11817 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11818
11819         * benchtests/Makefile: Add bench-strtod.
11820         * benchtests/bench-strtod.c: New file: strtod benchtest
11821
11822 2013-11-11  Andreas Schwab  <schwab@suse.de>
11823
11824         [BZ #16153]
11825         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11826         terminating NUL in key length.
11827
11828 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11829
11830         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11831         Add artificial ODP entry for vDSO symbol for PPC64.
11832         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11833         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11834
11835 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11836
11837         [BZ #15374]
11838         * nss/getent.c (services_keys): Recognize services starting with digit.
11839
11840 2013-11-06  David S. Miller  <davem@davemloft.net>
11841
11842         [BZ #15985]
11843         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11844         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11845
11846 2013-11-06  Will Newton  <will.newton@linaro.org>
11847
11848         * manual/memory.texi (Malloc Examples): Remove register
11849         keyword from examples.
11850
11851 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11852
11853         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11854
11855 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11856
11857         [BZ #6981]
11858         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11859         depending on [__GCC_IEC_559 > 0].
11860         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11861         depending on [__GCC_IEC_559_COMPLEX > 0].
11862
11863 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11864
11865         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11866         to iso-639.def.
11867
11868 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11869
11870         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11871
11872 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11873
11874         [BZ #16112]
11875         * malloc/malloc (malloc_info): Do not handle first bin as
11876         special case.
11877
11878 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11879
11880         * locale/iso-639.def: Add Central Nahuatl (nhn).
11881
11882 2013-11-01  Bruno Haible  <bruno@clisp.org>
11883
11884         [BZ #7003]
11885         * manual/math.texi (BSD Random): Specify range upper bound as
11886         in POSIX.
11887
11888 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11889
11890         * locale/iso-639.def: Add Meadow Mari (mhr).
11891
11892 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11893
11894         [BZ #14752], [BZ #15763]
11895         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11896         Validate name.
11897         * rt/tst_shm.c: Add test for escaping directory.
11898
11899 2013-10-31  Andreas Schwab  <schwab@suse.de>
11900
11901         [BZ #15917]
11902         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11903         followed by 'x' as part of digit sequence.
11904         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11905
11906 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11907
11908         [BZ #16037]
11909         * configure.ac: allow GNU Make 4.0 and greater.
11910         * configure: Regenerated.
11911
11912 2013-10-30  Will Newton  <will.newton@linaro.org>
11913
11914         [BZ #16038]
11915         * malloc/hooks.c (memalign_check): Limit alignment to the
11916         maximum representable power of two.
11917         * malloc/malloc.c (__libc_memalign): Likewise.
11918         * malloc/tst-memalign.c (do_test): Add test for very
11919         large alignment values.
11920         * malloc/tst-posix_memalign.c (do_test): Likewise.
11921
11922 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11923
11924         [BZ #11087]
11925         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11926         (munmap_chunk): Likewise.
11927         (mremap_chunk): Likewise.
11928
11929 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11930
11931         [BZ #15799]
11932         * stdlib/div.c (div): Remove obsolete code.
11933         * stdlib/ldiv.c (ldiv): Likewise.
11934         * stdlib/lldiv.c (lldiv): Likewise.
11935
11936 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11937
11938         [BZ #16071]
11939         * nss/nss_files/files-XXX.c (get_contents_ret): New
11940         enumerator.
11941         (get_contents): New function.
11942         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11943
11944 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11945
11946         * configure.in: Moved to ...
11947         * configure.ac: ... here. Change reference to configure.in
11948         to configure.ac.
11949         * sysdeps/arm/preconfigure.ac: ... here.
11950         configure.in to configure.ac.
11951         * sysdeps/gnu/configure.in: Moved to ...
11952         * sysdeps/gnu/configure.ac: ... here.
11953         * sysdeps/i386/configure.in: Moved to ...
11954         * sysdeps/i386/configure.ac: ... here.
11955         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11956         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11957         * sysdeps/mach/configure.in: Moved to ...
11958         * sysdeps/mach/configure.ac: ... here.
11959         * sysdeps/mach/hurd/configure.in: Moved to ...
11960         * sysdeps/mach/hurd/configure.ac: ... here.
11961         * sysdeps/powerpc/configure.in: Moved to ...
11962         * sysdeps/powerpc/configure.ac: ... here.
11963         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11964         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11965         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11966         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11967         * sysdeps/s390/s390-32/configure.in: Moved to ...
11968         * sysdeps/s390/s390-32/configure.ac: ... here.
11969         * sysdeps/s390/s390-64/configure.in: Moved to ...
11970         * sysdeps/s390/s390-64/configure.ac: ... here.
11971         * sysdeps/sh/configure.in: Moved to ...
11972         * sysdeps/sh/configure.ac: ... here.
11973         * sysdeps/sparc/configure.in: Moved to ...
11974         * sysdeps/sparc/configure.ac: ... here.
11975         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11976         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11977         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11978         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11979         * sysdeps/x86_64/configure.in: Moved to ...
11980         * sysdeps/x86_64/configure.ac: ... here.
11981         * sysdeps/x86_64/preconfigure.in: Moved to ...
11982         * sysdeps/x86_64/preconfigure.ac: ... here.
11983         * aclocal.m4: Change reference to configure.in to configure.ac.
11984         * config.h.in: Likewise.
11985         * manual/install.texi: Likewise.
11986         * manual/maint.texi: Likewise.
11987         * Makefile: Likewise.
11988         * malloc/Makefile: Likewise.
11989         * nscd/Makefile: Likewise.
11990         * Makeconfig: Change reference to configure.in and
11991         preconfigure.in to configure.ac and preconfigure.ac
11992         respectively.
11993         * INSTALL: Regenerated.
11994         * configure: Likewise.
11995         * sysdeps/gnu/configure: Likewise.
11996         * sysdeps/i386/configure: Likewise.
11997         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11998         * sysdeps/mach/configure: Likewise.
11999         * sysdeps/mach/hurd/configure: Likewise.
12000         * sysdeps/powerpc/configure: Likewise.
12001         * sysdeps/powerpc/powerpc32/configure: Likewise.
12002         * sysdeps/powerpc/powerpc64/configure: Likewise.
12003         * sysdeps/s390/s390-32/configure: Likewise.
12004         * sysdeps/s390/s390-64/configure: Likewise.
12005         * sysdeps/sh/configure: Likewise.
12006         * sysdeps/sparc/configure: Likewise.
12007         * sysdeps/unix/sysv/linux/configure: Likewise.
12008         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12009         * sysdeps/x86_64/configure: Likewise.
12010         * sysdeps/x86_64/preconfigure: Likewise.
12011
12012 2013-10-29  Andreas Schwab  <schwab@suse.de>
12013
12014         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12015
12016 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12017
12018         * benchtests/pow-inputs: Add new inputs.
12019
12020         * benchtests/exp-inputs: Add new inputs.
12021
12022         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12023         conditional check for return value.
12024         (__cos32): Likewise.
12025
12026 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12027
12028         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12029         to provide a boost for large inputs with word alignment.
12030         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12031         implementation based on optimized PPC64 strcpy.
12032         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12033         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12034         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12035         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12036
12037 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12038
12039         [BZ #2801]
12040         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12041
12042 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12043
12044         [BZ #14876]
12045         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12046         * time/tst-strptime.c (day_tests): Add testcase.
12047
12048 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12049
12050         [BZ #14029]
12051         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12052
12053 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12054
12055         [BZ #16074]
12056         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12057         MAP_FAILED on error.
12058
12059 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12060
12061         [BZ #16072]
12062         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12063         heap for large requests.
12064
12065 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12066
12067         [BZ #9954]
12068         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12069         result if the result has no associated interface.
12070         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12071         interface for all 127.X.Y.Z addresses.
12072
12073 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12074
12075         * locale/iso-639.def: Add Ligurian (lij)
12076
12077 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12078
12079         [BZ #15825]
12080         * sunrpc/rpc_main.c: Document rpcgen -5.
12081
12082 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12083
12084         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12085
12086 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12087
12088         [BZ #10278]
12089         * posix/glob.c: Match only directories when trailing slash is present.
12090         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12091         (main): Add testcase.
12092
12093 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12094
12095         [BZ #15670]
12096         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12097
12098 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12099
12100         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12101         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12102         AUTH_DES and cindex for FIPS 140-2.
12103         (DES Encryption): Add cindex FIPS 46-3.
12104
12105         * locale/locarchive.h (struct locarhandle): Add fname.
12106         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12107         if an optional argument was specified to --list-archive,
12108         otherwise NULL.
12109         * locale/programs/locarchive.c (show_archive_content): Take new
12110         argument fname and pass it via ah.fname to open_archive.
12111         * locale/programs/localedef.h: Update decl.
12112         (open_archive): If AH->fname is non-null, open that file
12113         rather than the default file name, and don't ignore ENOENT.
12114         (create_archive): Set AH.fname to NULL.
12115         (delete_locales_from_archive): Likewise.
12116         (add_locales_to_archive): Likewise.
12117         * locale/programs/locfile.c (write_all_categories): Likewise.
12118
12119 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12120             Aldy Hernandez  <aldyh@redhat.com>
12121
12122         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12123         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12124         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12125         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12126         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12128         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12130         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12131         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12132         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12133         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12134         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12135         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12136         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12137         Likewise.
12138         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12139         Likewise.
12140         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12141         Likewise.
12142         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12143         Likewise.
12144         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12145         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12146         Likewise.
12147         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12148         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12149         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12150         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12151         Likewise.
12152         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12153         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12154         * sysdeps/powerpc/preconfigure: Likewise.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12156         Likewise.
12157         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12158         Replace contents of file by #include of <fenv_libc.h>.
12159         * sysdeps/powerpc/soft-fp/sfp-machine.h
12160         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12161         and <sys/prctl.h>.
12162         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12163         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12171         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12172         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12173         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12175         Allow copysignl PLT reference to be missing.
12176
12177 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12178             Joseph Myers  <joseph@codesourcery.com
12179
12180         [BZ #15948]
12181         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12182         single character.
12183         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12184
12185 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12186
12187         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12188         * elf/tst-tls1.c: Likewise.
12189         * elf/tst-tls10.h: Likewise.
12190         * elf/tst-tls14.c: Likewise.
12191         * elf/tst-tls2.c: Likewise.
12192         * elf/tst-tls3.c: Likewise.
12193         * elf/tst-tls4.c: Likewise.
12194         * elf/tst-tls5.c: Likewise.
12195         * elf/tst-tls6.c: Likewise.
12196         * elf/tst-tls7.c: Likewise.
12197         * elf/tst-tls8.c: Likewise.
12198         * elf/tst-tls9.c: Likewise.
12199         * elf/tst-tlsmod1.c: Likewise.
12200         * elf/tst-tlsmod13.c: Likewise.
12201         * elf/tst-tlsmod13a.c: Likewise.
12202         * elf/tst-tlsmod14a.c: Likewise.
12203         * elf/tst-tlsmod16a.c: Likewise.
12204         * elf/tst-tlsmod16b.c: Likewise.
12205         * elf/tst-tlsmod2.c: Likewise.
12206         * elf/tst-tlsmod3.c: Likewise.
12207         * elf/tst-tlsmod4.c: Likewise.
12208         * elf/tst-tlsmod5.c: Likewise.
12209         * elf/tst-tlsmod6.c: Likewise.
12210
12211 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12212
12213         [BZ #12486]
12214         * malloc/malloc.c: remove checks for statistics.
12215
12216 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12217
12218         [BZ #15277]
12219         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12220         * inet/tst-network.c: Add testcase.
12221
12222 2013-10-17  Andreas Schwab  <schwab@suse.de>
12223
12224         [BZ #15218]
12225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12226         to determine canonical name.
12227
12228 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12229
12230         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12231         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12232         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12233         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12234         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12235         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12236         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12237         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12238         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12239         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12240         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12241         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12242         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12243         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12244         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12245         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12246         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12247         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12248         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12249         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12250         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12252         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12253         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12254         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12255         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12256         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12257         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12258         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12259         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12260         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12261         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12262         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12263         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12264         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12265         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12266         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12267         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12268         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12269         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12270         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12271         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12272         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12273         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12274         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12275         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12276         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12277         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12278         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12279         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12280         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12283         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12284         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12285         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12287         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12288
12289 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12290
12291         [BZ #16041]
12292         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12293         make result into a quiet NaN.
12294
12295 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12296
12297         * soft-fp/adddf3.c: Fix horizontal whitespace.
12298         * soft-fp/addsf3.c: Likewise.
12299         * soft-fp/addtf3.c: Likewise.
12300         * soft-fp/divdf3.c: Likewise.
12301         * soft-fp/divsf3.c: Likewise.
12302         * soft-fp/divtf3.c: Likewise.
12303         * soft-fp/double.h: Likewise.
12304         * soft-fp/eqdf2.c: Likewise.
12305         * soft-fp/eqsf2.c: Likewise.
12306         * soft-fp/eqtf2.c: Likewise.
12307         * soft-fp/extenddftf2.c: Likewise.
12308         * soft-fp/extended.h: Likewise.
12309         * soft-fp/extendsfdf2.c: Likewise.
12310         * soft-fp/extendsftf2.c: Likewise.
12311         * soft-fp/extendxftf2.c: Likewise.
12312         * soft-fp/fixdfdi.c: Likewise.
12313         * soft-fp/fixdfsi.c: Likewise.
12314         * soft-fp/fixdfti.c: Likewise.
12315         * soft-fp/fixsfdi.c: Likewise.
12316         * soft-fp/fixsfsi.c: Likewise.
12317         * soft-fp/fixsfti.c: Likewise.
12318         * soft-fp/fixtfdi.c: Likewise.
12319         * soft-fp/fixtfsi.c: Likewise.
12320         * soft-fp/fixtfti.c: Likewise.
12321         * soft-fp/fixunsdfdi.c: Likewise.
12322         * soft-fp/fixunsdfsi.c: Likewise.
12323         * soft-fp/fixunsdfti.c: Likewise.
12324         * soft-fp/fixunssfdi.c: Likewise.
12325         * soft-fp/fixunssfsi.c: Likewise.
12326         * soft-fp/fixunssfti.c: Likewise.
12327         * soft-fp/fixunstfdi.c: Likewise.
12328         * soft-fp/fixunstfsi.c: Likewise.
12329         * soft-fp/fixunstfti.c: Likewise.
12330         * soft-fp/floatdidf.c: Likewise.
12331         * soft-fp/floatdisf.c: Likewise.
12332         * soft-fp/floatditf.c: Likewise.
12333         * soft-fp/floatsidf.c: Likewise.
12334         * soft-fp/floatsisf.c: Likewise.
12335         * soft-fp/floatsitf.c: Likewise.
12336         * soft-fp/floattidf.c: Likewise.
12337         * soft-fp/floattisf.c: Likewise.
12338         * soft-fp/floattitf.c: Likewise.
12339         * soft-fp/floatundidf.c: Likewise.
12340         * soft-fp/floatundisf.c: Likewise.
12341         * soft-fp/floatunditf.c: Likewise.
12342         * soft-fp/floatunsidf.c: Likewise.
12343         * soft-fp/floatunsisf.c: Likewise.
12344         * soft-fp/floatunsitf.c: Likewise.
12345         * soft-fp/floatuntidf.c: Likewise.
12346         * soft-fp/floatuntisf.c: Likewise.
12347         * soft-fp/floatuntitf.c: Likewise.
12348         * soft-fp/fmadf4.c: Likewise.
12349         * soft-fp/fmasf4.c: Likewise.
12350         * soft-fp/fmatf4.c: Likewise.
12351         * soft-fp/gedf2.c: Likewise.
12352         * soft-fp/gesf2.c: Likewise.
12353         * soft-fp/getf2.c: Likewise.
12354         * soft-fp/ledf2.c: Likewise.
12355         * soft-fp/lesf2.c: Likewise.
12356         * soft-fp/letf2.c: Likewise.
12357         * soft-fp/muldf3.c: Likewise.
12358         * soft-fp/mulsf3.c: Likewise.
12359         * soft-fp/multf3.c: Likewise.
12360         * soft-fp/negdf2.c: Likewise.
12361         * soft-fp/negsf2.c: Likewise.
12362         * soft-fp/negtf2.c: Likewise.
12363         * soft-fp/op-1.h: Likewise.
12364         * soft-fp/op-2.h: Likewise.
12365         * soft-fp/op-4.h: Likewise.
12366         * soft-fp/op-8.h: Likewise.
12367         * soft-fp/op-common.h: Likewise.
12368         * soft-fp/quad.h: Likewise.
12369         * soft-fp/single.h: Likewise.
12370         * soft-fp/soft-fp.h: Likewise.
12371         * soft-fp/sqrtdf2.c: Likewise.
12372         * soft-fp/sqrtsf2.c: Likewise.
12373         * soft-fp/sqrttf2.c: Likewise.
12374         * soft-fp/subdf3.c: Likewise.
12375         * soft-fp/subsf3.c: Likewise.
12376         * soft-fp/subtf3.c: Likewise.
12377         * soft-fp/truncdfsf2.c: Likewise.
12378         * soft-fp/trunctfdf2.c: Likewise.
12379         * soft-fp/trunctfsf2.c: Likewise.
12380         * soft-fp/trunctfxf2.c: Likewise.
12381         * soft-fp/unorddf2.c: Likewise.
12382         * soft-fp/unordsf2.c: Likewise.
12383         * soft-fp/unordtf2.c: Likewise.
12384
12385 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12386
12387         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12388         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12389
12390 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12391
12392         * elf/dl-libc.c: Clear initfini list after freeing.
12393
12394 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12395
12396         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12397         * soft-fp/addsf3.c: Likewise.
12398         * soft-fp/addtf3.c: Likewise.
12399         * soft-fp/divdf3.c: Likewise.
12400         * soft-fp/divsf3.c: Likewise.
12401         * soft-fp/divtf3.c: Likewise.
12402         * soft-fp/double.h: Likewise.
12403         * soft-fp/eqdf2.c: Likewise.
12404         * soft-fp/eqsf2.c: Likewise.
12405         * soft-fp/eqtf2.c: Likewise.
12406         * soft-fp/extenddftf2.c: Likewise.
12407         * soft-fp/extended.h: Likewise.
12408         * soft-fp/extendsfdf2.c: Likewise.
12409         * soft-fp/extendsftf2.c: Likewise.
12410         * soft-fp/extendxftf2.c: Likewise.
12411         * soft-fp/fixdfdi.c: Likewise.
12412         * soft-fp/fixdfsi.c: Likewise.
12413         * soft-fp/fixdfti.c: Likewise.
12414         * soft-fp/fixsfdi.c: Likewise.
12415         * soft-fp/fixsfsi.c: Likewise.
12416         * soft-fp/fixsfti.c: Likewise.
12417         * soft-fp/fixtfdi.c: Likewise.
12418         * soft-fp/fixtfsi.c: Likewise.
12419         * soft-fp/fixtfti.c: Likewise.
12420         * soft-fp/fixunsdfdi.c: Likewise.
12421         * soft-fp/fixunsdfsi.c: Likewise.
12422         * soft-fp/fixunsdfti.c: Likewise.
12423         * soft-fp/fixunssfdi.c: Likewise.
12424         * soft-fp/fixunssfsi.c: Likewise.
12425         * soft-fp/fixunssfti.c: Likewise.
12426         * soft-fp/fixunstfdi.c: Likewise.
12427         * soft-fp/fixunstfsi.c: Likewise.
12428         * soft-fp/fixunstfti.c: Likewise.
12429         * soft-fp/floatdidf.c: Likewise.
12430         * soft-fp/floatdisf.c: Likewise.
12431         * soft-fp/floatditf.c: Likewise.
12432         * soft-fp/floatsidf.c: Likewise.
12433         * soft-fp/floatsisf.c: Likewise.
12434         * soft-fp/floatsitf.c: Likewise.
12435         * soft-fp/floattidf.c: Likewise.
12436         * soft-fp/floattisf.c: Likewise.
12437         * soft-fp/floattitf.c: Likewise.
12438         * soft-fp/floatundidf.c: Likewise.
12439         * soft-fp/floatundisf.c: Likewise.
12440         * soft-fp/floatunsidf.c: Likewise.
12441         * soft-fp/floatunsisf.c: Likewise.
12442         * soft-fp/floatuntidf.c: Likewise.
12443         * soft-fp/floatuntisf.c: Likewise.
12444         * soft-fp/floatuntitf.c: Likewise.
12445         * soft-fp/fmadf4.c: Likewise.
12446         * soft-fp/fmasf4.c: Likewise.
12447         * soft-fp/fmatf4.c: Likewise.
12448         * soft-fp/gedf2.c: Likewise.
12449         * soft-fp/gesf2.c: Likewise.
12450         * soft-fp/getf2.c: Likewise.
12451         * soft-fp/ledf2.c: Likewise.
12452         * soft-fp/lesf2.c: Likewise.
12453         * soft-fp/letf2.c: Likewise.
12454         * soft-fp/muldf3.c: Likewise.
12455         * soft-fp/mulsf3.c: Likewise.
12456         * soft-fp/multf3.c: Likewise.
12457         * soft-fp/negdf2.c: Likewise.
12458         * soft-fp/negsf2.c: Likewise.
12459         * soft-fp/negtf2.c: Likewise.
12460         * soft-fp/op-1.h: Likewise.
12461         * soft-fp/op-2.h: Likewise.
12462         * soft-fp/op-4.h: Likewise.
12463         * soft-fp/op-8.h: Likewise.
12464         * soft-fp/op-common.h: Likewise.
12465         * soft-fp/quad.h: Likewise.
12466         * soft-fp/single.h: Likewise.
12467         * soft-fp/soft-fp.h: Likewise.
12468         * soft-fp/sqrtdf2.c: Likewise.
12469         * soft-fp/sqrtsf2.c: Likewise.
12470         * soft-fp/sqrttf2.c: Likewise.
12471         * soft-fp/subdf3.c: Likewise.
12472         * soft-fp/subsf3.c: Likewise.
12473         * soft-fp/subtf3.c: Likewise.
12474         * soft-fp/truncdfsf2.c: Likewise.
12475         * soft-fp/trunctfdf2.c: Likewise.
12476         * soft-fp/trunctfsf2.c: Likewise.
12477         * soft-fp/trunctfxf2.c: Likewise.
12478         * soft-fp/unorddf2.c: Likewise.
12479         * soft-fp/unordsf2.c: Likewise.
12480         * soft-fp/unordtf2.c: Likewise.
12481
12482 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12483
12484         [BZ #15672]
12485         * misc/error.c (error_tail): Fix possible buffer overflow.
12486
12487 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12488
12489         [BZ #13028]
12490         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12491         address.
12492
12493 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12494
12495         [BZ #832]
12496         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12497         testing pipefail option.
12498
12499 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12500
12501         * soft-fp/double.h: Indent preprocessor directives inside #if.
12502         * soft-fp/extended.h: Likewise.
12503         * soft-fp/op-2.h: Likewise.
12504         * soft-fp/op-4.h: Likewise.
12505         * soft-fp/op-common.h: Likewise.
12506         * soft-fp/quad.h: Likewise.
12507         * soft-fp/single.h: Likewise.
12508         * soft-fp/soft-fp.h: Likewise.
12509
12510 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12511
12512         * iconv/iconv_prog.c: Fix typos.
12513         * stdio-common/psiginfo-data.h: Likewise.
12514
12515 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12516
12517         [BZ #15764]
12518         * locale/setlocale.c: Fix typo.
12519
12520 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12521
12522         [BZ #16036]
12523         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12524         signaling NaN arguments.
12525         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12526         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12527
12528         [BZ #14910]
12529         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12530         unordered operands.
12531         * soft-fp/gesf2.c (__gesf2): Likewise.
12532         * soft-fp/getf2.c (__getf2): Likewise.
12533         * soft-fp/ledf2.c (__ledf2): Likewise.
12534         * soft-fp/lesf2.c (__lesf2): Likewise.
12535         * soft-fp/letf2.c (__letf2): Likewise.
12536
12537         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12538         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12539         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12540         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12541         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12542         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12543         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12544         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12545         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12546         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12547         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12548         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12549         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12550         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12551         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12552         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12553         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12554         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12555         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12556         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12557         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12558         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12559         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12560         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12561         * soft-fp/floattidf.c (__floattidf): Likewise.
12562         * soft-fp/floattisf.c (__floattisf): Likewise.
12563         * soft-fp/floattitf.c (__floattitf): Likewise.
12564         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12565         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12566         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12567         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12568         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12569         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12570         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12571         * soft-fp/gesf2.c (__gesf2): Likewise.
12572         * soft-fp/getf2.c (__getf2): Likewise.
12573         * soft-fp/ledf2.c (__ledf2): Likewise.
12574         * soft-fp/lesf2.c (__lesf2): Likewise.
12575         * soft-fp/letf2.c (__letf2): Likewise.
12576
12577         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12578         Undefine and redefine.
12579         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12580         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12581         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12582         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12583         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12584         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12585         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12586         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12587         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12588         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12589         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12590         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12591         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12592         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12593         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12594
12595         [BZ #16032]
12596         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12597         without decrementing exponent if mantissa >= that for the
12598         denominator, not >.
12599         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12600         denominator, not >.  Decrement exponent in < case instead of
12601         incrementing in >= case.
12602         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12603         without decrementing exponent if mantissa >= that for the
12604         denominator, not >.
12605
12606         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12607         computing saturated result for unsigned overflow.
12608
12609 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12610             Jeff Law  <law@redhat.com>
12611
12612         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12613         (atan2Mp): Add systemtap probe marker.
12614         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12615         (__ieee754_log): Add systemtap probe marker.
12616         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12617         (atanMp): Add systemtap probe marker.
12618         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12619         (tanMp): Add systemtap probe marker.
12620         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12621         (__slowexp): Add systemtap probe marker.
12622         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12623         (__slowpow): Add systemtap probe marker.
12624         * manual/probes.texi: Document probes.
12625
12626 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12627
12628         [BZ #15362]
12629         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12630         written.
12631         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12632         written.
12633         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12634         written to buffer but not flushed.
12635         * libio/iofwrite_u.c:  Likewise.
12636         * libio/iopadn.c:  Return bytes returned even if EOF was
12637         encountered.
12638         * libio/iowpadn.c:  Likewise.
12639         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12640         if _IO_padn does not write the whole buffer.
12641         [!COMPILE_WPRINTF] (PAD): Likewise.
12642
12643 2013-10-10  David S. Miller  <davem@davemloft.net>
12644
12645         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12646         directory block.
12647
12648 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12649
12650         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12651         instead of FSF address.
12652         * soft-fp/fixdfti.c: Likewise.
12653         * soft-fp/fixsfti.c: Likewise.
12654         * soft-fp/fixtfti.c: Likewise.
12655         * soft-fp/fixunsdfti.c: Likewise.
12656         * soft-fp/fixunssfti.c: Likewise.
12657         * soft-fp/fixunstfti.c: Likewise.
12658         * soft-fp/floattidf.c: Likewise.
12659         * soft-fp/floattisf.c: Likewise.
12660         * soft-fp/floattitf.c: Likewise.
12661         * soft-fp/floatuntidf.c: Likewise.
12662         * soft-fp/floatuntisf.c: Likewise.
12663         * soft-fp/floatuntitf.c: Likewise.
12664         * soft-fp/trunctfxf2.c: Likewise.
12665
12666         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12667         * soft-fp/fixdfti.c: Likewise.
12668         * soft-fp/fixsfti.c: Likewise.
12669         * soft-fp/fixtfti.c: Likewise.
12670         * soft-fp/fixunsdfti.c: Likewise.
12671         * soft-fp/fixunssfti.c: Likewise.
12672         * soft-fp/fixunstfti.c: Likewise.
12673         * soft-fp/floattidf.c: Likewise.
12674         * soft-fp/floattisf.c: Likewise.
12675         * soft-fp/floattitf.c: Likewise.
12676         * soft-fp/floatuntidf.c: Likewise.
12677         * soft-fp/floatuntisf.c: Likewise.
12678         * soft-fp/floatuntitf.c: Likewise.
12679         * soft-fp/trunctfxf2.c: Likewise.
12680
12681 2013-10-10  David S. Miller  <davem@davemloft.net>
12682
12683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12684
12685 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12686
12687         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12688         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12689         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12690         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12691         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12692         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12693         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12694
12695         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12696         for NaNs before doing comparisons on argument.
12697         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12698         Likewise.
12699
12700 2013-10-10  Will Newton  <will.newton@linaro.org>
12701
12702         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12703         passed to _int_memalign does not overflow.
12704
12705 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12706
12707         * scripts/bench.pl: Add include-sources directive.
12708         * benchtests/README: Update documentation.
12709
12710 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12711
12712         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12713         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12714         instead of FP_INIT_ROUNDMODE.
12715         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12716         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12717
12718         [BZ #16034]
12719         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12720         copy class of input value.
12721         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12722         not handle exceptions.
12723         * soft-fp/negsf2.c (__negsf2): Likewise.
12724         * soft-fp/negtf2.c (__negtf2): Likewise.
12725         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12726
12727 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12728
12729         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12730         semicolon.  From Linux kernel.
12731
12732 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12733
12734         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12735
12736 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12737
12738         [BZ #156]
12739         * manual/socket.texi: Added statement about buffer
12740         for gethostbyname2_r.
12741
12742 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12743
12744         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12745         Use .p2align directive instead, throughout.
12746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12747         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12748         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12749         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12750         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12751         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12752         * sysdeps/x86_64/strchr.S: Likewise.
12753         * sysdeps/x86_64/strrchr.S: Likewise.
12754
12755 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12756
12757         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12758
12759         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12760
12761         * sysdeps/generic/math_private.h (__mpsin1): Remove
12762         declaration.
12763         (__mpcos1): Likewise.
12764         (__mpsin): New argument __range_reduce.
12765         (__mpcos): Likewise.
12766         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12767         (slow): Use __mpsin and __mpcos.
12768         (slow1): Likewise.
12769         (slow2): Likewise.
12770         (sloww): Likewise.
12771         (sloww1): Likewise.
12772         (sloww2): Likewise.
12773         (bsloww): Likewise.
12774         (bsloww1): Likewise.
12775         (bsloww2): Likewise.
12776         (cslow2): Likewise.
12777         (csloww): Likewise.
12778         (csloww1): Likewise.
12779         (csloww2): Likewise.
12780         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12781         range_reduce.  Merge in __mpsin1.
12782         (__mpcos): Likewise.
12783         (__mpsin1): Remove.
12784         (__mpcos1): Likewise.
12785
12786 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12787
12788         * locale/loadlocale.c (_nl_intern_locale_data): Use
12789         LOCFILE_ALIGNED_P.
12790         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12791         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12792         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12793         obstack data is appropriately aligned.
12794         (obstack_int32_grow_fast): Likewise.
12795         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12796         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12797         (add_locale_uint32_array): Likewise.
12798
12799 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12800
12801         * benchtests/Makefile: Remove ARGLIST and RET variables.
12802         ($(objpfx)bench-%.c): Pass only function name to the script.
12803         * benchtests/README: Update documentation.
12804         * benchtests/acos-inputs: Add new directives.
12805         * benchtests/acosh-inputs: Likewise.
12806         * benchtests/asin-inputs: Likewise.
12807         * benchtests/asinh-inputs: Likewise.
12808         * benchtests/atan-inputs: Likewise.
12809         * benchtests/atanh-inputs: Likewise.
12810         * benchtests/cos-inputs: Likewise.
12811         * benchtests/cosh-inputs: Likewise.
12812         * benchtests/exp-inputs: Likewise.
12813         * benchtests/log-inputs: Likewise.
12814         * benchtests/pow-inputs: Likewise.
12815         * benchtests/rint-inputs: Likewise.
12816         * benchtests/sin-inputs: Likewise.
12817         * benchtests/sinh-inputs: Likewise.
12818         * benchtests/tan-inputs: Likewise.
12819         * benchtests/tanh-inputs: Likewise.
12820         * scripts/bench.pl: Add support for new directives.
12821
12822 2013-10-07  Alan Modra  <amodra@gmail.com>
12823
12824         * README: Fix careless merge.
12825
12826 2013-10-05  Alan Modra  <amodra@gmail.com>
12827
12828         * NEWS: Mention powerpc64le support and bugs fixed.
12829         * README: Both big-endian and little-endian powerpc64 supported.
12830
12831 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12832
12833         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12834         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12835         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12836         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12837
12838 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12839
12840         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12841         match prototype.
12842
12843 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12844
12845         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12846         Move -mhard-float appending from
12847         ports/sysdeps/powerpc/powerpc32/Makefile.
12848         [$(with-fp) = yes] (ASFLAGS): Likewise.
12849         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12850         * sysdeps/powerpc/nofpu: Move directory from
12851         ports/sysdeps/powerpc/nofpu.
12852         * sysdeps/powerpc/soft-fp: Move directory from
12853         ports/sysdeps/powerpc/soft-fp.
12854         * sysdeps/powerpc/powerpc32/405: Move directory from
12855         ports/sysdeps/powerpc/powerpc32/405.
12856         * sysdeps/powerpc/powerpc32/440: Move directory from
12857         ports/sysdeps/powerpc/powerpc32/440.
12858         * sysdeps/powerpc/powerpc32/464: Move directory from
12859         ports/sysdeps/powerpc/powerpc32/464.
12860         * sysdeps/powerpc/powerpc32/476: Move directory from
12861         ports/sysdeps/powerpc/powerpc32/476.
12862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12863         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12865         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12867         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12869         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12871         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12872         * README: Update for powerpc-*-linux-gnu software floating point
12873         support in libc.
12874
12875         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12876         case to powerpc/powerpc32*.
12877         * sysdeps/unix/sysv/linux/configure: Regenerated.
12878
12879         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12880         (_FPU_MASK_OM): Define as 0x04.
12881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12883         0x00c10080.
12884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12885         0x0000003c.
12886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12887
12888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12889         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12890         getcontext_e500.
12891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12892         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12893         setcontext_e500.
12894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12895         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12896         and setcontext_e500.
12897
12898 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12899
12900         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12901
12902 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12903
12904         * manual/threads.texi (Default Thread Attributes): Fix typo.
12905
12906 2013-10-04  Will Newton  <will.newton@linaro.org>
12907
12908         * malloc/Makefile: Add tst-memalign.
12909         * malloc/tst-memalign.c: New file.
12910
12911         * malloc/tst-posix_memalign.c: Add comments.
12912         (do_test): Add comments and call free on all potentially
12913         allocated pointers. Add space after cast.
12914
12915         * malloc/tst-pvalloc.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         * malloc/tst-valloc.c: Add comments.
12921         (do_test): Add comments and call free on all potentially
12922         allocated pointers. Remove duplicate check for NULL pointer.
12923         Add space after cast.
12924
12925 2013-10-04  Alan Modra  <amodra@gmail.com>
12926
12927         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12928         Use stdint types in rather than __attribute__((mode())).
12929         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12930
12931 2013-10-04  Alan Modra  <amodra@gmail.com>
12932
12933         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12934         Correct handling of unaligned relocs for little-endian.
12935         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12936
12937 2013-10-04  Alan Modra  <amodra@gmail.com>
12938
12939         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12940         * configure: Regenerate.
12941         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12942         * shlib-versions: Likewise.
12943
12944 2013-10-04  Alan Modra  <amodra@gmail.com>
12945
12946         * string/tester.c (test_memrchr): Increment reported test cycle.
12947
12948 2013-10-04  Alan Modra  <amodra@gmail.com>
12949
12950         * string/test-memcpy.c (do_one_test): When reporting errors, print
12951         string address and don't overrun end of string.
12952
12953 2013-10-04  Alan Modra  <amodra@gmail.com>
12954
12955         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12956         insrdi.  Make better use of reg selection to speed exit slightly.
12957         Schedule entry path a little better.  Remove useless "are we done"
12958         checks on entry to main loop.  Handle wrapping around zero address.
12959         Correct main loop count.  Handle single left-over word from main
12960         loop inline rather than by using loop_small.  Remove extra word
12961         case in loop_small caused by wrong loop count.  Add little-endian
12962         support.
12963         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12964         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12965         cache hint.
12966         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12967         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12968         support.  Avoid rlwimi.
12969         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12970
12971 2013-10-04  Alan Modra  <amodra@gmail.com>
12972
12973         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12974         insrdi.  Formatting.
12975         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12976         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12977         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12978         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12979         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12980         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12981
12982 2013-10-04  Alan Modra  <amodra@gmail.com>
12983
12984         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12985         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12986         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12987         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12988         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12989         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12990         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12991         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12992         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12993         use of regs.  Use power7 mtocrf.  Tidy function tails.
12994
12995 2013-10-04  Alan Modra  <amodra@gmail.com>
12996
12997         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12998         Formatting.  Consistently use rXXX register defines or rN defines.
12999         Use early exit labels that avoid restoring unused non-volatile regs.
13000         Make cr field use more consistent with rWORDn compares.  Rename
13001         regs used as shift registers for unaligned loop, using rN defines
13002         for short lifetime/multiple use regs.
13003         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13004         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13005         addi 1,1,64 to pop stack frame.  Simplify return value code.
13006         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13007
13008 2013-10-04  Alan Modra  <amodra@gmail.com>
13009
13010         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13011         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13012         rather than rlwimi.
13013         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13014         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13015         little-endian support.  Correct typos.
13016         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13017         rather than rlwimi.
13018         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13019         in loop and entry code to keep "and." results.
13020         (strchr): Add little-endian support.  Comment.  Move cntlzd
13021         earlier in tail.
13022         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13023
13024 2013-10-04  Alan Modra  <amodra@gmail.com>
13025
13026         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13027         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13028         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13029         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13030
13031 2013-10-04  Alan Modra  <amodra@gmail.com>
13032
13033         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13034         (rTMP): Define as r11.
13035         (strcmp): Add little-endian support.  Optimise tail.
13036         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13037         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13038         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13039         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13040         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13041         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13042         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13043
13044 2013-10-04  Alan Modra  <amodra@gmail.com>
13045
13046         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13047         little-endian support.  Remove unnecessary "are we done" tests.
13048         Handle "s" wrapping around zero and extremely large "size".
13049         Correct main loop count.  Handle single left-over word from main
13050         loop inline rather than by using small_loop.  Correct comments.
13051         Delete "zero" tail, use "end_max" instead.
13052         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13053
13054 2013-10-04  Alan Modra  <amodra@gmail.com>
13055
13056         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13057         support.  Don't branch over align.
13058         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13059         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13060         support.  Rearrange tmp reg use to suit.  Comment.
13061         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13062
13063 2013-10-04  Alan Modra  <amodra@gmail.com>
13064
13065         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13066
13067 2013-10-04  Alan Modra  <amodra@gmail.com>
13068
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13070         conditional form of branch and link when obtaining pc.
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13072
13073 2013-10-04  Alan Modra  <amodra@gmail.com>
13074
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13076         HIWORD/LOWORD.
13077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13079
13080 2013-10-04  Alan Modra  <amodra@gmail.com>
13081
13082         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13083         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13084         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13085         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13086         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13087         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13088         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13089         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13090         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13091         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13092
13093 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13094             Alistair Popple <alistair@ozlabs.au.ibm.com>
13095             Alan Modra <amodra@gmail.com>
13096
13097         [BZ #15723]
13098         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13099         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13100         _dl_hwcap access for little-endian.
13101         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13102         destroy vmx regs when saving unaligned.
13103         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13104         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13105         destroy vmx regs when saving unaligned.
13106
13107 2013-10-04  Alan Modra  <amodra@gmail.com>
13108
13109         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13110         Don't use a union to pack hi/low value.
13111
13112 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13113
13114         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13115         for little-endian.
13116         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13118         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13119         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13120         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13121
13122 2013-10-04  Alan Modra  <amodra@gmail.com>
13123
13124         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13125         constants to usual value for .cst8 section, and remove redundant
13126         high address load.
13127         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13128         constant for 0x1p52.  Load little-endian words of double from
13129         correct stack offsets.
13130
13131 2013-10-04  Alan Modra  <amodra@gmail.com>
13132
13133         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13134         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13135         words of double from correct stack offsets.
13136         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13137         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13138         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13141         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13142         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13143         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13144         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13145         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13146         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13147         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13148         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13149         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13150         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13151         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13152         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13153
13154 2013-10-04  Alan Modra  <amodra@gmail.com>
13155
13156         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13157         64-bit int/double union.
13158         (_FPU_SETCW): Likewise.
13159         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13160         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13161
13162 2013-10-04  Alan Modra  <amodra@gmail.com>
13163
13164         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13165         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13166
13167 2013-10-04  Alan Modra  <amodra@gmail.com>
13168
13169         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13170         use vector int constants.
13171         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13172
13173 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13174
13175         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13176         array with long long.
13177         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13178         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13179         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13180         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13181         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13182         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13183         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13184         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13185         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13186         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13187         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13188         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13189         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13190
13191 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13192
13193         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13194         (__signbit): Likewise.  Correct for little-endian.
13195         (__signbitl): Call __signbit.
13196         (lrint): Correct for little-endian.
13197         (lrintf): Call lrint.
13198
13199 2013-10-04  Alan Modra  <amodra@gmail.com>
13200
13201         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13202         union 32-bit int array member with 64-bit int array.
13203         (t515, tm256): Double rather than long double.
13204         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13205
13206 2013-10-04  Alan Modra  <amodra@gmail.com>
13207
13208         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13209         Delete.
13210         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13212         version of math_ldbl.h.
13213
13214 2013-10-04  Alan Modra  <amodra@gmail.com>
13215
13216         [BZ #15734], [BZ #15735]
13217         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13218         all uses of ieee875 long double macros and unions.  Simplify test
13219         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13220         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13221         normalize after ldbl_extract_mantissa, and don't add hidden bit
13222         already handled.  Don't treat low word of ieee854 mantissa like
13223         low word of IBM long double and mask off bit when testing for
13224         zero.
13225         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13226         all uses of ieee875 long double macros and unions.  Simplify tests
13227         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13228         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13229         two1022, instead use their values.  Recognise that tests for large
13230         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13231         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13232         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13233         test for 0.0L and nan.  Correct negation.
13234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13235         ieee875 long double macros and unions.  Correct output for large
13236         magnitude x.  Correct absolute value calculation.
13237         (__erfcl): Likewise.
13238         * math/libm-test.inc: Add tests for errors discovered in IBM long
13239         double versions of fmodl, remainderl, erfl and erfcl.
13240
13241 2013-10-04  Alan Modra  <amodra@gmail.com>
13242
13243         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13244         all uses of ieee854 long double macros and unions.  Simplify tests
13245         for long doubles that are fully specified by the high double.
13246         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13247         Likewise.
13248         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13249         Remove dead code too.
13250         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13251         (__ieee754_ynl): Likewise.
13252         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13253         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13255         Remove dead code too.
13256         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13258         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13259         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13260         Simplify.
13261         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13262         Simplify.
13263         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13264         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13265         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13266         Comment on variable precision.
13267         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13268         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13269         Likewise.
13270         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13271         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13272         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13273         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13274         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13275
13276 2013-10-04  Alan Modra  <amodra@gmail.com>
13277
13278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13279         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13280         all uses of ieee854 long double macros and unions.
13281         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13282         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13283         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13284         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13286         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13287         Likewise.
13288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13289         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13290         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13291         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13293         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13294         Simplify sign and nan test too.
13295         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13296         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13297         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13298         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13299         Likewise.
13300         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13301         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13302         Likewise.
13303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13304         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13305         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13306         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13307         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13308         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13309
13310 2013-10-04  Alan Modra  <amodra@gmail.com>
13311
13312         * stdio-common/printf_size.c (__printf_size): Don't use
13313         union ieee854_long_double in fpnum union.
13314         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13315         signbit macro to retrieve sign from long double.
13316         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13317         retrieve sign from long double.
13318         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13319         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13320         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13321         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13322         * math/test-misc.c (main): Don't use union ieee854_long_double.
13323
13324 2013-10-04  Alan Modra  <amodra@gmail.com>
13325
13326         [BZ #15680]
13327         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13328         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13329         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13330         calculation.  Remove unnecessary test for denormal exponent.
13331         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13332         Correct handling of denormals.  Avoid undefined shift behaviour.
13333         Correct normalisation of low mantissa when low double is denormal.
13334         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13335         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13336         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13337         Correct normalisation of low mantissa.  Test for overflow of high
13338         mantissa and normalise.
13339         (ldbl_nearbyint): Use more readable constant for two52.
13340         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13341         (__mpn_construct_long_double): Fix test for overflow of high
13342         mantissa and correct normalisation.  Avoid undefined shift.
13343
13344 2013-10-04  Alan Modra  <amodra@gmail.com>
13345
13346         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13347         (union ibm_extended_long_double): Define as an array of ieee754_double.
13348         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13349         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13350         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13351         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13353         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13354         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13355         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13356         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13357         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13358         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13359
13360 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13361
13362         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13363         page size instead of calling getpagesize.
13364
13365         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13366         (LOCFILE_ALIGN_MASK): Likewise.
13367         (LOCFILE_ALIGN_UP): Likewise.
13368         (LOCFILE_ALIGNED_P): Likewise.
13369         * locale/programs/ld-collate.c (collate_output): Use the new
13370         macros instead of __alignof__ (int32_t).
13371         * locale/weight.h (findidx): Likewise.
13372
13373 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13374
13375         [BZ #431]
13376         * manual/string.texi: Fix strncat and wcsncat.
13377
13378 2013-10-03  Brooks Moses  <bmoses@google.com>
13379
13380         [BZ #15915]
13381         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13382         * Makerules: ...here, and adjust associated comments.
13383
13384 2013-10-02  Will Newton  <will.newton@linaro.org>
13385
13386         * malloc/Makefile: Add tst-pvalloc.
13387         * malloc/tst-pvalloc.c: New file.
13388
13389 2013-10-02  Will Newton  <will.newton@linaro.org>
13390
13391         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13392         improve test coverage.
13393
13394 2013-10-02  Will Newton  <will.newton@linaro.org>
13395
13396         * malloc/Makefile: Add tst-posix_memalign.
13397         * malloc/tst-posix_memalign.c: New file.
13398
13399 2013-10-01  Eric Blake  <eblake@redhat.com>
13400
13401         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13402         Use __THROWNL rather than __THROW on static functions.
13403
13404 2013-09-30  Petr Machata  <pmachata@redhat.com>
13405
13406         * elf/elf.h (R_AARCH64_ABS16): New macro.
13407         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13408         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13409         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13410         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13411         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13412         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13413         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13414         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13415         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13416         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13417         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13418         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13419         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13420         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13421         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13422         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13423         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13424         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13425         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13426         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13427         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13428         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13429         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13430         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13431         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13432         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13433         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13434         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13435         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13436         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13437         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13438         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13439         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13440         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13441         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13442         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13443         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13444         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13445         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13446         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13447         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13448         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13449         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13450         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13451         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13452         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13453         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13454         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13455         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13456         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13457         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13458         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13459         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13460         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13461         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13462         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13463         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13464         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13465         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13466         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13467         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13468         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13469         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13470         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13471         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13472         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13473         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13474         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13475         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13476         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13477         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13478         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13479         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13480         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13481         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13482         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13483         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13484         (R_AARCH64_TLSDESC_LDR): Likewise.
13485         (R_AARCH64_TLSDESC_ADD): Likewise.
13486         (R_AARCH64_TLSDESC_CALL): Likewise.
13487
13488 2013-09-30  Andreas Schwab  <schwab@suse.de>
13489
13490         [BZ #15048]
13491         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13492         the nss database lookup.
13493         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13495
13496 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13497
13498         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13499
13500 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13501
13502         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13503         ${Bash-specific parameter/pattern/string} parameter expansion.
13504         * sysdeps/unix/make-syscalls.sh: Likewise.
13505
13506 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13507
13508         * sysdeps/sh/stackguard-macros.h: New file.
13509
13510 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13511
13512         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13514         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13515         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13516         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13517         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13518
13519 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13520
13521         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13522         Fix thread ID register.
13523
13524 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13525
13526         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13527         [POSIX || UNIX98]: Require rather than permitting all symbols from
13528         <time.h>.
13529         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13530         element of struct sched_param.
13531         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13532         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13533         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13534         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13535         constant.
13536
13537 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13538
13539         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13540         argument calculation.
13541
13542 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13543
13544         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13545         Expect macro.
13546         [POSIX] (pthread_attr_t): Do not require type.
13547         [POSIX] (pthread_cond_t): Likewise.
13548         [POSIX] (pthread_condattr_t): Likewise.
13549         [POSIX] (pthread_key_t): Likewise.
13550         [POSIX] (pthread_mutex_t): Likewise.
13551         [POSIX] (pthread_mutexattr_t): Likewise.
13552         [POSIX] (pthread_once_t): Likewise.
13553         [POSIX] (pthread_t): Likewise.
13554         [POSIX-based standards] (pthread_atfork): Expect function.
13555
13556 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13557             Richard Sandiford  <richard@codesourcery.com>
13558
13559         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13560         (swap_endianness_p): New extern variable.
13561         (set_big_endian): New inline function.
13562         (maybe_swap_uint32): Likewise.
13563         (maybe_swap_uint32_array): Likewise.
13564         (maybe_swap_uint32_obstack): Likewise.
13565         * locale/programs/locfile.c: Include <stdbool.h>.
13566         (swap_endianness_p): New variable.
13567         (add_locale_uint32): Call maybe_swap_uint32.
13568         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13569         (write_locale_data): Call maybe_swap_uint32_array.
13570         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13571         maybe_swap_uint32.
13572         (obstack_int32_grow_fast): Likewise.
13573         (output_weightwc): Call maybe_swap_uint32_obstack.
13574         (collate_output): Likewise.
13575         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13576         (OPT_LITTLE_ENDIAN): Likewise.
13577         (options): Add --little-endian and --big-endian options.
13578         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13579         * locale/programs/locarchive.c: Include "locfile.h".
13580         (GET): New macro.
13581         (SET): Likewise.
13582         (INC): Likewise.
13583         (create_archive): Use the new macros to access fields of
13584         structures directly mapped from or written to locale archives.
13585         (oldlocrecentcmp): Likewise.
13586         (enlarge_archive): Likewise.
13587         (insert_name): Likewise.
13588         (add_alias): Likewise.
13589         (add_locale): Likewise.
13590         (delete_locales_from_archive): Likewise.
13591         (show_archive_content): Likewise.
13592         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13593         locale data.
13594
13595 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13596
13597         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13598         http://www.gnu.org/doc/freemanuals.texi.
13599         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13600
13601 2013-09-24  Will Newton  <will.newton@linaro.org>
13602
13603         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13604         macro.
13605
13606 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13607
13608         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13609         unsigned char.
13610
13611 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13612
13613         * manual/threads.texi (POSIX Threads): Fix a typo.
13614
13615 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13616
13617         [BZ #14547]
13618         * string/tst-strcoll-overflow.c: New test case.
13619         * string/Makefile (xtests): Add tst-strcoll-overflow.
13620         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13621         cache if string sizes may cause integer overflow.
13622
13623         [BZ #14547]
13624         * string/strcoll_l.c (coll_seq): New members rule, idx,
13625         save_idx and back_us.
13626         (get_next_seq_nocache): New function.
13627         (do_compare_nocache): New function.
13628         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13629         when malloc fails.
13630
13631 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13632
13633         [BZ #15754]
13634         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13635         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13636         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13637
13638         [BZ #15754]
13639         * elf/Makefile (tests): Add tst-ptrguard1.
13640         (tests-static): Add tst-ptrguard1-static.
13641         (tst-ptrguard1-ARGS): Define.
13642         (tst-ptrguard1-static-ARGS): Define.
13643         * elf/tst-ptrguard1.c: New file.
13644         * elf/tst-ptrguard1-static.c: New file.
13645         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13646         * sysdeps/i386/stackguard-macros.h: Likewise.
13647         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13648         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13649         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13650         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13651         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13652         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13653
13654 2013-09-23  Hector Marco  <hecmargi@upv.es>
13655             Ismael Ripoll  <iripoll@disca.upv.es>
13656             Carlos O'Donell  <carlos@redhat.com>
13657
13658         [BZ #15754]
13659         * sysdeps/generic/stackguard-macros.h: Define
13660         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13661         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13662         Define __pointer_chk_guard_local.
13663         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13664         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13665
13666 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13667
13668         [BZ #15859]
13669         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13670
13671 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13672
13673         * include/string.h (__ffs): Declare as hidden.
13674         * string/ffs.c (__ffs): Define as hidden.
13675         * sysdeps/i386/ffs.c (__ffs): Likewise.
13676         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13677         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13678         * sysdeps/s390/ffs.c (__ffs): Likewise.
13679         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13680
13681 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13682
13683         * NEWS: Mention malloc probes.
13684
13685         * malloc/arena.c (new_heap): New memory_heap_new probe.
13686         (grow_heap): New memory_heap_more probe.
13687         (shrink_heap): New memory_heap_less probe.
13688         (heap_trim): New memory_heap_free probe.
13689         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13690         (systrim): New memory_sbrk_less probe.
13691         * manual/probes.texi: Document them.
13692
13693         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13694         * manual/probes.texi: Document it.
13695
13696         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13697         (__libc_realloc): Add memory_realloc_retry probe.
13698         (__libc_memalign): Add memory_memalign_retry probe.
13699         (__libc_valloc): Add memory_valloc_retry probe.
13700         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13701         (__libc_calloc): Add memory_calloc_retry probe.
13702         * manual/probes.texi: Document them.
13703
13704         * malloc/arena.c (get_free_list): Add probe
13705         memory_arena_reuse_free_list.
13706         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13707         and memory_arena_reuse.
13708         (arena_get2) [!PER_THREAD]: Likewise.
13709         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13710         memory_arena_reuse_realloc.
13711         * manual/probes.texi: Document them.
13712
13713         * malloc/malloc.c (__libc_free): Add
13714         memory_mallopt_free_dyn_thresholds probe.
13715         (__libc_mallopt): Add multiple memory_mallopt probes.
13716         * manual/probes.texi: Document them.
13717
13718         * malloc/malloc.c: Include stap-probe.h.
13719         (__libc_mallopt): Add memory_mallopt probe.
13720         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13721         * manual/probes.texi: New.
13722         * manual/Makefile (chapters): Add probes.
13723         * manual/threads.texi: Set next node.
13724
13725 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13726
13727         [BZ #15963, #13985]
13728         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13729         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13730         Add `Chinese' to `nan' entry name.
13731
13732 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13733
13734         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13735         (POLYNOMIAL): Likewise.
13736         (TAYLOR_SINCOS): Likewise.
13737         (TAYLOR_SLOW): Likewise.
13738         (__sin): Use TAYLOR_SINCOS.
13739         (__cos): Likewise.
13740         (slow): Use TAYLOR_SLOW.
13741         (sloww): Likewise.
13742         (bsloww): Likewise.
13743         (csloww): Likewise.
13744
13745 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13746
13747         * stdlib/strtod_l.c: Fix buffer overrun.
13748
13749 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13750
13751         * benchtests/Makefile (bench): Add sincos.
13752         * benchtests/bench-sincos.c: New file.
13753
13754         * math/libm-test.inc (cos_test_data): New test inputs.
13755         (sin_test_data): Likewise.
13756
13757         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13758         macro.
13759         (__sin): Use it.
13760         (__cos): Likewise.
13761         (slow1): Likewise.
13762         (slow2): Likewise.
13763         (sloww1): Likewise.
13764         (sloww2): Likewise.
13765         (bsloww1): Likewise.
13766         (bsloww2): Likewise.
13767         (cslow2): Likewise.
13768         (csloww1): Likewise.
13769         (csloww2): Likewise.
13770
13771         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13772         function.
13773         (__sin): Use it.
13774         (__cos): Likewise.
13775
13776         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13777         gotos.
13778         (__cos): Likewise.
13779
13780 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13781
13782         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13783         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13784         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13785         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13786         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13787         * elf/cache.c (print_entry): Handle the new cache flags.
13788
13789 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13790             Aldy Hernandez  <aldyh@redhat.com>
13791
13792         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13793         Change condition to [_SOFT_FLOAT].
13794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13806         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13809         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13810         declaration.
13811
13812 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13813
13814         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13815         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13816         (__longjmp): Use LOAD_GP to load saved GPRs.
13817         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13818         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13819         (__sigsetjmp): Use SAVE_GP to save GPRs.
13820
13821         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13822         Do not append -msoft-float.
13823         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13824
13825 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13826
13827         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13828
13829 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13830
13831         [BZ #15966]
13832         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13833         (_FPU_GETCW): Use initial "__" on variable and field names but not
13834         on macro parameter name.
13835         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13836         parentheses around reference to macro parameter.
13837
13838 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13839
13840         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13841         prototype.
13842         (ctype_startup): Use uint32_t in cast and sizeof for
13843         ctype->charnames.
13844
13845 2013-09-11  Jia Liu  <proljc@gmail.com>
13846
13847         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13848         __daddr_t_defined.
13849         [__FreeBSD__]: Likewise.
13850
13851 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13852
13853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13854         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13855         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13856         (strchr): Remove __strchr_sse42 ifunc selection.
13857         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13858         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13859
13860 2013-09-11  Will Newton  <will.newton@linaro.org>
13861
13862         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13863         parameter to RES. Remove hardcoded 1000 value.
13864         * benchtests/bench-skeleton.c (main): Pass RES parameter
13865         to TIMING_INIT and multiply result by 1000.
13866
13867 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13868
13869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13870
13871 2013-09-11  Andreas Schwab  <schwab@suse.de>
13872
13873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13874         if not defined.
13875         (O_TMPFILE) [__USE_GNU]: Define.
13876         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13877         Define.
13878
13879 2013-09-11  Will Newton  <will.newton@linaro.org>
13880
13881         [BZ #15857]
13882         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13883         does not overflow.
13884
13885 2013-09-11  Will Newton  <will.newton@linaro.org>
13886
13887         [BZ #15856]
13888         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13889         does not overflow.
13890
13891 2013-09-11  Will Newton  <will.newton@linaro.org>
13892
13893         [BZ #15855]
13894         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13895         does not overflow.
13896
13897 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13898
13899         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13900         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13901         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13902         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13903         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13904
13905 2013-09-10  Allan McRae  <allan@archlinux.org>
13906
13907         [BZ #15748]
13908         * manual/arith.texi (Parsing of Floats): Clarify
13909         cross-reference.
13910
13911         [BZ #15849]
13912         * manual/install.texi (Running make install): Mention
13913         --enable-pt-chown.
13914         * INSTALL: Regenerated.
13915
13916 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13917
13918         * csu/init-first.c (_init): Remove the !SHARED condition around
13919         FPU control word initialization.
13920         * elf/dl-support.c (_dl_fpu_control): New variable.
13921         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13922         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13923         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13924         * math/test-fpucw-static.c: New file.
13925         * math/test-fpucw-ieee.c: New file.
13926         * math/test-fpucw-ieee-static.c: New file.
13927         * math/Makefile (tests): Add `test-fpucw-ieee' and
13928         `$(tests-static)'.
13929         (tests-static): New variable.
13930         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13931         dependency to...
13932         [($(build-shared),yes)]
13933         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13934         ... this.
13935         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13936         New dependency.
13937
13938 2013-09-09  Allan McRae  <allan@archlinux.org>
13939
13940         [BZ #15939]
13941         * manual/string.texi (Collation Functions): Fix typo in
13942         strcoll example.
13943         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13944
13945         [BZ #15893]
13946         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13947
13948         [BZ #15892]
13949         * libio/memstream.c (open_memstream): Fix memory leak.
13950         * libio/wmemstream.c (open_wmemstream): Likewise.
13951
13952         [BZ #15895]
13953         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13954
13955 2013-09-09  Will Newton  <will.newton@linaro.org>
13956
13957         * malloc/Makefile: Add tst-realloc to tests.
13958         * malloc/tst-realloc.c: New file.
13959
13960 2013-09-09  Allan McRae  <allan@archlinux.org>
13961
13962         [BZ #15844]
13963         * COPYING: Update from GNU website to fix FSF address.
13964         * COPYING.LIB: Likewise.
13965
13966 2013-09-06  David S. Miller  <davem@davemloft.net>
13967
13968         * po/zh_TW.po: Update Chinese (traditional) translation from
13969         translation project.
13970
13971 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13972             Joseph Myers  <joseph@codesourcery.com>
13973
13974         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13975         "localeinfo.h".
13976         (obstack_chunk_alloc): New macro.
13977         (obstack_chunk_free): Likewise.
13978         (record_offset): New function.
13979         (init_locale_data): Likewise.
13980         (align_locale_data): Likewise.
13981         (add_locale_empty): Likewise.
13982         (add_locale_raw_data): Likewise.
13983         (add_locale_raw_obstack): Likewise.
13984         (add_locale_string): Likewise.
13985         (add_locale_wstring): Likewise.
13986         (add_locale_uint32): Likewise.
13987         (add_locale_uint32_array): Likewise.
13988         (add_locale_char): Likewise.
13989         (start_locale_structure): Likewise.
13990         (end_locale_structure): Likewise.
13991         (start_locale_prelude): Likewise.
13992         (end_locale_prelude): Likewise.
13993         (write_locale_data): Take locale_file structure rather than an
13994         iovec.
13995         * locale/programs/locfile.h: Include "obstack.h".
13996         (struct locale_file): Change to store locale file contents instead
13997         of header.
13998         (init_locale_data): New prototype.
13999         (align_locale_data): Likewise.
14000         (add_locale_empty): Likewise.
14001         (add_locale_raw_data): Likewise.
14002         (add_locale_raw_obstack): Likewise.
14003         (add_locale_string): Likewise.
14004         (add_locale_wstring): Likewise.
14005         (add_locale_uint32): Likewise.
14006         (add_locale_uint32_array): Likewise.
14007         (add_locale_char): Likewise.
14008         (start_locale_structure): Likewise.
14009         (end_locale_structure): Likewise.
14010         (start_locale_prelude): Likewise.
14011         (end_locale_prelude): Likewise.
14012         (write_locale_data): Update prototype.
14013         * locale/programs/3level.h (struct TABLE): Remove result field.
14014         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14015         Use new locale_file interface.
14016         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14017         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14018         * locale/programs/ld-address.c (address_output): Use new
14019         locale_file interface.
14020         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14021         NO_ADD_LOCALE.
14022         (collate_finish): Don't call collseq_table_finalize.
14023         (collate_output): Use new locale_file interface.
14024         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14025         in file.
14026         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14027         (TABLE): Move defines earlier in file.
14028         (ELEMENT): Likewise.
14029         (DEFAULT): Likewise.
14030         (wctrans_table_add): Move macro and inline function earlier in
14031         file.
14032         (struct wctype_table): Move type earlier in file.
14033         (add_locale_wctype_table): New static prototype.
14034         (struct locale_ctype_t): Use logical types instead of struct iovec
14035         pointers for members.
14036         (ctype_output): Use new locale_file interface.
14037         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14038         new locale_file interface.
14039         (allocate_arrays): Update for use of new locale_file interface.
14040         * locale/programs/ld-identification.c (identification_output): Use
14041         new locale_file interface.
14042         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14043         * locale/programs/ld-messages.c (messages_output): Likewise.
14044         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14045         * locale/programs/ld-name.c (name_output): Likewise.
14046         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14047         * locale/programs/ld-paper.c (paper_output): Likewise.
14048         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14049         * locale/programs/ld-time.c (time_output): Likewise.
14050
14051 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14052
14053         * benchtests/Makefile: Add memrchr benchmark.
14054         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14055         benchmark as memrchr.
14056         * benchtests/bench-memrchr-ifunc.c: New file.
14057         * benchtests/bench-memrchr.c: New file.
14058
14059 2013-09-06   Will Newton  <will.newton@linaro.org>
14060
14061         * benchtests/Makefile (string-bench): Add memcpy.
14062
14063 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14064             Cong Wang  <amwang@redhat.com>
14065
14066         [BZ #15850]
14067         * sysdeps/unix/sysv/linux/bits/in.h
14068         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14069         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14070         before __USE_KERNEL_IPV6_DEFS uses.
14071         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14072         IPPROTO_BEETPH.
14073         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14074         sockaddr_in6, or ipv6_mreq.
14075
14076 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14077
14078         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14079         memory access for final bytes in some large inputs.
14080         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14081
14082 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14083
14084         * string/test-memrchr.c: New file.
14085         * string/test-memrchr-ifunc.c: New file.
14086         * string/Makefile: Add new memrchr testcase.
14087
14088 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14089
14090         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14091         fanotify_init returns EPERM.
14092
14093 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14094
14095         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14096         errors.
14097         (top level): Treat second token from macro or constant entries for
14098         allowed headers as allowed.
14099         * include/complex.h: Condition internal declarations on
14100         [!_ISOMAC].
14101         * include/fenv.h: Condition include of <stdbool.h> and internal
14102         declarations on [!_ISOMAC].
14103
14104 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14105
14106         [BZ #15923]
14107         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14108
14109 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14110
14111         * configure.in (--enable-versioning): Remove configure option.
14112         (libc_cv_asm_symver_directive): Remove configure test.
14113         (libc_cv_ld_version_script_option): Likewise.
14114         (VERSIONING): Remove variable and AC_SUBST.
14115         (DO_VERSIONING): Remove AC_DEFINE.
14116         * configure: Regenerated.
14117         * config.h.in (DO_VERSIONING): Remove macro.
14118         * Makerules [$(versioning) = yes]: Change conditionals to
14119         [$(build-shared) = yes].
14120         * config.make.in (versioning): Remove variable.
14121         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14122         [$(build-shared) = yes].
14123         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14124         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14125         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14126         [$(build-shared) = yes].
14127         * extra-lib.mk [$(versioning) = yes]: Likewise.
14128         * hurd/Makefile [$(versioning) = yes]: Likewise.
14129         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14130         [SHARED].
14131         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14132         [SHARED].
14133         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14134         [SHARED && !NO_HIDDEN].
14135         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14136         [SHARED].
14137         [SHARED && DO_VERSIONING]: Likewise..
14138         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14139         [$(build-shared) = yes].
14140         * manual/install.texi (--disable-versioning): Remove
14141         documentation.
14142         * INSTALL: Regenerated.
14143         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14144         to [SHARED].
14145         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14146         [$(build-shared) = yes].
14147         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14148         * sysdeps/i386/i686/multiarch/strstr-c.c
14149         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14150         [SHARED && !NO_HIDDEN].
14151         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14152         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14153         * sysdeps/powerpc/powerpc32/dl-machine.c
14154         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14155         * sysdeps/powerpc/powerpc32/sysdep.h
14156         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14157         to [SHARED && PIC && !NO_HIDDEN].
14158         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14159         conditional to [SHARED].
14160
14161 2013-09-04   Will Newton  <will.newton@linaro.org>
14162
14163         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14164         * benchtests/bench-string.h: Include bench-timing.h instead
14165         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14166         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14167         call to HP_TIMING_DIFF_INIT.
14168         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14169         instead of hp-timing.h macros.
14170         * benchtests/bench-memchr.c: Likewise.
14171         * benchtests/bench-memcmp.c: Likewise.
14172         * benchtests/bench-memcpy.c: Likewise.
14173         * benchtests/bench-memmem.c: Likewise.
14174         * benchtests/bench-memmove.c: Likewise.
14175         * benchtests/bench-memset.c: Likewise.
14176         * benchtests/bench-rawmemchr.c: Likewise.
14177         * benchtests/bench-strcasecmp.c: Likewise.
14178         * benchtests/bench-strcasestr.c: Likewise.
14179         * benchtests/bench-strcat.c: Likewise.
14180         * benchtests/bench-strchr.c: Likewise.
14181         * benchtests/bench-strcmp.c: Likewise.
14182         * benchtests/bench-strcpy.c: Likewise.
14183         * benchtests/bench-strcpy_chk.c: Likewise.
14184         * benchtests/bench-strlen.c: Likewise.
14185         * benchtests/bench-strncasecmp.c: Likewise.
14186         * benchtests/bench-strncat.c: Likewise.
14187         * benchtests/bench-strncmp.c: Likewise.
14188         * benchtests/bench-strncpy.c: Likewise.
14189         * benchtests/bench-strnlen.c: Likewise.
14190         * benchtests/bench-strpbrk.c: Likewise.
14191         * benchtests/bench-strrchr.c: Likewise.
14192         * benchtests/bench-strspn.c: Likewise.
14193         * benchtests/bench-strstr.c: Likewise.
14194
14195 2013-09-04  Will Newton  <will.newton@linaro.org>
14196
14197         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14198
14199 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14200
14201         [BZ #15427]
14202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14203         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14204         * math/libm-test.inc (lgamma_test_data): Add more tests.
14205         * sysdeps/i386/fpu/libm-test-ulps: Update.
14206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14207
14208 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14209
14210         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14212         Add ifunc.
14213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14214         Add strcmp-sse2-unaligned
14215         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14216
14217 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14218
14219         * Versions.def (libc): Add GLIBC_2.19.
14220
14221 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14222
14223         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14224         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14225
14226 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14227
14228         [BZ #14155]
14229         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14230         intermediate calculations in recurrence.
14231         (__ieee754_ynf): Likewise.
14232         * math/libm-test.inc (jn_test_data): Do not allow spurious
14233         underflow exception.  Add more tests.
14234         (yn_test_data): Add more tests.
14235         * sysdeps/i386/fpu/libm-test-ulps: Update.
14236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14237
14238 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14239
14240         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14241
14242 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14243
14244         * csu/init-first.c: Fix then/than typos.
14245         * locale/programs/ld-collate.c: Likewise.
14246         * locale/programs/linereader.h: Likewise.
14247         * manual/charset.texi: Likewise.
14248         * manual/filesys.texi: Likewise.
14249         * manual/stdio.texi: Likewise.
14250         * manual/string.texi: Likewise.
14251         * stdlib/fmtmsg.c: Likewise.
14252         * sysdeps/i386/stpncpy.S: Likewise.
14253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14254         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14255         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14256         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14257
14258 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14259
14260         * elf/dl-open.c: Fix typos.
14261         * iconvdata/gbbig5.c: Likewise.
14262         * iconvdata/iso-2022-jp.c: Likewise.
14263         * iconv/gconv_int.h: Likewise.
14264         * iconv/loop.c: Likewise.
14265         * nis/rpcsvc/nis.h: Likewise.
14266         * resolv/ns_name.c: Likewise.
14267         * stdio-common/vfscanf.c: Likewise.
14268         * streams/stropts.h: Likewise.
14269         * sunrpc/rpc_thread.c: Likewise.
14270         * sysdeps/i386/strpbrk.S: Likewise.
14271         * sysdeps/ieee754/k_standard.c: Likewise.
14272         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14274         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14275         * sysdeps/mach/hurd/profil.c: Likewise.
14276         * sysdeps/s390/dl-procinfo.h: Likewise.
14277         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14278         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14279         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14280         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14281         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14282
14283 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14284
14285         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14287
14288 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14289
14290         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14291         aix specific files.
14292         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14293         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14294         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14295         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14296         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14297         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14298         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14299         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14300
14301 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14302             Roland McGrath  <roland@hack.frob.com>
14303
14304         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14305         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14306
14307 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14308
14309         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14310         __executable_start symbol instead of _start.
14311
14312 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14313
14314         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14315         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14316         Move macros to...
14317         * sysdeps/gnu/ldsodefs.h: ... this new file.
14318
14319         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14320         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14321         instead of ELFOSABI_LINUX.
14322
14323         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14324         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14325         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14326         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14327         Likewise.
14328         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14329         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14330         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14331         Likewise.
14332         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14333         (ibm_extended_long_double): Add ieee_nan member.
14334         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14335         (do_test): New function.
14336
14337         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14338         TEST_TRUNC.
14339         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14340         functions, renamed from truncdfsf_test, trunctfsf_test,
14341         trunctfdf_test.
14342         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14343         functions.
14344         (do_test): Run all these.
14345
14346 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14347
14348         * argp/argp-help.c: Fix typos.
14349         * argp/argp-parse.c: Likewise.
14350         * debug/backtracesyms.c: Likewise.
14351         * elf/elf.h: Likewise.
14352         * malloc/malloc.c: Likewise.
14353         * nis/nis_print.c: Likewise.
14354         * resolv/res_comp.c: Likewise.
14355         * stdlib/stdlib.h: Likewise.
14356         * sunrpc/clnt_tcp.c: Likewise.
14357         * sunrpc/clnt_udp.c: Likewise.
14358         * sunrpc/clnt_unix.c: Likewise.
14359         * sysdeps/unix/bsd/ptsname.c: Likewise.
14360         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14361         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14363         Likewise.
14364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14365         Likewise.
14366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14367         Likewise.
14368         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14369
14370 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14371
14372         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14374
14375 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14376
14377         [BZ #15897]
14378         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14379         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14380         ($(objpfx)bug-dl-leaf): New rule.
14381         ($(objpfx)bug-dl-leaf.so): Likewise.
14382         ($(objpfx)bug-dl-leaf.out): Likewise.
14383         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14384         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14385         * dlfcn/bug-dl-leaf.c: New test.
14386         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14387         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14388         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14389         (dlclose): Likewise.
14390         (dlmopen): Likewise.
14391
14392 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14393
14394         * include/netdb.h [!_ISOMAC]:
14395         Don't include <tls.h>.
14396         (h_errno, __libc_h_errno): Move declaration and macros out of
14397         [_LIBC_REENTRANT].
14398
14399         * include/resolv.h [_RESOLV_H_]:
14400         Don't include <tls.h>.
14401         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14402         * resolv/res_libc.c: Don't include <tls.h>.
14403         (_res): Use __attribute__ ((nocommon)) in place of
14404         __attribute__ ((section (".bss"))).
14405
14406         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14407         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14408
14409         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14410
14411         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14412         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14413
14414         * resolv/res_mkquery.c: Include <sys/time.h>.
14415
14416         * inet/ifreq.c: Moved to ...
14417         * sysdeps/unix/ifreq.c: ... here.
14418         * inet/ifreq.c: New file, true stub version.
14419
14420         * socket/sa_len.c: New file.
14421         * socket/Makefile (aux): Add it.
14422         * sysdeps/unix/sysv/linux/Makefile
14423         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14424         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14425         and #include <socket/sa_len.c>.
14426         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14427         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14428
14429         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14430         * bits/socket.h: ... here.
14431
14432         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14433         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14434         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14435
14436 2013-08-27  Andreas Schwab  <schwab@suse.de>
14437
14438         [BZ #15736]
14439         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14440         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14441         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14442         * string/test-strcasecmp.c (test_main): Run tests in several
14443         locales.
14444         * string/test-strncasecmp.c (test_main): Likewise.
14445
14446         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14447         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14448         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14450         (__strncasecmp_ssse3) [PIC]: Likewise.
14451
14452 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14453
14454         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14455
14456         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14457         instead of explicitly declaring xdecrypt.
14458         * nis/nss_nis/nis-publickey.c: Likewise.
14459
14460 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14461
14462         [BZ #15890]
14463         * nscd/aicache.c: Include res_hconf.h.
14464         (addhstaiX): Initialize res_hconf.
14465
14466 2013-08-26  Andreas Schwab  <schwab@suse.de>
14467
14468         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14469         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14470
14471 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14472
14473         * nscd/aicache.c (addhstaiX): Fix indentation.
14474
14475 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14476
14477         * configure.ac: Quote $build_pt_chown test.
14478         * configure: Regenerated.
14479
14480 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14481
14482         [BZ #15532]
14483         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14484         * math/s_cexpf.c (__cexpf): Likewise.
14485         * math/s_cexpl.c (__cexpl): Likewise.
14486         * math/libm-test.inc (cexp_test_data): Correct expected return
14487         value for NaN + i0.  Add another test.
14488
14489 2013-08-22  David S. Miller  <davem@davemloft.net>
14490
14491         * po/ca.po: Update Catalan translation from translation project.
14492         * po/uk.po: Add Ukrainian translations from translation project.
14493
14494 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14495
14496         [BZ #15797]
14497         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14498         is infinite, not alongside NaN test.
14499         * math/s_fdimf.c (__fdimf): Likewise.
14500         * math/s_fdiml.c (__fdiml): Likewise.
14501         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14502         errno is unchanged.
14503
14504 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14505
14506         * argp/argp-help.c: Fix typos.
14507         * crypt/speeds.c: Likewise.
14508         * csu/check_fds.c: Likewise.
14509         * elf/dl-load.c: Likewise.
14510         * elf/dl-open.c: Likewise.
14511         * elf/reldep3.c: Likewise.
14512         * elf/reldep.c: Likewise.
14513         * elf/sprof.c: Likewise.
14514         * iconv/iconv_charmap.c: Likewise.
14515         * iconv/skeleton.c: Likewise.
14516         * iconv/strtab.c: Likewise.
14517         * io/lockf64.c: Likewise.
14518         * libio/libioP.h: Likewise.
14519         * resolv/gai_notify.c: Likewise.
14520         * resolv/ns_name.c: Likewise.
14521         * resolv/ns_samedomain.c: Likewise.
14522         * resolv/res_send.c: Likewise.
14523         * stdlib/random.c: Likewise.
14524         * sunrpc/rpc/xdr.h: Likewise.
14525         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14527         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14528         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14529         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14532         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14533         * sysdeps/mach/hurd/check_fds.c: Likewise.
14534         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14535         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14536         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14537         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14538         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14539         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14540         * sysdeps/pthread/aio_notify.c: Likewise.
14541         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14542         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14543         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14544         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14545         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14546
14547 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14548
14549         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14550         version if bit_Slow_SSE4_2 is set.
14551         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14552         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14553
14554 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14555
14556         [BZ #15867]
14557         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14558         trampoline stack frame information.
14559         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14560         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14561         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14562         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14563         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14564         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14565         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14566         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14567         sa_flags value.
14568         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14569         interrupting a syscall and set with option SA_SIGINFO.
14570
14571 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14572
14573         [BZ #15531]
14574         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14575         argument is infinite.
14576         * math/s_cprojf.c (__cprojf): Likewise.
14577         * math/s_cprojl.c (__cprojl): Likewise.
14578         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14579         * math/libm-test.inc (cproj_test_data): Add more tests.
14580
14581         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14582
14583         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14584         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14585         size.  Use __ffs to determine corresponding shift.
14586
14587 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14588             Roland McGrath  <roland@hack.frob.com>
14589
14590         * Makefile (INSTALL): Remove trailing blank lines from output of
14591         makeinfo.
14592
14593 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14594
14595         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14596         Align 32 bit compat elf_greg to 8 bytes.
14597
14598 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14599
14600         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14601
14602 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14603
14604         * string/strcoll_l.c (coll_seq): New structure.
14605         (get_next_seq_cached): New function.
14606         (get_next_seq): New function.
14607         (do_compare): New function.
14608         (STRCOLL): Use GNU style definition.  Simplify implementation
14609         by using get_next_seq, get_next_seq_cached and do_compare.
14610
14611 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14612
14613         [BZ #14699]
14614         CVE-2013-4237
14615         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14616         member.
14617         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14618         member.
14619         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14620         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14621         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14622         conditional.
14623         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14624         GETDENTS_64BIT_ALIGNED.
14625         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14626         * manual/filesys.texi (Reading/Closing Directory): Document
14627         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14628         strongly.
14629         * manual/conf.texi (Limits for Files): Add portability note to
14630         NAME_MAX, PATH_MAX.
14631         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14632
14633 2013-08-13  Andreas Schwab  <schwab@suse.de>
14634
14635         [BZ #15749]
14636         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14637         of fabs.
14638         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14639         LDBL_MAX_EXP >= 16384]: Add tests for it.
14640
14641 2013-08-12  David S. Miller  <davem@davemloft.net>
14642
14643         * version.h (RELEASE): Set to "development".
14644         (VERSION): Set to "2.18.90".
14645         * NEWS: Add 2.19 section.
14646
14647 2013-08-03  David S. Miller  <davem@davemloft.net>
14648
14649         * po/ko.po: Update Korean translation from translation project.
14650
14651 2013-08-01  David S. Miller  <davem@davemloft.net>
14652
14653         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14654         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14655         Bilka.
14656
14657 2013-07-30  David S. Miller  <davem@davemloft.net>
14658
14659         * po/fr.po: Update French translation from translation project.
14660
14661 2013-07-28  David S. Miller  <davem@davemloft.net>
14662
14663         * po/cs.po: Update Czech translation from translation project.
14664
14665         * po/sv.po: Update Swedish translation from translation project.
14666
14667 2013-07-27  David S. Miller  <davem@davemloft.net>
14668
14669         * po/eo.po: Update Esperanto translation from translation project.
14670
14671         * po/vi.po: Update Vietnamese translation from translation project.
14672
14673         * po/de.po: Update German translation from translation project.
14674
14675 2013-07-26  David S. Miller  <davem@davemloft.net>
14676
14677         * po/bg.po: Update Bulgarian translation from translation project.
14678
14679         * po/nl.po: Update Dutch translation from translation project.
14680         * po/pl.po: Update Polish translation from translation project.
14681         * po/ru.po: Update Russian translation from translation project.
14682
14683 2013-07-24  David S. Miller  <davem@davemloft.net>
14684
14685         * po/libc.pot: Update.
14686
14687 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14688
14689         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14690         variable page size.
14691         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14692         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14693         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14694
14695 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14696
14697         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14698
14699 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14700             Andreas Schwab  <schwab@suse.de>
14701             Roland McGrath  <roland@hack.frob.com>
14702             Joseph Myers  <joseph@codesourcery.com>
14703             Carlos O'Donell  <carlos@redhat.com>
14704
14705         [BZ #15755]
14706         * config.h.in: Define HAVE_PT_CHOWN.
14707         * config.make.in (build-pt-chown): New variable.
14708         * configure.in (--enable-pt_chown): New configure option.
14709         * configure: Regenerate.
14710         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14711         build-pt-chown is enabled.
14712         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14713         pt_chown to fix pty ownership.
14714         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14715         CLOSE_ALL_FDS.
14716         * manual/install.texi (Configuring and compiling): Mention
14717         --enable-pt_chown. Add @findex for grantpt.
14718         * INSTALL: Regenerate.
14719
14720 2013-07-20  David S. Miller  <davem@davemloft.net>
14721
14722         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14723         difference between 32-bit and 64-bit.
14724
14725 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14726
14727         [BZ #15711]
14728         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14729         Avoid system header dependency with -ffreestanding.
14730         ($(objpfx)bits/syscall%d): Likewise.
14731
14732 2013-07-13  David S. Miller  <davem@davemloft.net>
14733
14734         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14735         underflows from atanl/atan2l due to bug 15319.
14736         (casinh_test_data): Likewise.
14737
14738 2013-07-07  David S. Miller  <davem@davemloft.net>
14739
14740         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14741
14742 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14743
14744         * sysdeps/i386/fpu/libm-test-ulps: Update.
14745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14746
14747 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14748
14749         * configure.in (--enable-lock-elision): Fix message text.
14750         * INSTALL: Regenerate.
14751         * configure: Regenerate.
14752
14753 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14754
14755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14756
14757 2013-07-03  Andreas Jaeger  <aj@suse.de>
14758
14759         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14760         define.
14761         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14762         (ptrace_peeksiginfo_args): Add.
14763         (__ptrace_peeksiginfo_flags): Add.
14764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14766         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14767
14768 2013-07-03  Allan McRae  <allan@archlinux.org>
14769
14770         * sysdeps/i386/fpu/libm-test-ulps: Update.
14771
14772 2013-07-02  David S. Miller  <davem@davemloft.net>
14773
14774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14775
14776 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14777
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14779
14780 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14781
14782         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784
14785 2013-07-02  Andi Kleen <ak@linux.intel.com>
14786
14787         * config.h.in (ENABLE_LOCK_ELISION): Add.
14788         * configure.in (--enable-lock-elision): Add option.
14789         * manual/install.texi: Document --enable lock elision.
14790         * configure: Regenerate
14791         * INSTALL: Regenerate.
14792
14793 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14794
14795         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14796         SSE4.2 strcasecmp for libc.a.
14797         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14798
14799 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14800
14801         [BZ #13304]
14802         * soft-fp/op-common.h (_FP_FMA): New macro.
14803         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14804         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14805         (_FP_MUL_MEAT_1_imm): ... here.
14806         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14807         (_FP_MUL_MEAT_1_wide): ... here.
14808         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14809         (_FP_MUL_MEAT_1_hard): ... here.
14810         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14811         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14812         (_FP_MUL_MEAT_2_wide): ... here.
14813         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14814         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14815         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14816         (_FP_MUL_MEAT_2_gmp): ... here.
14817         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14818         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14819         (_FP_MUL_MEAT_4_wide): ... here.
14820         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14821         (_FP_MUL_MEAT_4_gmp): ... here.
14822         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14823         (_FP_WFRACBITS_DW_S): Likewise.
14824         (_FP_WFRACXBITS_DW_S): Likewise.
14825         (_FP_HIGHBIT_DW_S): Likewise.
14826         (FP_FMA_S): Likewise.
14827         (_FP_FRAC_HIGH_DW_S): Likewise.
14828         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14829         (_FP_WFRACBITS_DW_D): Likewise.
14830         (_FP_WFRACXBITS_DW_D): Likewise.
14831         (_FP_HIGHBIT_DW_D): Likewise.
14832         (FP_FMA_D): Likewise.
14833         (_FP_FRAC_HIGH_DW_D): Likewise.
14834         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14835         (_FP_WFRACBITS_DW_E): Likewise.
14836         (_FP_WFRACXBITS_DW_E): Likewise.
14837         (_FP_HIGHBIT_DW_E): Likewise.
14838         (FP_FMA_E): Likewise.
14839         (_FP_FRAC_HIGH_DW_E): Likewise.
14840         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14841         (_FP_WFRACBITS_DW_Q): Likewise.
14842         (_FP_WFRACXBITS_DW_Q): Likewise.
14843         (_FP_HIGHBIT_DW_Q): Likewise.
14844         (FP_FMA_Q): Likewise.
14845         (_FP_FRAC_HIGH_DW_Q): Likewise.
14846         * soft-fp/fmasf4.c: New file.
14847         * soft-fp/fmadf4.c: Likewise.
14848         * soft-fp/fmatf4.c: Likewise.
14849
14850 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14851
14852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14853         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14854         Silvermont.
14855         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14856         macro.
14857         (index_Slow_SSE4_2): Likewise.
14858         (index_Prefer_PMINUB_for_stringop): Likewise.
14859         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14860         bit_Slow_SSE4_2 is set.
14861         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14862         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14863
14864 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14865
14866         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14867         rtld_global._dl_hwcap2.
14868         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14869         POWER8.
14870         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14871         POWER8 feature descriptions defined in _dl_hwcap2.
14872         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14873         string handling for POWER8 feature bits.
14874         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14875         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14876         _dl_powerpc_cap_flags.
14877         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14878         * sysdeps/powerpc/rtld-global-offsets.sym
14879         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14880         _dl_hwcap2 in the rtld_global_ro structure.
14881
14882 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14883
14884         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14885         hardware capabilities in support of AT_HWCAP2.
14886         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14887         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14888         GLRO(dl_hwcap2).
14889         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14890         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14891         explicitly the unknown a_type display mechanism is used.
14892         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14893         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14894         struct member.
14895         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14896         to macro prototype for AT_HWCAP2 support.
14897         * sysdeps/i386/dl-procinfo.h: Likewise.
14898         * sysdeps/s390/dl-procinfo.h: Likewise.
14899         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14900         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14901         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14902         return -1 for unknown a_type display fallback.
14903         * sysdeps/sparc/dl-procinfo.h: Likewise.
14904         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14905         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14906
14907 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14908
14909         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14910         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14911
14912 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14913
14914         [BZ #12492]
14915         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14916         mprotect making __stack_prot writable.
14917
14918 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14919             Joseph Myers  <joseph@codesourcery.com>
14920
14921         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14922         as being properly aligned.
14923
14924 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14925
14926         * dlfcn/modstatic5.c: New file.
14927         * dlfcn/tststatic5.c: New file.
14928         * dlfcn/Makefile (tests): Add tststatic5.
14929         (tests-static): Likewise.
14930         (modules-names): Add modstatic5.
14931         (tststatic5-ENV): New variable.
14932         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14933
14934         [BZ #15022]
14935         * elf/dl-support.c (_dl_main_map): New variable.
14936         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14937         (_dl_nns, _dl_load_adds): Set to 1.
14938         (_dl_initial_searchlist): Refer to _dl_main_map.
14939         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14940         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14941         call to _dl_get_origin.
14942         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14943         around call_map.
14944         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14945         * dlfcn/modstatic3.c: New file.
14946         * dlfcn/tststatic3.c: New file.
14947         * dlfcn/tststatic4.c: New file.
14948         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14949         (tests-static): Likewise.
14950         (modules-names): Add modstatic3.
14951         (tststatic3-ENV, tststatic4-ENV): New variables.
14952         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14953         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14954
14955 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14956
14957         * configure.in (CC): Require GCC version 4.4 or later.
14958         * configure: Regenerated.
14959         * manual/install.texi (Tools for Compilation): Update GCC version
14960         requirement.
14961         * INSTALL: Regenerated.
14962
14963 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14964
14965         [BZ #15674]
14966         * string/test-memcmp.c (check2): New.
14967         (main): Call check2.
14968
14969         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14970
14971 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14972
14973         [BZ #15022]
14974         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14975         over to...
14976         (dl_open_worker) [!SHARED]: ... here.
14977
14978 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14979
14980         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14981
14982 2013-06-25  Richard Henderson  <rth@redhat.com>
14983
14984         * locale/programs/locarchive.c: Include <libc-internal.h>
14985
14986 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14987
14988         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14989         trailing whitespace removed.
14990
14991 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14992
14993         [BZ #10283]
14994         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14995         * locale/programs/locarchive.c: Include libc-mmap.h.
14996         (prepare_address_space): Take two new outputs (the mmap base and len).
14997         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14998         values.
14999         (create_archive): Declare new mmap base and len values for
15000         prepare_address_space, and store the result in ah.
15001         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15002         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15003         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15004         Declare new mmap base and len values for
15005         prepare_address_space, and store the result in new_ah.
15006         (open_archive): Declare new mmap base and len values for
15007         prepare_address_space, and store the result in ah.
15008         (close_archive): If ah->mmap_base is not NULL, use that and
15009         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15010         * sysdeps/generic/libc-mmap.h: New file.
15011
15012 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15013
15014         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15015         (ALIGN_UP): Likewise.
15016         (PTR_ALIGN_DOWN): Likewise.
15017         (PTR_ALIGN_UP): Likewise.
15018
15019 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15020
15021         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15022         entry mapped to PPC_PLATFORM_POWER8.
15023         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15024         POWER8.
15025         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15026         (_dl_string_platform): Add case for exporting platform position for
15027         POWER8.
15028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15029         search path to sysdeps/powerpc/powerpc32/power8 directory.
15030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15031         search path to sysdeps/powerpc/powerpc64/power8 directory.
15032         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15033         power7 directories.
15034         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15035         power7 directories.
15036
15037 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15038
15039         * INSTALL: Regenerate.
15040
15041         * nscd/connections.c (nscd_init): Fix comment.
15042
15043 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15044
15045         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15046
15047         [BZ #15667]
15048         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15049         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15050
15051 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15052
15053         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15054         DL_DST_REQ_STATIC.
15055         (DL_DST_REQ_STATIC): Remove macro.
15056
15057 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15058
15059         [BZ #7006]
15060         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15061         with a shift of 0 bits.
15062
15063 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15064
15065         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15066         $(tststatic-ENV).
15067
15068 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15069
15070         [BZ #15655]
15071         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15072
15073 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15074
15075         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15076         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15077         accepts -fno-tree-loop-distribute-patterns.
15078         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15079         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15080         recursive call.
15081         * string/memset.c (memset): Likewise.
15082         * string/test-memmove.c (simple_memmove): Disable loop transformation
15083         to library calls.
15084         * string/test-memset.c (simple_memset): Likewise.
15085         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15086         * benchtests/bench-memset.c (simple_memset): Likewise.
15087         * configure: Regenerated.
15088
15089 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15090
15091         * math/test-misc.c (main): Ignore fesetround failure when failures
15092         of subsequent rounding tests would be ignored.
15093
15094         [BZ #15654]
15095         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15096         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15097         * math/fegetenv.c (__fegetenv): Return 0.
15098         * math/fegetexcept.c (fegetexcept): Return 0.
15099         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15100         FE_TONEAREST.
15101         * math/feholdexcpt.c (feholdexcept): Return 0.
15102         * math/fesetenv.c (__fesetenv): Return 0.
15103         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15104         argument FE_TONEAREST.
15105         * math/feupdateenv.c (__feupdateenv): Return 0.
15106         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15107
15108 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15109
15110         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15111         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15112         ($(objpfx)rtld-%.os rules): Use them.
15113
15114 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15115
15116         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15117         fields.
15118
15119 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15120
15121         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15122         length of target pattern, then descending length of dependency pattern.
15123         * configure.in (AWK): Require gawk 3.1.2 or newer.
15124         * manual/install.texi (Tools for Compilation): Say that we do.
15125         * configure: Regenerated.
15126
15127         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15128         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15129         * scripts/sysd-rules.awk: ... this new script.
15130         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15131         than a glob-style pattern.
15132
15133 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15134
15135         * math/test-misc.c (main): Do not treat incorrectly rounded
15136         conversions as failure unless ROUNDING_TESTS passes.
15137
15138 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15139
15140         [BZ #15631]
15141         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15142         restore exception state around main square root computation, then
15143         check for inexactness explicitly.
15144
15145         * math/libm-test.inc (fma_test_data): Add another test.
15146
15147 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15148
15149         * manual/threads.texi (Non-POSIX Extensions): New document
15150         node.  Document pthread_getattr_default_np and
15151         pthread_setattr_default_np.
15152
15153         * Versions.def (libpthread): Add GLIBC_2.18.
15154         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15156         Likewise.
15157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15158         Likewise.
15159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15160         Likewise.
15161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15162         Likewise.
15163         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15164         Likewise.
15165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15166         Likewise.
15167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15168         Likewise.
15169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15170         Likewise.
15171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15172         Likewise.
15173
15174 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15175
15176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15177         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15178
15179 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15180             H.J. Lu  <hjl.tools@gmail.com>
15181
15182         [BZ #15627]
15183         * sysdeps/x86_64/rtld-memset.c: Remove file.
15184         * sysdeps/x86_64/rtld-memset.S: New file.
15185
15186 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15187
15188         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15189         (test_in_one_mode): Take arguments for whether the rounding mode
15190         is supported for each floating-point type.
15191         (do_test): Pass new arguments to test_in_one_mode using
15192         ROUNDING_TESTS.
15193
15194 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15195
15196         * posix/tst-waitid.c (do_test): Distinguish different instances of
15197         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15198         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15199         before entering the kernel for waitpid.
15200
15201 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15202
15203         * NEWS: Fix note on clock function precision.  Text by Roland
15204         McGrath.
15205
15206 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15207
15208         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15209         it into place only when and if the sanity check passes.
15210
15211 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15212
15213         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15214         output for whether conversion result is exact.  Take argument
15215         indicating whether type is IBM long double.
15216         (round_for_all): Change need_exact field to ibm_ld.
15217         * stdlib/tst-strtod-round.c (struct exactness): New type.
15218         (struct test): Change bool ld_ok field to struct exactness exact.
15219         (TEST): Update all definitions for change to field.
15220         (tests): Regenerate array contents.
15221         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15222         field value.  Check for IBM long double here.
15223         (do_test): Update calls to test_in_one_mode.
15224
15225 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15226
15227         [BZ #12515]
15228         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15229         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15230
15231 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15232
15233         [BZ #15605]
15234         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15235         generated by the compiler on loop optimizations.
15236         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15237         general definitions.
15238
15239 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15240
15241         * math/bug-nextafter.c: Include <math-tests.h>.
15242         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15243         the relevant type.
15244         * math/bug-nexttoward.c: Include <math-tests.h>.
15245         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15246         the relevant type.
15247         * math/test-misc.c: Include <math-tests.h>.
15248         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15249         the relevant type.
15250
15251 2013-06-12  Andreas Jaeger  <aj@suse.de>
15252
15253         * po/ia.po: Update Interlingua translation from translation
15254         project.
15255
15256 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15257
15258         * include/fenv.h: Include stdbool.h.
15259         (struct rm_ctx): New structure.
15260         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15261         Define macro.
15262         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15263         (SET_RESTORE_ROUNDF): Likewise.
15264         (SET_RESTORE_ROUNDL): Likewise.
15265         (SET_RESTORE_ROUND_NOEX): Likewise.
15266         (SET_RESTORE_ROUND_NOEXF): Likewise.
15267         (SET_RESTORE_ROUND_NOEXL): Likewise.
15268         (SET_RESTORE_ROUND_53BIT): Likewise.
15269         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15270         (libc_feresetround_noexf_ctx): Likewise.
15271         (libc_feresetround_noexl_ctx): Likewise.
15272         (libc_feholdsetround_53bit_ctx): Likewise.
15273         (libc_feresetround_53bit_ctx): Likewise.
15274         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15275         (libc_feholdexcept_setround_sse_ctx): New function.
15276         (libc_fesetenv_sse_ctx): Likewise.
15277         (libc_feupdateenv_sse_ctx): Likewise.
15278         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15279         (libc_feholdexcept_setround_387_ctx): Likewise.
15280         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15281         (libc_feholdsetround_387_prec_ctx): Likewise.
15282         (libc_feholdsetround_387_ctx): Likewise.
15283         (libc_feholdsetround_387_53bit_ctx): Likewise.
15284         (libc_feholdsetround_sse_ctx): Likewise.
15285         (libc_feresetround_sse_ctx): Likewise.
15286         (libc_feresetround_387_ctx): Likewise.
15287         (libc_feupdateenv_387_ctx): Likewise.
15288         (libc_feholdexcept_setroundf_ctx): Define macro.
15289         (libc_fesetenvf_ctx): Likewise.
15290         (libc_feupdateenvf_ctx): Likewise.
15291         (libc_feholdsetroundf_ctx): Likewise.
15292         (libc_feresetroundf_ctx): Likewise.
15293         (libc_feholdexcept_setround_ctx): Likewise.
15294         (libc_fesetenv_ctx): Likewise.
15295         (libc_feupdateenv_ctx): Likewise.
15296         (libc_feholdsetround_ctx): Likewise.
15297         (libc_feresetround_ctx): Likewise.
15298         (libc_feholdexcept_setroundl_ctx): Likewise.
15299         (libc_feupdateenvl_ctx): Likewise.
15300         (libc_feholdsetroundl_ctx): Likewise.
15301         (libc_feresetroundl_ctx): Likewise.
15302         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15303         (libc_feresetround_53bit_ctx): Likewise.
15304
15305 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15306
15307         * locale/iso-639.def: Convert to UTF-8.
15308
15309 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15310
15311         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15312         (EXCEPTION_TESTS_double): Likewise.
15313         (EXCEPTION_TESTS_long_double): Likewise.
15314         (EXCEPTION_TESTS): Likewise.
15315         * math/libm-test.inc (test_exceptions): Only test exceptions if
15316         EXCEPTION_TESTS (FLOAT).
15317
15318 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15319
15320         * benchtests/Makefile (string-bench): Add strcpy_chk and
15321         stpcpy_chk.
15322         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15323         * benchtests/bench-stpcpy_chk.c: New file.
15324         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15325         * benchtests/bench-strcpy_chk.c: New file.
15326         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15327         code.
15328         (do_test): Likewise.
15329
15330 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15331
15332         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15333         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15334         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15335         with tabs where appropriate.
15336         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15337         dl-procinfo.h.
15338         [PPC_PLATFORM_PPC440]: Likewise.
15339         [PPC_PLATFORM_PPC464]: Likewise.
15340         [PPC_PLATFORM_PPC476]: Likewise.
15341         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15342         ppc464, and ppc476 platform strings merging from ports/
15343         dl-procinfo.h.
15344
15345 2013-06-11  Andreas Schwab  <schwab@suse.de>
15346
15347         [BZ #14991]
15348         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15349         (from_ucs4_idx): Regenerate.
15350         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15351         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15352         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15353         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15354         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15355         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15356         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15357         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15358         from FROM_LOOP and TO_LOOP specific macros.
15359         (BODY): Handle combining characters.
15360         * iconvdata/BIG5HKSCS.irreversible: Update.
15361         * iconvdata/BIG5HKSCS.precomposed: New file.
15362         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15363         characters.
15364         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15365
15366 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15367
15368         * include/sys/time.h: Fix indentation and add copyright header.
15369
15370         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15371         (do_test): Likewise.
15372         * string/test-memchr.c (do_one_test): Likewise.
15373         (do_test): Likewise.
15374         * string/test-memcmp.c (do_one_test): Likewise.
15375         (do_test): Likewise.
15376         * string/test-memcpy.c (do_one_test): Likewise.
15377         (do_test): Likewise.
15378         * string/test-memmem.c (do_one_test): Likewise.
15379         (do_test): Likewise.
15380         (do_random_tests): Likewise.
15381         * string/test-memmove.c (do_one_test): Likewise.
15382         (do_test): Likewise.
15383         * string/test-memset.c (do_one_test): Likewise.
15384         (do_test): Likewise.
15385         * string/test-rawmemchr.c (do_one_test): Likewise.
15386         (do_test): Likewise.
15387         * string/test-strcasecmp.c (do_one_test): Likewise.
15388         (do_test): Likewise.
15389         * string/test-strcasestr.c (do_one_test): Likewise.
15390         (do_test): Likewise.
15391         * string/test-strcat.c (do_one_test): Likewise.
15392         (do_test): Likewise.
15393         * string/test-strchr.c (do_one_test): Likewise.
15394         (do_test): Likewise.
15395         * string/test-strcmp.c (do_one_test): Likewise.
15396         (do_test): Likewise.
15397         * string/test-strcpy.c (do_one_test): Likewise.
15398         (do_test): Likewise.
15399         * string/test-string.h: Likewise.
15400         (test_init): Likewise.
15401         * string/test-strlen.c (do_one_test): Likewise.
15402         (do_test): Likewise.
15403         * string/test-strncasecmp.c (do_one_test): Likewise.
15404         (do_test): Likewise.
15405         * string/test-strncat.c (do_one_test): Likewise.
15406         (do_test): Likewise.
15407         * string/test-strncmp.c (do_one_test): Likewise.
15408         (do_test_limit): Likewise.
15409         (do_test): Likewise.
15410         * string/test-strncpy.c (do_one_test): Likewise.
15411         (do_test): Likewise.
15412         * string/test-strnlen.c (do_one_test): Likewise.
15413         (do_test): Likewise.
15414         * string/test-strpbrk.c (do_one_test): Likewise.
15415         (do_test): Likewise.
15416         * string/test-strrchr.c (do_one_test): Likewise.
15417         (do_test): Likewise.
15418         * string/test-strspn.c (do_one_test): Likewise.
15419         (do_test): Likewise.
15420         * string/test-strstr.c (do_one_test): Likewise.
15421         (do_test): Likewise.
15422
15423         * benchtests/Makefile (string-bench): Add string benchmarks.
15424         * benchtests/bench-bcopy-ifunc.c: New file.
15425         * benchtests/bench-bcopy.c: New file.
15426         * benchtests/bench-bzero-ifunc.c: New file.
15427         * benchtests/bench-bzero.c: New file.
15428         * benchtests/bench-memccpy-ifunc.c: New file.
15429         * benchtests/bench-memccpy.c: New file.
15430         * benchtests/bench-memchr-ifunc.c: New file.
15431         * benchtests/bench-memchr.c: New file.
15432         * benchtests/bench-memcmp-ifunc.c: New file.
15433         * benchtests/bench-memcmp.c: New file.
15434         * benchtests/bench-memmem-ifunc.c: New file.
15435         * benchtests/bench-memmem.c: New file.
15436         * benchtests/bench-memmove-ifunc.c: New file.
15437         * benchtests/bench-memmove.c: New file.
15438         * benchtests/bench-mempcpy-ifunc.c: New file.
15439         * benchtests/bench-mempcpy.c: New file.
15440         * benchtests/bench-memset-ifunc.c: New file.
15441         * benchtests/bench-memset.c: New file.
15442         * benchtests/bench-rawmemchr-ifunc.c: New file.
15443         * benchtests/bench-rawmemchr.c: New file.
15444         * benchtests/bench-stpcpy-ifunc.c: New file.
15445         * benchtests/bench-stpcpy.c: New file.
15446         * benchtests/bench-stpncpy-ifunc.c: New file.
15447         * benchtests/bench-stpncpy.c: New file.
15448         * benchtests/bench-strcasecmp-ifunc.c: New file.
15449         * benchtests/bench-strcasecmp.c: New file.
15450         * benchtests/bench-strcasestr-ifunc.c: New file.
15451         * benchtests/bench-strcasestr.c: New file.
15452         * benchtests/bench-strcat-ifunc.c: New file.
15453         * benchtests/bench-strcat.c: New file.
15454         * benchtests/bench-strchr-ifunc.c: New file.
15455         * benchtests/bench-strchr.c: New file.
15456         * benchtests/bench-strchrnul-ifunc.c: New file.
15457         * benchtests/bench-strchrnul.c: New file.
15458         * benchtests/bench-strcmp-ifunc.c: New file.
15459         * benchtests/bench-strcmp.c: New file.
15460         * benchtests/bench-strcpy-ifunc.c: New file.
15461         * benchtests/bench-strcpy.c: New file.
15462         * benchtests/bench-strcspn-ifunc.c: New file.
15463         * benchtests/bench-strcspn.c: New file.
15464         * benchtests/bench-strlen-ifunc.c: New file.
15465         * benchtests/bench-strlen.c: New file.
15466         * benchtests/bench-strncasecmp-ifunc.c: New file.
15467         * benchtests/bench-strncasecmp.c: New file.
15468         * benchtests/bench-strncat-ifunc.c: New file.
15469         * benchtests/bench-strncat.c: New file.
15470         * benchtests/bench-strncmp-ifunc.c: New file.
15471         * benchtests/bench-strncmp.c: New file.
15472         * benchtests/bench-strncpy-ifunc.c: New file.
15473         * benchtests/bench-strncpy.c: New file.
15474         * benchtests/bench-strnlen-ifunc.c: New file.
15475         * benchtests/bench-strnlen.c: New file.
15476         * benchtests/bench-strpbrk-ifunc.c: New file.
15477         * benchtests/bench-strpbrk.c: New file.
15478         * benchtests/bench-strrchr-ifunc.c: New file.
15479         * benchtests/bench-strrchr.c: New file.
15480         * benchtests/bench-strspn-ifunc.c: New file.
15481         * benchtests/bench-strspn.c: New file.
15482         * benchtests/bench-strstr-ifunc.c: New file.
15483         * benchtests/bench-strstr.c: New file.
15484
15485         * benchtests/Makefile: Disable parallel execution of targets.
15486         (string-bench): Add memcpy.
15487         (benchset): New variable to store a list of benchmark sets.
15488         (bench-func): Renamed from bench.
15489         (bench-set): New target.
15490         (bench): Depend on bench-func and bench-set.
15491         * benchtests/README: Add section on benchmark sets.
15492         * benchtests/bench-memcpy-ifunc.c: New file.
15493         * benchtests/bench-memcpy.c: New file.
15494         * benchtests/bench-string.h: New file.
15495
15496 2013-06-11  Andreas Schwab  <schwab@suse.de>
15497
15498         [BZ #15577]
15499         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15500         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15501         values in the triple.
15502         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15503         terminator in the group key.
15504
15505 2013-06-11  Andreas Jaeger  <aj@suse.de>
15506
15507         * po/zh_TW.po: Update Chinese (traditional) translation from
15508         translation project.
15509
15510 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15511
15512         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15513         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15514         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15515         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15516         (clock_getcpuclockid): Likewise.
15517         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15518         Add weak_alias and libc_hidden_def.
15519         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15520         * rt/clock_gettime.c (clock_gettime): Rename to
15521         __clock_gettime.  Add weak_alias and libc_hidden_def.
15522         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15523         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15524         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15525         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15526         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15527         Likewise.
15528         * rt/clock_settime.c (clock_settime): Rename to
15529         __clock_settime.  Add weak_alias and libc_hidden_def.
15530         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15531
15532 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15533
15534         * mach/err_boot.sub: Remove trailing whitespace.
15535         * mach/err_ipc.sub: Likewise.
15536         * mach/err_mach.sub: Likewise.
15537
15538         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15539         (ROUNDING_TESTS_double): Likewise.
15540         (ROUNDING_TESTS_long_double): Likewise.
15541         (ROUNDING_TESTS): Likewise.
15542         * math/libm-test.inc: Include <math-tests.h>.
15543         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15544         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15545         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15546         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15547
15548 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15549
15550         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15551         of assigning.
15552
15553 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15554
15555         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15556         otherwise empty TRANS lines.
15557         * sysdeps/gnu/errlist.c: Regenerated.
15558
15559         * catgets/gencat.c (error_print): Use (void) in function
15560         definition.
15561         * crypt/crypt_util.c (__init_des): Likewise.
15562         * crypt/speeds.c (Stop): Likewise.
15563         (main): Likewise.
15564         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15565         * inet/ruserpass.c (token): Likewise.
15566         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15567         * intl/localealias.c (extend_alias_table): Likewise.
15568         * intl/plural-exp.c (init_germanic_plural): Likewise.
15569         * libio/fcloseall.c (__fcloseall): Likewise.
15570         * libio/genops.c (_IO_flush_all): Likewise.
15571         (_IO_flush_all_linebuffered): Likewise.
15572         (_IO_cleanup): Likewise.
15573         (_IO_iter_begin): Likewise.
15574         (_IO_iter_end): Likewise.
15575         (_IO_list_lock): Likewise.
15576         (_IO_list_unlock): Likewise.
15577         (_IO_list_resetlock): Likewise.
15578         * libio/getchar.c (getchar): Likewise.
15579         * libio/getchar_u.c (getchar_unlocked): Likewise.
15580         * libio/getwchar.c (getwchar): Likewise.
15581         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15582         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15583         * login/getpt.c (__getpt): Likewise.
15584         * login/tst-utmp.c (main): Likewise.
15585         * malloc/hooks.c (__malloc_check_init): Likewise.
15586         * malloc/malloc.c (__malloc_stats): Likewise.
15587         * malloc/mtrace.c (tr_break): Likewise.
15588         (mtrace): Likewise.
15589         (muntrace): Likewise.
15590         * misc/fstab.c (endfsent): Likewise.
15591         * misc/getclktck.c (__getclktck): Likewise.
15592         * misc/getdtsz.c (__getdtablesize): Likewise.
15593         * misc/gethostid.c (gethostid): Likewise.
15594         * misc/getpagesize.c (__getpagesize): Likewise.
15595         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15596         (__get_nprocs): Likewise.
15597         (__get_phys_pages): Likewise.
15598         (__get_avphys_pages): Likewise.
15599         * misc/getttyent.c (getttyent): Likewise.
15600         (setttyent): Likewise.
15601         (endttyent): Likewise.
15602         * misc/getusershell.c (getusershell): Likewise.
15603         (endusershell): Likewise.
15604         (setusershell): Likewise.
15605         (initshells): Likewise.
15606         * misc/hsearch.c (__hdestroy): Likewise.
15607         * misc/sync.c (sync): Likewise.
15608         * misc/syslog.c (closelog_internal): Likewise.
15609         (closelog): Likewise.
15610         * misc/ttyslot.c (ttyslot): Likewise.
15611         * misc/vhangup.c (vhangup): Likewise.
15612         * posix/fork.c (__fork): Likewise.
15613         * posix/getegid.c (__getegid): Likewise.
15614         * posix/geteuid.c (__geteuid): Likewise.
15615         * posix/getgid.c (__getgid): Likewise.
15616         * posix/getpid.c (__getpid): Likewise.
15617         * posix/getppid.c (__getppid): Likewise.
15618         * posix/getuid.c (__getuid): Likewise.
15619         * posix/pause.c (pause): Likewise.
15620         * posix/setpgrp.c (setpgrp): Likewise.
15621         * posix/setsid.c (__setsid): Likewise.
15622         * posix/test-vfork.c (noop): Likewise.
15623         * resolv/gethnamaddr.c (_endhtent): Likewise.
15624         (_gethtent): Likewise.
15625         (ht_endhostent): Likewise.
15626         (gethostent): Likewise.
15627         (dns_service): Likewise.
15628         * stdlib/drand48.c (drand48): Likewise.
15629         * stdlib/lrand48.c (lrand48): Likewise.
15630         * stdlib/mrand48.c (mrand48): Likewise.
15631         * stdlib/rand.c (rand): Likewise.
15632         * stdlib/random.c (__random): Likewise.
15633         * stdlib/setenv.c (clearenv): Likewise.
15634         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15635         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15636         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15637         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15638         (__get_nprocs): Likewise.
15639         (__get_phys_pages): Likewise.
15640         (__get_avphys_pages): Likewise.
15641         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15642         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15643         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15644         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15645         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15646         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15647         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15648         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15649         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15650         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15651         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15652         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15653         * sysdeps/posix/clock.c (clock): Likewise.
15654         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15655         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15656         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15657         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15658         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15660         (__get_nprocs_conf): Likewise.
15661         (__get_phys_pages): Likewise.
15662         (__get_avphys_pages): Likewise.
15663         * time/clock.c (clock): Likewise.
15664         * time/tzset.c (__tzname_max): Likewise.
15665
15666 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15667
15668         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15669         (__bswap_32): Do not use "register".
15670         * crypt/crypt.c (_ufc_doit_r): Likewise.
15671         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15672         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15673         * gmon/gmon.c (__monstartup): Likewise.
15674         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15675         * hurd/hurdmalloc.c (more_memory): Likewise.
15676         (malloc): Likewise.
15677         (free): Likewise.
15678         (realloc): Likewise.
15679         (malloc_fork_prepare): Likewise.
15680         (malloc_fork_parent): Likewise.
15681         (malloc_fork_child): Likewise.
15682         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15683         (_svcauth_des): Likewise.
15684         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15685         * inet/inet_net.c (inet_network): Likewise.
15686         * inet/inet_netof.c (inet_netof): Likewise.
15687         * inet/rcmd.c (__validuser2_sa): Likewise.
15688         * io/fts.c (fts_open): Likewise.
15689         (fts_load): Likewise.
15690         (fts_close): Likewise.
15691         (fts_read): Likewise.
15692         (fts_children): Likewise.
15693         (fts_build): Likewise.
15694         (fts_stat): Likewise.
15695         (fts_sort): Likewise.
15696         (fts_alloc): Likewise.
15697         (fts_lfree): Likewise.
15698         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15699         (_IO_file_xsgetn): Likewise.
15700         (_IO_file_xsgetn_mmap): Likewise.
15701         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15702         (_IO_cookie_write): Likewise.
15703         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15704         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15705         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15706         * malloc/obstack.c (_obstack_begin): Likewise.
15707         (_obstack_begin_1): Likewise.
15708         (_obstack_newchunk): Likewise.
15709         (_obstack_allocated_p): Likewise.
15710         (obstack_free): Likewise.
15711         (_obstack_memory_used): Likewise.
15712         * misc/getttyent.c (getttynam): Likewise.
15713         (getttyent): Likewise.
15714         (skip): Likewise.
15715         (value): Likewise.
15716         * misc/getusershell.c (initshells): Likewise.
15717         * misc/syslog.c (__vsyslog_chk): Likewise.
15718         * misc/ttyslot.c (ttyslot): Likewise.
15719         * nis/nis_hash.c (__nis_hash): Likewise.
15720         * posix/fnmatch_loop.c (FCT): Likewise.
15721         * posix/getconf.c (print_all): Likewise.
15722         (main): Likewise.
15723         * posix/getopt.c (exchange): Likewise.
15724         * posix/glob.c (globfree): Likewise.
15725         (prefix_array): Likewise.
15726         (__glob_pattern_type): Likewise.
15727         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15728         (NS_GET32): Likewise.
15729         (NS_PUT16): Likewise.
15730         (NS_PUT32): Likewise.
15731         * resolv/gethnamaddr.c (getanswer): Likewise.
15732         (gethostbyname2): Likewise.
15733         (gethostbyaddr): Likewise.
15734         (_gethtent): Likewise.
15735         (_gethtbyname2): Likewise.
15736         (_gethtbyaddr): Likewise.
15737         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15738         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15739         * resolv/res_init.c (__res_vinit): Likewise.
15740         (net_mask): Likewise.
15741         * resolv/res_mkquery.c (outchar): Likewise.
15742         (PRINT): Likewise.
15743         * stdio-common/printf_fp.c (outchar): Likewise.
15744         (PRINT): Likewise.
15745         * stdio-common/printf_fphex.c (outchar): Likewise.
15746         (PRINT): Likewise.
15747         * stdio-common/printf_size.c (outchar): Likewise.
15748         (PRINT): Likewise.
15749         * stdio-common/test_rdwr.c (main): Likewise.
15750         * stdio-common/tfformat.c (matches): Likewise.
15751         * stdio-common/vfprintf.c (outchar): Likewise.
15752         (printf_unknown): Likewise.
15753         (buffered_vfprintf): Likewise.
15754         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15755         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15756         (ReadFile): Likewise.
15757         * stdlib/qsort.c (SWAP): Likewise.
15758         (_quicksort): Likewise.
15759         * stdlib/setenv.c (__add_to_environ): Likewise.
15760         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15761         * stdlib/strtol_l.c (__strtol_l): Likewise.
15762         * stdlib/tst-strtod.c (main): Likewise.
15763         * stdlib/tst-strtol.c (main): Likewise.
15764         * stdlib/tst-strtoll.c (main): Likewise.
15765         * string/bits/string2.h (__strcmp_cc): Likewise.
15766         (__strcmp_cg): Likewise.
15767         (__strcspn_c1): Likewise.
15768         (__strcspn_c2): Likewise.
15769         (__strcspn_c3): Likewise.
15770         (__strspn_c1): Likewise.
15771         (__strspn_c2): Likewise.
15772         (__strspn_c3): Likewise.
15773         (__strsep_1c): Likewise.
15774         (__strsep_2c): Likewise.
15775         (__strsep_3c): Likewise.
15776         * string/memccpy.c (__memccpy): Likewise.
15777         * string/stpcpy.c (__stpcpy): Likewise.
15778         * string/strcmp.c (strcmp): Likewise.
15779         * string/strrchr.c (strrchr): Likewise.
15780         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15781         Likewise.
15782         * sysdeps/mach/hurd/getcwd.c
15783         (_hurd_canonicalize_directory_name_internal): Likewise.
15784         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15785         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15786         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15787         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15788         Likewise, in both definitions.
15789         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15790         definitions.
15791         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15792         64] (__bswap_64): Likewise.
15793         * time/test_time.c (main): Likewise.
15794         * time/tzfile.c (__tzfile_read): Likewise.
15795         (__tzfile_compute): Likewise.
15796         * time/tzset.c (__tzset_parse_tz): Likewise.
15797         (tzset_internal): Likewise.
15798         (compute_change): Likewise.
15799         * wcsmbs/wcscat.c (__wcscat): Likewise.
15800         * wcsmbs/wcschr.c (wcschr): Likewise.
15801         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15802         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15803         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15804         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15805         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15806         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15807         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15808         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15809         * wcsmbs/wmemset.c (wmemset): Likewise.
15810
15811 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15812
15813         * scripts/config.guess: Update to version 2013-05-16.
15814         * scripts/config.sub: Update to version 2013-04-24.
15815         * scripts/install-sh: Update to version 2011-11-20.07.
15816         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15817         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15818
15819 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15820
15821         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15822         * elf/sln.c: Likewise.
15823         * hurd/hurd/ioctl.h: Likewise.
15824         * hurd/hurdmalloc.c: Likewise.
15825         * hurd/xattr.c: Likewise.
15826         * include/shlib-compat.h: Likewise.
15827         * inet/ruserpass.c: Likewise.
15828         * libio/iofgets_u.c: Likewise.
15829         * libio/iofgetws_u.c: Likewise.
15830         * locale/programs/ld-identification.c: Likewise.
15831         * locale/programs/ld-time.c: Likewise.
15832         * mach/msg-destroy.c: Likewise.
15833         * nss/nss_files/files-netgrp.c: Likewise.
15834         * resolv/res_data.c: Likewise.
15835         * soft-fp/op-1.h: Likewise.
15836         * soft-fp/op-2.h: Likewise.
15837         * soft-fp/op-4.h: Likewise.
15838         * soft-fp/op-common.h: Likewise.
15839         * stdio-common/printf_fphex.c: Likewise.
15840         * stdlib/strtod_l.c: Likewise.
15841         * sunrpc/rpc/clnt.h: Likewise.
15842         * sysdeps/generic/framestate.c: Likewise.
15843         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15844         * sysdeps/i386/bsd-setjmp.S: Likewise.
15845         * sysdeps/i386/__longjmp.S: Likewise.
15846         * sysdeps/i386/setjmp.S: Likewise.
15847         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15848         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15850         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15852         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15856         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15857         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15858         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15859         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15860         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15861         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15862         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15863         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15864         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15865         * sysdeps/ieee754/support.c: Likewise.
15866         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15867         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15868         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15869         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15870         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15871         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15872         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15873         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15874         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15875         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15876         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15877         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15878         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15879         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15880         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15881         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15882         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15884
15885 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15886
15887         * posix/transbug.c: Remove executable mode.
15888
15889 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15890
15891         * crypt/speeds.c: Remove trailing whitespace.
15892         * dlfcn/default.c: Likewise.
15893         * elf/ifuncdep2.c: Likewise.
15894         * elf/ifuncmain1.c: Likewise.
15895         * elf/ifuncmain1vis.c: Likewise.
15896         * elf/testobj.h: Likewise.
15897         * elf/tst-stackguard1.c: Likewise.
15898         * gmon/sys/gmon.h: Likewise.
15899         * hurd/hurdmsg.c: Likewise.
15900         * hurd/new-fd.c: Likewise.
15901         * hurd/ports-get.c: Likewise.
15902         * iconvdata/ibm1008_420.c: Likewise.
15903         * inet/tst-getni1.c: Likewise.
15904         * inet/tst-getni2.c: Likewise.
15905         * libio/ioungetc.c: Likewise.
15906         * libio/wfiledoalloc.c: Likewise.
15907         * manual/libm-err-tab.pl: Likewise.
15908         * math/w_dremf.c: Likewise.
15909         * misc/ftruncate.c: Likewise.
15910         * posix/bug-glob2.c: Likewise.
15911         * posix/tst-pcre.c: Likewise.
15912         * posix/wait4.c: Likewise.
15913         * resolv/README: Likewise.
15914         * resolv/res_debug.h: Likewise.
15915         * resolv/tst-inet_ntop.c: Likewise.
15916         * setjmp/bug269-setjmp.c: Likewise.
15917         * soft-fp/extended.h: Likewise.
15918         * soft-fp/op-1.h: Likewise.
15919         * soft-fp/op-2.h: Likewise.
15920         * soft-fp/op-4.h: Likewise.
15921         * soft-fp/op-8.h: Likewise.
15922         * soft-fp/testit.c: Likewise.
15923         * stdio-common/bug16.c: Likewise.
15924         * stdlib/random.c: Likewise.
15925         * sunrpc/rpcsvc/rquota.x: Likewise.
15926         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15927         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15928         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15929         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15930         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15931         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15932         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15933         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15934         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15935         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15936         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15937         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15938         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15939         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15941         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15942         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15944         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15947         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15948         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15949         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15950         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15951         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15952         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15953         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15954         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15955         * sysdeps/ieee754/s_lib_version.c: Likewise.
15956         * sysdeps/mach/hurd/check_fds.c: Likewise.
15957         * sysdeps/mach/hurd/getsockname.c: Likewise.
15958         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15959         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15960         * sysdeps/powerpc/bits/link.h: Likewise.
15961         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15962         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15963         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15964         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15965         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15966         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15967         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15968         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15969         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15970         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15971         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15972         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15973         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15974         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15975         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15976         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15977         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15978         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15979         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15980         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15981         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15982         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15983         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15984         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15985         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15986         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15987         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15988         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15989         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15990         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15991         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15992         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15993         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15994         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15995         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15996         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15997         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15998         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15999         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16000         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16001         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16002         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16003         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16004         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16005         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16006         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16007         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16008         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16009         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16010         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16013         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16014         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16015         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16016         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16017         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16018         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16019         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16020         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16021         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16022         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16023         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16024         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16025         * sysdeps/powerpc/sysdep.h: Likewise.
16026         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16027         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16028         * sysdeps/sh/dl-trampoline.S: Likewise.
16029         * sysdeps/sh/memset.S: Likewise.
16030         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16031         * sysdeps/sh/strlen.S: Likewise.
16032         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16033         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16034         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16035         * sysdeps/sparc/sparc32/rem.S: Likewise.
16036         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16037         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16038         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16039         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16040         * sysdeps/sparc/sparc32/urem.S: Likewise.
16041         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16042         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16043         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16044         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16045         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16046         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16047         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16048         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16049         * sysdeps/unix/bsd/times.c: Likewise.
16050         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16051         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16055         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16056         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16057         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16058         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16059         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16060         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16061         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16062         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16063         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16064         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16065         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16066         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16067         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16068         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16069         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16070         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16071         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16072         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16073         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16074         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16075         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16076         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16077         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16078         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16079         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16080         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16081         * sysdeps/x86_64/strcspn.S: Likewise.
16082
16083 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16084
16085         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16086         generated file.  Regenerate properly from gen-translit.pl.
16087         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16088         locale/C-translit.h.
16089
16090 2013-06-05  Andreas Schwab  <schwab@suse.de>
16091
16092         [BZ #15100]
16093         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16094         week as 6 instead of -1.
16095         * time/tst-strptime.c (day_tests): Add test case.
16096
16097 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16098
16099         * sysdeps/generic/math_private.h
16100         (libc_feholdexcept_setround_53bit): Replace with
16101         libc_feholdsetround_53bit.
16102         (libc_feupdateenv_53bit): Replace with
16103         libc_feresetround_53bit.
16104         (SET_RESTORE_ROUND_53BIT): Adjust.
16105
16106 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16107
16108         * string/test-strchrnul.c: Add copyright header.
16109
16110         * posix/tst-getaddrinfo4.c: Increase test timeout.
16111
16112 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16113
16114         [BZ #15536]
16115         * math/libm-test.inc (MAX_EXP): Remove
16116         (MIN_EXP): Define.
16117         (ulp): Use MIN_EXP - MANT_DIG.
16118         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16119
16120 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16121
16122         * po/be.po: Revert last change.
16123         * po/zh_CN.po: Likewise.
16124         * po/header.pot: Likewise.
16125
16126 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16127
16128         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16129         link-libc-deps to empty as target-specific variable.
16130         * Makerules (link-libc-args): New variable.
16131         (libc-for-link): Likewise.
16132         (link-libc-deps): Likewise.
16133         (lib%.so): Depend on $(link-libc-deps).  Link with
16134         $(link-libc-args).
16135         (build-module): Link with $(link-libc-args).
16136         (build-module-asneeded): Likewise.
16137         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16138         list of objects.
16139         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16140         target-specific variable.
16141         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16142         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16143         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16144         libc.
16145         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16146         libc and ld.so.
16147         ($(objpfx)libpcprofile.so): Likewise.
16148         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16149         libc_nonshared.a.
16150         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16151         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16152         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16153         $(link-libc-deps).
16154         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16155         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16156         * login/Makefile ($(objpfx)libutil.so): Likewise.
16157         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16158         * math/Makefile ($(objpfx)libm.so): Likewise.
16159         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16160         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16161         variable instead of depending directly on libc.
16162         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16163         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16164         $(link-libc-deps).
16165         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16166         libc.
16167         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16168         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16169         ($(objpfx)libanl.so): Likewise.
16170         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16171         ld.so.
16172         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16173         $(link-libc-deps).
16174         * sysdeps/i386/fpu/Makefile: Remove file.
16175         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16176         ($(objpfx)libm.so): Remove dependency on ld.so.
16177
16178 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16179
16180         [BZ # 15553]
16181         * nis/yp_xdr.c (XDRMAXNAME): Define.
16182         (XDRMAXRECORD): Define.
16183         (xdr_domainname): Use XDRMAXNAME.
16184         (xdr_mapname): Likewise.
16185         (xdr_peername): Likewise.
16186         (xdr_keydat): Use XDRMAXRECORD.
16187         (xdr_valdat): Likewise.
16188
16189 2013-05-30  Jeff Law  <law@redhat.com>
16190
16191         [BZ #14256]
16192         * manual/errno.texi (ESTALE): Update to account for more than
16193         just NFS file systems.
16194         * sysdeps/gnu/errlist.c: Regenerated.
16195
16196 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16197
16198         [BZ #15465]
16199         * elf/Makefile (tests): Add tst-null-argv.
16200         (modules-names):  Add tst-null-argv-lib.
16201         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16202         (tst-null-argv-ENV): Set environment for tst-null-argv.
16203         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16204         (RTLD_PROGNAME): New macro.
16205         * elf/tst-null-argv.c: New test case.
16206         * elf/tst-null-argv-lib.c: Library for test case.
16207         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16208         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16209         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16210         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16211         * elf/dl-init.c (call_init): Likewise.
16212         (_dl_init): Likewise.
16213         * elf/dl-load.c (print_search_path): Likewise.
16214         (_dl_map_object): Likewise.
16215         * elf/dl-lookup.c (do_lookup_x): Likewise.
16216         (add_dependency): Likewise.
16217         (_dl_lookup_symbol_x): Likewise.
16218         (_dl_debug_bindings): Likewise.
16219         * elf/dl-open.c (_dl_show_scope): Likewise.
16220         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16221         * elf/dl-version.c (match_symbol): Likewise.
16222         (_dl_check_map_versions): Likewise.
16223         * elf/rtld.c (dl_main): Likewise.
16224         (print_unresolved): Use RTLD_PROGNAME.
16225         (print_missing_version): Likewise.
16226         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16227         (elf_machine_rela): Likewise.
16228         * sysdeps/powerpc/powerpc32/dl-machine.c
16229         (__process_machine_rela): Likewise.
16230         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16231         Likewise.
16232         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16233         Likewise.
16234         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16235         Likewise.
16236         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16237         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16238         Likewise.
16239         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16240         Likewise.
16241         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16242
16243 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16244
16245         * po/be.po: Add descriptive title.
16246         * po/zh_CN.po: Likewise.
16247         * po/header.pot: Likewise.
16248
16249 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16250
16251         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16252         error message.
16253         (enlarge_archive): Likewise.
16254
16255 2013-05-28  Ben North  <ben@redfrontdoor.org>
16256
16257         * manual/arith.texi (frexp): It is the magnitude of the return
16258         value which lies in [0.5, 1), not the return value itself.
16259
16260 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16261
16262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16263
16264 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16265
16266         * stdio-common/bug26.c (main): Correct fscanf template.
16267
16268         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16269         declare _dl_skip_args.
16270
16271         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16272         Don't declare.
16273
16274         * manual/platform.texi: Add missing @end deftypefun.
16275
16276 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16277
16278         [BZ #15529]
16279         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16280         bit of mantissa of 2^16382.
16281         * math/libm-test.inc (hypot_test_data): Add more tests.
16282
16283         * math/libm-test.inc: Add drem and pow10 to list of tested
16284         functions.
16285         (pow10_test): New function.
16286         (drem_test): Likewise.
16287         (drem_test_tonearest): Likewise.
16288         (drem_test_towardzero): Likewise.
16289         (drem_test_downward): Likewise.
16290         (drem_test_upward): Likewise.
16291         (main): Call the new functions.
16292
16293         * math/libm-test.inc (finite_test_data): Remove.
16294         (finite_test): Run tests from isfinite_test_data.
16295         (gamma_test_data): Remove.
16296         (gamma_test): Run tests from lgamma_test_data.
16297         * sysdeps/i386/fpu/libm-test-ulps: Update.
16298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16299
16300 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16301
16302         * manual/platform.texi: Add PowerPC PPR function set documentation.
16303         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16304         implementation.
16305
16306 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16307
16308         * math/libm-test.inc (MAX_EXP): Define.
16309         (ULPDIFF): Define.
16310         (ulp): New function.
16311         (check_float_internal): Use ULPDIFF.
16312         (cpow_test): Disable failing test.
16313         (check_ulp): Test ulp() implemetnation.
16314         (main): Call check_ulp before starting tests.
16315
16316 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16317
16318         * math/gen-libm-test.pl (generate_testfile): Do not handle
16319         START_DATA and END_DATA.
16320         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16321         END_DATA.
16322         (acos_tonearest_test_data): Likewise.
16323         (acos_towardzero_test_data): Likewise.
16324         (acos_downward_test_data): Likewise.
16325         (acos_upward_test_data): Likewise.
16326         (acosh_test_data): Likewise.
16327         (asin_test_data): Likewise.
16328         (asin_tonearest_test_data): Likewise.
16329         (asin_towardzero_test_data): Likewise.
16330         (asin_downward_test_data): Likewise.
16331         (asin_upward_test_data): Likewise.
16332         (asinh_test_data): Likewise.
16333         (atan_test_data): Likewise.
16334         (atanh_test_data): Likewise.
16335         (atan2_test_data): Likewise.
16336         (cabs_test_data): Likewise.
16337         (cacos_test_data): Likewise.
16338         (cacosh_test_data): Likewise.
16339         (carg_test_data): Likewise.
16340         (casin_test_data): Likewise.
16341         (casinh_test_data): Likewise.
16342         (catan_test_data): Likewise.
16343         (catanh_test_data): Likewise.
16344         (cbrt_test_data): Likewise.
16345         (ccos_test_data): Likewise.
16346         (ccosh_test_data): Likewise.
16347         (ceil_test_data): Likewise.
16348         (cexp_test_data): Likewise.
16349         (cimag_test_data): Likewise.
16350         (clog_test_data): Likewise.
16351         (clog10_test_data): Likewise.
16352         (conj_test_data): Likewise.
16353         (copysign_test_data): Likewise.
16354         (cos_test_data): Likewise.
16355         (cos_tonearest_test_data): Likewise.
16356         (cos_towardzero_test_data): Likewise.
16357         (cos_downward_test_data): Likewise.
16358         (cos_upward_test_data): Likewise.
16359         (cosh_test_data): Likewise.
16360         (cosh_tonearest_test_data): Likewise.
16361         (cosh_towardzero_test_data): Likewise.
16362         (cosh_downward_test_data): Likewise.
16363         (cosh_upward_test_data): Likewise.
16364         (cpow_test_data): Likewise.
16365         (cproj_test_data): Likewise.
16366         (creal_test_data): Likewise.
16367         (csin_test_data): Likewise.
16368         (csinh_test_data): Likewise.
16369         (csqrt_test_data): Likewise.
16370         (ctan_test_data): Likewise.
16371         (ctan_tonearest_test_data): Likewise.
16372         (ctan_towardzero_test_data): Likewise.
16373         (ctan_downward_test_data): Likewise.
16374         (ctan_upward_test_data): Likewise.
16375         (ctanh_test_data): Likewise.
16376         (ctanh_tonearest_test_data): Likewise.
16377         (ctanh_towardzero_test_data): Likewise.
16378         (ctanh_downward_test_data): Likewise.
16379         (ctanh_upward_test_data): Likewise.
16380         (erf_test_data): Likewise.
16381         (erfc_test_data): Likewise.
16382         (exp_test_data): Likewise.
16383         (exp_tonearest_test_data): Likewise.
16384         (exp_towardzero_test_data): Likewise.
16385         (exp_downward_test_data): Likewise.
16386         (exp_upward_test_data): Likewise.
16387         (exp10_test_data): Likewise.
16388         (exp2_test_data): Likewise.
16389         (expm1_test_data): Likewise.
16390         (fabs_test_data): Likewise.
16391         (fdim_test_data): Likewise.
16392         (finite_test_data): Likewise.
16393         (floor_test_data): Likewise.
16394         (fma_test_data): Likewise.
16395         (fma_towardzero_test_data): Likewise.
16396         (fma_downward_test_data): Likewise.
16397         (fma_upward_test_data): Likewise.
16398         (fmax_test_data): Likewise.
16399         (fmin_test_data): Likewise.
16400         (fmod_test_data): Likewise.
16401         (fpclassify_test_data): Likewise.
16402         (frexp_test_data): Likewise.
16403         (gamma_test_data): Likewise.
16404         (hypot_test_data): Likewise.
16405         (ilogb_test_data): Likewise.
16406         (isfinite_test_data): Likewise.
16407         (isgreater_test_data): Likewise.
16408         (isgreaterequal_test_data): Likewise.
16409         (isinf_test_data): Likewise.
16410         (isless_test_data): Likewise.
16411         (islessequal_test_data): Likewise.
16412         (islessgreater_test_data): Likewise.
16413         (isnan_test_data): Likewise.
16414         (isnormal_test_data): Likewise.
16415         (issignaling_test_data): Likewise.
16416         (isunordered_test_data): Likewise.
16417         (j0_test_data): Likewise.
16418         (j1_test_data): Likewise.
16419         (jn_test_data): Likewise.
16420         (ldexp_test_data): Likewise.
16421         (lgamma_test_data): Likewise.
16422         (lrint_test_data): Likewise.
16423         (lrint_tonearest_test_data): Likewise.
16424         (lrint_towardzero_test_data): Likewise.
16425         (lrint_downward_test_data): Likewise.
16426         (lrint_upward_test_data): Likewise.
16427         (llrint_test_data): Likewise.
16428         (llrint_tonearest_test_data): Likewise.
16429         (llrint_towardzero_test_data): Likewise.
16430         (llrint_downward_test_data): Likewise.
16431         (llrint_upward_test_data): Likewise.
16432         (log_test_data): Likewise.
16433         (log10_test_data): Likewise.
16434         (log1p_test_data): Likewise.
16435         (log2_test_data): Likewise.
16436         (logb_test_data): Likewise.
16437         (logb_downward_test_data): Likewise.
16438         (lround_test_data): Likewise.
16439         (llround_test_data): Likewise.
16440         (modf_test_data): Likewise.
16441         (nearbyint_test_data): Likewise.
16442         (nextafter_test_data): Likewise.
16443         (nexttoward_test_data): Likewise.
16444         (pow_test_data): Likewise.
16445         (pow_tonearest_test_data): Likewise.
16446         (pow_towardzero_test_data): Likewise.
16447         (pow_downward_test_data): Likewise.
16448         (pow_upward_test_data): Likewise.
16449         (remainder_test_data): Likewise.
16450         (remainder_tonearest_test_data): Likewise.
16451         (remainder_towardzero_test_data): Likewise.
16452         (remainder_downward_test_data): Likewise.
16453         (remainder_upward_test_data): Likewise.
16454         (remquo_test_data): Likewise.
16455         (rint_test_data): Likewise.
16456         (rint_tonearest_test_data): Likewise.
16457         (rint_towardzero_test_data): Likewise.
16458         (rint_downward_test_data): Likewise.
16459         (rint_upward_test_data): Likewise.
16460         (round_test_data): Likewise.
16461         (scalb_test_data): Likewise.
16462         (scalbn_test_data): Likewise.
16463         (scalbln_test_data): Likewise.
16464         (signbit_test_data): Likewise.
16465         (sin_test_data): Likewise.
16466         (sin_tonearest_test_data): Likewise.
16467         (sin_towardzero_test_data): Likewise.
16468         (sin_downward_test_data): Likewise.
16469         (sin_upward_test_data): Likewise.
16470         (sincos_test_data): Likewise.
16471         (sinh_test_data): Likewise.
16472         (sinh_tonearest_test_data): Likewise.
16473         (sinh_towardzero_test_data): Likewise.
16474         (sinh_downward_test_data): Likewise.
16475         (sinh_upward_test_data): Likewise.
16476         (sqrt_test_data): Likewise.
16477         (tan_test_data): Likewise.
16478         (tan_tonearest_test_data): Likewise.
16479         (tan_towardzero_test_data): Likewise.
16480         (tan_downward_test_data): Likewise.
16481         (tan_upward_test_data): Likewise.
16482         (tanh_test_data): Likewise.
16483         (tgamma_test_data): Likewise.
16484         (trunc_test_data): Likewise.
16485         (y0_test_data): Likewise.
16486         (y1_test_data): Likewise.
16487         (yn_test_data): Likewise.
16488         (significand_test_data): Likewise.
16489
16490         * math/gen-libm-test.pl (@functions): Remove variable.
16491         (generate_testfile): Don't handle START and END lines.
16492         * math/libm-test.inc (START): New macro.
16493         (END): Likewise.
16494         (END_COMPLEX): Likewise.
16495         (acos_test): Use END macro without arguments.
16496         (acos_test_tonearest): Likewise.
16497         (acos_test_towardzero): Likewise.
16498         (acos_test_downward): Likewise.
16499         (acos_test_upward): Likewise.
16500         (acosh_test): Likewise.
16501         (asin_test): Likewise.
16502         (asin_test_tonearest): Likewise.
16503         (asin_test_towardzero): Likewise.
16504         (asin_test_downward): Likewise.
16505         (asin_test_upward): Likewise.
16506         (asinh_test): Likewise.
16507         (atan_test): Likewise.
16508         (atanh_test): Likewise.
16509         (atan2_test): Likewise.
16510         (cabs_test): Likewise.
16511         (cacos_test): Use END_COMPLEX macro without arguments.
16512         (cacosh_test): Likewise.
16513         (carg_test): Use END macro without arguments.
16514         (casin_test): Use END_COMPLEX macro without arguments.
16515         (casinh_test): Likewise.
16516         (catan_test): Likewise.
16517         (catanh_test): Likewise.
16518         (cbrt_test): Use END macro without arguments.
16519         (ccos_test): Use END_COMPLEX macro without arguments.
16520         (ccosh_test): Likewise.
16521         (ceil_test): Use END macro without arguments.
16522         (cexp_test): Use END_COMPLEX macro without arguments.
16523         (cimag_test): Use END macro without arguments.
16524         (clog_test): Use END_COMPLEX macro without arguments.
16525         (clog10_test): Likewise.
16526         (conj_test): Likewise.
16527         (copysign_test): Use END macro without arguments.
16528         (cos_test): Likewise.
16529         (cos_test_tonearest): Likewise.
16530         (cos_test_towardzero): Likewise.
16531         (cos_test_downward): Likewise.
16532         (cos_test_upward): Likewise.
16533         (cosh_test): Likewise.
16534         (cosh_test_tonearest): Likewise.
16535         (cosh_test_towardzero): Likewise.
16536         (cosh_test_downward): Likewise.
16537         (cosh_test_upward): Likewise.
16538         (cpow_test): Use END_COMPLEX macro without arguments.
16539         (cproj_test): Likewise.
16540         (creal_test): Use END macro without arguments.
16541         (csin_test): Use END_COMPLEX macro without arguments.
16542         (csinh_test): Likewise.
16543         (csqrt_test): Likewise.
16544         (ctan_test): Likewise.
16545         (ctan_test_tonearest): Likewise.
16546         (ctan_test_towardzero): Likewise.
16547         (ctan_test_downward): Likewise.
16548         (ctan_test_upward): Likewise.
16549         (ctanh_test): Likewise.
16550         (ctanh_test_tonearest): Likewise.
16551         (ctanh_test_towardzero): Likewise.
16552         (ctanh_test_downward): Likewise.
16553         (ctanh_test_upward): Likewise.
16554         (erf_test): Use END macro without arguments.
16555         (erfc_test): Likewise.
16556         (exp_test): Likewise.
16557         (exp_test_tonearest): Likewise.
16558         (exp_test_towardzero): Likewise.
16559         (exp_test_downward): Likewise.
16560         (exp_test_upward): Likewise.
16561         (exp10_test): Likewise.
16562         (exp2_test): Likewise.
16563         (expm1_test): Likewise.
16564         (fabs_test): Likewise.
16565         (fdim_test): Likewise.
16566         (finite_test): Likewise.
16567         (floor_test): Likewise.
16568         (fma_test): Likewise.
16569         (fma_test_towardzero): Likewise.
16570         (fma_test_downward): Likewise.
16571         (fma_test_upward): Likewise.
16572         (fmax_test): Likewise.
16573         (fmin_test): Likewise.
16574         (fmod_test): Likewise.
16575         (fpclassify_test): Likewise.
16576         (frexp_test): Likewise.
16577         (gamma_test): Likewise.
16578         (hypot_test): Likewise.
16579         (ilogb_test): Likewise.
16580         (isfinite_test): Likewise.
16581         (isgreater_test): Likewise.
16582         (isgreaterequal_test): Likewise.
16583         (isinf_test): Likewise.
16584         (isless_test): Likewise.
16585         (islessequal_test): Likewise.
16586         (islessgreater_test): Likewise.
16587         (isnan_test): Likewise.
16588         (isnormal_test): Likewise.
16589         (issignaling_test): Likewise.
16590         (isunordered_test): Likewise.
16591         (j0_test): Likewise.
16592         (j1_test): Likewise.
16593         (jn_test): Likewise.
16594         (ldexp_test): Likewise.
16595         (lgamma_test): Likewise.
16596         (lrint_test): Likewise.
16597         (lrint_test_tonearest): Likewise.
16598         (lrint_test_towardzero): Likewise.
16599         (lrint_test_downward): Likewise.
16600         (lrint_test_upward): Likewise.
16601         (llrint_test): Likewise.
16602         (llrint_test_tonearest): Likewise.
16603         (llrint_test_towardzero): Likewise.
16604         (llrint_test_downward): Likewise.
16605         (llrint_test_upward): Likewise.
16606         (log_test): Likewise.
16607         (log10_test): Likewise.
16608         (log1p_test): Likewise.
16609         (log2_test): Likewise.
16610         (logb_test): Likewise.
16611         (logb_test_downward): Likewise.
16612         (lround_test): Likewise.
16613         (llround_test): Likewise.
16614         (modf_test): Likewise.
16615         (nearbyint_test): Likewise.
16616         (nextafter_test): Likewise.
16617         (nexttoward_test): Likewise.
16618         (pow_test): Likewise.
16619         (pow_test_tonearest): Likewise.
16620         (pow_test_towardzero): Likewise.
16621         (pow_test_downward): Likewise.
16622         (pow_test_upward): Likewise.
16623         (remainder_test): Likewise.
16624         (remainder_test_tonearest): Likewise.
16625         (remainder_test_towardzero): Likewise.
16626         (remainder_test_downward): Likewise.
16627         (remainder_test_upward): Likewise.
16628         (remquo_test): Likewise.
16629         (rint_test): Likewise.
16630         (rint_test_tonearest): Likewise.
16631         (rint_test_towardzero): Likewise.
16632         (rint_test_downward): Likewise.
16633         (rint_test_upward): Likewise.
16634         (round_test): Likewise.
16635         (scalb_test): Likewise.
16636         (scalbn_test): Likewise.
16637         (scalbln_test): Likewise.
16638         (signbit_test): Likewise.
16639         (sin_test): Likewise.
16640         (sin_test_tonearest): Likewise.
16641         (sin_test_towardzero): Likewise.
16642         (sin_test_downward): Likewise.
16643         (sin_test_upward): Likewise.
16644         (sincos_test): Likewise.
16645         (sinh_test): Likewise.
16646         (sinh_test_tonearest): Likewise.
16647         (sinh_test_towardzero): Likewise.
16648         (sinh_test_downward): Likewise.
16649         (sinh_test_upward): Likewise.
16650         (sqrt_test): Likewise.
16651         (tan_test): Likewise.
16652         (tan_test_tonearest): Likewise.
16653         (tan_test_towardzero): Likewise.
16654         (tan_test_downward): Likewise.
16655         (tan_test_upward): Likewise.
16656         (tanh_test): Likewise.
16657         (tgamma_test): Likewise.
16658         (trunc_test): Likewise.
16659         (y0_test): Likewise.
16660         (y1_test): Likewise.
16661         (yn_test): Likewise.
16662         (significand_test): Likewise.
16663
16664 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16665
16666         [BZ #15381]
16667         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16668
16669 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16670
16671         [BZ #14894]
16672         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16673         __ppc_mdoio and __ppc_mdoom.
16674         * manual/platform.texi: Document new functions __ppc_yield,
16675         __ppc_mdoio and __ppc_mdoom.
16676
16677 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16678
16679         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16680         (main): Mention "tls" pseudo-hwcap is legacy.
16681         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16682
16683 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16684
16685         * math/gen-libm-test.pl (parse_args): Output only string of
16686         arguments as text for test name, not full call or descriptions of
16687         tests for extra outputs.
16688         (generate_testfile): Do not pass function name to parse_args.
16689         Generate this_func variable from START.
16690         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16691         field to arg_str.
16692         (struct test_ff_f_data): Likewise.
16693         (test_ff_f_data_nexttoward): Likewise.
16694         (struct test_fi_f_data): Likewise.
16695         (struct test_fl_f_data): Likewise.
16696         (struct test_if_f_data): Likewise.
16697         (struct test_fff_f_data): Likewise.
16698         (struct test_c_f_data): Likewise.
16699         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16700         (struct test_fF_f1_data): Likewise.
16701         (struct test_ffI_f1_data): Likewise.
16702         (struct test_c_c_data): Rename test_name field to arg_str.
16703         (struct test_cc_c_data): Likewise.
16704         (struct test_f_i_data): Likewise.
16705         (struct test_ff_i_data): Likewise.
16706         (struct test_f_l_data): Likewise.
16707         (struct test_f_L_data): Likewise.
16708         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16709         and extra2_name.
16710         (COMMON_TEST_SETUP): New macro.
16711         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16712         (COMMON_TEST_CLEANUP): Likewise.
16713         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16714         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16715         macros.
16716         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16717         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16718         macros.
16719         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16720         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16721         cleanup macros.
16722         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16723         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16724         macros.
16725         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16726         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16727         macros.
16728         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16729         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16730         cleanup macros.
16731         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16732         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16733         cleanup macros.
16734         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16735         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16736         cleanup macros.
16737         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16738         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16739         macros.
16740         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16741         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16742         macros.
16743         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16744         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16745         macros.
16746         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16747         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16748         cleanup macros.
16749         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16750         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16751         cleanup macros.
16752         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16753         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16754         macros.
16755         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16756         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16757         cleanup macros.
16758         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16759         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16760         macros.
16761         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16762         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16763         macros.
16764         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16765         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16766         cleanup macros.
16767         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16768
16769 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16770
16771         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16772         to _sifields.sigfault.
16773         (si_addr_lsb): Define new macro.
16774         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16777
16778 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16779
16780         [BZ #15441]
16781         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16782         returns -1.
16783         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16784         null return -1.
16785         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16786         loading the domain.
16787
16788 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16789
16790         * math/gen-libm-test.pl (parse_args): Do not include expected
16791         result in test name.
16792         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16793         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16795         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16796         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16798
16799 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16800
16801         * benchtests/Makefile: Sort function entries.
16802
16803         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16804         tanh, asinh, acosh, atanh.
16805         * benchtests/acos-inputs: New file.
16806         * benchtests/acosh-inputs: New file.
16807         * benchtests/asin-inputs: New file.
16808         * benchtests/asinh-inputs: New file.
16809         * benchtests/atanh-inputs: New file.
16810         * benchtests/cosh-inputs: New file.
16811         * benchtests/log-inputs: New file.
16812         * benchtests/sinh-inputs: New file.
16813         * benchtests/tanh-inputs: New file.
16814
16815 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16816
16817         [BZ #15339]
16818         * posix/tst-getaddrinfo4.c: New test.
16819         * posix/Makefile (tests): Add it.
16820
16821 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16822
16823         [BZ #15339]
16824         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16825         when no services were used.
16826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16827         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16828
16829 2013-05-21  Andreas Schwab  <schwab@suse.de>
16830
16831         [BZ #15014]
16832         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16833         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16834         successful.
16835         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16836         redundant variable declarations and reallocation of buffer when
16837         parsing as IPv6 address.  Always set NSS status when called from
16838         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16839         buffer too small.  Correct computation of needed size.
16840         * nss/Makefile (tests): Add test-digits-dots.
16841         * nss/test-digits-dots.c: New test.
16842
16843 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16844
16845         * benchtests/Makefile: Remove instructions for adding
16846         benchmark tests.
16847         * benchtests/README: New file to explain how to execute and
16848         enhance the benchmark tests.
16849
16850 2013-05-21  Andreas Schwab  <schwab@suse.de>
16851
16852         [BZ #15493]
16853         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16854         * setjmp/tst-sigsetjmp.c: New test.
16855
16856 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16857
16858         * sysdeps/x86_64/memset.S (memset): New implementation.
16859         (__bzero): Likewise.
16860         (__memset_tail): New function.
16861
16862 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16863
16864         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16865         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16866         __memcpy_sse2_unaligned ifunc selection.
16867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16868         Add memcpy-sse2-unaligned.S.
16869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16870         Add: __memcpy_sse2_unaligned.
16871
16872 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16873
16874         [BZ #15490]
16875         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16876         math_force_eval before restoring floating-point envrionment.
16877         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16878         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16879         Likewise.
16880         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16881         <math_private.h>.
16882         (__nearbyintl): Use math_force_eval before restoring
16883         floating-point environment.
16884         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16885
16886         * math/gen-libm-test.pl (special_functions): Remove.
16887         (parse_args): Don't handle TEST_extra.  Handle functions with no
16888         return value.
16889         * math/libm-test.inc (struct test_sincos_data): Replace with
16890         struct test_fFF_11_data.
16891         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16892         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16893         (sincos_test_data): Change element type to struct
16894         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16895         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16896         RUN_TEST_LOOP_sincos.
16897         * math/README.libm-test: Don't mention special handling of
16898         individual functions.
16899         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16900         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16901         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16902         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16903         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16905
16906         * math/gen-libm-test.pl (get_variable): Remove function.
16907         (parse_args): Don't show pointer parameters to call in test
16908         names.  Use "extra output N" in test names for extra outputs
16909         rather than naming variables.
16910
16911 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16912
16913         [BZ #15488]
16914         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16915         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16916         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16917         double tests.
16918         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16919         disable.
16920         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16921         check_long_double.
16922
16923         * math/gen-libm-test.pl (@tests): Remove variable.
16924         ($count): Likewise.
16925         (new_test): Remove function.
16926         (show_exceptions): New function.
16927         (special_functions): Use show_exceptions instead of new_test.
16928         (parse_args): Likewise.
16929         (generate_testfile): Pass only function name in generated call to
16930         print_max_error or print_complex_max_error.
16931         (get_ulps): Do not handle complex tests specially.
16932         (output_test): Rename to ...
16933         (get_all_ulps_for_test): ... this.  Return a string rather than
16934         printing to a file.  Require ulps to be present.
16935         (output_ulps): Generate arrays rather than #defines.
16936         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16937         (struct ulp_data): New type.
16938         (BUILD_COMPLEX_ULP): Remove macro.
16939         (compare_ulp_data): New function.
16940         (find_ulps): Likewise.
16941         (find_test_ulps): Likewise.
16942         (find_function_ulps): Likewise.
16943         (find_complex_function_ulps): Likewise.
16944         (print_max_error): Determine allowed ulps using
16945         find_function_ulps.
16946         (print_complex_max_error): Determine allowed ulps using
16947         find_complex_function_ulps.
16948         (check_float_internal): Determine max ulps using find_test_ulps.
16949         (check_float): Do not take max_ulp parameter.  Update call to
16950         check_float_internal.
16951         (check_complex): Likewise.
16952         (check_int): Do not take max_ulp parameter.
16953         (check_long): Likewise.
16954         (check_bool): Likewise.
16955         (check_longlong): Likewise.
16956         (struct test_f_f_data): Remove max_ulp field.
16957         (struct test_ff_f_data): Likewise.
16958         (struct test_ff_f_data_nexttoward): Likewise.
16959         (struct test_fi_f_data): Likewise.
16960         (struct test_fl_f_data): Likewise.
16961         (struct test_if_f_data): Likewise.
16962         (struct test_fff_f_data): Likewise.
16963         (struct test_c_f_data): Likewise.
16964         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16965         (struct test_fF_f1_data): Likewise.
16966         (struct test_ffI_f1_data): Likewise.
16967         (struct test_c_c_data): Remove max_ulp field.
16968         (struct test_cc_c_data): Likewise.
16969         (struct test_f_i_data): Likewise.
16970         (struct test_ff_i_data): Likewise.
16971         (struct test_f_l_data): Likewise.
16972         (struct test_f_L_data): Likewise.
16973         (struct test_sincos_data): Likewise.
16974         (RUN_TEST_f_f): Do not handle ulps.
16975         (RUN_TEST_LOOP_f_f): Likewise.
16976         (RUN_TEST_2_f): Likewise.
16977         (RUN_TEST_LOOP_2_f): Likewise.
16978         (RUN_TEST_fff_f): Likewise.
16979         (RUN_TEST_LOOP_fff_f): Likewise.
16980         (RUN_TEST_c_f): Likewise.
16981         (RUN_TEST_LOOP_c_f): Likewise.
16982         (RUN_TEST_f_f1): Likewise.
16983         (RUN_TEST_LOOP_f_f1): Likewise.
16984         (RUN_TEST_fF_f1): Likewise.
16985         (RUN_TEST_LOOP_fF_f1): Likewise.
16986         (RUN_TEST_fI_f1): Likewise.
16987         (RUN_TEST_LOOP_fI_f1): Likewise.
16988         (RUN_TEST_ffI_f1): Likewise.
16989         (RUN_TEST_LOOP_ffI_f1): Likewise.
16990         (RUN_TEST_c_c): Likewise.
16991         (RUN_TEST_LOOP_c_c): Likewise.
16992         (RUN_TEST_cc_c): Likewise.
16993         (RUN_TEST_LOOP_cc_c): Likewise.
16994         (RUN_TEST_f_i): Likewise.
16995         (RUN_TEST_LOOP_f_i): Likewise.
16996         (RUN_TEST_f_i_tg): Likewise.
16997         (RUN_TEST_LOOP_f_i_tg): Likewise.
16998         (RUN_TEST_ff_i_tg): Likewise.
16999         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17000         (RUN_TEST_f_b): Likewise.
17001         (RUN_TEST_LOOP_f_b): Likewise.
17002         (RUN_TEST_f_b_tg): Likewise.
17003         (RUN_TEST_LOOP_f_b_tg): Likewise.
17004         (RUN_TEST_f_l): Likewise.
17005         (RUN_TEST_LOOP_f_l): Likewise.
17006         (RUN_TEST_f_L): Likewise.
17007         (RUN_TEST_LOOP_f_L): Likewise.
17008         (RUN_TEST_sincos): Likewise.
17009         (RUN_TEST_LOOP_sincos): Likewise.
17010
17011 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17012
17013         [BZ #15480]
17014         [BZ #15485]
17015         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17016         main case of finite arguments, set rounding mode to FE_TONEAREST
17017         and discard exceptions.
17018         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17019         exceptions.
17020         (remainder_tonearest_test_data): New variable.
17021         (remainder_test_tonearest): New function.
17022         (remainder_towardzero_test_data): New variable.
17023         (remainder_test_towardzero): New function.
17024         (remainder_downward_test_data): New variable.
17025         (remainder_test_downward): New function.
17026         (remainder_upward_test_data): New variable.
17027         (remainder_test_upward): New function.
17028         (main): Call the new test functions.
17029
17030         * math/libm-test.inc (struct test_f_f1_data): Remove field
17031         extra_init.
17032         (struct test_fF_f1_data): Likewise.
17033         (struct test_ffI_f1_data): Likewise.
17034         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17035         based on value of EXTRA_EXPECTED.
17036         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17037         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17038         EXTRA_VAR based on value of EXTRA_EXPECTED.
17039         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17040         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17041         EXTRA_VAR based on value of EXTRA_EXPECTED.
17042         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17043         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17044         EXTRA_VAR based on value of EXTRA_EXPECTED.
17045         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17046         * math/gen-libm-test.pl (parse_args): Don't output initializers
17047         for extra output values.
17048
17049         * math/libm-test.inc (check_int): Expect result to be exactly
17050         equal to expected value and do not handle ulps.
17051         (check_long): Likewise.
17052         (check_longlong): Likewise.
17053
17054         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17055         exceptions.
17056         (cimag_test_data): Likewise.
17057         (conj_test_data): Likewise.
17058         (copysign_test_data): Likewise.
17059         (cproj_test_data): Likewise.
17060         (creal_test_data): Likewise.
17061         (fabs_test_data): Likewise.
17062         (fdim_test_data): Likewise.
17063         (finite_test_data): Likewise.
17064         (floor_test_data): Likewise.
17065         (fmax_test_data): Likewise.
17066         (fmin_test_data): Likewise.
17067         (fmod_test_data): Likewise.
17068         (fpclassify_test_data): Likewise.
17069         (frexp_test_data): Likewise.
17070         (ilogb_test_data): Likewise.
17071         (isfinite_test_data): Likewise.
17072         (isgreater_test_data): Likewise.
17073         (isgreaterequal_test_data): Likewise.
17074         (isinf_test_data): Likewise.
17075         (isless_test_data): Likewise.
17076         (islessequal_test_data): Likewise.
17077         (islessgreater_test_data): Likewise.
17078         (isnan_test_data): Likewise.
17079         (isnormal_test_data): Likewise.
17080         (issignaling_test_data): Likewise.
17081         (isunordered_test_data): Likewise.
17082         (ldexp_test_data): Likewise.
17083         (lrint_test_data): Likewise.
17084         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17085         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17086         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17087         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17088         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17089         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17090         test input.
17091         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17092         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17093         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17094         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17095         that test input.
17096         (lrint_downward_test_data): Test for "inexact" exceptions.
17097         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17098         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17099         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17100         test input.
17101         (lrint_upward_test_data): Test for "inexact" exceptions.
17102         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17103         test input.
17104         (llrint_test_data): Test for "inexact" exceptions.
17105         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17106         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17107         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17108         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17109         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17110         (llrint_downward_test_data): Test for "inexact" exceptions.
17111         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17112         (llrint_upward_test_data): Test for "inexact" exceptions.
17113         (logb_test_data): Likewise.
17114         (logb_downward_test_data): Likewise.
17115         (nextafter_test_data): Likewise.
17116         (nexttoward_test_data): Likewise.
17117         (remainder_test_data): Likewise.
17118         (remquo_test_data): Likewise.
17119         (scalbn_test_data): Likewise.
17120         (scalbln_test_data): Likewise.
17121         (signbit_test_data): Likewise.
17122         (sqrt_test_data): Likewise.
17123         (significand_test_data): Likewise.
17124
17125 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17126
17127         [BZ #15424]
17128         * benchtests/bench-modf.c (struct args): Mark arg0 as
17129         volatile.
17130         * scripts/bench.pl: Mark members of struct args as volatile.
17131
17132 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17133
17134         [BZ # 15497]
17135         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17136         negative infinity on POWER6 or lower.
17137         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17138
17139 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17140
17141         [BZ #15442]
17142         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17143         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17144         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17145         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17146         (_FP_SETQNAN): New macro.
17147         (_FP_SETQNAN_SEMIRAW): Likewise.
17148         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17149         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17150         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17151         (FP_EXTEND): Use _FP_FRAC_SNANP.
17152         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17153         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17154         into account.
17155         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17156         New macro.
17157         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17158         Likewise.
17159
17160 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17161
17162         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17163         with DIVIDE_BY_ZERO_EXCEPTION.
17164         (gamma_test_data): Likewise.
17165         (lgamma_test_data): Likewise.
17166         (log_test_data): Likewise.
17167         (log10_test_data): Likewise.
17168         (log2_test_data): Likewise.
17169         (tgamma_test_data): Likewise.
17170
17171         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17172         (acos_test_tonearest): Likewise.
17173         (acos_test_towardzero): Likewise.
17174         (acos_test_downward): Likewise.
17175         (acos_test_upward): Likewise.
17176         (acosh_test): Likewise.
17177         (asin_test): Likewise.
17178         (asin_test_tonearest): Likewise.
17179         (asin_test_towardzero): Likewise.
17180         (asin_test_downward): Likewise.
17181         (asin_test_upward): Likewise.
17182         (asinh_test): Likewise.
17183         (atan_test): Likewise.
17184         (atanh_test): Likewise.
17185         (atan2_test): Likewise.
17186         (cabs_test): Likewise.
17187         (cacos_test): Likewise.
17188         (cacosh_test): Likewise.
17189         (casin_test): Likewise.
17190         (casinh_test): Likewise.
17191         (catan_test): Likewise.
17192         (catanh_test): Likewise.
17193         (cbrt_test): Likewise.
17194         (ccos_test): Likewise.
17195         (ccosh_test): Likewise.
17196         (cexp_test): Likewise.
17197         (clog_test): Likewise.
17198         (clog10_test): Likewise.
17199         (cos_test): Likewise.
17200         (cos_test_tonearest): Likewise.
17201         (cos_test_towardzero): Likewise.
17202         (cos_test_downward): Likewise.
17203         (cos_test_upward): Likewise.
17204         (cosh_test): Likewise.
17205         (cosh_test_tonearest): Likewise.
17206         (cosh_test_towardzero): Likewise.
17207         (cosh_test_downward): Likewise.
17208         (cosh_test_upward): Likewise.
17209         (cpow_test): Likewise.
17210         (csin_test): Likewise.
17211         (csinh_test): Likewise.
17212         (csqrt_test): Likewise.
17213         (ctan_test): Likewise.
17214         (ctan_test_tonearest): Likewise.
17215         (ctan_test_towardzero): Likewise.
17216         (ctan_test_downward): Likewise.
17217         (ctan_test_upward): Likewise.
17218         (ctanh_test): Likewise.
17219         (ctanh_test_tonearest): Likewise.
17220         (ctanh_test_towardzero): Likewise.
17221         (ctanh_test_downward): Likewise.
17222         (ctanh_test_upward): Likewise.
17223         (erf_test): Likewise.
17224         (erfc_test): Likewise.
17225         (exp_test): Likewise.
17226         (exp_test_tonearest): Likewise.
17227         (exp_test_towardzero): Likewise.
17228         (exp_test_downward): Likewise.
17229         (exp_test_upward): Likewise.
17230         (exp10_test): Likewise.
17231         (exp2_test): Likewise.
17232         (expm1_test): Likewise.
17233         (fmod_test): Likewise.
17234         (gamma_test): Likewise.
17235         (hypot_test): Likewise.
17236         (j0_test): Likewise.
17237         (j1_test): Likewise.
17238         (jn_test): Likewise.
17239         (lgamma_test): Likewise.
17240         (log_test): Likewise.
17241         (log10_test): Likewise.
17242         (log1p_test): Likewise.
17243         (log2_test): Likewise.
17244         (logb_test_downward): Likewise.
17245         (pow_test): Likewise.
17246         (pow_test_tonearest): Likewise.
17247         (pow_test_towardzero): Likewise.
17248         (pow_test_downward): Likewise.
17249         (pow_test_upward): Likewise.
17250         (remainder_test): Likewise.
17251         (remquo_test): Likewise.
17252         (sin_test): Likewise.
17253         (sin_test_tonearest): Likewise.
17254         (sin_test_towardzero): Likewise.
17255         (sin_test_downward): Likewise.
17256         (sin_test_upward): Likewise.
17257         (sincos_test): Likewise.
17258         (sinh_test): Likewise.
17259         (sinh_test_tonearest): Likewise.
17260         (sinh_test_towardzero): Likewise.
17261         (sinh_test_downward): Likewise.
17262         (sinh_test_upward): Likewise.
17263         (sqrt_test): Likewise.
17264         (tan_test): Likewise.
17265         (tan_test_tonearest): Likewise.
17266         (tan_test_towardzero): Likewise.
17267         (tan_test_downward): Likewise.
17268         (tan_test_upward): Likewise.
17269         (tanh_test): Likewise.
17270         (tgamma_test): Likewise.
17271         (y0_test): Likewise.
17272         (y1_test): Likewise.
17273         (yn_test): Likewise.
17274
17275         * math/gen-libm-test.pl (adjust_arg): Remove function.
17276         (special_function): Remove argument $in_func.  Only handle
17277         generating output for tables of tests, not inside functions.
17278         (parse_args): Likewise.
17279         (generate_testfile): Remove variable $in_func.  Update call to
17280         parse_args.
17281         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17282         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17283         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17284         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17285         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17286         (MAX_VALUE_INIT): Rename macro to max_value.
17287         (MIN_VALUE_INIT): Rename macro to min_value.
17288         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17289         (plus_zero): Remove variable.
17290         (minus_zero): Likewise.
17291         (plus_infty): Likewise.
17292         (minus_infty): Likewise.
17293         (qnan_value): Likewise.
17294         (max_value): Likewise.
17295         (min_value): Likewise.
17296         (min_subnorm_value): Likewise.
17297
17298 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17299
17300         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17301         uint64_t or uint32_t usage.
17302         * crypt/sha256-block.c: Likewise.
17303         * crypt/sha256-crypt.c: Likewise.
17304         * crypt/sha256.c: Likewise.
17305         * crypt/sha512-block.c: Likewise.
17306         * crypt/sha512-crypt.c: Likewise.
17307         * crypt/sha512.c: Likewise.
17308         * debug/backtrace-tst.c: Likewise.
17309         * debug/pcprofiledump.c: Likewise.
17310         * elf/cache.c: Likewise.
17311         * elf/dl-cache.c: Likewise.
17312         * elf/dl-misc.c: Likewise.
17313         * elf/dl-profile.c: Likewise.
17314         * elf/dl-support.c: Likewise.
17315         * elf/ldconfig.c: Likewise.
17316         * elf/sprof.c: Likewise.
17317         * iconv/dummy-repertoire.c: Likewise.
17318         * iconv/iconv_charmap.c: Likewise.
17319         * iconv/skeleton.c: Likewise.
17320         * iconvdata/8bit-generic.c: Likewise.
17321         * iconvdata/cp737.h: Likewise.
17322         * iconvdata/cp775.h: Likewise.
17323         * iconvdata/ibm1008.h: Likewise.
17324         * iconvdata/ibm1025.h: Likewise.
17325         * iconvdata/ibm1046.h: Likewise.
17326         * iconvdata/ibm1097.h: Likewise.
17327         * iconvdata/ibm1112.h: Likewise.
17328         * iconvdata/ibm1122.h: Likewise.
17329         * iconvdata/ibm1123.h: Likewise.
17330         * iconvdata/ibm1124.h: Likewise.
17331         * iconvdata/ibm1129.h: Likewise.
17332         * iconvdata/ibm1130.h: Likewise.
17333         * iconvdata/ibm1132.h: Likewise.
17334         * iconvdata/ibm1133.h: Likewise.
17335         * iconvdata/ibm1137.h: Likewise.
17336         * iconvdata/ibm1140.h: Likewise.
17337         * iconvdata/ibm1141.h: Likewise.
17338         * iconvdata/ibm1142.h: Likewise.
17339         * iconvdata/ibm1143.h: Likewise.
17340         * iconvdata/ibm1144.h: Likewise.
17341         * iconvdata/ibm1145.h: Likewise.
17342         * iconvdata/ibm1146.h: Likewise.
17343         * iconvdata/ibm1147.h: Likewise.
17344         * iconvdata/ibm1148.h: Likewise.
17345         * iconvdata/ibm1149.h: Likewise.
17346         * iconvdata/ibm1153.h: Likewise.
17347         * iconvdata/ibm1154.h: Likewise.
17348         * iconvdata/ibm1155.h: Likewise.
17349         * iconvdata/ibm1156.h: Likewise.
17350         * iconvdata/ibm1157.h: Likewise.
17351         * iconvdata/ibm1158.h: Likewise.
17352         * iconvdata/ibm1160.h: Likewise.
17353         * iconvdata/ibm1161.h: Likewise.
17354         * iconvdata/ibm1162.h: Likewise.
17355         * iconvdata/ibm1163.h: Likewise.
17356         * iconvdata/ibm1164.h: Likewise.
17357         * iconvdata/ibm1166.h: Likewise.
17358         * iconvdata/ibm1167.h: Likewise.
17359         * iconvdata/ibm12712.h: Likewise.
17360         * iconvdata/ibm1390.h: Likewise.
17361         * iconvdata/ibm1399.h: Likewise.
17362         * iconvdata/ibm16804.h: Likewise.
17363         * iconvdata/ibm4517.h: Likewise.
17364         * iconvdata/ibm4899.h: Likewise.
17365         * iconvdata/ibm4909.h: Likewise.
17366         * iconvdata/ibm4971.h: Likewise.
17367         * iconvdata/ibm5347.h: Likewise.
17368         * iconvdata/ibm803.h: Likewise.
17369         * iconvdata/ibm856.h: Likewise.
17370         * iconvdata/ibm901.h: Likewise.
17371         * iconvdata/ibm902.h: Likewise.
17372         * iconvdata/ibm9030.h: Likewise.
17373         * iconvdata/ibm9066.h: Likewise.
17374         * iconvdata/ibm921.h: Likewise.
17375         * iconvdata/ibm922.h: Likewise.
17376         * iconvdata/ibm9448.h: Likewise.
17377         * iconvdata/isiri-3342.h: Likewise.
17378         * iconvdata/jis0201.h: Likewise.
17379         * include/link.h: Likewise.
17380         * include/netdb.h: Likewise.
17381         * inet/check_native.c: Likewise.
17382         * inet/check_pf.c: Likewise.
17383         * inet/getipv4sourcefilter.c: Likewise.
17384         * inet/getnameinfo.c: Likewise.
17385         * inet/getsourcefilter.c: Likewise.
17386         * inet/htonl.c: Likewise.
17387         * inet/setipv4sourcefilter.c: Likewise.
17388         * inet/setsourcefilter.c: Likewise.
17389         * inet/test-inet6_opt.c: Likewise.
17390         * inet/tst-network.c: Likewise.
17391         * locale/C-collate.c: Likewise.
17392         * locale/C-ctype.c: Likewise.
17393         * locale/C-time.c: Likewise.
17394         * locale/C-translit.h: Likewise.
17395         * locale/loadarchive.c: Likewise.
17396         * locale/programs/3level.h: Likewise.
17397         * locale/programs/charmap.c: Likewise.
17398         * locale/programs/charmap.h: Likewise.
17399         * locale/programs/ld-address.c: Likewise.
17400         * locale/programs/ld-collate.c: Likewise.
17401         * locale/programs/ld-ctype.c: Likewise.
17402         * locale/programs/ld-identification.c: Likewise.
17403         * locale/programs/ld-measurement.c: Likewise.
17404         * locale/programs/ld-messages.c: Likewise.
17405         * locale/programs/ld-monetary.c: Likewise.
17406         * locale/programs/ld-name.c: Likewise.
17407         * locale/programs/ld-numeric.c: Likewise.
17408         * locale/programs/ld-paper.c: Likewise.
17409         * locale/programs/ld-telephone.c: Likewise.
17410         * locale/programs/ld-time.c: Likewise.
17411         * locale/programs/linereader.c: Likewise.
17412         * locale/programs/locale.c: Likewise.
17413         * locale/programs/locarchive.c: Likewise.
17414         * locale/programs/locfile.h: Likewise.
17415         * locale/programs/repertoire.c: Likewise.
17416         * locale/programs/simple-hash.c: Likewise.
17417         * locale/programs/simple-hash.h: Likewise.
17418         * malloc/memusage.c: Likewise.
17419         * malloc/memusagestat.c: Likewise.
17420         * nis/nis_defaults.c: Likewise.
17421         * nis/nis_hash.c: Likewise.
17422         * nis/nis_print.c: Likewise.
17423         * nis/nis_xdr.c: Likewise.
17424         * nscd/connections.c: Likewise.
17425         * nscd/hstcache.c: Likewise.
17426         * nscd/nscd_gethst_r.c: Likewise.
17427         * nscd/nscd_getserv_r.c: Likewise.
17428         * nscd/nscd_helper.c: Likewise.
17429         * nscd/servicescache.c: Likewise.
17430         * nss/makedb.c: Likewise.
17431         * nss/nss_db/db-XXX.c: Likewise.
17432         * nss/nss_db/db-initgroups.c: Likewise.
17433         * nss/nss_db/db-netgrp.c: Likewise.
17434         * nss/nss_files/files-network.c: Likewise.
17435         * nss/nss_files/files-parse.c: Likewise.
17436         * posix/bug-regex5.c: Likewise.
17437         * posix/fnmatch_loop.c: Likewise.
17438         * posix/regcomp.c: Likewise.
17439         * posix/regexec.c: Likewise.
17440         * posix/tst-rfc3484-2.c: Likewise.
17441         * posix/tst-rfc3484-3.c: Likewise.
17442         * posix/tst-rfc3484.c: Likewise.
17443         * resolv/nss_dns/dns-canon.c: Likewise.
17444         * resolv/nss_dns/dns-network.c: Likewise.
17445         * resolv/res_init.c: Likewise.
17446         * resolv/res_mkquery.c: Likewise.
17447         * resolv/tst-aton.c: Likewise.
17448         * stdlib/cxa_atexit.c: Likewise.
17449         * stdlib/cxa_finalize.c: Likewise.
17450         * stdlib/gen-fpioconst.c: Likewise.
17451         * stdlib/strtol_l.c: Likewise.
17452         * string/tst-endian.c: Likewise.
17453         * sunrpc/auth_des.c: Likewise.
17454         * sunrpc/clnt_udp.c: Likewise.
17455         * sunrpc/rtime.c: Likewise.
17456         * sunrpc/svcauth_des.c: Likewise.
17457         * sunrpc/xdr.c: Likewise.
17458         * sunrpc/xdr_intXX_t.c: Likewise.
17459         * sunrpc/xdr_rec.c: Likewise.
17460         * sysdeps/generic/ldconfig.h: Likewise.
17461         * sysdeps/generic/ldsodefs.h: Likewise.
17462         * sysdeps/generic/memusage.h: Likewise.
17463         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17464         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17465         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17466         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17467         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17469         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17470         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17471         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17472         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17473         * sysdeps/posix/getaddrinfo.c: Likewise.
17474         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17475         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17476         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17477         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17478         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17479         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17480         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17481         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17482         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17483         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17484         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17485         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17486         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17487         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17488         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17489         * sysdeps/x86_64/dl-tls.h: Likewise.
17490         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17491         * time/alt_digit.c: Likewise.
17492         * time/era.c: Likewise.
17493         * wcsmbs/tst-c16c32-1.c: Likewise.
17494
17495 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17496
17497         * math/libm-test.inc (struct test_sincos_data): New type.
17498         (RUN_TEST_LOOP_sincos): New macro.
17499         (sincos_test_data): New variable.
17500         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17501
17502 2013-05-16  Richard Henderson  <rth@redhat.com>
17503
17504         * math/atest-exp2.c (LIMB64): New macro.
17505         (CONSTSZ): New macro.
17506         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17507         (hexdig): Move ...
17508         (print_mpn_fp): ... to function scope.
17509         (read_mpn_hex): Remove.
17510         (get_log2): Remove.
17511         (exp2_mpn): Use mp_log2.
17512         (main): Use mp_exp1.
17513
17514 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17515
17516         * math/libm-test.inc: Remove comment about not testing "inexact"
17517         exceptions.
17518         (INEXACT_EXCEPTION): New macro.
17519         (NO_INEXACT_EXCEPTION): Likewise.
17520         (INVALID_EXCEPTION_OK): Update value.
17521         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17522         (OVERFLOW_EXCEPTION_OK): Likewise.
17523         (UNDERFLOW_EXCEPTION_OK): Likewise.
17524         (IGNORE_ZERO_INF_SIGN): Likewise.
17525         (ERRNO_UNCHANGED): Likewise.
17526         (ERRNO_EDOM): Likewise.
17527         (ERRNO_ERANGE): Likewise.
17528         (test_exceptions): Handle testing "inexact" exceptions.
17529         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17530         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17531         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17532         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17533         INEXACT_EXCEPTION.
17534         (rint_towardzero_test_data): Likewise.
17535         (rint_downward_test_data): Likewise.
17536         (rint_upward_test_data): Likewise.
17537
17538         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17539         with OVERFLOW_EXCEPTION.
17540         (exp10_test_data): Likewise.
17541         (exp2_test_data): Likewise.
17542         (expm1_test_data): Likewise.
17543         (lgamma_test_data): Likewise.
17544         (pow_test_data): Likewise.
17545         (tgamma_test_data): Likewise.
17546         (yn_test_data): Remove duplicate test of overflow.
17547
17548         * math/libm-test.inc (struct test_cc_c_data): New type.
17549         (RUN_TEST_LOOP_cc_c): New macro.
17550         (cpow_test_data): New variable.
17551         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17552
17553         * math/libm-test.inc (struct test_f_L_data): New type.
17554         (RUN_TEST_LOOP_f_L): New macro.
17555         (llrint_test_data): New variable.
17556         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17557         (llrint_tonearest_test_data): New variable.
17558         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17559         (llrint_towardzero_test_data): New variable.
17560         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17561         (llrint_downward_test_data): New variable.
17562         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17563         (llrint_upward_test_data): New variable.
17564         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17565         (llround_test_data): New variable.
17566         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17567
17568 2013-05-13  Peter Collingbourne  <pcc@google.com>
17569
17570         * math/atest-exp2.c (get_log2): Remove const attribute.
17571
17572 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17573
17574         * math/libm-test.inc (struct test_f_l_data): New type.
17575         (RUN_TEST_LOOP_f_l): New macro.
17576         (lrint_test_data): New variable.
17577         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17578         (lrint_tonearest_test_data): New variable.
17579         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17580         (lrint_towardzero_test_data): New variable.
17581         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17582         (lrint_downward_test_data): New variable.
17583         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17584         (lrint_upward_test_data): New variable.
17585         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17586         (lround_test_data): New variable.
17587         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17588
17589 2013-05-15  Peter Collingbourne  <pcc@google.com>
17590
17591         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17592         (EXTRACT_WORDS64) Use where appropriate.
17593         (INSERT_WORDS64) Likewise.
17594
17595         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17596         constraints with x constraints.
17597         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17598
17599         * malloc/obstack.c (_obstack_compat): Add initializer.
17600
17601 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17602
17603         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17604         si_trapno and add si_addr_lsb to _sifields.sigfault.
17605         (si_trapno): Remove macro.
17606         (si_addr_lsb): Define new macro.
17607         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17608
17609 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17610
17611         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17612         instead of TEST_f_l.
17613         (llrint_test_tonearest): Likewise.
17614         (llrint_test_towardzero): Likewise.
17615         (llrint_test_downward): Likewise.
17616         (llrint_test_upward): Likewise.
17617         (llround_test): Likewise.
17618
17619         * math/libm-test.inc (struct test_f_i_data): Add comment.
17620         (RUN_TEST_LOOP_f_b): New macro.
17621         (RUN_TEST_LOOP_f_b_tg): Likewise.
17622         (finite_test_data): New variable.
17623         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17624         (isfinite_test_data): New variable.
17625         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17626         (isinf_test_data): New variable.
17627         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17628         (isnan_test_data): New variable.
17629         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17630         (isnormal_test_data): New variable.
17631         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17632         (issignaling_test_data): New variable.
17633         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17634         (signbit_test_data): New variable.
17635         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17636
17637         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17638         with INVALID_EXCEPTION.
17639         (acosh_test_data): Likewise.
17640         (asin_test_data): Likewise.
17641         (atanh_test_data): Likewise.
17642         (fmod_test_data): Likewise.
17643         (log_test_data): Likewise.
17644         (log10_test_data): Likewise.
17645         (log2_test_data): Likewise.
17646         (pow_test_data): Likewise.
17647         (sqrt_test_data): Likewise.
17648         (y0_test_data): Likewise.
17649         (y1_test_data): Likewise.
17650         (yn_test_data): Likewise.
17651
17652         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17653         function contents.
17654
17655         * math/libm-test.inc (struct test_ff_i_data): New type.
17656         (RUN_TEST_LOOP_ff_i_tg): New macro.
17657         (isgreater_test_data): New variable.
17658         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17659         (isgreaterequal_test_data): New variable.
17660         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17661         (isless_test_data): New variable.
17662         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17663         (islessequal_test_data): New variable.
17664         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17665         (islessgreater_test_data): New variable.
17666         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17667         (isunordered_test_data): New variable.
17668         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17669
17670 2013-05-14  David S. Miller  <davem@davemloft.net>
17671
17672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17673
17674 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17675
17676         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17677
17678         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17679         extra_test to int.
17680         (struct test_f_i_data): Change type of max_ulp to int.
17681
17682         * math/libm-test.inc (test_ffI_f1_data): New type.
17683         (RUN_TEST_LOOP_ffI_f1): New macro.
17684         (remquo_test_data): New variable.
17685         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17686
17687         * setjmp/tst-setjmp-fp.c: New file.
17688         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17689         (link-libm): New variable.
17690         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17691
17692         * math/libm-test.inc (struct test_f_i_data): New type.
17693         (RUN_TEST_LOOP_f_i): New macro.
17694         (RUN_TEST_LOOP_f_i_tg): Likewise.
17695         (fpclassify_test_data): New variable.
17696         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17697         (ilogb_test_data): New variable.
17698         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17699
17700         * math/libm-test.inc (scalbln_test): Correct function name in END
17701         call.
17702
17703         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17704         (RUN_TEST_LOOP_fI_f1): New macro.
17705         (frexp_test_data): New variable.
17706         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17707
17708         * math/libm-test.inc (struct test_fF_f1_data): New type.
17709         (RUN_TEST_LOOP_fF_f1): New macro.
17710         (modf_test_data): New variable.
17711         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17712
17713         * math/libm-test.inc (struct test_f_f1_data): New type.
17714         (RUN_TEST_LOOP_f_f1): New macro.
17715         (gamma_test_data): New variable.
17716         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17717         (lgamma_test_data): New variable.
17718         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17719
17720 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17721
17722         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17723         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17724         (main): Comment "tls" pseudo-hwcap.
17725
17726 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17727
17728         * math/libm-test.inc (struct test_fl_f_data): New type.
17729         (RUN_TEST_LOOP_fl_f): New variable.
17730         (scalbln_test_data): New variable.
17731         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17732
17733         * math/libm-test.inc (struct test_fi_f_data): New type.
17734         (RUN_TEST_LOOP_fi_f): New macro.
17735         (ldexp_test_data): New variable.
17736         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17737         (scalbn_test_data): New variable.
17738         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17739
17740         * math/libm-test.inc (struct test_c_f_data): New type.
17741         (RUN_TEST_LOOP_c_f): New macro.
17742         (cabs_test_data): New variable.
17743         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17744         (carg_test_data): New variable.
17745         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17746         (cimag_test_data): New variable.
17747         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17748         (creal_test_data): New variable.
17749         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17750
17751         * math/libm-test.inc (struct test_if_f_data): New type.
17752         (RUN_TEST_LOOP_if_f): New macro.
17753         (jn_test_data): New variable.
17754         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17755         (yn_test_data): New variable.
17756         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17757
17758         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17759
17760 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17761
17762         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17763         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17764
17765 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17766
17767         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17768         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17769         (bench-deps): Add bench-timing.h.
17770         * benchtests-bench-skeleton.c: Include bench-timing.h.
17771         (main): Use TIMING_* macros instead of clock_gettime.
17772         * benchtests/bench-timing.h: New file.
17773
17774         [BZ #14582]
17775         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17776         Renamed from _LIB_VERSION.
17777         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17778
17779 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17780
17781         * math/libm-test.inc (struct test_fff_f_data): New type.
17782         (RUN_TEST_LOOP_fff_f): New macro.
17783         (fma_test_data): New variable.
17784         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17785         (fma_towardzero_test_data): New variable.
17786         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17787         (fma_downward_test_data): New variable.
17788         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17789         (fma_upward_test_data): New variable.
17790         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17791
17792         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17793         (struct test_c_c_data): New type.
17794         (RUN_TEST_LOOP_c_c): New macro.
17795         (cacos_test_data): New variable.
17796         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17797         (cacosh_test_data): New variable.
17798         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17799         (casin_test_data): New variable.
17800         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17801         (casinh_test_data): New variable.
17802         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17803         (catan_test_data): New variable.
17804         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17805         (catanh_test_data): New variable.
17806         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17807         (ccos_test_data): New variable.
17808         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17809         (ccosh_test_data): New variable.
17810         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17811         (cexp_test_data): New variable.
17812         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17813         (clog_test_data): New variable.
17814         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17815         (clog10_test_data): New variable.
17816         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17817         (conj_test_data): New variable.
17818         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17819         (cproj_test_data): New variable.
17820         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17821         (csin_test_data): New variable.
17822         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17823         (csinh_test_data): New variable.
17824         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17825         (csqrt_test_data): New variable.
17826         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17827         (ctan_test_data): New variable.
17828         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17829         (ctan_tonearest_test_data): New variable.
17830         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17831         (ctan_towardzero_test_data): New variable.
17832         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17833         (ctan_downward_test_data): New variable.
17834         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17835         (ctan_upward_test_data): New variable.
17836         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17837         (ctanh_test_data): New variable.
17838         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17839         (ctanh_tonearest_test_data): New variable.
17840         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17841         (ctanh_towardzero_test_data): New variable.
17842         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17843         (ctanh_downward_test_data): New variable.
17844         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17845         (ctanh_upward_test_data): New variable.
17846         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17847         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17848         of BUILD_COMPLEX.
17849
17850         * math/libm-test.inc (struct test_ff_f_data): New type.
17851         (struct test_ff_f_data_nexttoward): Likewise.
17852         (RUN_TEST_LOOP_2_f): New macro.
17853         (RUN_TEST_LOOP_ff_f): Likewise.
17854         (atan2_test_data): New variable.
17855         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17856         (copysign_test_data): New variable.
17857         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17858         (fdim_test_data): New variable.
17859         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17860         (fmax_test_data): New variable.
17861         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17862         (fmin_test_data): New variable.
17863         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17864         (fmod_test_data): New variable.
17865         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17866         (hypot_test_data): New variable.
17867         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17868         (nextafter_test_data): New variable.
17869         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17870         (nexttoward_test_data): New variable.
17871         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17872         (pow_test_data): New variable.
17873         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17874         (pow_tonearest_test_data): New variable.
17875         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17876         (pow_towardzero_test_data): New variable.
17877         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17878         (pow_downward_test_data): New variable.
17879         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17880         (pow_upward_test_data): New variable.
17881         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17882         (remainder_test_data): New variable.
17883         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17884         (scalb_test_data): New variable.
17885         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17886         * sysdeps/i386/fpu/libm-test-ulps: Update.
17887
17888 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17889
17890         * math/libm-test.inc (fma_test): Use max_value instead of local
17891         variable fltmax.
17892         (nextafter_test): Likewise.
17893
17894         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17895         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17896         (acos_downward_test_data): New variable.
17897         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17898         (acos_upward_test_data): New variable.
17899         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17900         (acosh_test_data): New variable.
17901         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17902         (asin_test_data): New variable.
17903         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17904         (asin_tonearest_test_data): New variable.
17905         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17906         (asin_towardzero_test_data): New variable.
17907         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17908         (asin_downward_test_data): New variable.
17909         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17910         (asin_upward_test_data): New variable.
17911         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17912         (asinh_test_data): New variable.
17913         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17914         (atan_test_data): New variable.
17915         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17916         (atanh_test_data): New variable.
17917         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17918         (cbrt_test_data): New variable.
17919         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17920         (ceil_test_data): New variable.
17921         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17922         (cos_test_data): New variable.
17923         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17924         (cos_tonearest_test_data): New variable.
17925         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17926         (cos_towardzero_test_data): New variable.
17927         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17928         (cos_downward_test_data): New variable.
17929         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17930         (cos_upward_test_data): New variable.
17931         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17932         (cosh_test_data): New variable.
17933         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17934         (cosh_tonearest_test_data): New variable.
17935         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17936         (cosh_towardzero_test_data): New variable.
17937         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17938         (cosh_downward_test_data): New variable.
17939         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17940         (cosh_upward_test_data): New variable.
17941         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17942         (erf_test_data): New variable.
17943         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17944         (erfc_test_data): New variable.
17945         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17946         (exp_test_data): New variable.
17947         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17948         (exp_tonearest_test_data): New variable.
17949         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17950         (exp_towardzero_test_data): New variable.
17951         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17952         (exp_downward_test_data): New variable.
17953         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17954         (exp_upward_test_data): New variable.
17955         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17956         (exp10_test_data): New variable.
17957         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17958         (exp2_test_data): New variable.
17959         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17960         (expm1_test_data): New variable.
17961         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17962         (fabs_test_data): New variable.
17963         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17964         (floor_test_data): New variable.
17965         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17966         (j0_test_data): New variable.
17967         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17968         (j1_test_data): New variable.
17969         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17970         (log_test_data): New variable.
17971         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17972         (log10_test_data): New variable.
17973         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17974         (log1p_test_data): New variable.
17975         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17976         (log2_test_data): New variable.
17977         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17978         (logb_test_data): New variable.
17979         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17980         (logb_downward_test_data): New variable.
17981         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17982         (nearbyint_test_data): New variable.
17983         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17984         (rint_test_data): New variable.
17985         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17986         (rint_tonearest_test_data): New variable.
17987         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17988         (rint_towardzero_test_data): New variable.
17989         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17990         (rint_downward_test_data): New variable.
17991         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17992         (rint_upward_test_data): New variable.
17993         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17994         (round_test_data): New variable.
17995         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17996         (sin_test_data): New variable.
17997         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17998         (sin_tonearest_test_data): New variable.
17999         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18000         (sin_towardzero_test_data): New variable.
18001         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18002         (sin_downward_test_data): New variable.
18003         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18004         (sin_upward_test_data): New variable.
18005         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18006         (sinh_test_data): New variable.
18007         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18008         (sinh_tonearest_test_data): New variable.
18009         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18010         (sinh_towardzero_test_data): New variable.
18011         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18012         (sinh_downward_test_data): New variable.
18013         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18014         (sinh_upward_test_data): New variable.
18015         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18016         (sqrt_test_data): New variable.
18017         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18018         (tan_test_data): New variable.
18019         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18020         (tan_tonearest_test_data): New variable.
18021         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18022         (tan_towardzero_test_data): New variable.
18023         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18024         (tan_downward_test_data): New variable.
18025         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18026         (tan_upward_test_data): New variable.
18027         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18028         (tanh_test_data): New variable.
18029         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18030         (tgamma_test_data): New variable.
18031         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18032         (trunc_test_data): New variable.
18033         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18034         (y0_test_data): New variable.
18035         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18036         (y1_test_data): New variable.
18037         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18038         (significand_test_data): New variable.
18039         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18040
18041 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18042
18043         [BZ #12387]
18044         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18045
18046 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18047
18048         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18049
18050 2013-05-10  Andreas Jaeger  <aj@suse.de>
18051
18052         [BZ #15448]
18053         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18054         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18055
18056 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18057
18058         * math/gen-libm-test.pl (adjust_arg): New function.
18059         (special_functions): Handle generating output in both functions
18060         and arrays.
18061         (parse_args): Likewise.
18062         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18063         $in_func argument to parse_args.
18064         * math/libm-test.inc (struct test_f_f_data): New type.
18065         (IF_ROUND_INIT_): New macro.
18066         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18067         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18068         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18069         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18070         (ROUND_RESTORE_): Likewise.
18071         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18072         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18073         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18074         (ROUND_RESTORE_FE_UPWARD): Likewise.
18075         (RUN_TEST_LOOP_f_f): New macro.
18076         (acos_test_data): New variable.
18077         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18078         (acos_tonearest_test_data): New variable.
18079         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18080
18081 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18082
18083         * benchtests/bench-skeleton.c (startup): Fix coding style.
18084
18085 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18086
18087         [BZ #6809]
18088         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18089         negative infinity argument.
18090         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18091         negative infinity argument.
18092         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18093         negative infinity argument.
18094         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18095         domain errors.
18096
18097 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18098
18099         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18100         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18101         * iconv/iconv_prog.c (main): Likewise.
18102         * locale/programs/charmap-dir.c (charmap_readdir)
18103         (fopen_uncompressed): Likewise.
18104         * locale/programs/locfile.c (siblings_uncached)
18105         (write_locale_data): Use lstat64 instead of lstat.
18106         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18107         stat.
18108
18109 2013-05-10  Andreas Jaeger  <aj@suse.de>
18110
18111         [BZ #15395]
18112         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18113         localization.
18114         Include <locale.h>.
18115
18116 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18117
18118         * elf/dl-close.c (_dl_close_worker): Add comments.
18119
18120 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18121
18122         [BZ #15359]
18123         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18124         high part of pi/2.
18125         (__ieee754_rem_pio2l): Update comments.
18126
18127         [BZ #15429]
18128         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18129         high part of pi/2.
18130         (__ieee754_rem_pio2l): Update comments.
18131
18132         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18133         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18134
18135         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18136         M_PI_4l.
18137
18138         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18139         (M_PI_34_LOG10El): Likewise.
18140         (M_PI2_LOG10El): Likewise.
18141         (M_PI4_LOG10El): Likewise.
18142         (M_PI_LOG10El): Likewise.
18143
18144 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18145
18146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18147
18148 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18149
18150         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18151         (MINUS_ZERO_INIT): Likewise.
18152         (PLUS_INFTY_INIT): Likewise.
18153         (MINUS_INFTY_INIT): Likewise.
18154         (QNAN_VALUE_INIT): Likewise.
18155         (MAX_VALUE_INIT): Likewise.
18156         (MIN_VALUE_INIT): Likewise.
18157         (MIN_SUBNORM_VALUE_INIT): Likewise.
18158         (plus_zero): Initialize with PLUS_ZERO_INIT.
18159         (minus_zero): Initialize with MINUS_ZERO_INIT.
18160         (plus_infty): Initialize with PLUS_INFTY_INIT.
18161         (minus_infty): Initialize with MINUS_INFTY_INIT.
18162         (qnan_value): Initialize with QNAN_VALUE_INIT.
18163         (max_value): Initialize with MAX_VALUE_INIT.
18164         (min_value): Initialize with MIN_VALUE_INIT.
18165         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18166
18167         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18168         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18169         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18170         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18171
18172         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18173         (RUN_TEST_2_f): Likewise.
18174         (RUN_TEST_ff_f): Likewise.
18175         (RUN_TEST_fi_f): Likewise.
18176         (RUN_TEST_fl_f): Likewise.
18177         (RUN_TEST_fff_f): Likewise.
18178         (RUN_TEST_c_f): Likewise.
18179         (RUN_TEST_f_f1): Likewise.
18180         (RUN_TEST_fF_f1): Likewise.
18181         (RUN_TEST_fI_f1): Likewise.
18182         (RUN_TEST_ffI_f1): Likewise.
18183         (RUN_TEST_c_c): Likewise.
18184         (RUN_TEST_cc_c): Likewise.
18185         (RUN_TEST_f_i): Likewise.
18186         (RUN_TEST_f_i_tg): Likewise.
18187         (RUN_TEST_ff_i_tg): Likewise.
18188         (RUN_TEST_f_b): Likewise.
18189         (RUN_TEST_f_b_tg): Likewise.
18190         (RUN_TEST_f_l): Likewise.
18191         (RUN_TEST_f_L): Likewise.
18192         (RUN_TEST_sincos): Likewise.
18193         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18194         whether to show exceptions.  Do not include ");\n" in return
18195         value.
18196         (special_functions): Output call to RUN_TEST_sincos instead of
18197         check_float calls.  Update calls to new_test.
18198         (parse_args): Output call to single RUN_TEST_* macro instead of
18199         check_* calls and other assignments.  Update calls to new_test.
18200
18201         [BZ #2546]
18202         [BZ #2560]
18203         [BZ #5159]
18204         [BZ #15426]
18205         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18206         input to result for tgamma overflow.
18207         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18208         (gamma_coeff): New variable.
18209         (NCOEFF): New macro.
18210         (gamma_positive): New function.
18211         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18212         underflow here.  Use gamma_positive instead of exp (lgamma) for
18213         other arguments.
18214         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18215         (gamma_coeff): New variable.
18216         (NCOEFF): New macro.
18217         (gammaf_positive): New function.
18218         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18219         underflow here.  Use gamma_positive instead of exp (lgamma) for
18220         other arguments.
18221         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18222         (gamma_coeff): New variable.
18223         (NCOEFF): New macro.
18224         (gammal_positive): New function.
18225         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18226         underflow here.  Use gamma_positive instead of exp (lgamma) for
18227         other arguments.
18228         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18229         (gamma_coeff): New variable.
18230         (NCOEFF): New macro.
18231         (gammal_positive): New function.
18232         (__ieee754_gammal_r): Handle positive infinity, overflow and
18233         underflow here.  Handle NaN the same as positive infinity.  Remove
18234         check x < 0xffffffff for negative integers.  Use gamma_positive
18235         instead of exp (lgamma) for other arguments.
18236         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18237         (gamma_coeff): New variable.
18238         (NCOEFF): New macro.
18239         (gammal_positive): New function.
18240         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18241         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18242         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18243         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18244         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18245         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18246         * sysdeps/generic/math_private.h (__gamma_productf): New
18247         prototype.
18248         (__gamma_product): Likewise.
18249         (__gamma_productl): Likewise.
18250         * math/Makefile (libm-calls): Add gamma_product.
18251         * math/libm-test.inc (tgamma_test): Add more tests.
18252         * sysdeps/i386/fpu/libm-test-ulps: Update.
18253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18254
18255 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18256
18257         * benchtests/bench-skeleton.c (main): Preheat CPU.
18258
18259 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18260
18261         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18262
18263 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18264
18265         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18266         and _dl_skip_args_internal.
18267
18268 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18269
18270         * manual/message.texi (Message Translation): Talk about users.
18271         Message to key mapping impacts design.
18272
18273 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18274
18275         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18276
18277         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18278
18279         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18280         * sysdeps/wordsize-64/glob64.c: ... here.
18281
18282         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18283         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18284         New macros.
18285
18286         * debug/getlogin_r_chk.c: Moved to ...
18287         * login/getlogin_r_chk.c: ... here.
18288         * debug/Makefile (routines): Move getlogin_r_chk to ...
18289         * login/Makefile (routines): ... here.
18290         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18291         * login/Versions (libc: GLIBC_2.4): ... here.
18292
18293         * io/poll.c (__poll): Renamed from poll.
18294         Add libc_hidden_def.
18295         (poll): Define as weak alias.
18296
18297         * debug/ptsname_r_chk.c: Moved to ...
18298         * login/ptsname_r_chk.c: ... here.
18299         * debug/Makefile (routines): Move ptsname_r_chk to ...
18300         * login/Makefile (routines): ... here.
18301         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18302         * login/Versions (libc: GLIBC_2.4): ... here.
18303
18304         * posix/getlogin.c: Moved to ...
18305         * login/getlogin.c: ... here.
18306         * posix/getlogin_r.c: Moved to ...
18307         * login/getlogin_r.c: ... here.
18308         * posix/getlogin_r.c: Moved to ...
18309         * login/getlogin_r.c: ... here.
18310         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18311         * login/Makefile (routines): ... here.
18312         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18313         * login/Versions (libc: GLIBC_2.0): ... here.
18314
18315         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18316         (setrlimit): Define as weak alias.
18317
18318         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18319         Call __ names for open, ftruncate, and close.
18320         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18321         (truncate): Define as weak alias.
18322
18323 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18324
18325         * math/gen-libm-test.pl (parse_args): Initialize x before each
18326         test of frexp, modf and remquo.
18327
18328         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18329         test signgam value.
18330
18331 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18332
18333         [BZ #15418]
18334         [BZ #15419]
18335         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18336         internal tests.
18337         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18338
18339 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18340
18341         * elf/dl-writev.h: New file.
18342         * elf/dl-misc.c: Include it.
18343         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18344         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18345
18346 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18347
18348         * math/libm-test.inc (noXFails): Remove variable.
18349         (noXPasses): Likewise.
18350         (BUILD_COMPLEX_INT): Remove macro.
18351         (print_screen): Remove xfail argument.
18352         (print_screen_max_error): Likewise.
18353         (update_stats): Likewise.
18354         (print_max_error): Likewise.  Update calls to other affected
18355         functions.
18356         (print_complex_max_error): Likewise.
18357         (test_single_exception): Update calls to print_screen.
18358         (test_single_errno): Likewise.
18359         (check_float_internal): Remove xfail argument.  Update calls to
18360         other affected functions.
18361         (check_float): Likewise.
18362         (check_complex): Likewise.
18363         (check_int): Likewise.
18364         (check_long): Likewise.
18365         (check_bool): Likewise.
18366         (check_longlong): Likewise.
18367         (main): Don't print noXFails and noXPasses.
18368         * math/gen-libm-test.pl (top level): Don't mention expected
18369         failure handling in comment.
18370         (new_test): Don't handle expected failures.
18371         (parse_args): Don't mention expected failure handling in comment.
18372         (generate_testfile): Don't handle expected failures.
18373         (parse_ulps): Likewise.
18374         (print_ulps_file): Likewise.
18375         (get_failure): Remove function.
18376         (output_test): Don't handle expected failures.
18377         * make/README.libm-test: Don't mention expected failure handling.
18378
18379         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18380         (minus_zero): Likewise.
18381         (plus_infty): Likewise.
18382         (minus_infty): Likewise.
18383         (qnan_value): Likewise.
18384         (max_value): Likewise.
18385         (min_value): Likewise.
18386         (min_subnorm_value): Likewise.
18387         (initialize): Do not initialize those variables dynamically.
18388
18389 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18390
18391         * io/open.c (__open_2): Moved to ...
18392         * io/open_2.c: ... this new file.
18393         * io/open64.c (__open64_2): Moved to ...
18394         * io/open64_2.c: ... this new file.
18395         * io/openat.c (__openat_2): Moved to ...
18396         * io/openat_2.c: ... this new file.
18397         * io/openat64.c (__openat64_2): Moved to ...
18398         * io/openat64_2.c: ... this new file.
18399         * io/Makefile (routines): Add them.
18400         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18401         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18402         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18403         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18404         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18405         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18406         (__openat64): Add hidden_ver.
18407         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18408         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18409
18410         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18411         Separately conditionalize setting of GLRO(dl_sysinfo) so
18412         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18413         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18414
18415 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18416
18417         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18418         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18419         definition.
18420         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18421         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18422         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18423         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18424         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18425
18426 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18427
18428         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18429         test signgam value.
18430
18431         * math/libm-test.inc (hypot_test): Do not use
18432         IGNORE_ZERO_INF_SIGN.
18433
18434 2013-05-03  Andreas Jaeger  <aj@suse.de>
18435
18436         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18437         Linux 3.9.
18438         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18439         (PF_MAX): Adjust for VSOCK change.
18440
18441 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18442
18443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18444
18445 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18446
18447         [BZ #15264]
18448         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18449         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18450         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18451
18452 2013-05-02  David S. Miller  <davem@davemloft.net>
18453
18454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18455
18456 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18457
18458         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18459
18460 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18461
18462         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18463
18464 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18465
18466         [BZ #14952]
18467         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18468         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18469         Use __attribute__ ((__gnu_inline__)).
18470         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18471         Don't use __attribute__ ((__gnu_inline__)).
18472
18473 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18474
18475         [BZ #15423]
18476         * math/s_catan.c (__catan): Handle small real or imaginary part of
18477         input specially to avoid spurious underflow.
18478         * math/s_catanf.c (__catanf): Likewise.
18479         * math/s_catanh.c (__catanh): Likewise.
18480         * math/s_catanhf.c (__catanhf): Likewise.
18481         * math/s_catanhl.c (__catanhl): Likewise.
18482         * math/s_catanl.c (__catanl): Likewise.
18483         * math/libm-test.inc (catan_test): Add more tests.
18484         (catanh_test): Likewise.
18485         * sysdeps/i386/fpu/libm-test-ulps: Update.
18486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18487
18488 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18489
18490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18491
18492 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18493
18494         [BZ #15416]
18495         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18496         accurately for denominator in atan2.
18497         * math/s_catanf.c (__catanf): Likewise.
18498         * math/s_catanh.c (__catanh): Likewise.
18499         * math/s_catanhf.c (__catanhf): Likewise.
18500         * math/s_catanhl.c (__catanhl): Likewise.
18501         * math/s_catanl.c (__catanl): Likewise.
18502         * math/libm-test.inc (catan_test): Add more tests.
18503         (catanh_test): Likewise.
18504         * sysdeps/i386/fpu/libm-test-ulps: Update.
18505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18506
18507 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508
18509         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18510
18511         * benchtests/Makefile (bench): Remove slow benchmarks.
18512         * benchtests/atan-inputs: Add slow benchmark inputs.
18513         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18514         (BENCH_FUNC): Accept variant offset.
18515         (VARIANT): Define.
18516         * benchtests/bench-skeleton.c (main): Run benchmark for each
18517         variant.
18518         * benchtests/cos-inputs: Add slow benchmark inputs.
18519         * benchtests/exp-inputs: Likewise.
18520         * benchtests/pow-inputs: Likewise.
18521         * benchtests/sin-inputs: Likewise.
18522         * benchtests/slowatan-inputs: Remove.
18523         * benchtests/slowatan.c: Remove.
18524         * benchtests/slowcos-inputs: Remove.
18525         * benchtests/slowcos.c: Remove.
18526         * benchtests/slowexp-inputs: Remove.
18527         * benchtests/slowexp.c: Remove.
18528         * benchtests/slowpow-inputs: Remove.
18529         * benchtests/slowpow.c: Remove.
18530         * benchtests/slowsin-inputs: Remove.
18531         * benchtests/slowsin.c: Remove.
18532         * benchtests/slowtan-inputs: Remove.
18533         * benchtests/slowtan.c: Remove.
18534         * benchtests/tan-inputs: Add slow benchmark inputs.
18535         * scripts/bench.pl: Parse comments and directives.
18536
18537         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18538         in CPPFLAGS.
18539         ($(objpfx)bench-%.c): Remove *-ITER.
18540         * benchtests/bench-modf.c: Remove definition of ITER.
18541         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18542         (main): Loop for DURATION seconds instead of fixed number of
18543         iterations.
18544         * scripts/bench.pl: Don't expect iterations in parameters.
18545
18546 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18547
18548         * io/fchdir.c (__fchdir): Renamed from fchdir.
18549         (fchdir): Define as weak alias.
18550
18551 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18552
18553         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18554         (ERRNO_EDOM): Likewise.
18555         (ERRNO_ERANGE): Likewise.
18556         (noErrnoTests): New variable.
18557         (init_max_error): Set errno to 0.
18558         (test_single_errno): New function.
18559         (test_errno): Likewise.
18560         (check_float_internal): Call test_errno.  Set errno to 0.
18561         (check_complex): Refer to errno tests in comment.
18562         (check_int): Call test_errno.  Set errno to 0.
18563         (check_long): Likewise.
18564         (check_bool): Likewise.
18565         (check_longlong): Likewise.
18566         (cos_test): Use ERRNO_* flags for errno tests instead of
18567         check_int.
18568         (expm1_test): Likewise.
18569         (fmod_test): Likewise.
18570         (ilogb_test): Likewise.
18571         (lgamma_test): Likewise.
18572         (pow_test): Likewise.
18573         (remainder_test): Likewise.
18574         (sin_test): Likewise.
18575         (tan_test): Likewise.
18576         (yn_test): Likewise.
18577         (initialize): Set errno to 0.
18578         (main): Print number of errno tests.
18579         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18580
18581 2013-04-29  Andreas Jaeger  <aj@suse.de>
18582
18583         [BZ #15084]
18584         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18585         and RES_USEVC.
18586
18587         [BZ #15085]
18588         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18589         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18590         unimplemented.
18591
18592         [BZ #15380]
18593         * stdlib/random.c (__initstate): Return NULL if
18594         __initstate fails.
18595
18596         [BZ #15086]
18597         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18598         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18599         RES_SNGLKUPREOP.
18600
18601 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18602
18603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18604
18605 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18606
18607         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18608         of individual tests.
18609         (casin_test): Likewise.
18610         (casinh_test): Likewise.
18611
18612 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18613
18614         [BZ #15409]
18615         * math/s_catan.c (__catan): Handle arguments with large real or
18616         imaginary part separately without squaring.
18617         * math/s_catanf.c (__catanf): Likewise.
18618         * math/s_catanh.c (__catanh): Likewise.
18619         * math/s_catanhf.c (__catanhf): Likewise.
18620         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18621         and redefine.
18622         (__catanhl): Handle arguments with large real or imaginary part
18623         separately without squaring.
18624         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18625         and redefine.
18626         (__catanl): Handle arguments with large real or imaginary part
18627         separately without squaring.
18628         * math/libm-test.inc (catan_test): Add more tests.
18629         (catanh_test): Likewise.
18630         * sysdeps/i386/fpu/libm-test-ulps: Update.
18631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18632
18633 2013-04-27  Andreas Jaeger  <aj@suse.de>
18634
18635         [BZ #15007]
18636         * stdlib/stdlib.h: Update guards for qecvt.
18637         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18638         <stdlib.h>.
18639
18640 2013-04-27  Allan McRae  <allan@archlinux.org>
18641
18642         * sysdeps/i386/fpu/libm-test-ulps: Update.
18643
18644 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18645
18646         [BZ #15406]
18647         * math/s_catan.c: Include <float.h>.
18648         (__catan): Ensure underflow exception occurs for underflowed
18649         result.
18650         * math/s_catanf.c: Include <float.h>.
18651         (__catanf): Ensure underflow exception occurs for underflowed
18652         result.
18653         * math/s_catanh.c: Include <float.h>.
18654         (__catanh): Ensure underflow exception occurs for underflowed
18655         result.
18656         * math/s_catanhf.c: Include <float.h>.
18657         (__catanhf): Ensure underflow exception occurs for underflowed
18658         result.
18659         * math/s_catanhl.c: Include <float.h>.
18660         (__catanhl): Ensure underflow exception occurs for underflowed
18661         result.
18662         * math/s_catanl.c: Include <float.h>.
18663         (__catanl): Ensure underflow exception occurs for underflowed
18664         result.
18665         * math/libm-test.inc (catan_test): Add more tests.
18666         (catanh_test): Likewise.
18667
18668         [BZ #15405]
18669         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18670         underflowed result.
18671         * math/s_ccoshf.c (__ccoshf): Likewise.
18672         * math/s_ccoshl.c (__ccoshl): Likewise.
18673         * math/s_csin.c (__csin): Likewise.
18674         * math/s_csinf.c (__csinf): Likewise.
18675         * math/s_csinh.c (__csinh): Likewise.
18676         * math/s_csinhf.c (__csinhf): Likewise.
18677         * math/s_csinhl.c (__csinhl): Likewise.
18678         * math/s_csinl.c (__csinl): Likewise.
18679         * math/libm-test.inc (ccos_test): Add more tests.
18680         (ccosh_test): Likewise.
18681         (csin_test): Likewise.
18682         (csinh_test): Likewise.
18683
18684 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18685
18686         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18687         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18688         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18689         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18690         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18691         powerpc/power5+/fpu folders.
18692         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18693
18694
18695 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18696
18697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18698
18699 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18700
18701         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18702         additions to variable.
18703         [$(config-machine) = x86_64] (modules-names): Likewise.
18704         ($(objpfx)tst-audit3): Remove dependency.
18705         ($(objpfx)tst-audit3.out): Likewise.
18706         ($(objpfx)tst-audit4): Likewise.
18707         ($(objpfx)tst-audit4.out): Likewise.
18708         ($(objpfx)tst-audit5): Likewise.
18709         ($(objpfx)tst-audit5.out): Likewise.
18710         ($(objpfx)tst-audit6): Likewise.
18711         ($(objpfx)tst-audit6.out): Likewise.
18712         ($(objpfx)tst-audit7): Likewise.
18713         ($(objpfx)tst-audit7.out): Likewise.
18714         (tst-audit3-ENV): Remove variable.
18715         (tst-audit4-ENV): Likewise.
18716         (tst-audit5-ENV): Likewise.
18717         (tst-audit6-ENV): Likewise.
18718         (tst-audit7-ENV): Likewise.
18719         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18720         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18721         addition to variable.
18722         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18723         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18724         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18725         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18726         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18727         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18728         tst-audit3, tst-audit4 and tst-audit5.
18729         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18730         tst-audit6 and tst-audit7.
18731         [$(subdir) = elf] (modules-names): Add audit modules for those
18732         tests.
18733         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18734         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18735         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18736         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18737         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18738         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18739         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18740         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18741         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18742         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18743         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18744         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18745         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18746         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18747         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18748         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18749         Likewise.
18750         [$(subdir) = elf && $(config-cflags-avx) = yes]
18751         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18752         [$(subdir) = elf && $(config-cflags-avx) = yes]
18753         (CFLAGS-tst-auditmod4a.c): Likewise.
18754         [$(subdir) = elf && $(config-cflags-avx) = yes]
18755         (CFLAGS-tst-auditmod4b.c): Likewise.
18756         [$(subdir) = elf && $(config-cflags-avx) = yes]
18757         (CFLAGS-tst-auditmod6b.c): Likewise.
18758         [$(subdir) = elf && $(config-cflags-avx) = yes]
18759         (CFLAGS-tst-auditmod6c.c): Likewise.
18760         [$(subdir) = elf && $(config-cflags-avx) = yes]
18761         (CFLAGS-tst-auditmod7b.c): Likewise.
18762         * elf/tst-audit3.c: Move to ...
18763         * sysdeps/x86_64/tst-audit3.c: ... here.
18764         * elf/tst-audit4.c: Move to ...
18765         * sysdeps/x86_64/tst-audit4.c: ... here.
18766         * elf/tst-audit5.c: Move to ...
18767         * sysdeps/x86_64/tst-audit5.c: ... here.
18768         * elf/tst-audit6.c: Move to ...
18769         * sysdeps/x86_64/tst-audit6.c: ... here.
18770         * elf/tst-audit7.c: Move to ...
18771         * sysdeps/x86_64/tst-audit7.c: ... here.
18772         * elf/tst-auditmod3a.c: Move to ...
18773         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18774         * elf/tst-auditmod3b.c: Move to ...
18775         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18776         * elf/tst-auditmod4a.c: Move to ...
18777         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18778         * elf/tst-auditmod4b.c: Move to ...
18779         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18780         * elf/tst-auditmod5a.c: Move to ...
18781         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18782         * elf/tst-auditmod5b.c: Move to ...
18783         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18784         * elf/tst-auditmod6a.c: Move to ...
18785         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18786         * elf/tst-auditmod6b.c: Move to ...
18787         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18788         * elf/tst-auditmod6c.c: Move to ...
18789         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18790         * elf/tst-auditmod7a.c: Move to ...
18791         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18792         * elf/tst-auditmod7b.c: Move to ...
18793         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18794
18795 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18796
18797         [BZ #15366]
18798         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18799         define unconditionally.
18800         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18801         define unconditionally.
18802         (INT8_C, INT16_C, etc.): Likewise.
18803
18804 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18805
18806         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18807         __ehdr_start with hidden visibility.
18808
18809         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18810
18811 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18812
18813         * math/libm-test.inc (cos_test): Use accurate hex constants.
18814         (sincost_test): Likewise.
18815
18816 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18817
18818         * math/libm-test.inc (catan_test): Add more tests.
18819         (catanh_test): Likewise.
18820
18821         * math/s_catanf.c (__catanf): Use suffixed floating-point
18822         constants.
18823         * math/s_catanhf.c (__catanhf): Likewise.
18824         * math/s_catanhl.c (__catanhl): Likewise.
18825         * math/s_catanl.c (__catanl): Likewise.
18826
18827         [BZ #15394]
18828         * math/s_catan.c (__catan): Calculate imaginary part of result
18829         with log1p not log unless computing log of number close to 0.
18830         * math/s_catanf.c (__catanf): Likewise.
18831         * math/s_catanl.c (__catanl): Likewise.
18832         * math/s_catanh.c (__catanh): Calculate real part of result with
18833         log1p not log unless computing log of number close to 0.
18834         * math/s_catanhf.c (__catanhf): Likewise.
18835         * math/s_catanhl.c (__catanhl): Likewise.
18836         * math/libm-test.inc (catan_test): Add more tests.
18837         (catanh_test): Likewise.
18838         * sysdeps/i386/fpu/libm-test-ulps: Update.
18839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18840
18841 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18842
18843         * benchtests/Makefile: Mention files in which fast and slow
18844         paths of math functions are implemented.
18845
18846 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18847
18848         * sysdeps/posix/timespec_get.c: New file.
18849
18850 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18851
18852         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18853         POWER.
18854         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18855         for POWER.
18856         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18857         powerpc/power5/fpu folders.
18858         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18859         * benchtests/Makefile: Add modf testcase.
18860         * benchtests/bench-modf.c: New file: Benchmark test for mo
18861
18862 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18863
18864         [BZ #14888]
18865         * time/Makefile (tests): Add tst-strptime-whitespace.
18866         * time/strptime_l.c (get_number): Use ISSPACE.
18867         (__strptime_internal): Likewise.
18868         * time/tst-strptime-whitespace.c: New test case.
18869
18870 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18871
18872         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18873         member.
18874         (_nss_files_init): Set it here.
18875
18876 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18877
18878         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18879         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18880         unsigned.
18881
18882 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18883
18884         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18885
18886 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18887
18888         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18889         size just once.
18890
18891 2013-04-21  David S. Miller  <davem@davemloft.net>
18892
18893         * po/ru.po: Update Russion translation from translation project.
18894
18895 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18896
18897         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18898         and setfsgid.
18899
18900 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18901
18902         * configure.in: Remove i386 configure warning. Remove i386 case.
18903         * configure: Regenerate.
18904         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18905         Add example to error message.
18906         * sysdeps/i386/configure: Regenerate.
18907
18908 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909
18910         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18911         slowtan.
18912         * benchtests/cos-inputs: New file.
18913         * benchtests/slowcos-inputs: New file.
18914         * benchtests/slowcos.c: New file.
18915         * benchtests/slowtan-inputs: New file.
18916         * benchtests/slowtan.c: New file.
18917         * benchtests/tan-inputs: New file.
18918
18919 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18920
18921         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18922         considered kosher.
18923
18924 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18925
18926         * benchtests/Makefile: Include cppflags-iterator.mk to add
18927         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18928
18929         * Makefile.in (bench-clean): New target.
18930         * benchtests/Makefile (bench-clean): Likewise.
18931
18932 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18933
18934         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18935
18936 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18937
18938         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18939
18940 2013-04-15  Andreas Schwab  <schwab@suse.de>
18941
18942         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18943         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18944         * nscd/pwdcache.c (cache_addpw): Likewise.
18945         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18946         more than recsize.
18947
18948 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18949
18950         * benchtests/Makefile (bench): Write all output to
18951         bench-out.tmp together.
18952
18953 2013-04-15  Andreas Schwab  <schwab@suse.de>
18954
18955         * nscd/nscd.c (main): Don't fork again after closing files.
18956
18957 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18958
18959         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18960
18961         * benchtests/Rules (bench-deps): Collect dependencies into a
18962         single variable.  Add Makefile to dependencies.
18963         ($(objpfx)bench-%.c): Depend on bench-deps.
18964
18965 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18966             Xavier Roche  <roche+kml2@exalead.com>
18967
18968         [BZ #15361]
18969         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18970         just that it's a file descriptor.
18971         * manual/llio.texi (Synchronizing AIO Operations): Update description
18972         for EBADF error from aio_fsync.
18973
18974 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18975
18976         * Rules (bench): Move target definition...
18977         * benchtests/Makefile: ... here.
18978
18979 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18980
18981         * math/libm-test.inc (cos_test): Fix PI/2 test.
18982         (sincos_test): Likewise.
18983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18984         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18985
18986 2013-04-11  Andreas Schwab  <schwab@suse.de>
18987
18988         [BZ #13988]
18989         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18990         accept exponent character only when digits were seen.
18991         * stdio-common/Makefile (tests): Add bug26.
18992         * stdio-common/bug26.c: New file.
18993
18994         [BZ #14293]
18995         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18996         non-freeable.
18997
18998 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999
19000         * Makeconfig (rtld-prefix): Define built linker prefix.
19001         * Rules (run-bench): Use it.
19002         * math/Makefile (run-regen-ulps): Likewise.
19003
19004         * Rules (bench): Remove eval.
19005
19006 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19007             Roland McGrath  <roland@hack.frob.com>
19008             Ondrej Bilka  <neleai@seznam.cz>
19009
19010         [BZ #15346]
19011         * time/getdate.c: Include ctype.h and alloca.h.
19012         (__getdate_r): Trim leading and trailing spaces of input.
19013         * time/tst-getdate.c (tests): Add tests with leading and
19014         trailing spaces.
19015
19016 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19017
19018         [BZ #14280]
19019         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19020         when computing value.
19021
19022 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19023
19024         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19025         Use testrun.sh to run libm tests.
19026
19027         [BZ #15309]
19028         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19029
19030 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19031
19032         [BZ #15264]
19033         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19034
19035 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19036
19037         * Makefile.in (regen-ulps): New target.
19038         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19039         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19040         [ifneq (no,$(PERL)] (regen-ulps): New target.
19041         [ifeq (no,$(PERL)] (regen-ulps): New target.
19042         * math/libm-test.inc (ulps_file_name): Define.
19043         (output_dir): New variable.
19044         (options): Add "output-dir" option.
19045         (parse_opt): Handle 'o' case.
19046         (main): If output_dir is non-NULL use it as a prefix
19047         otherwise use "".
19048         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19049
19050 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19051
19052         [BZ #10060, #10062]
19053         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19054         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19055         fail configure if __sync_val_compare_and_swap is not inlined.
19056         * sysdeps/i386/configure: Regenerate.
19057         * configure.in: Build for i686 when configured for i386.
19058         * configure: Regenerate.
19059         * README: Remove i386 reference.
19060
19061 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19062
19063         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19064         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19065
19066 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19067
19068         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19069         (lmsnanval): New variables.
19070         (F): Add conversion tests.
19071         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19072         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19073
19074         * stdio-common/tstdiomisc.c (F): Properly collect individual
19075         tests' results.
19076
19077         [BZ #14686, #15336]
19078         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19079         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19080         Instead, use input NaN values or generate a qNaN by arithmetic
19081         operation.  Also fix bugs to comply with the standard.
19082         * math/libm-test.inc (remainder_test): Add more tests.
19083
19084         [BZ #15335, #15342]
19085         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19086         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19087         input NaN values or generate a qNaN by arithmetic operation.
19088
19089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19090         unreachable code.
19091
19092         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19093         definitions.
19094
19095 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19096
19097         [BZ #14478]
19098         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19099         underflowed result.
19100         * math/s_cexpf.c (__cexpf): Likewise.
19101         * math/s_cexpl.c (__cexpl): Likewise.
19102         * math/libm-test.inc (cexp_test): Add more tests.
19103
19104 2013-04-03  Andreas Schwab  <schwab@suse.de>
19105
19106         [BZ #15330]
19107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19108         order arrays from heap if bigger than alloca cutoff.
19109
19110 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19111
19112         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19113         (SNAN_TESTS_double): Refer to GCC PR56831.
19114         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19115         GCC PR56828.
19116
19117 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19118
19119         * Rules (bench): Move bench.out after the run is complete.
19120
19121         * Rules (bench): Echo currently running benchmark.
19122
19123         * benchtests/Makefile (bench): Add atan and slowatan.
19124         * benchtests/atan-inputs: New file.
19125         * benchtests/slowatan-inputs: New file.
19126         * benchtests/slowatan.c: New file.
19127
19128         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19129         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19130         its value.
19131
19132         [BZ #15305]
19133         * sysdeps/unix/sysv/linux/kernel-features.h
19134         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19135         __ASSUME_XFS_RESTRICTED_CHOWN.
19136         * sysdeps/unix/sysv/linux/pathconf.c
19137         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19138         Save and restore errno.
19139
19140 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19141
19142         [BZ #15327]
19143         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19144         arguments using __kernel_casinh.
19145         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19146         arguments using __kernel_casinhf.
19147         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19148         arguments using __kernel_casinhl.
19149         * math/libm-test.inc (cacosh_test): Add more tests.
19150         * sysdeps/i386/fpu/libm-test-ulps: Update.
19151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19152
19153 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154
19155         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19157
19158         * bench/Makefile (bench): Add sin and slowsin.
19159         * benchtests/sin-inputs: New file.
19160         * benchtests/slowsin-inputs: New file.
19161         * benchtests/slowsin.c: New file.
19162
19163         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19164         (bench): Add slowexp and slowpow.
19165         (exp-ITER): Increase iterations.
19166         (pow-ITER): Likewise.
19167         * benchtests/exp-inputs: Change input.
19168         * benchtests/pow-inputs: Likewise.
19169         * benchtests/slowexp-inputs: New file.
19170         * benchtests/slowexp.c: New file.
19171         * benchtests/slowpow-inputs: New file.
19172         * benchtests/slowpow.c: New file.
19173
19174 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19175
19176         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19177         instructions.
19178         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19179         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19180         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19181         * benchtests/Makefile: Add rint benchtest.
19182         * benchtests/rint-inputs: Input for rint benchtest.
19183
19184 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19185
19186         * Versions.def (libm): Add GLIBC_2.18.
19187         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19188         hidden libm prototypes.
19189         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19190         * math/Makefile (libm-calls): Add s_issignaling.
19191         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19192         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19193         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19194         declaration.
19195         * math/math.h [__USE_GNU] (issignaling): New macro.
19196         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19197         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19198         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19199         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19200         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19201         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19202         * manual/arith.texi (issignaling): New section.
19203         * manual/libm-err-tab.pl (@all_functions): Update comment.
19204         * math/gen-libm-test.pl (parse_args): Apply special handling for
19205         issignaling.
19206         * math/libm-test.inc (print_float, issignaling_test): New
19207         functions.
19208         (check_float_internal): Add issignaling checks.
19209         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19210         default definition.
19211         * sysdeps/powerpc/math-tests.h: New file.
19212         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19213         tests.
19214         * math/test-snan.c (TEST_FUNC): Likewise.
19215
19216 2013-03-30  David S. Miller  <davem@davemloft.net>
19217
19218         * po/de.po: Update from translation team.
19219
19220 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19221
19222         [BZ #10357]
19223         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19224         imaginary part less than 1.0 and real part less than 0.5
19225         specially.
19226         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19227         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19228         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19229         (cacos_test): Add more tests.
19230         (casin_test): Likewise.
19231         (casinh_test): Likewise.
19232         * sysdeps/i386/fpu/libm-test-ulps: Update.
19233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19234
19235 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19236
19237         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19238         ONE with its value.
19239
19240         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19241         (__pow_mp): Replace ONE and MONE with their values.
19242         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19244         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19245         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19246         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19247         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19248
19249         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19250
19251         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19252         (__pow_mp): Replace ZERO and MZERO with their values.
19253         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19255         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19257         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19258         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19259         (__sqr): Likewise.
19260
19261         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19262
19263         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19264
19265 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19266
19267         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19268         Declare with __attribute__ ((weak)).
19269         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19270         Call __call_tls_dtors only if it's not NULL.
19271
19272 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19273
19274         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19275         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19276         magic __ehdr_start linker symbol if it's defined.
19277         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19278         them up here if it was already done.
19279
19280         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19281         (_dl_aux_init): Use const in cast when setting it.
19282         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19283         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19284         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19285
19286         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19287         Declare them here.
19288         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19289         * csu/libc-tls.c: Nor here.
19290         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19291
19292         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19293         (__libc_message): Never call vsyslog.
19294
19295 2013-03-28  Alan Modra  <amodra@gmail.com>
19296
19297         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19298         Define as empty.
19299         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19300         Likewise.
19301
19302 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19303
19304         [BZ #15214]
19305         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19306         underflow.
19307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19308
19309 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310
19311         [BZ #15304]
19312         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19313         Don't add gid passed as argument.
19314
19315         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19316
19317 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19318
19319         [BZ #15307]
19320         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19321         imaginary part between 1.0 and 1.5 and real part less than 0.5
19322         specially.
19323         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19324         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19325         * math/libm-test.inc (cacos_test): Add more tests.
19326         (casin_test): Likewise.
19327         (casinh_test): Likewise.
19328         * sysdeps/i386/fpu/libm-test-ulps: Update.
19329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19330
19331 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19332
19333         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19334         constants.
19335         (norm): Likewise.
19336         (denorm): Likewise.
19337         (__dbl_mp): Likewise.
19338         (add_magnitudes): Likewise.
19339         (sub_magnitudes): Likewise.
19340         (__add): Likewise.
19341         (__sub): Likewise.
19342         (__mul): Likewise.
19343         (__sqr): Likewise.
19344         (__inv): Likewise.
19345         (__dvd): Likewise.
19346
19347         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19348         commented code.
19349         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19350         (__dubcos): Likewise.
19351         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19352         (__ieee754_acos): Likewise.
19353         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19354         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19355         (__exp1): Likewise.
19356         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19358         (log1): Likewise.
19359         (my_log2): Likewise.
19360         (checkint): Likewise.
19361         * sysdeps/ieee754/dbl-64/e_remainder.c
19362         (__ieee754_remainder): Likewise.
19363         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19364         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19365         (bsloww): Likewise.
19366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19367
19368         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19369         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19370         MANTISSA_STORE_T to store computations on mantissa.  Use
19371         macros for rounding and division.
19372         (denorm): Likewise.
19373         (__dbl_mp): Likewise.
19374         (add_magnitudes): Likewise.
19375         (sub_magnitudes): Likewise.
19376         (__mul): Likewise.
19377         (__sqr): Likewise.
19378         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19379         powers of two in terms of TWOPOW macro.
19380         (mp_no): Make type of mantissa as MANTISSA_T.
19381         [!RADIXI]: Define RADIXI.
19382         [!TWO52]: Define TWO52.
19383         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19384
19385 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19386
19387         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19388         llroundl symbol when building for PPC32.
19389
19390 2013-03-24  Mark H Weaver  <mhw@netris.org>
19391
19392         * manual/arith.texi (Normalization Functions): Fix prototypes for
19393         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19394
19395 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19396
19397         [BZ #13889]
19398         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19399         high value to check if expl overflow.
19400         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19401         to check for underflow and overflow.
19402         * math/libm-test.inc: Add exp test.
19403
19404 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19405
19406         [BZ #11120]
19407         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19408         with NOT_IN_libc.
19409
19410 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19411
19412         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19413         symbol.
19414
19415 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19416
19417         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19418         wrap blocks consisting of several statements.
19419
19420         * sysdeps/generic/math-tests.h: New file.
19421         * sysdeps/i386/fpu/math-tests.h: Likewise.
19422         * math/test-snan.c: Include it.
19423         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19424
19425 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19426
19427         [BZ #15285]
19428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19429         (__ieee754_j0l): Do not improve calculations using cos of twice
19430         input for inputs above LDBL_MAX / 2.0L.
19431         (__ieee754_y0l): Likewise.
19432         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19433         (__ieee754_j1l): Do not improve calculations using cos of twice
19434         input for inputs above LDBL_MAX / 2.0L.
19435         (__ieee754_y1l): Likewise.
19436         * math/libm-test.inc (j0_test): Add another test.
19437         (j1_test): Likewise.
19438         (y0_test): Likewise.
19439         (y1_test): Likewise.
19440         * sysdeps/i386/fpu/libm-test-ulps: Update.
19441
19442 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19443
19444         * Rules ($(objpfx)bench-%.c): Include code from a C source
19445         file.
19446
19447 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19448
19449         [BZ #15287]
19450         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19451         imaginary part 1.0 and real part less than 0.5 specially.
19452         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19453         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19454         * math/libm-test.inc (cacos_test): Add more tests.
19455         (casin_test): Likewise.
19456         (casinh_test): Likewise.
19457         * sysdeps/i386/fpu/libm-test-ulps: Update.
19458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19459
19460 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19461
19462         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19463         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19464
19465 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19466
19467         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19468         * config.make.in (config-cflags-sse4): Remove variable.
19469         (config-cflags-avx): Likewise.
19470         (config-cflags-sse2avx): Likewise.
19471         (config-cflags-novzeroupper): Likewise.
19472         (config-asflags-i686): Likewise.
19473         (have-mfma4): Likewise.
19474         (have-as-vis3): Likewise.
19475         (MIG): Likewise.
19476         * configure.in (MIG): Do not AC_SUBST.
19477         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19478         (libc_cv_cc_sse4): Do not AC_SUBST.
19479         (libc_cv_cc_avx): Likewise.
19480         (libc_cv_cc_sse2avx): Likewise.
19481         (libc_cv_cc_novzeroupper): Likewise.
19482         (libc_cv_cc_fma4): Likewise.
19483         (libc_cv_as_i686): Likewise.
19484         (libc_cv_sparc_as_vis3): Likewise.
19485         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19486         LIBC_CONFIG_VAR.
19487         (config-asflags-i686): Likewise.
19488         (config-cflags-avx): Likewise.
19489         (config-cflags-sse2avx): Likewise.
19490         (have-mfma4): Likewise.
19491         (config-cflags-novzeroupper): Likewise.
19492         * sysdeps/mach/configure.in (MIG): Likewise.
19493         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19494         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19495         LIBC_CONFIG_VAR.
19496         (config-cflags-avx): Likewise.
19497         (config-cflags-sse2avx): Likewise.
19498         (have-mfma4): Likewise.
19499         (config-cflags-novzeroupper): Likewise.
19500         * configure: Regenerated.
19501         * sysdeps/i386/configure: Likewise.
19502         * sysdeps/mach/configure: Likewise.
19503         * sysdeps/sparc/configure: Likewise.
19504         * sysdeps/x86_64/configure: Likewise.
19505
19506 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19507
19508         [BZ #14812]
19509         * locale/programs/localedef.c (options): Put N_ translation marker
19510         on argument names, not just descriptions.
19511
19512 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19513
19514         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19515
19516 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19517
19518         [BZ #14176]
19519         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19520
19521 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19522
19523         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19524         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19525         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19526         [!BEFORE_ABORT] (before_abort): New function.
19527         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19528         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19529         (writev_for_fatal): New function.
19530         (WRITEV_FOR_FATAL): New macro; call that.
19531         (backtrace_and_maps): New function.
19532         (BEFORE_ABORT): New macro; call that.
19533         (struct str_list): Type removed.
19534         (__libc_message, __libc_fatal): Functions removed.
19535         Include <sysdeps/posix/libc_fatal.c> instead.
19536
19537 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19538
19539         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19540         constants.
19541         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19542         double constants.
19543
19544 2013-03-19  Andreas Schwab  <schwab@suse.de>
19545
19546         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19547         * sysdeps/gnu/configure: Regenerate.
19548
19549         * configure.in: Substitute libc_cv_rtlddir.
19550         * configure: Regenerate.
19551         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19552         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19553         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19554         * elf/Makefile (install-others, CFLAGS-interp.c)
19555         (ldso_install, common-ldd-rewrite): Likewise.
19556         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19557         $(inst_slibdir)/$(rtld-installed-name).
19558         * scripts/rellns-sh: Add -p option.
19559         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19560         for source.
19561
19562 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19563
19564         * manual/nptl.texi: Renamed to ...
19565         * manual/threads.texi: ... this.
19566         * manual/Makefile (chapters): Update.
19567
19568 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19569
19570         [BZ #14812]
19571         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19572         on argument names, not just descriptions.
19573         * malloc/memusagestat.c (options): Likewise.
19574         * nss/getent.c (options): Likewise.
19575
19576 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19577
19578         [BZ #14812]
19579         * iconv/iconv_prog.c (options): Put N_ translation marker
19580         on argument names, not just descriptions.
19581         * iconv/iconvconfig.c (options): Likewise.
19582
19583 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19584
19585         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19586         implementation which is faster on all x86_64 architectures.
19587         Tested on AMD, Intel Nehalem, SNB, IVB.
19588         * sysdeps/x86_64/strnlen.S: Likewise.
19589
19590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19591         Remove all multiarch strlen and strnlen versions.
19592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19593         Remove strlen and strnlen related parts.
19594
19595         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19596         Inline strlen part.
19597         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19598
19599         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19600         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19601         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19602         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19603         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19604         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19605
19606 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19607
19608         * manual/memory.texi (Malloc Tunable Parameters):
19609         Sort parameters alphabetically. Add comments for missing entries.
19610
19611 2013-03-17  David S. Miller  <davem@davemloft.net>
19612
19613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19614
19615 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19616
19617         [BZ #15283]
19618         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19619         for arguments at most half maximum finite value.
19620         * math/libm-test.inc (j0_test): Add more tests.
19621         (j1_test): Likewise.
19622         (y0_test): Likewise.
19623         (y1_test): Likewise.
19624         * sysdeps/i386/fpu/libm-test-ulps: Update.
19625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19626
19627         [BZ #14155]
19628         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19629         1 / x and functions P and Q for arguments above 0x1p256L.
19630         (__ieee754_y0l): Likewise.
19631         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19632         (__ieee754_y1l): Likewise.
19633         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19634         (j1_test): Likewise.
19635         (y0_test): Likewise.
19636         (y1_test): Likewise.
19637
19638 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19639
19640         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19641         variable.
19642
19643 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19644
19645         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19646         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19647         zero since it's initialized to EXEC_PAGESIZE.
19648
19649         * sysdeps/unix/sysv/linux/ldsodefs.h
19650         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19651         * sysdeps/generic/ldsodefs.h: ... here.
19652
19653 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19654
19655         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19656
19657         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19658         math/test-snan.c.
19659         * math/test-snan.c: Renamed from
19660         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19661         * math/Makefile (tests): Add test-snan.
19662         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19663         test-powerpc-snan.
19664
19665         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19666         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19667         functions.
19668         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19669         __builtin_nan family of functions.
19670         * math/libm-test.inc (initialize): Initialize qnan_value with
19671         __builtin_nan family of functions.
19672         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19673         Remove variables.
19674         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19675         Remove functions.
19676         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19677         storage class.  Initialize qNaN_var and sNaN_var with
19678         __builtin_nan and __builtin_nans families of functions,
19679         respectively.
19680
19681         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19682         (sqrt_test): Remove duplicate test with qNaN input.
19683         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19684         (round_test, signbit_test, significand_test): Note missing +/-Inf
19685         as well as qNaN tests.
19686
19687         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19688         qNaN_var.  Fix a few strings, too.
19689         * math/libm-test.inc (nan_value): Rename to qnan_value.
19690         * math/gen-libm-test.pl (%beautify): Adjust to that.
19691         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19692         * math/test-misc.c (main): Likewise.
19693         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19694         to __qnan_bytes, and __qnan_union, respectively.
19695         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19696         Likewise.
19697         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19698         and lqnanval, respectively.
19699         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19700         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19701         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19702         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19703
19704         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19705         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19706         doubles.
19707
19708         * math/test-misc.c (main): Fix copy'n'pastos.
19709         * misc/tst-efgcvt.c (special): Likewise.
19710
19711         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19712         Remove declarations.
19713
19714 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19715
19716         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19717         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19718         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19719         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19720
19721 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19722
19723         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19724         macro to return vdso values correctly in IFUNC implementations.
19725         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19726         Optimization by using IFUNC.
19727
19728 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19729             Richard Henderson  <rth@redhat.com>
19730             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19731
19732         * Makefile.in (bench): New target.
19733         * NEWS: Mention the benchmark framework.
19734         * Rules (bench): Likewise.
19735         (binaries-bench): Generate binaries for functions to
19736         benchmark.
19737         * benchtests/Makefile: New makefile for benchmark tests.
19738         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19739         programs.
19740         * benchtests/exp-inputs: New input file for EXP function.
19741         * benchtests/pow-inputs: New input file for POW function.
19742         * scripts/bench.pl: New script to generate source files for
19743         benchmark programs.
19744
19745 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19746
19747         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19748         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19749         computations on mantissa.  Use macros for rounding and
19750         division.
19751         (denorm): Likewise.
19752         (__dbl_mp): Likewise.
19753         (add_magnitudes): Likewise.
19754         (sub_magnitudes): Likewise.
19755         (__mul): Likewise.
19756         (__sqr): Likewise.
19757         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19758         powers of two in terms of TWOPOW macro.
19759         (mp_no): Make type of mantissa as MANTISSA_T.
19760         [!RADIXI]: Define RADIXI.
19761         [!TWO52]: Define TWO52.
19762         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19763
19764         * manual/nptl.texi (cindex): Modify threads to pthreads.
19765
19766 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19767
19768         * sysdeps/x86_64/preconfigure: Regenerated.
19769
19770 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19771
19772         [BZ #14155]
19773         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19774         0x1p28 and above.
19775         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19776         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19777         0x1p28 and above.
19778         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19779         * math/libm-test.inc (j0_test): Do not allow one spurious
19780         underflow exception.
19781         (y1_test): Likewise.
19782
19783 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19784
19785         * manual/Makefile (chapters): Add nptl.
19786         * manual/debug.texi (Debugging Support): Add link to Threads
19787         chapter.
19788         * manual/nptl.texi: New file.
19789
19790         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19791
19792 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19793
19794         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19795         for non-NULL pointer before the memory validity test. Pointed
19796         out by Holger Brunck <holger.brunck@keymile.com>.
19797
19798 2013-03-13  Andreas Schwab  <schwab@suse.de>
19799
19800         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19801         instead of .os.
19802
19803 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19804
19805         * timezone/zic.c: Update from tzcode 2013b.
19806
19807 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19808
19809         * manual/install.texi (Configuring and compiling):
19810         Mention i686 and i586.
19811         * INSTALL: Regenerate.
19812
19813 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19814
19815         * sysdeps/init_array/elf-init.c: New file.
19816         * csu/elf-init.c
19817         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19818         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19819
19820         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19821         __gmon_start__ as global, but as static with a .preinit_array pointer.
19822         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19823         * sysdeps/init_array/crti.S: New file, empty except for comments.
19824         * sysdeps/init_array/crtn.S: Likewise.
19825
19826 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19827
19828         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19829         definining bcopy.
19830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19831         Remove Prefer_SSE_for_memop.
19832         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19833         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19834         HAS_PREFER_SSE_FOR_MEMOP.
19835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19836         memset-x86-64.
19837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19838         Remove bzero, memset ifunc support.
19839         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19840         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19843
19844 2013-03-11  Andreas Schwab  <schwab@suse.de>
19845
19846         [BZ #15234]
19847         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19848         by SHLIB_COMPAT.
19849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19850         (GLIBC_2.16): Remove pthread_atfork.
19851
19852 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19853
19854         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19855         (ptestcases.h): Likewise.
19856
19857 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19858
19859         * Makeconfig ($(common-objpfx)config.status): Depend on
19860         sysdeps/*/preconfigure{,.in} too.
19861
19862 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19863
19864         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19865         (__free_hook): Use void * instead of __malloc_ptr_t.
19866         (__malloc_hook): Likewise.
19867         (__realloc_hook): Likewise.
19868         (__memalign_hook): Likewise.
19869         (__after_morecore_hook): Likewise.
19870         * malloc/arena.c (save_malloc_hook): Likewise.
19871         (save_free_hook): Likewise.
19872         * malloc/hooks.c (malloc_hook_ini): Likewise.
19873         (realloc_hook_ini): Likewise.
19874         (memalign_hook_ini): Likewise.
19875         * malloc/malloc.c (malloc_hook_ini): Likewise.
19876         (realloc_hook_ini): Likewise.
19877         (memalign_hook_ini): Likewise.
19878         (__free_hook): Likewise.
19879         (__malloc_hook): Likewise.
19880         (__realloc_hook): Likewise.
19881         (__memalign_hook): Likewise.
19882         (__libc_malloc): Likewise.
19883         (__libc_free): Likewise.
19884         (__libc_realloc): Likewise.
19885         (__libc_memalign): Likewise.
19886         (__libc_valloc): Likewise.
19887         (__libc_pvalloc): Likewise.
19888         (__libc_calloc): Likewise.
19889         (__posix_memalign): Likewise.
19890         * malloc/morecore.c (__sbrk): Likewise.
19891         (__default_morecore): Likewise.
19892
19893         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19894
19895         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19896         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19897         __malloc_ptrdiff_t.
19898
19899         * malloc/malloc.h (__malloc_size_t): Remove macro.
19900         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19901         __malloc_size_t.
19902         (old_memalign_hook): Likewise.
19903         (old_realloc_hook): Likewise.
19904         (struct hdr): Likewise.
19905         (flood): Likewise.
19906         (mallochook): Likewise.
19907         (memalignhook): Likewise.
19908         (reallochook): Likewise.
19909         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19910         (tr_old_realloc_hook): Likewise.
19911         (tr_old_memalign_hook): Likewise.
19912         (tr_mallochook): Likewise.
19913         (tr_reallochook): Likewise.
19914         (tr_memalignhook): Likewise.
19915
19916 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19917
19918         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19919         default_ldbl_pack and using as default implementation.
19920         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19921         implementation.
19922         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19923         redundant definition.
19924         (ldbl_insert_mantissa): Likewise.
19925         (ldbl_canonicalize): Likewise.
19926         (ldbl_nearbyint): Likewise.
19927         (ldbl_pack): Rename to ldbl_pack_ppc.
19928         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19929         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19930         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19931
19932 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19933
19934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19935         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19936         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19937         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19939         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19940         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19941         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19942
19943 2013-03-07  Andreas Jaeger  <aj@suse.de>
19944
19945         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19946         bits/mman-linux.h.
19947
19948 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19949
19950         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19951         Include mpa.h and declare __MPEXP.
19952         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19953         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19954         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19955         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19956         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19957         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19958         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19959
19960         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19961         (__slowpow): Use long double EXPL and LOGL functions to
19962         compute POW.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19964         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19965         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19966         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19967         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19968         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19969
19970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19971         intermediate variable to calculate exponent.
19972         (__sqr): Likewise.
19973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19974         Likewise.
19975         (__sqr): Likewise.
19976
19977         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19978         [!NO__SQR]: Define __sqr.
19979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19980         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19981         sysdeps/ieee754/dbl-64/mpa.c.
19982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19983
19984         [BZ #12723]
19985         * posix/Makefile (tests): Add tst-pathconf.
19986         * posix/tst-pathconf.c: New test case.
19987         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19988         _PC_PIPE_BUF.
19989         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19990
19991 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19992
19993         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19994
19995 2013-03-06  Andreas Jaeger  <aj@suse.de>
19996
19997         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19998         definition via __MAP_ANONYMOUS.
19999
20000         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20001         it's not part of Linux headers.
20002
20003         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20004         (MAP_HUGE_MASK): Define.
20005
20006         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20007         Define.
20008         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20010         Define.
20011         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20012         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20013         Define.
20014         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20015         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20016         Define.
20017         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20018
20019         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20020         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20021         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20022         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20023         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20024         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20025
20026         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20027         Handle f2fs.
20028
20029         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20030         Handle f2fs and efivarfs.
20031
20032         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20033         f2fs.
20034
20035         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20036         (EFIVARFS_MAGIC): Add.
20037         (F2FS_LINK_MAX): Add.
20038
20039 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20040
20041         * stdio-common/vfprintf.c: Replace __builtin_expect with
20042         __glibc_unlikely.
20043
20044 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20045
20046         [BZ #13550]
20047         * sysdeps/generic/bp-sym.h: Remove file.
20048         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20049         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20050         <bp-sym.h> and <bp-asm.h>.
20051         (__longjmp): Don't use BP_SYM.
20052         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20053         and <bp-asm.h>.
20054         (memcpy): Don't use BP_SYM.
20055         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20056         <bp-sym.h> and <bp-asm.h>.
20057         (memcpy): Don't use BP_SYM.
20058         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20059         <bp-asm.h>.
20060         (memcpy): Don't use BP_SYM.
20061         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20062         <bp-asm.h>.
20063         (memset): Don't use BP_SYM.
20064         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20065         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20066         (__bzero): Don't use BP_SYM.
20067         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20068         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20069         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20070         <bp-sym.h> and <bp-asm.h>.
20071         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20072         pointers.
20073         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20074         <bp-sym.h> and <bp-asm.h>.
20075         (memcpy): Don't use BP_SYM.
20076         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20077         <bp-sym.h> and <bp-asm.h>.
20078         (memset): Don't use BP_SYM.
20079         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20080         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20081         (__bzero): Don't use BP_SYM.
20082         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20083         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20084         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20085         <bp-sym.h> and <bp-asm.h>.
20086         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20087         pointers.
20088         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20089         <bp-sym.h> and <bp-asm.h>.
20090         (memcpy): Don't use BP_SYM.
20091         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20092         <bp-sym.h> and <bp-asm.h>.
20093         (memset): Don't use BP_SYM.
20094         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20095         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20096         (__bzero): Don't use BP_SYM.
20097         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20098         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20099         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20100         <bp-sym.h> and <bp-asm.h>.
20101         (__memchr): Don't use BP_SYM.
20102         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20103         <bp-sym.h> and <bp-asm.h>.
20104         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20105         pointers.
20106         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20107         <bp-sym.h> and <bp-asm.h>.
20108         (memcpy): Don't use BP_SYM.
20109         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20110         <bp-sym.h> and <bp-asm.h>.
20111         (__mempcpy): Don't use BP_SYM.
20112         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20113         <bp-sym.h> and <bp-asm.h>.
20114         (__memrchr): Don't use BP_SYM.
20115         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20116         <bp-sym.h> and <bp-asm.h>.
20117         (memset): Don't use BP_SYM.
20118         (__bzero): Likewise.
20119         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20120         <bp-sym.h> and <bp-asm.h>.
20121         (__rawmemchr): Don't use BP_SYM.
20122         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20123         <bp-sym.h> and <bp-asm.h>.
20124         (__STRCMP): Don't use BP_SYM.
20125         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20126         <bp-sym.h> and <bp-asm.h>.
20127         (strchr): Don't use BP_SYM.
20128         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20129         <bp-sym.h> and <bp-asm.h>.
20130         (__strchrnul): Don't use BP_SYM.
20131         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20132         <bp-sym.h> and <bp-asm.h>.
20133         (strlen): Don't use BP_SYM.
20134         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20135         <bp-sym.h> and <bp-asm.h>.
20136         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20137         pointers.
20138         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20139         <bp-sym.h> and <bp-asm.h>.
20140         (__strnlen): Don't use BP_SYM.
20141         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20142         <bp-sym.h> and <bp-asm.h>.
20143         (__GI__setjmp): Don't use BP_SYM.
20144         (_setjmp): Likewise.
20145         (__sigsetjmp): Likewise.
20146         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20147         (L(start_addresses)): Don't use BP_SYM.
20148         (_start): Likewise.
20149         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20150         <bp-asm.h>.
20151         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20152         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20153         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20154         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20155         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20156         <bp-asm.h>.
20157         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20158         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20159         about bounded pointers.
20160         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20161         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20162         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20163         <bp-asm.h>.
20164         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20165         about bounded pointers.  Remove GKM FIXME comments.
20166         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20167         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20168         <bp-asm.h>.
20169         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20170         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20171         Remove GKM FIXME comments.
20172         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20173         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20174         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20175         <bp-asm.h>.
20176         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20177         about bounded pointers.  Remove GKM FIXME comment.
20178         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20179         and <bp-asm.h>.
20180         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20181         pointers.
20182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20183         <bp-sym.h> and <bp-asm.h>.
20184         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20186         <bp-sym.h> and <bp-asm.h>.
20187         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20188         comment.
20189
20190 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20191
20192         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20193         call free(NULL).
20194
20195 2013-03-05  David S. Miller  <davem@davemloft.net>
20196
20197         * po/es.po: Update from translation team.
20198
20199 2013-03-05  Andreas Jaeger  <aj@suse.de>
20200
20201         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20202         <bits/mman-linux.h>.
20203         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20204         is fine.
20205         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20206         <bits/mman-linux.h> to end of file.
20207         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20208         is fine.
20209         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20210         <bits/mman-linux.h> to end of file.
20211         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20212         is fine.
20213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20214         <bits/mman-linux.h> to end of file.
20215
20216         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20217         (MCL_CURRENT, MCL_FUTURE): Define here.
20218
20219 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20220
20221         [BZ #15232]
20222         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20223         attribute_hidden.
20224         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20225
20226 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20227
20228         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20229         fourth parameter needed for rt_sigprocmask syscall.
20230         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20231         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20233         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20234         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20235         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20236
20237 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20238
20239         [BZ #13550]
20240         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20241         comment about bounded pointers.
20242         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20243         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20244
20245 2013-03-04  Andreas Jaeger  <aj@suse.de>
20246
20247         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20248         common definitions.
20249
20250         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20251         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20252         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20254         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20256
20257 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20258
20259         [BZ #15055]
20260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20261         __ieee754_sqrl instead of __sqrl.
20262
20263 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20264
20265         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20266         * sysdeps/powerpc/fpu_control.h: ... here.
20267         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20268         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20269         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20270         * sysdeps/powerpc/bits/mathinline.h: ... here.
20271
20272 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20273
20274         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20275         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20276         to just [NEED_DL_SYSINFO_DSO].
20277         * elf/dl-support.c: Likewise.
20278         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20279         * elf/rtld.c (dl_main): Likewise.
20280         * elf/setup-vdso.h (setup_vdso): Likewise.
20281         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20282         * sysdeps/unix/sysv/linux/dl-sysdep.c
20283         (_dl_discover_osversion): Likewise.
20284
20285 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20286
20287         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20288         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20289
20290 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20291
20292         * NEWS: Mention libm performance improvements and non-x86 PI
20293         futex support.
20294
20295         * csu/libc-start.c (__pthread_initialize_minimal): Change
20296         function arguments.
20297         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20298
20299 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20300
20301         [BZ #13550]
20302         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20303         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20304         <bp-sym.h> and <bp-asm.h>.
20305         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20306         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20307         and <bp-asm.h>.
20308         (memcpy): Don't use BP_SYM.
20309         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20310         <bp-asm.h>.
20311         (__mpn_add_n): Don't use BP_SYM.
20312         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20313         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20314         and <bp-asm.h>.
20315         (__mpn_addmul_1): Don't use BP_SYM.
20316         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20317         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20318         <bp-sym.h>.
20319         (_setjmp): Don't use BP_SYM.
20320         (__novmx_setjmp): Likewise.
20321         (__GI__setjmp): Likewise.
20322         (__vmx_setjmp): Likewise.
20323         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20324         <bp-sym.h>.
20325         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20326         (__bzero): Don't use BP_SYM.
20327         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20328         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20329         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20330         <bp-sym.h> and <bp-asm.h>.
20331         (memcpy): Don't use BP_SYM.
20332         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20333         <bp-sym.h> and <bp-asm.h>.
20334         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20335         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20336         <bp-sym.h> and <bp-asm.h>.
20337         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20338         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20339         <bp-asm.h>.
20340         (__mpn_lshift): Don't use BP_SYM.
20341         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20342         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20343         <bp-asm.h>.
20344         (memset): Don't use BP_SYM.
20345         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20346         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20347         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20348         <bp-asm.h>.
20349         (__mpn_mul_1): Don't use BP_SYM.
20350         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20352         <bp-sym.h> and <bp-asm.h>.
20353         (memcmp): Don't use BP_SYM.
20354         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20355         <bp-sym.h> and <bp-asm.h>.
20356         (memcpy): Don't use BP_SYM.
20357         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20358         <bp-sym.h> and <bp-asm.h>.
20359         (memset): Don't use BP_SYM.
20360         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20361         <bp-sym.h> and <bp-asm.h>.
20362         (strncmp): Don't use BP_SYM.
20363         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20364         <bp-sym.h> and <bp-asm.h>.
20365         (memcpy): Don't use BP_SYM.
20366         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20367         <bp-sym.h> and <bp-asm.h>.
20368         (memset): Don't use BP_SYM.
20369         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20370         <bp-sym.h> and <bp-asm.h>.
20371         (__memchr): Don't use BP_SYM.
20372         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20373         <bp-sym.h> and <bp-asm.h>.
20374         (memcmp): Don't use BP_SYM.
20375         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20376         <bp-sym.h> and <bp-asm.h>.
20377         (memcpy): Don't use BP_SYM.
20378         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20379         <bp-sym.h> and <bp-asm.h>.
20380         (__mempcpy): Don't use BP_SYM.
20381         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20382         <bp-sym.h> and <bp-asm.h>.
20383         (__memrchr): Don't use BP_SYM.
20384         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20385         <bp-sym.h> and <bp-asm.h>.
20386         (memset): Don't use BP_SYM.
20387         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20388         <bp-sym.h> and <bp-asm.h>.
20389         (__rawmemchr): Don't use BP_SYM.
20390         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20391         <bp-sym.h> and <bp-asm.h>.
20392         (__STRCMP): Don't use BP_SYM.
20393         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20394         <bp-sym.h> and <bp-asm.h>.
20395         (strchr): Don't use BP_SYM.
20396         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20397         <bp-sym.h> and <bp-asm.h>.
20398         (__strchrnul): Don't use BP_SYM.
20399         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20400         <bp-sym.h> and <bp-asm.h>.
20401         (strlen): Don't use BP_SYM.
20402         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20403         <bp-sym.h> and <bp-asm.h>.
20404         (strncmp): Don't use BP_SYM.
20405         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20406         <bp-sym.h> and <bp-asm.h>.
20407         (__strnlen): Don't use BP_SYM.
20408         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20409         <bp-asm.h>.
20410         (__mpn_rshift): Don't use BP_SYM.
20411         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20412         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20413         <bp-sym.h> and <bp-asm.h>.
20414         (__sigsetjmp): Don't use BP_SYM.
20415         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20416         (L(start_addresses)): Don't use BP_SYM.
20417         (_start): Likewise.
20418         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20419         <bp-asm.h>.
20420         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20421         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20422         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20423         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20424         <bp-asm.h>.
20425         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20426         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20427         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20428         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20429         <bp-asm.h>.
20430         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20431         comments.
20432         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20433         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20434         <bp-asm.h>.
20435         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20436         FIXME comments.
20437         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20438         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20439         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20440         <bp-asm.h>.
20441         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20442         comment.
20443         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20444         and <bp-asm.h>.
20445         (strncmp): Don't use BP_SYM,
20446         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20447         <bp-asm.h>.
20448         (__mpn_sub_n): Don't use BP_SYM.
20449         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20450         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20451         and <bp-asm.h>.
20452         (__mpn_submul_1): Don't use BP_SYM.
20453         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20455         <bp-sym.h> and <bp-asm.h>.
20456         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20458         <bp-sym.h> and <bp-asm.h>.
20459         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20460         comment.
20461
20462 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20463
20464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20465         Use ZK to minimize writes to Z.
20466         (sub_magnitudes): Simplify code a bit.
20467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20468         Use ZK to minimize writes to Z.
20469         (sub_magnitudes): Simplify code a bit.
20470
20471 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20472
20473         * csu/gmon-start.c: Add special exception to license text.
20474
20475 2013-02-27  Richard Henderson  <rth@redhat.com>
20476
20477         * scripts/config.guess: Update from config.git.
20478         * scripts/config.sub: Likewise.
20479
20480 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20481
20482         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20483
20484         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20485
20486         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20487
20488         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20489
20490         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20491
20492 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20493
20494         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20495         [$(build-shared = yes].
20496
20497 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20498
20499         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20500         (__mul): Reduce iterations for calculating mantissa.
20501
20502         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20503         MPTWO.
20504         (__mpranred): Likewise.
20505
20506         [BZ #15160]
20507         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20508         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20509
20510 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20511
20512         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20513         Define __attribute__.
20514
20515 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20516
20517         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20518         unused.
20519         * posix/regex_internal.h (__attribute): Remove.
20520         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20521         (re_string_context_at): Likewise.
20522         (bitset_not): Use __attribute__ and mark function as possibly
20523         unused.
20524         (bitset_merge): Likewise.
20525         (bitset_mask): Likewise.
20526         (re_string_char_size_at): Likewise.
20527         (re_string_wchar_at): Likewise.
20528         (re_string_elem_size_at): Likewise.
20529
20530 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20531
20532         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20533         code.
20534         (cc32): Likewise.
20535
20536         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20537         (__acr): Likewise.
20538         (__cpy): Likewise.
20539         (norm): Likewise.
20540         (denorm): Likewise.
20541         (__dbl_mp): Likewise.
20542         (add_magnitudes): Likewise.
20543         (sub_magnitudes): Likewise.
20544         (__mul): Likewise.
20545         (__inv): Likewise.
20546
20547         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20548         style.
20549
20550         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20551         style.
20552
20553         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20554         code.
20555
20556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20557         up changes with default code.
20558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20559         Likewise.
20560
20561 2013-02-24  Allan McRae  <allan@archlinux.org>
20562
20563         * manual/socket.texi (The Internet Namespace): Order menu items
20564         to match that in the file.
20565
20566         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20567         node listing of the info page menu.
20568
20569 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20570
20571         [BZ #13550]
20572         * sysdeps/i386/bp-asm.h: Remove file.
20573         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20574         (PARMS): Do not use macros from bp-asm.h.
20575         (S1): Likewise.
20576         (S2): Likewise.
20577         (SIZE): Likewise.
20578         (__mpn_add_n): Do not use BP_SYM
20579         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20580         "bp-asm.h".
20581         (PARMS): Do not use macros from bp-asm.h.
20582         (S1): Likewise.
20583         (SIZE): Likewise.
20584         (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
20591         "bp-asm.h".
20592         (PARMS): Do not use macros from bp-asm.h.
20593         (SIGMSK): Likewise.
20594         (setjmp): Likewise.  Do not use BP_SYM.
20595         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20596         "bp-asm.h".
20597         (PARMS): Do not use macros from bp-asm.h.
20598         (__frexp): Do not use BP_SYM.
20599         (frexp): Likewise.
20600         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20601         "bp-asm.h".
20602         (PARMS): Do not use macros from bp-asm.h.
20603         (__frexpf): Do not use BP_SYM.
20604         (frexpf): Likewise.
20605         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20606         "bp-asm.h".
20607         (PARMS): Do not use macros from bp-asm.h.
20608         (__frexpl): Do not use BP_SYM.
20609         (frexpl): Likewise.
20610         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20611         "bp-asm.h".
20612         (PARMS): Do not use macros from bp-asm.h.
20613         (__remquo): Do not use BP_SYM.
20614         (remquo): Likewise.
20615         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20616         "bp-asm.h".
20617         (PARMS): Do not use macros from bp-asm.h.
20618         (__remquof): Do not use BP_SYM.
20619         (remquof): Likewise.
20620         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20621         "bp-asm.h".
20622         (PARMS): Do not use macros from bp-asm.h.
20623         (__remquol): Do not use BP_SYM.
20624         (remquol): Likewise.
20625         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20626         "bp-asm.h".
20627         (PARMS): Do not use macros from bp-asm.h.
20628         (DEST): Likewise.
20629         (SRC): Likewise.
20630         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20631         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20632         "bp-asm.h".
20633         (PARMS): Do not use macros from bp-asm.h.
20634         (strlen): Do not use BP_SYM.
20635         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20636         "bp-asm.h".
20637         (PARMS): Do not use macros from bp-asm.h.
20638         (S1): Likewise.
20639         (S2): Likewise.
20640         (SIZE): Likewise.
20641         (__mpn_add_n): Do not use BP_SYM.
20642         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20643         "bp-asm.h".
20644         (PARMS): Do not use macros from bp-asm.h.
20645         (S1): Likewise.
20646         (SIZE): Likewise.
20647         (__mpn_addmul_1): Do not use BP_SYM.
20648         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20649         weak_alias.
20650         (bzero): Likewise.
20651         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20652         "bp-asm.h".
20653         (PARMS): Do not use macros from bp-asm.h.
20654         (S): Likewise.
20655         (SIZE): Likewise.
20656         (__mpn_lshift): Do not use BP_SYM.
20657         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20658         "bp-asm.h".
20659         (PARMS): Do not use macros from bp-asm.h.
20660         (DEST): Likewise.
20661         (SRC): Likewise.
20662         (LEN): Likewise.
20663         (memcpy): Likewise.  Do not use BP_SYM.
20664         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20665         libc_hidden_def and weak_alias.
20666         (mempcpy): Do not use BP_SYM in weak_alias.
20667         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20668         "bp-asm.h".
20669         (PARMS): Do not use macros from bp-asm.h.
20670         (DEST): Likewise.
20671         (LEN): Likewise.
20672         [!BZERO_P] (CHR): Likewise.
20673         (memset): Likewise.  Do not use BP_SYM.
20674         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20675         "bp-asm.h".
20676         (PARMS): Do not use macros from bp-asm.h.
20677         (S1): Likewise.
20678         (SIZE): Likewise.
20679         (__mpn_mul_1): Do not use BP_SYM.
20680         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20681         "bp-asm.h".
20682         (PARMS): Do not use macros from bp-asm.h.
20683         (S): Likewise.
20684         (SIZE): Likewise.
20685         (__mpn_rshift): Do not use BP_SYM.
20686         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20687         "bp-asm.h".
20688         (PARMS): Do not use macros from bp-asm.h.
20689         (STR): Likewise.
20690         (CHR): Likewise.
20691         (strchr): Likewise.  Do not use BP_SYM.
20692         (index): Do not use BP_SYM in weak_alias.
20693         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20694         "bp-asm.h".
20695         (PARMS): Do not use macros from bp-asm.h.
20696         (DEST): Likewise.
20697         (SRC): Likewise.
20698         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20699         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20700         "bp-asm.h".
20701         (PARMS): Do not use macros from bp-asm.h.
20702         (strlen): Do not use BP_SYM.
20703         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20704         "bp-asm.h".
20705         (PARMS): Do not use macros from bp-asm.h.
20706         (S1): Likewise.
20707         (S2): Likewise.
20708         (SIZE): Likewise.
20709         (__mpn_sub_n): Do not use BP_SYM.
20710         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20711         "bp-asm.h".
20712         (PARMS): Do not use macros from bp-asm.h.
20713         (S1): Likewise.
20714         (SIZE): Likewise.
20715         (__mpn_submul_1): Do not use BP_SYM.
20716         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20717         "bp-asm.h".
20718         (PARMS): Do not use macros from bp-asm.h.
20719         (S1): Likewise.
20720         (S2): Likewise.
20721         (SIZE): Likewise.
20722         (__mpn_add_n): Do not use BP_SYM.
20723         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20724         weak_alias.
20725         (bzero): Likewise.
20726         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20727         "bp-asm.h".
20728         (PARMS): Do not use macros from bp-asm.h.
20729         (BLK2): Likewise.
20730         (LEN): Likewise.
20731         (memcmp): Do not use BP_SYM.
20732         (bcmp): Do not use BP_SYM in weak_alias.
20733         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20734         "bp-asm.h".
20735         (PARMS): Do not use macros from bp-asm.h.
20736         (DEST): Likewise.
20737         (SRC): Likewise.
20738         (LEN): Likewise.
20739         (memcpy): Likewise.  Do not use BP_SYM.
20740         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20741         "bp-asm.h".
20742         (PARMS): Do not use macros from bp-asm.h.
20743         (DEST): Likewise.
20744         (SRC): Likewise.
20745         (LEN): Likewise.
20746         (memmove): Likewise.  Do not use BP_SYM.
20747         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20748         "bp-asm.h".
20749         (PARMS): Do not use macros from bp-asm.h.
20750         (DEST): Likewise.
20751         (SRC): Likewise.
20752         (LEN): Likewise.
20753         (__mempcpy): Likewise.  Do not use BP_SYM.
20754         (mempcpy): Do not use BP_SYM in weak_alias.
20755         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20756         "bp-asm.h".
20757         (PARMS): Do not use macros from bp-asm.h.
20758         (DEST): Likewise.
20759         (LEN): Likewise.
20760         [!BZERO_P] (CHR): Likewise.
20761         (memset): Likewise.  Do not use BP_SYM.
20762         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20763         "bp-asm.h".
20764         (PARMS): Do not use macros from bp-asm.h.
20765         (STR2): Likewise.
20766         (strcmp): Do not use BP_SYM.
20767         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20768         "bp-asm.h".
20769         (PARMS): Do not use macros from bp-asm.h.
20770         (STR): Likewise.
20771         (DELIM): Likewise.
20772         [USE_AS_STRTOK_R] (SAVE): Likewise.
20773         (FUNCTION): Likewise.  Do not use BP_SYM.
20774         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20775         aliases.
20776         (strtok_r): Likewise.
20777         (__GI___strtok_r): Likewise.
20778         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20779         (PARMS): Do not use macros from bp-asm.h.
20780         (S): Likewise.
20781         (SIZE): Likewise.
20782         (__mpn_lshift): Do not use BP_SYM.
20783         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20784         (PARMS): Do not use macros from bp-asm.h.
20785         (STR): Likewise.
20786         (CHR): Likewise.
20787         (__memchr): Do not use BP_SYM.
20788         (memchr): Do not use BP_SYM in weak_alias.
20789         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20790         (PARMS): Do not use macros from bp-asm.h.
20791         (BLK2): Likewise.
20792         (LEN): Likewise.
20793         (memcmp): Do not use BP_SYM.
20794         (bcmp): Do not use BP_SYM in weak_alias.
20795         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20796         (PARMS): Do not use macros from bp-asm.h.
20797         (S1): Likewise.
20798         (SIZE): Likewise.
20799         (__mpn_mul_1): Do not use BP_SYM.
20800         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20801         "bp-asm.h".
20802         (PARMS): Do not use macros from bp-asm.h.
20803         (STR): Likewise.
20804         (CHR): Likewise.
20805         (__rawmemchr): Do not use BP_SYM.
20806         (rawmemchr): Do not use BP_SYM in weak_alias.
20807         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20808         (PARMS): Do not use macros from bp-asm.h.
20809         (S): Likewise.
20810         (SIZE): Likewise.
20811         (__mpn_rshift): Do not use BP_SYM.
20812         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20813         (PARMS): Do not use macros from bp-asm.h.
20814         (SIGMSK): Likewise.
20815         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20816         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20817         (_start): Do not use BP_SYM.
20818         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20819         (PARMS): Do not use macros from bp-asm.h.
20820         (DEST): Likewise.
20821         (SRC): Likewise.
20822         (__stpcpy): Likewise.  Do not use BP_SYM.
20823         (stpcpy): Do not use BP_SYM in weak_alias.
20824         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20825         "bp-asm.h".
20826         (PARMS): Do not use macros from bp-asm.h.
20827         (DEST): Likewise.
20828         (SRC): Likewise.
20829         (LEN): Likewise.
20830         (__stpncpy): Likewise.  Do not use BP_SYM.
20831         (stpncpy): Do not use BP_SYM in weak_alias.
20832         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20833         (PARMS): Do not use macros from bp-asm.h.
20834         (STR): Likewise.
20835         (CHR): Likewise.
20836         (strchr): Likewise.  Do not use BP_SYM.
20837         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20838         "bp-asm.h".
20839         (PARMS): Do not use macros from bp-asm.h.
20840         (STR): Likewise.
20841         (CHR): Likewise.
20842         (__strchrnul): Likewise.  Do not use BP_SYM.
20843         (strchrnul): Do not use BP_SYM in weak_alias.
20844         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20845         "bp-asm.h".
20846         (PARMS): Do not use macros from bp-asm.h.
20847         (STOP): Likewise.
20848         (strcspn): Do not use BP_SYM.
20849         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20850         "bp-asm.h".
20851         (PARMS): Do not use macros from bp-asm.h.
20852         (STR): Likewise.
20853         (STOP): Likewise.
20854         (strpbrk): Likewise.  Do not use BP_SYM.
20855         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20856         "bp-asm.h".
20857         (PARMS): Do not use macros from bp-asm.h.
20858         (STR): Likewise.
20859         (CHR): Likewise.
20860         (strrchr): Likewise.  Do not use BP_SYM.
20861         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20862         (PARMS): Do not use macros from bp-asm.h.
20863         (SKIP): Likewise.
20864         (strspn): Do not use BP_SYM.
20865         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20866         (PARMS): Do not use macros from bp-asm.h.
20867         (STR): Likewise.
20868         (DELIM): Likewise.
20869         (SAVE): Likewise.
20870         (FUNCTION): Likewise.  Do not use BP_SYM.
20871         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20872         aliases.
20873         (strtok_r): Likewise.
20874         (__GI___strtok_r): Likewise.
20875         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20876         (PARMS): Do not use macros from bp-asm.h.
20877         (S1): Likewise.
20878         (S2): Likewise.
20879         (SIZE): Likewise.
20880         (__mpn_sub_n): Do not use BP_SYM.
20881         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20882         "bp-asm.h".
20883         (PARMS): Do not use macros from bp-asm.h.
20884         (S1): Likewise.
20885         (SIZE): Likewise.
20886         (__mpn_submul_1): Do not use BP_SYM.
20887         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20888         <bp-sym.h>.
20889         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20890         and <bp-asm.h>.
20891         (PARMS): Do not use macros from bp-asm.h.
20892         (FLAGS): Likewise.
20893         (PTID): Likewise.
20894         (TLS): Likewise.
20895         (CTID): Likewise.
20896         (__clone): Do not use BP_SYM.
20897         (clone): Do not use BP_SYM in weak_alias.
20898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20899         and <bp-asm.h>.
20900         (PARMS): Do not use macros from bp-asm.h.
20901         (LEN): Likewise.
20902         (__mmap64): Do not use BP_SYM.
20903         (mmap64): Do not use BP_SYM in weak_alias.
20904         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20905         <bp-sym.h> and <bp-asm.h>.
20906         (PARMS): Do not use macros from bp-asm.h.
20907         (__posix_fadvise64_l64): Do not use BP_SYM.
20908         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20909         (PARMS): Do not use macros from bp-asm.h.
20910         (NSOPS): Likewise.
20911         (semtimedop): Do not use BP_SYM.
20912         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20913         and <bp-asm.h>.
20914
20915 2013-02-21  Allan McRae  <allan@archlinux.org>
20916
20917         * manual/message.texi (Charset conversion in gettext):
20918         Move @end statement to beginning of line.
20919
20920 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20921
20922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20923         static.
20924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20925         Likewise.
20926
20927         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20928         (denorm): Likewise.
20929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20931
20932 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20933
20934         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20935         tail-call to the resolved function if pltexit isn't needed.
20936
20937 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20938
20939         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20940         or Y being zero as being unlikely.
20941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20942         Likewise.
20943
20944 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20945
20946         * manual/nss.texi (System Databases and Name Service Switch):
20947         Remove frobnicate @pxref.
20948
20949 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20950
20951         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20952         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20953
20954 2013-02-20  Petr Machata  <pmachata@redhat.com>
20955
20956         * elf/elf.h (R_ARM_TARGET1): New macro.
20957         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20958         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20959         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20960         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20961         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20962         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20963         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20964         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20965         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20966         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20967         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20968         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20969         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20970         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20971         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20972         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20973         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20974         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20975         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20976         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20977         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20978         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20979         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20980         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20981         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20982         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20983         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20984         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20985         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20986         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20987         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20988         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20989         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20990         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20991         (R_ARM_THM_GOT_BREL12): Likewise.
20992         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20993         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20994         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20995         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20996         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20997         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20998         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20999         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21000         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21001
21002 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21003
21004         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21005         __attribute_used__ to __attribute__ ((unused)).
21006
21007 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21008
21009         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21010         powerpc mpa.c.
21011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21012         comment formatting.
21013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21014
21015 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21016
21017         [BZ #13550]
21018         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21019         Remove macro.
21020         (ENTER): Remove both macro definitions.
21021         (LEAVE): Likewise.
21022         (CHECK_BOUNDS_LOW): Likewise.
21023         (CHECK_BOUNDS_HIGH): Likewise.
21024         (CHECK_BOUNDS_BOTH): Likewise.
21025         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21026         (RETURN_BOUNDED_POINTER): Likewise.
21027         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21028         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21029         (POP_ERRNO_LOCATION_RETURN): Likewise.
21030         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21031         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21032         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21033         macros.
21034         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21035         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21036         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21037         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21038         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21039         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21040         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21041         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21042         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21043         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21044         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21045         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21046         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21047         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21048         removed macros.
21049         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21050         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21051         macros.
21052         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21053         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21054         * sysdeps/i386/i586/memset.S (memset): Likewise.
21055         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21056         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21057         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21058         macros.
21059         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21060         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21061         Change uses of L(2) to L(out).
21062         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21063         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21064         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21065         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21066         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21067         removed macros.
21068         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21069         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21070         macros.
21071         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21072         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21073         (RETURN): Do not use macro LEAVE.
21074         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21075         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21076         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21077         * sysdeps/i386/i686/memset.S (memset): Likewise.
21078         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21079         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21080         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21081         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21082         Likewise.
21083         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21084         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21085         L(1_2) and L(1_3) into L(1).
21086         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21087         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21088         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21089         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21090         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21091         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21092         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21093         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21094         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21095         macros.
21096         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21097         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21098         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21099         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21100         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21101         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21102         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21103         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21104         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21105         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21106         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21107         * sysdeps/i386/strspn.S (strspn): Likewise.
21108         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21109         conditional code.
21110         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21111         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21112         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21113         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21114         L(1_3) into L(1_1).
21115         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21116         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21117         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21118         macros.
21119         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21120
21121 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21122
21123         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21124         macro.
21125
21126 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21127
21128         * math/atest-exp.c (exp_mpn): Remove ROUND.
21129         * math/atest-exp2.c (exp_mpn): Likewise.
21130         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21131
21132         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21133         * stdlib/tst-tls-atexit-lib.c: Likewise.
21134         * stdlib/tst-tls-atexit.c: Likewise.
21135
21136 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21137
21138         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21139         and __attribute_alloc_size__.
21140
21141 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21142
21143         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21144         __attribute_alloc_size__.
21145         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21146         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21147
21148 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21149
21150         * include/programs/xmalloc.h: New file.
21151         * catgets/gencat.c: Include it.
21152         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21153         * elf/pldd.c: Likewise.
21154         * iconv/iconv_charmap.c: Likewise.
21155         * iconv/iconvconfig.c: Likewise.
21156         * iconv/strtab.c: Likewise.
21157         * locale/programs/locale.c: Likewise.
21158         * locale/programs/localedef.h: Likewise.
21159         * locale/programs/simple-hash.c: Likewise.
21160         * nscd/nscd.h: Likewise.
21161         * nss/makedb.c: Likewise.
21162         * sysdeps/generic/ldconfig.h: Likewise.
21163
21164 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21165
21166         * Versions.def: Add GLIBC_2.18.
21167         * include/link.h (struct link_map): New member l_tls_dtor_count.
21168         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21169         (__call_tls_dtors): Likewise.
21170         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21171         __cxa_thread_atexit_impl.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21173         Likewise.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21175         Likewise.
21176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21179         Likewise.
21180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21182         Likewise.
21183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21184         Likewise.
21185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21187         Likewise.
21188         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21189         (tests): Add test case tst-tls-atexit.
21190         (modules-names): Add shared library for tst-tls-atexit.
21191         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21192         (GLIBC_PRIVATE): Add __call_tls_dtors.
21193         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21194         for libstdc++.
21195         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21196         * stdlib/tst-tls-atexit.c: New test case.
21197         * stdlib/tst-tls-atexit-lib.c: New test case.
21198
21199         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21200
21201         * elf/Versions (ld): Add _dl_find_dso_for_object.
21202         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21203         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21204         (dl_open_worker): Use _dl_find_dso_for_object.
21205         * elf/dl-sym.c (do_sym): Likewise.
21206         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21207
21208 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21209
21210         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21211         Syntactic changes only.
21212         (_dl_runtime_profile): Do a tail-call to the resolved function.
21213
21214 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21215
21216         [BZ #13550]
21217         * sysdeps/x86_64/bp-asm.h: Remove file.
21218         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21219         <bp-sym.h> and <bp-asm.h>.
21220         (__clone): Do not use BP_SYM.
21221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21222         <bp-sym.h> and <bp-asm.h>.
21223         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21224         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21225         "bp-asm.h".
21226         (_setjmp): Do not use BP_SYM.
21227         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21228         "bp-asm.h".
21229         (setjmp): Do not use BP_SYM.
21230         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21231         libc_hidden_def.
21232         (mempcpy): Do not use BP_SYM in weak_alias.
21233         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21234         "bp-asm.h".
21235         (strchr): Do not use BP_SYM.
21236         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21237         "bp-asm.h".
21238         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21239         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21240         (_start): Do not use BP_SYM.
21241         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21242         "bp-asm.h".
21243         (strcat): Do not use BP_SYM.
21244         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21245         "bp-asm.h".
21246         (STRCMP): Do not use BP_SYM.
21247         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21248         "bp-asm.h".
21249         (STRCPY): Do not use BP_SYM.
21250         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21251         "bp-asm.h".
21252         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21253         "bp-asm.h".
21254         (FUNCTION): Do not use BP_SYM.
21255         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21256         weak_alias.
21257         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21258
21259 2013-02-17  Andreas Jaeger  <aj@suse.de>
21260
21261         * time/Versions: Sort entries.
21262         * string/Versions: Likewise.
21263         * resolv/Versions: Likewise.
21264         * posix/Versions: Likewise.
21265         * iconv/Versions: Likewise.
21266         * elf/Versions: Likewise.
21267         * wcsmbs/Versions: Likewise.
21268
21269 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270
21271         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21272         loop termination condition.
21273
21274         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21275         variable to calculate EZ.
21276         (__sqr): Likewise.
21277
21278         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21279         the lower precision input.
21280
21281 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21282
21283         [BZ #13550]
21284         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21285         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21286         (run-via-rtld-prefix): Do not handle %-bp tests.
21287         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21288         (all-object-suffixes): Remove .ob.
21289         (bppfx): Remove variable.
21290         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21291         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21292         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21293         [$(build-bounded) = yes] (libtype.ob): Likewise.
21294         * Makerules (elide-routines.ob): Remove variable.
21295         (do-tests-clean): Do not handle *-bp.out.
21296         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21297         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21298         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21299         (tests): Do not include $(tests-bp.out).
21300         (xtests): Do not include $(xtests-bp.out).
21301         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21302         [$(build-bounded) = yes] ($(addprefix
21303         $(objpfx),$(binaries-bounded))): Remove rule.
21304         ($(objpfx)%-bp.out): Remove rule.
21305         * config.make.in (build-bounded): Remove variable.
21306         * crypt/Makefile [$(build-bounded) = yes]
21307         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21308         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21309         append to variable.
21310         [$(build-bounded) = yes] (install-lib): Likewise.
21311         [$(build-bounded) = yes] (generated): Likewise.
21312         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21313         Remove rule.
21314         * intl/Makefile [$(build-bounded) = yes]
21315         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21316         * math/Makefile [$(build-bounded) = yes]
21317         ($(tests:%=$(objpfx)%-bp): Likewise.
21318         * misc/Makefile [$(build-bounded) = yes]
21319         ($(objpfx)tst-tsearch-bp): Likewise.
21320         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21321         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21322         Remove dependency.
21323         * string/Makefile (o-objects.ob): Remove variable.
21324         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21325         (CFLAGS-.ob): Remove variable.
21326         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21327         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21328         both definitions of variable.
21329         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21330         (ASFLAGS-.ob): Remove variable.
21331
21332 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21333
21334         [BZ #13550]
21335         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21336         Remove __BOUNDED_POINTERS__ from condition.
21337         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21338         * string/bits/string2.h [!__NO_STRING_INLINES &&
21339         !__BOUNDED_POINTERS__]: Likewise.
21340         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21341         Likewise.
21342         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21343         Remove conditional code.
21344         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21345         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21346         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21347         condition.
21348
21349         [BZ #13550]
21350         * csu/libc-start.c: Do not include <bp-sym.h>.
21351         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21352         * elf/dl-open.c: Do not include <bp-sym.h>.
21353         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21354         * math/fegetenv.c: Do not include <bp-sym.h>.
21355         (fegetenv): Do not use BP_SYM in versioned symbols.
21356         * nptl/sysdeps/pthread/bits/libc-lockP.h
21357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21358         <bp-sym.h>.
21359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21360         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21362         (__pthread_mutex_destroy): Likewise.
21363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21364         (__pthread_mutex_lock): Likewise.
21365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21366         (__pthread_mutex_trylock): Likewise.
21367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21368         (__pthread_mutex_unlock): Likewise.
21369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21370         (__pthread_mutexattr_init): Likewise.
21371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21372         (__pthread_mutexattr_destroy): Likewise.
21373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21374         (__pthread_mutexattr_settype): Likewise.
21375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21376         (__pthread_rwlock_init): Likewise.
21377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21378         (__pthread_rwlock_destroy): Likewise.
21379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21380         (__pthread_rwlock_rdlock): Likewise.
21381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21382         (__pthread_rwlock_tryrdlock): Likewise.
21383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21384         (__pthread_rwlock_wrlock): Likewise.
21385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21386         (__pthread_rwlock_trywrlock): Likewise.
21387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21388         (__pthread_rwlock_unlock): Likewise.
21389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21390         (__pthread_key_create): Likewise.
21391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21392         (__pthread_setspecific): Likewise.
21393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21394         (__pthread_getspecific): Likewise.
21395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21396         Likewise.
21397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21398         (_pthread_cleanup_push_defer): Likewise.
21399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21400         (_pthread_cleanup_pop_restore): Likewise.
21401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21402         (pthread_setcancelstate): Likewise.
21403         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21404         <bp-sym.h>.
21405         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21406         (memchr): Do not use BP_SYM in weak_alias.
21407         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21408         (fegetenv): Do not use BP_SYM in versioned symbols.
21409         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21410         (fesetenv): Do not use BP_SYM in versioned symbols.
21411         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21412         (feupdateenv): Do not use BP_SYM in versioned symbols.
21413         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21414         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21415         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21416         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21417         (open64): Do not use BP_SYM in weak_alias.
21418         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21419         (fegetenv): Do not use BP_SYM in versioned symbols.
21420         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21421         (fesetenv): Do not use BP_SYM in versioned symbols.
21422         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21423         (feupdateenv): Do not use BP_SYM in versioned symbols.
21424         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21425         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21426         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21427         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21428         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21429         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21430         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21431         <bp-sym.h>.
21432         (__libc_start_main): Do not use BP_SYM.
21433
21434 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21435
21436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21437         redundant return line.
21438         (norm): Likewise.
21439         (denorm): Likewise.
21440         (dbl_mp): Likewise.
21441         (sub_magnitudes): Likewise.
21442         (__add): Likewise.
21443         (__sub): Likewise.
21444         (__mul): Likewise.
21445         (__inv): Likewise.
21446         (__dvd): Likewise.
21447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21448         (norm): Likewise.
21449         (denorm): Likewise.
21450         (dbl_mp): Likewise.
21451         (sub_magnitudes): Likewise.
21452         (__add): Likewise.
21453         (__sub): Likewise.
21454         (__mul): Likewise.
21455         (__inv): Likewise.
21456         (__dvd): Likewise.
21457
21458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21459         instead of __mul.
21460         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21461         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21462         (cc32): Likewise.
21463
21464         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21465         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21467         of __mul for squares.
21468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21469         function
21470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21471         Likewise.
21472         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21473         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21474
21475 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21476
21477         [BZ #13550]
21478         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21479         code.
21480         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21481         prototype or function definition.  Rename ubp_* variables and
21482         parameters.  Remove argv definitions conditional on
21483         [__BOUNDED_POINTERS__].
21484         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21485         * elf/dl-runtime.c (_dl_fixup): Likewise.
21486         * include/set-hooks.h (RUN_HOOK): Likewise.
21487         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21488         definition.
21489         * string/strcpy.c (strcpy): Do not use __unbounded.
21490         * sysdeps/generic/frame.h (struct layout): Likewise.
21491         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21492         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21493         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21494         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21495         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21496         (__backtrace): Likewise.
21497         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21498         use __ptrvalue.
21499         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21500         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21501         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21502         Likewise.
21503         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21504         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21505         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21506         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21507         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21508         Do not use __unbounded.
21509         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21510         Rename __unboundedrlimits parameter to rlimits in prototype.
21511         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21512         Do not use __unbounded.
21513         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21514         not use __ptrvalue.
21515         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21516         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21517         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21518         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21519         __ptrvalue or __unbounded.
21520         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21521         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21522         use __unbounded.
21523         (__new_msgctl): Do not use __ptrvalue.
21524         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21525         __unbounded.
21526         (__libc_msgrcv): Do not use __ptrvalue.
21527         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21528         startup_info): Do not use __unbounded.
21529         (__libc_start_main): Likewise.  Rename ubp_* variables and
21530         parameters.  Remove argv definitions conditional on
21531         [__BOUNDED_POINTERS__].
21532         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21533         __ptrvalue.
21534         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21535         use __unbounded.
21536         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21537         or __ptrvalue.
21538         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21539         use __unbounded.
21540         (__new_shmctl): Do not use __ptrvalue.
21541         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21542         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21543         Likewise.
21544         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21545         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21546         (__libc_sigaction): Likewise.
21547         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21548         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21549         Likewise.
21550         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21551
21552 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21553
21554         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21555
21556         * string/mempcpy.c: Implement by calling memcpy.
21557
21558 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21559
21560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21561
21562         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21563         evaluation.
21564
21565         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21566         values in the mantissa.
21567
21568         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21569         minimize writes to Z.
21570         (sub_magnitudes): Simplify code a bit.
21571
21572 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21573
21574         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21575         from the message.  The linker prefixes all warnings with that already.
21576
21577 2013-02-12  Andreas Schwab  <schwab@suse.de>
21578
21579         [BZ #15078]
21580         * posix/regexec.c (extend_buffers): Add parameter min_len.
21581         (check_matching): Pass minimum needed length.
21582         (clean_state_log_if_needed): Likewise.
21583         (get_subexp): Likewise.
21584         * posix/Makefile (tests): Add bug-regex34.
21585         (bug-regex34-ENV): Define.
21586         * posix/bug-regex34.c: New file.
21587
21588         [BZ #11561]
21589         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21590         elements compare against the byte sequence of it, not its name.
21591         * posix/Makefile (tests): Add bug-regex35.
21592         (bug-regex35-ENV): Define.
21593         * posix/bug-regex35.c: New file.
21594
21595 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21596
21597         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21598         comment.
21599         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21600         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21601         (CHECK_EOL): Add undef.
21602
21603 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21604
21605         * bits/stdlib-bsearch.h: New file.
21606         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21607         * stdlib/stdlib.h: Likewise.
21608
21609 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21610
21611         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21612         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21613         declaration.
21614         * manual/search.texi (Array Search Function): Add missing const in
21615         lfind prototype.
21616         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21617         declaration to use rlim_t.
21618         (Basic Scheduling Functions): Remove erroneous const from
21619         sched_getparam prototype.  Remove erroneous * from
21620         sched_get_priority_max and sched_get_priority_min prototypes.
21621         (Resource Usage): Fix summary @comment on vtimes to refer to
21622         sys/vtimes.h rather than vtimes.h.
21623         Add missing *s in vtimes prototype.
21624         (Limits on Resources): Fix ulimit prototype to return long int.
21625         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21626         prototypes to use long int rather than double.
21627         (BSD Random): Fix initstate and setstate to use char *, not void *.
21628         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21629         prototype to make second argument 'struct aiocb64 *const[]'.
21630         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21631         (Status of AIO Operations): Remove erroneous const in aio_return and
21632         aio_return64 prototypes.
21633         (Synchronizing I/O): Fix sync prototype to return void.
21634         * manual/startup.texi (Suboptions): Remove an erroneous const in
21635         getsubopt prototype.
21636         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21637         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21638         use size_t rather than int.
21639         (Scanning All Users): Likewise for getpwent_r.
21640         (Setting Groups): Add missing const to setgroups prototype.
21641         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21642         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21643         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21644         'const void *' rather than 'const char *'.
21645         (Host Address Functions): Likewise for inet_ntop.
21646         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21647         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21648         ssize_t for return value.
21649         (Sending Data): Likewise for send, sendto, sendmsg.
21650         (Socket Option Functions): Add a missing const in setsockopt prototype.
21651         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21652         use wchar_t for the argument.
21653         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21654         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21655         take no arguments.
21656         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21657         double/float/long double for second argument.
21658         Fix return types of significand, significandf, significandl.
21659         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21660         argument in fchmod prototype.
21661         (File Owner): Use uid_t and gid_t in fchown prototype.
21662         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21663         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21664         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21665         use 'const struct dirent **' as argument types to CMP function pointer
21666         argument.
21667         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21668         (File Times): Fix summary magic @comment for struct utimbuf and utime
21669         to refer to utime.h, not time.h.
21670         * manual/string.texi (Argz Functions): Add missing const in
21671         argz_extract and argz_next prototypes.
21672         (Finding Tokens in a String): Likewise for basename.
21673         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21674         (Copying and Concatenation): Fix typo in wmemmove prototype.
21675         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21676         (Signal Stack): Remove erroneous const in sigstack prototype.
21677         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21678         prototype.
21679         (Simple Calendar Time): Likewise for stime.
21680         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21681         prototype.
21682         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21683         say sys/sysctl.h instead.
21684         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21685         and vsyslog prototypes.
21686
21687 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21688
21689         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21690         Remove.
21691
21692 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21693
21694         * misc/sys/mman.h: Fix typo in mremap comment.
21695
21696 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21697
21698         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21699         the '\0' terminator.
21700
21701 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21702
21703         [BZ #13550]
21704         * debug/segfault.c: Don't include <bp-checks.h>.
21705         * sysdeps/generic/bp-checks.h: Remove file.
21706         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21707         (__GETDENTS): Don't use CHECK_N.
21708         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21709         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21710         (__getgroups): Don't use CHECK_N.
21711         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21712         (setgroups): Don't use CHECK_N.
21713         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21714         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21715         (__libc_msgrcv): Don't use CHECK_N.
21716         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21717         (__libc_msgsnd): Don't use CHECK_N.
21718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21719         <bp-checks.h>.
21720         (__libc_pread): Don't use CHECK_N.
21721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21722         include <bp-checks.h>.
21723         (__libc_pread64): Don't use CHECK_N.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21725         include <bp-checks.h>.
21726         (__libc_pwrite): Don't use CHECK_N.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21728         include <bp-checks.h>.
21729         (__libc_pwrite64): Don't use CHECK_N.
21730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21731         <bp-checks.h>.
21732         (__libc_pread): Don't use CHECK_N.
21733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21734         include <bp-checks.h>.
21735         (__libc_pread64): Don't use CHECK_N.
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21737         include <bp-checks.h>.
21738         (__libc_pwrite): Don't use CHECK_N.
21739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21740         include <bp-checks.h>.
21741         (__libc_pwrite64): Don't use CHECK_N.
21742         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21743         (do_pread): Don't use CHECK_N.
21744         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21745         (do_pread64): Don't use CHECK_N.
21746         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21747         (do_pwrite): Don't use CHECK_N.
21748         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21749         (do_pwrite64): Don't use CHECK_N.
21750         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21751         (__libc_readv): Don't use CHECK_N.
21752         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21753         (semop): Don't use CHECK_N.
21754         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21755         <bp-checks.h>.
21756         (semtimedop): Don't use CHECK_N.
21757         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21758         (__libc_pread): Don't use CHECK_N.
21759         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21760         <bp-checks.h>.
21761         (__libc_pread64): Don't use CHECK_N.
21762         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21763         <bp-checks.h>.
21764         (__libc_pwrite): Don't use CHECK_N.
21765         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21766         <bp-checks.h>.
21767         (__libc_pwrite64): Don't use CHECK_N.
21768         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21769         <bp-checks.h>.
21770         (__libc_msgrcv): Don't use CHECK_N.
21771         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21772         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21773         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21774         (__libc_writev): Don't use CHECK_N.
21775
21776 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21777
21778         * string/strcpy.c: Removed unused variable.
21779
21780         * Makeconfig (+sysdep-includes): Define with := rather than =.
21781         Use an existing include/ subdir of each sysdeps dir before it.
21782
21783 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21784
21785         * nscd/connection.c (register_traced_file): Comment function.
21786         [HAVE_INOTIFY] (union __inev): Define.
21787         [HAVE_INOTIFY] (inotify_check_files): New function.
21788         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21789         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21790         clear_db_cache.
21791         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21792
21793 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21794
21795         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21796         loaded if not already and that a failure is permanent.
21797
21798 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21799
21800         [BZ #15006]
21801         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21802         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21803
21804 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21805
21806         [BZ #13550]
21807         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21808         (CHECK_1_NULL_OK): Likewise.
21809         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21810         (__fxstat): Do not use CHECK_1.
21811         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21812         <bp-checks.h>.
21813         (___fxstat64): Do not use CHECK_1.
21814         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21815         <bp-checks.h>.
21816         (__fxstatat): Do not use CHECK_1.
21817         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21818         <bp-checks.h>.
21819         (__fxstatat64): Do not use CHECK_1.
21820         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21821         <bp-checks.h>.
21822         (__fxstat): Do not use CHECK_1.
21823         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21824         <bp-checks.h>.
21825         (__fxstatat): Do not use CHECK_1.
21826         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21827         <bp-checks.h>.
21828         (__getresgid): Do not use CHECK_1.
21829         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21830         <bp-checks.h>.
21831         (__getresuid): Do not use CHECK_1.
21832         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21833         <bp-checks.h>.
21834         (__lxstat): Do not use CHECK_1.
21835         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21836         <bp-checks.h>.
21837         (__old_msgctl): Do not use CHECK_1.
21838         (__new_msgctl): Likewise.
21839         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21840         <bp-checks.h>.
21841         (__new_setrlimit): Do not use CHECK_1.
21842         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21843         <bp-checks.h>.
21844         (__old_shmctl): Do not use CHECK_1.
21845         (__new_shmctl): Likewise.
21846         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21847         <bp-checks.h>.
21848         (__xstat): Do not use CHECK_1.
21849         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21850         (__lxstat): Do not use CHECK_1.
21851         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21852         <bp-checks.h>.
21853         (___lxstat64): Do not use CHECK_1.
21854         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21855         (__old_msgctl): Do not use CHECK_1.
21856         (__new_msgctl): Likewise.
21857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21858         <bp-checks.h>.
21859         (__gettimeofday): Do not use CHECK_1.
21860         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21861         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21862         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21863         <bp-checks.h>.
21864         (__gettimeofday): Do not use CHECK_1.
21865         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21866         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21867         (__new_shmctl): Do not use CHECK_1.
21868         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21869         <bp-checks.h>.
21870         (do_sigtimedwait): Do not use CHECK_1.
21871         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21872         <bp-checks.h>.
21873         (do_sigwaitinfo): Do not use CHECK_1.
21874         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21875         <bp-checks.h>.
21876         (msgctl): Do not use CHECK_1.
21877         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21878         <bp-checks.h>.
21879         (shmctl): Do not use CHECK_1.
21880         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21881         (ustat): Do not use CHECK_1.
21882         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21883         <bp-checks.h>.
21884         (__fxstat): Do not use CHECK_1.
21885         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21886         <bp-checks.h>.
21887         (__fxstatat): Do not use CHECK_1.
21888         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21889         <bp-checks.h>.
21890         (__lxstat): Do not use CHECK_1.
21891         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21892         <bp-checks.h>.
21893         (__xstat): Do not use CHECK_1.
21894         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21895         (__xstat): Do not use CHECK_1.
21896         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21897         (___xstat64): Do not use CHECK_1.
21898
21899         [BZ #13550]
21900         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21901         definitions.
21902         (CHECK_BOUNDS_HIGH): Likewise.
21903         * string/strcpy.c: Do not include <bp-checks.h>.
21904         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21905
21906 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21907
21908         * nscd/nscd-client.h (__nscd_drop_map_ref):
21909         Add __attribute__ ((unused)).
21910         * nis/nss-nisplus.h (niserr2nss): Likewise.
21911
21912         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21913         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21914
21915         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21916         Remove inline keyword.
21917         * include/rounding-mode.h (round_away): Likewise.
21918         * libio/wfileops.c (adjust_wide_data): Likewise.
21919         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21920         (__m128i_strloadu_tolower): Likewise.
21921         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21922         (__m128i_strloadu_tolower): Likewise.
21923         * time/mktime.c (ydhms_diff): Likewise.
21924         * locale/elem-hash.h (elem_hash): Likewise.
21925         * locale/setlocale.c (setdata): Likewise.
21926         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21927         (re_string_wchar_at): Likewise.
21928         (bitset_not, bitset_merge, bitset_mask): Likewise.
21929         [!(__GNUC__ > 3)] (inline): Remove macro.
21930         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21931         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21932         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21933         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21934         * string/memcmp.c (memcmp_bytes): Likewise.
21935         * locale/programs/locarchive.c (compute_hashval): Likewise.
21936         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21937         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21938         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21939         * nss/getent.c (print_rpc, print_protocols): Likewise.
21940         (print_passwd, print_group, print_aliases): Likewise.
21941         * nis/nss-nisplus.h (niserr2nss): Likewise.
21942         * nscd/connections.c (restart_p): Likewise.
21943         Change return type to bool.
21944
21945 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21946
21947         * Makeconfig (all-Depend-files): Add existing
21948         $(sorted-subdirs:=/Depend) files.
21949         (all-subdirs): Remove nss.
21950         * sysdeps/unix/inet/Subdirs: Add it here instead.
21951         * hesiod/Depend: New file.
21952
21953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21954         instead of calling alloca.
21955
21956         * io/lseek.c (__lseek): Rename to __libc_lseek.
21957         Define __lseek as an alias.
21958
21959         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21960
21961 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21962
21963         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21964         else clause and remove check for non-standard endianness.
21965
21966 2013-02-04  David S. Miller  <davem@davemloft.net>
21967
21968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21969
21970 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21971
21972         [BZ #13550]
21973         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21974         (__ubp_memchr): Remove prototype.
21975         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21976         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21977         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21978         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21979         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21980         Remove alias.
21981         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21982         (__ubp_memchr): Likewise.
21983         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21984         (__ubp_memchr): Likewise.
21985         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21986         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21987         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21988         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21989         CHECK_STRING.
21990         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21991         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21992         (__getcwd): Do not use CHECK_STRING.
21993         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21994         <bp-checks.h>.
21995         (__real_chown): Do not use CHECK_STRING.
21996         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21997         <bp-checks.h>.
21998         (fchownat): Do not use CHECK_STRING.
21999         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22000         CHECK_STRING.
22001         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22002         <bp-checks.h>.
22003         (__lchown): Do not use CHECK_STRING.
22004         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22005         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22006         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22007         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22009         include <bp-checks.h>.
22010         (truncate64): Do not use CHECK_STRING.
22011         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22012         <bp-checks.h>.
22013         (__real_chown): Do not use CHECK_STRING.
22014         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22015         <bp-checks.h>.
22016         (__lchown): Do not use CHECK_STRING.
22017         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22018         <bp-checks.h>.
22019         (__chown): Do not use CHECK_STRING.
22020         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22021         <bp-checks.h>.
22022         (truncate64): Do not use CHECK_STRING.
22023         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22024         Likewise.
22025         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22026         (__xmknod): Do not use CHECK_STRING.
22027         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22028         <bp-checks.h>.
22029         (__xmknodat): Do not use CHECK_STRING.
22030         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22031         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22032
22033 2013-02-04  Andreas Schwab  <schwab@suse.de>
22034
22035         [BZ #14142]
22036         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22037         * include/netdb.h: Likewise for h_errno.
22038         * elf/tst-stackguard1.c: Include <tls.h>.
22039
22040 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22041
22042         * elf/link.h (struct link_map): Extend the l_addr comment.
22043         * include/link.h (struct link_map): Likewise.
22044
22045 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22046
22047         [BZ #13550]
22048         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22049         (BOUNDED_1): Remove macro.
22050         * debug/backtrace.c: Don't include <bp-checks.h>.
22051         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22052         (__backtrace): Likewise.
22053         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22054         <bp-checks.h>.
22055         (__backtrace): Don't use BOUNDED_1.
22056         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22057         <bp-checks.h>.
22058         (__backtrace): Don't use BOUNDED_1.
22059         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22060         (__backtrace): Don't use BOUNDED_1.
22061         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22062         (shmat): Don't use BOUNDED_N.
22063
22064 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22065
22066         [BZ #13550]
22067         * sysdeps/generic/bp-start.h: Remove file.
22068         * csu/libc-start.c: Don't include <bp-start.h>.
22069         (LIBC_START_MAIN): Set up __environ directly instead of using
22070         INIT_ARGV_and_ENVIRON.
22071         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22072         <bp-start.h>.
22073
22074         [BZ #13550]
22075         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22076         definitions.
22077         (CHECK_FCNTL): Likewise.
22078         (CHECK_N_PAGES): Likewise.
22079
22080         [BZ #13550]
22081         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22082         definitions.
22083         (CHECK_SIGSET_NULL_OK): Likewise.
22084         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22085         <bp-checks.h>.
22086         (sigpending): Don't use CHECK_SIGSET.
22087         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22088         <bp-checks.h>.
22089         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22090         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22091         <bp-checks.h>.
22092         (do_sigsuspend): Don't use CHECK_SIGSET.
22093         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22094         use CHECK_SIGSET.
22095         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22096         (do_sigwait): Don't use CHECK_SIGSET.
22097         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22098         use CHECK_SIGSET.
22099         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22100         include <bp-checks.h>.
22101         (sigpending): Don't use CHECK_SIGSET.
22102         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22103         include <bp-checks.h>.
22104         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22105         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22106         <bp-checks.h>.
22107         (sigpending): Don't use CHECK_SIGSET.
22108         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22109         <bp-checks.h>.
22110         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22111
22112         [BZ #13550]
22113         * sysdeps/generic/bp-semctl.h: Remove file.
22114         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22115         <bp-checks.h> and <bp-semctl.h>.
22116         (__old_semctl): Don't use CHECK_SEMCTL.
22117         (__new_semctl): Likewise.
22118         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22119         and <bp-semctl.h>.
22120         (__old_semctl): Don't use CHECK_SEMCTL.
22121         (__new_semctl): Likewise.
22122         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22123         <bp-checks.h> and <bp-semctl.h>.
22124         (__old_semctl): Don't use CHECK_SEMCTL.
22125         (__new_semctl): Likewise.
22126         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22127         <bp-checks.h> and <bp-semctl.h>.
22128         (semctl): Don't use CHECK_SEMCTL.
22129
22130         [BZ #13550]
22131         * Makerules (elide-bp-thunks): Remove variable.
22132         (elide-routines.oS): Don't use $(elide-bp-thunks).
22133         (elide-routines.os): Likewise.
22134         (elide-routines.o): Likewise.
22135         (elide-routines.op): Likewise.
22136         (elide-routines.og): Likewise.
22137         (objects): Don't use $(bp-thunks).
22138         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22139         include.
22140         (common-generated): Do not add s-proto-bp.d.
22141         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22142         (int): Likewise.
22143         (typ): Likewise.
22144         Do not generate makefile rules for bounded-pointer thunks.
22145         * sysdeps/generic/bp-thunks.h: Remove file.
22146         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22147         * sysdeps/unix/s-proto-bp.S: Likewise.
22148
22149         [BZ #15062]
22150         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22151         parts of result separately when argument is not close to line from
22152         -i to i and one part of argument is small.
22153         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22154         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22155         * math/libm-test.inc (cacos_test): Add more tests.
22156         (casin_test): Likewise.
22157         (casinh_test): Likewise.
22158         * sysdeps/i386/fpu/libm-test-ulps: Update.
22159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22160
22161 2013-01-31  David S. Miller  <davem@davemloft.net>
22162
22163         * po/de.po: Update from translation team.
22164
22165 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22166
22167         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22168
22169 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22170
22171         * configure.in (_AC_PROG_CC_C89): New definition.
22172         * configure: Regenerate.
22173
22174         * configure.in (AC_PROG_CPP): New definition.
22175         * configure: Regenerate.
22176
22177 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22178
22179         * debug/tst-backtrace.h: New file.
22180         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22181         (ret): Remove variable.
22182         (x): Likewise.
22183         (FAIL): Remove macro.
22184         (NO_INLINE): Likewise.
22185         (fn1): Use match function instead of strstr.
22186         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22187         (ret): Remove variable.
22188         (x): Likewise.
22189         (FAIL): Remove macro.
22190         (NO_INLINE): Likewise.
22191         (fn): Use match function instead of strstr.
22192         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22193         (ret): Remove variable.
22194         (x): Likewise.
22195         (FAIL): Remove macro.
22196         (NO_INLINE): Likewise.
22197         (handle_signal): Use match function instead of strstr.
22198         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22199         (ret): Remove variable.
22200         (x): Likewise.
22201         (FAIL): Remove macro.
22202         (NO_INLINE): Likewise.
22203         (handle_signal): Use match function instead of strstr.
22204
22205 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22206
22207         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22208
22209 2013-01-23  David S. Miller  <davem@davemloft.net>
22210
22211         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22212         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22213         argument of CAS if possible.
22214         * sysdeps/sparc/sparc64/bits/atomic.h
22215         (__arch_compare_and_exchange_val_32_acq): Likewise.
22216         (__arch_compare_and_exchange_val_64_acq): Likewise.
22217
22218 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22219
22220         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22221         * sysdeps/posix/ulimit.c: ... this.
22222         Include <limits.h>.
22223         * sysdeps/unix/bsd/ulimit.c: Remove file.
22224
22225 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22226
22227         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22228         (LDFLAGS-tst-array5): Likewise.
22229
22230 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22231
22232         [BZ #15036]
22233         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22234         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22235         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22236         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22237
22238 2013-01-21  David S. Miller  <davem@davemloft.net>
22239
22240         * sysdeps/sparc/backtrace.c: New file.
22241         * sysdeps/sparc/sparc32/backtrace.h: New file.
22242         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22243         * sysdeps/sparc/sparc64/backtrace.h: New file.
22244         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22245         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22246         -funwind-tables.
22247
22248 2013-01-21  Andreas Schwab  <schwab@suse.de>
22249
22250         [BZ #15020]
22251         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22252         closed its stdout.
22253
22254 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22255
22256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22257         "mpa2.h".
22258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22259
22260 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22261             Mark Mitchell  <mark@codesourcery.com>
22262             Tom de Vries  <tom@codesourcery.com>
22263             Paul Pluzhnikov  <ppluzhnikov@google.com>
22264
22265         * debug/tst-backtrace2.c: New file.
22266         * debug/tst-backtrace3.c: Likewise.
22267         * debug/tst-backtrace4.c: Likewise.
22268         * debug/tst-backtrace5.c: Likewise.
22269         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22270         (CFLAGS-tst-backtrace3.c): Likewise.
22271         (CFLAGS-tst-backtrace4.c): Likewise.
22272         (CFLAGS-tst-backtrace5.c): Likewise.
22273         (LDFLAGS-tst-backtrace2): Likewise.
22274         (LDFLAGS-tst-backtrace3): Likewise.
22275         (LDFLAGS-tst-backtrace4): Likewise.
22276         (LDFLAGS-tst-backtrace5): Likewise.
22277         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22278         tst-backtrace4 and tst-backtrace5.
22279
22280 2013-01-18  Anton Blanchard  <anton@samba.org>
22281             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22282
22283         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22284         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22286         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22288         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22289         "+r" and remove output regs list as redundant.  Add explicit inline
22290         asm to specify register of return val to work around compiler codegen
22291         bug.  Remove (int) cast on return value.  Add return type parameter to
22292         use in macro so that this macro does not truncate return value for
22293         64-bit values.
22294         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22295         pass to INTERNAL_VSYSCALL_NCS.
22296         (INLINE_VSYSCALL): Add 'long int' as return type to
22297         INTERNAL_VSYSCALL_NCS macro invocation.
22298         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22299         INTERNAL_VSYSCALL_NCS macro invocation.
22300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22301
22302 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22303
22304         [BZ #14496]
22305         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22306         Fix application of SIMD FP exception mask.
22307
22308         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22309         mp_no from a power of two.
22310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22311         __mpexp_twomm1.  Use __pow_mp.
22312
22313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22314         multiplication.
22315
22316 2013-01-17  David S. Miller  <davem@davemloft.net>
22317
22318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22319
22320 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22321
22322         [BZ #15023]
22323         * include/complex.h: Condition contents on [!_COMPLEX_H].
22324         (__kernel_casinhf): New prototype.
22325         (__kernel_casinh): Likewise.
22326         (__kernel_casinhl): Likewise.
22327         * math/Makefile (libm_calls): Add k_casinh.
22328         * math/k_casinh.c: New file.
22329         * math/k_casinhf.c: Likewise.
22330         * math/k_casinhl.c: Likewise.
22331         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22332         finite nonzero arguments.
22333         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22334         finite nonzero arguments.
22335         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22336         finite nonzero arguments.
22337         * math/s_casinh.c: Do not include <float.h>.
22338         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22339         * math/s_casinhf.c: Do not include <float.h>.
22340         (__casinhf): Move code for finite nonzero arguments to
22341         k_casinhf.c.
22342         * math/s_casinhl.c: Do not include <float.h>.
22343         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22344         redefine.
22345         (__casinhl): Move code for finite nonzero arguments to
22346         k_casinhl.c.
22347         * math/libm-test.inc (cacos_test): Add more tests.
22348         * sysdeps/i386/fpu/libm-test-ulps: Update.
22349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22350
22351 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22352
22353         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22354         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22355         [!HAVE_MREMAP]: Remove [defined linux] case.
22356         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22357
22358 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22359
22360         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22361
22362 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22363
22364         * elf/elf.h (R_386_SIZE32): New relocation.
22365         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22366         R_386_SIZE32.
22367         (elf_machine_rela): Likewise.
22368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22369         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22370
22371 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22372
22373         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22374         (FP_FAST_FMA): Do not define.
22375         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22376         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22377         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22378         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22379         !_SOFT_FLOAT]: Likewise.
22380         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22381         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22382         value.
22383         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22384         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22385         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22386         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22387         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22388         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22389         file.
22390
22391 2013-01-16  Andreas Schwab  <schwab@suse.de>
22392
22393         [BZ #14327]
22394         * include/stdlib.h (__mktemp): Add declaration.
22395         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22396         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22397
22398 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22399
22400         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22401         definitions.
22402         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22403         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22404         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22405         definitions here.
22406         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22407         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22408         definitions.
22409         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22410         and ONE.
22411         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22412         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22413         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22414         definitions.
22415         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22416         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22417         definitions.
22418         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22419
22420         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22421
22422 2013-01-15  David S. Miller  <davem@davemloft.net>
22423
22424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22425         trunc{,f} to libm-sysdep_routes.
22426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22428         file.
22429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22431         file.
22432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22433         file.
22434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22436         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22437         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22438         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22439         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22440         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22441         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22442
22443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22444         nearbyint{,f} to libm-sysdep_routes.
22445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22447         New file.
22448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22449         file.
22450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22451         New file.
22452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22453         file.
22454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22456         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22457         file.
22458         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22459         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22460         file.
22461         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22462         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22463         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22464
22465         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22466         libc_feholdexcept and libc_fesetenv.
22467
22468 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22469
22470         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22471
22472 2013-01-14  David S. Miller  <davem@davemloft.net>
22473
22474         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22475         (SPARC_ASM_VIS2_IFUNC): Likewise.
22476         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22478         use of 'siam' instruction.
22479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22480         Likewise.
22481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22482         Likewise.
22483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22484         Likewise.
22485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22490         file.
22491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22492         file.
22493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22494         file.
22495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22496         file.
22497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22502         new VIS2 routines.
22503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22506         Likewise.
22507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22512         routines to libm-sysdep_routines.
22513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22514
22515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22516         fdim/fdimf to libm-sysdep_routines.
22517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22518         file.
22519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22521         file.
22522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22525         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22526         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22527         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22528         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22529
22530 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22531
22532         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22533         to optimize copies.
22534
22535         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22538
22539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22540         local variable MPTWO.
22541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22542         Likewise.
22543
22544 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22545
22546         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22547         GLOB_NOESCAPE.
22548
22549 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22550
22551         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22552
22553 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22554
22555         * manual/pattern.texi (glob_t): Document gl_flags.
22556         (glob64_t): Likewise.
22557
22558 2013-01-11  David S. Miller  <davem@davemloft.net>
22559
22560         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22561         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22562         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22563         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22564         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22565         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22566         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22567         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22568         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22569         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22570         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22571         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22572         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22573
22574         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22575         sparc V9 rather than using V8 code.
22576         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22577         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22578
22579         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22580         Move to...
22581         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22582         Here.
22583
22584 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22585
22586         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22587         not in the main loop.
22588         * configure: Regenerated.
22589
22590 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22591
22592         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22593         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22594         to just #else.
22595         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22596         [!__GLIBC_HAVE_LONG_LONG] case.
22597         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22598         condition to just #else.
22599         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22600         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22601         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22602         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22603         unconditional.
22604         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22605         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22606         #elif condition to just #else.
22607         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22608         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22609         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22610         #elif condition to just #else.
22611
22612 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22613
22614         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22615         (EF_MIPS_ARCH_64): Fix value.
22616         (EF_MIPS_ARCH_32R2): New.
22617         (EF_MIPS_ARCH_64R2): New.
22618
22619 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22620
22621         * Makeconfig (+link-pie-before-libc): New.
22622         (+link-pie-after-libc): Likewise.
22623         (+link-pie-tests): Likewise.
22624         (+link-pie): Rewritten.
22625         (link-before-libc): Remove $(config-LDFLAGS).
22626         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22627         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22628         (config-LDFLAGS): Renamed to ...
22629         (rtld-LDFLAGS): This.
22630         (rtld-tests-LDFLAGS): New macro.
22631         (link-libc-rpath-link): Likewise.
22632         (link-libc-tests-rpath-link): Likewise.
22633         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22634         (link-libc): Prepand $(link-libc-rpath-link).
22635         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22636         (test-program-prefix): New macro.
22637         (test-via-rtld-prefix): Likewise.
22638         (test-program-cmd): Likewise.
22639         (host-test-program-cmd): Likewise.
22640         * Makefile ($(common-objpfx)testrun.sh): Replace
22641         $(run-program-prefix) with $(test-program-prefix).
22642         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22643         $(rtld-LDFLAGS).
22644         ($(common-objpfx)shlib.lds): Likewise.
22645         (build-module-helper): Likewise.
22646         ($(common-objpfx)format.lds): Likewise.
22647         * Rules (binaries-pie-tests): New.
22648         (binaries-pie-notests): Likewise.
22649         (binaries-pie): Rewritten.
22650         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22651         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22652         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22653         (make-test-out): Replace $(host-built-program-cmd) with
22654         $(host-test-program-cmd).
22655         * config.make.in (build-hardcoded-path-in-tests): New variable.
22656         * configure.in (--enable-hardcoded-path-in-tests): New configure
22657         option.
22658         (hardcoded_path_in_tests): New AC_SUBST.
22659         * configure: Regenerated.
22660         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22661         $(built-program-cmd) with $(test-program-cmd).
22662         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22663         (test_program_cmd): This.
22664         * elf/Makefile ($(objpfx)order.out): Run test with
22665         $(test-program-prefix).
22666         ($(objpfx)order2.out): Likewise.
22667         ($(objpfx)tst-initorder.out): Likewise.
22668         ($(objpfx)tst-initorder2.out): Likewise.
22669         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22670         $(test-program-cmd).
22671         ($(objpfx)tst-array1-static.out): Likewise.
22672         ($(objpfx)tst-array2.out): Likewise.
22673         ($(objpfx)tst-array3.out): Likewise.
22674         ($(objpfx)tst-array4.out): Likewise.
22675         ($(objpfx)tst-array5.out): Likewise.
22676         ($(objpfx)tst-array5-static.out): Likewise.
22677         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22678         $(test-program-cmd).
22679         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22680         $(run-program-prefix) with $(test-program-prefix).
22681         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22682         (test_program_prefix): This.
22683         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22684         $(run-program-prefix) with $(test-program-prefix).
22685         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22686         (test_program_prefix): This.
22687         * iconvdata/tst-tables.sh: Likewise.
22688         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22689         $(run-program-prefix) with $(test-program-prefix).
22690         ($(objpfx)tst-translit.out): Likewise.
22691         ($(objpfx)tst-gettext2.out): Likewise.
22692         ($(objpfx)tst-gettext4.out): Likewise.
22693         ($(objpfx)tst-gettext6.out): Likewise.
22694         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22695         (test_program_prefix): This.
22696         * intl/tst-gettext2.sh: Likewise.
22697         * intl/tst-gettext4.sh  Likewise.
22698         * intl/tst-gettext6.sh: Likewise.
22699         * intl/tst-translit.sh: Likewise.
22700         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22701         with $(test-program-cmd).
22702         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22703         $(run-program-prefix) with $(test-program-prefix).
22704         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22705         (test_program_prefix): This.
22706         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22707         $(run-program-prefix) with $(test-program-prefix).
22708         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22709         (test_program_prefix): This.
22710         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22711         * posix/Makefile ($(objpfx)globtest.out): Replace
22712         $(run-via-rtld-prefix) and $(test-wrapper) with
22713         $(test-program-prefix) and $(test-via-rtld-prefix).
22714         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22715         $(test-program-prefix).
22716         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22717         $(host-test-program-cmd).
22718         (tst-spawn-ARGS): Likewise.
22719         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22720         $(test-program-prefix).
22721         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22722         (test_via_rtld_prefix): This.
22723         (test_wrapper): Renamed to ...
22724         (test_program_prefix): This.
22725         (run_program_prefix): Replaced by test_program_prefix.
22726         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22727         (test_program_prefix): This.
22728         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22729         with $(host-test-program-cmd).
22730         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22731         $(run-program-prefix) with $(test-program-prefix).
22732         ($(objpfx)tst-printf.out): Likewise.
22733         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22734         $(test-program-cmd).
22735         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22736         (test_program_prefix): This.
22737         * stdio-common/tst-unbputc.sh: Likewise.
22738         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22739         $(run-program-prefix) with $(test-program-prefix).
22740         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22741         (test_program_prefix): This.
22742         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22743         $(built-program-cmd) with $(test-program-cmd).
22744
22745 2013-01-11  Andreas Jaeger  <aj@suse.de>
22746
22747         [BZ #15003]
22748         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22749         value. Sync with Linux 3.7.
22750
22751 2013-01-10  David S. Miller  <davem@davemloft.net>
22752
22753         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22754         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22755         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22756
22757 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22758
22759         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22760         never set.
22761         * configure: Regenerated.
22762
22763 2013-01-10  David S. Miller  <davem@davemloft.net>
22764
22765         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22766         sparc V9 rather than using V8 code.
22767         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22768         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22769
22770 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22771
22772         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22773         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22774         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22775         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22776         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22777         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22778         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22779         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22780         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22781         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22782         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22783         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22784         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22785         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22786         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22787         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22788         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22789         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22790         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22791         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22792         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22793         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22794         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22795         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22796         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22797         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22798         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22799
22800 2013-01-10  David S. Miller  <davem@davemloft.net>
22801
22802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22803
22804 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22805
22806         * posix/Makefile (tests-static): New variable.
22807         (tests): Add $(tests-static).
22808         (tst-exec-static-ARGS): New variable.
22809         (tst-spawn-static-ARGS): Likewise.
22810         * posix/tst-exec-static.c: New file.
22811         * posix/tst-spawn-static.c: Likewise.
22812         * posix/tst-exec.c: Support run directly.
22813         * posix/tst-spawn.c: Likewise.
22814
22815 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22816
22817         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22818         long.
22819         * math/bits/mathcalls.h (llrint): Likewise.
22820         (llround): Likewise.
22821         * stdlib/stdlib.h (struct drand48_data): Likewise.
22822         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22823         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22824         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22825         Likewise.
22826         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22827         Likewise.
22828         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22829         (elf_greg_t): Likewise.
22830         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22831         (__jmp_buf): Likewise.
22832         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22833         definitions.
22834         (llrint): Likewise, for all definitions.
22835         (llrintl): Likewise.
22836
22837         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22838         Remove [__GNUC__] condition.
22839         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22840         condition to just [__USE_ISOC99].
22841         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22842
22843 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22844
22845         [BZ #14200]
22846         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22847         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22848         defined.
22849         (_POSIX_V6_ILP32_OFF32): Likewise.
22850         (_XBS5_ILP32_OFF32): Likewise.
22851         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22852         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22853
22854 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22855
22856         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22857
22858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22859         doubles __mpexp_twomm1.  Adjust usage.
22860         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22861         Remove.
22862
22863 2013-01-10  Andreas Schwab  <schwab@suse.de>
22864
22865         [BZ #14964]
22866         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22867         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22868
22869 2013-01-09  David S. Miller  <davem@davemloft.net>
22870
22871         [BZ #15003]
22872         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22873         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22874         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22875         (TCP_FASTOPEN): Define.
22876         (tcp_repair_opt): New structure.
22877         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22878         enum values.
22879         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22880         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22881         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22882         (tcp_cookie_transactions): New structure.
22883
22884 2013-01-09  Anton Blanchard  <anton@samba.org>
22885
22886         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22887         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22888         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22890
22891 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22892
22893         * include/features.h (__USE_ANSI): Remove.
22894
22895 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22896
22897         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22898
22899         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22900
22901 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22902
22903         * sysdeps/s390/fpu/libm-test-ulps: Update.
22904
22905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22906
22907         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22908         (__acr): Likewise.
22909         (__cpy): Likewise.
22910         (norm): Likewise.
22911         (denorm): Likewise.
22912         (__mp_dbl): Likewise.
22913         (__dbl_mp): Likewise.
22914         (add_magnitudes): Likewise.
22915         (sub_magnitudes): Likewise.
22916         (__add): Likewise.
22917         (__sub): Likewise.
22918         (__mul): Likewise.
22919         (__inv): Likewise.
22920         (__dvd): Likewise.
22921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22922         (__acr): Likewise.
22923         (__cpy): Likewise.
22924         (norm): Likewise.
22925         (denorm): Likewise.
22926         (__mp_dbl): Likewise.
22927         (__dbl_mp): Likewise.
22928         (add_magnitudes): Likewise.
22929         (sub_magnitudes): Likewise.
22930         (__add): Likewise.
22931         (__sub): Likewise.
22932         (__mul): Likewise.
22933         (__inv): Likewise.
22934         (__dvd): Likewise.
22935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22936         (__acr): Likewise.
22937         (__cpy): Likewise.
22938         (norm): Likewise.
22939         (denorm): Likewise.
22940         (__mp_dbl): Likewise.
22941         (__dbl_mp): Likewise.
22942         (add_magnitudes): Likewise.
22943         (sub_magnitudes): Likewise.
22944         (__add): Likewise.
22945         (__sub): Likewise.
22946         (__mul): Likewise.
22947         (__inv): Likewise.
22948         (__dvd): Likewise.
22949
22950 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22951
22952         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22953         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22954         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22955         2 && __USE_EXTERN_INLINES]: Likewise.
22956
22957 2013-01-08  Andreas Jaeger  <aj@suse.de>
22958
22959         [BZ# 14985]
22960         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22961         Remove.
22962         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22963         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22964
22965 2013-01-07  Anton Blanchard  <anton@samba.org>
22966
22967         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22968         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22969         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22970         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22971         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22972         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22973         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22974         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22976         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22977         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22978         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22979         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22980         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22981         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22982         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22983         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22984         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22985         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22986         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22987         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22988         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22989         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22990         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22991         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22992         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22993         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22994         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22995         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22996         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22997         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22999         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23000         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23001         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23002         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23003         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23004         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23005         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23006         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23007         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23008         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23009         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23010
23011 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23012
23013         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23014         (__MALLOC_PMT): Likewise.
23015         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23016         [__GNUC__], only on [_LIBC].
23017         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23018         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23019         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23020         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23021         forward declaration.
23022         (realloc_hook_ini): Likewise.
23023         (memalign_hook_ini): Likewise.
23024         (__libc_memalign): Do not use __MALLOC_PMT in variable
23025         declaration.
23026         (__libc_valloc): Likewise.
23027         (__libc_pvalloc): Likewise.
23028         (__libc_calloc): Likewise.
23029         (__posix_memalign): Likewise.
23030
23031         [BZ #14996]
23032         * math/s_casinh.c: Include <float.h>.
23033         (__casinh): Do not do computation with squaring and square root
23034         for large arguments.
23035         * math/s_casinhf.c: Include <float.h>.
23036         (__casinhf): Do not do computation with squaring and square root
23037         for large arguments.
23038         * math/s_casinhl.c: Include <float.h>.
23039         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23040         (__casinhl): Do not do computation with squaring and square root
23041         for large arguments.
23042         * math/libm-test.inc (casin_test): Add more tests.
23043         (casinh_test): Likewise.
23044         * sysdeps/i386/fpu/libm-test-ulps: Update.
23045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23046
23047 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23048
23049         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23050         (__x86_64_raw_data_cache_size): Likewise.
23051         (__x86_64_data_cache_size_half): Likewise.
23052         (__x86_64_raw_data_cache_size_half): Likewise.
23053         (__x86_64_shared_cache_size): Likewise.
23054         (__x86_64_raw_shared_cache_size): Likewise.
23055         (__x86_64_shared_cache_size_half): Likewise.
23056         (__x86_64_raw_shared_cache_size_half): Likewise.
23057         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23058         to ...
23059         (__x86_data_cache_size): This.
23060         (__x86_64_raw_data_cache_size): Renamed to ...
23061         (__x86_raw_data_cache_size): This.
23062         (__x86_64_data_cache_size_half): Renamed to ...
23063         (__x86_data_cache_size_half): This.
23064         (__x86_64_raw_data_cache_size_half): Renamed to ...
23065         (__x86_raw_data_cache_size_half): This.
23066         (__x86_64_shared_cache_size): Renamed to ...
23067         (__x86_shared_cache_size): This.
23068         (__x86_64_raw_shared_cache_size): Renamed to ...
23069         (__x86_raw_shared_cache_size): This.
23070         (__x86_64_shared_cache_size_half): Renamed to ...
23071         (__x86_shared_cache_size_half): This.
23072         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23073         (__x86_raw_shared_cache_size_half): This.
23074         * sysdeps/x86_64/memcpy.S: Updated.
23075         * sysdeps/x86_64/memset.S: Likewise.
23076         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23077         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23078         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23079
23080 2013-01-04  David S. Miller  <davem@davemloft.net>
23081
23082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23083
23084 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23085
23086         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23087         1 to avoid redefinition warning.
23088         (__USE_GNU): Don't define.
23089         (init_signaling_nan): Protoize.
23090
23091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23092
23093 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23094
23095         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23097         (__cpymn): Likewise.
23098         (norm): Remove commented code.
23099         (denorm): Likewise.
23100         (__mp_dbl): Likewise.
23101         (__inv): Likewise.
23102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23103         (__cpymn): Likewise.
23104         (norm): Remove commented code.
23105         (denorm): Likewise.
23106         (__mp_dbl): Likewise.
23107         (__inv): Likewise.
23108
23109         * sysdeps/powerpc/powerpc32/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         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23115         mp_no value for 1.0 and 2.0.
23116         (norm): Use RADIXI instead of radixi.d.
23117         (denorm): Likewise.
23118         (__mul): Use 0.0 instead of zero.d.
23119
23120 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23121
23122         [BZ #14994]
23123         * math/s_casinh.c (__casinh): Reduce finite argument to first
23124         quadrant then set signs of results at the end.
23125         * math/s_casinhf.c (__casinhf): Likewise.
23126         * math/s_casinhl.c (__casinhl): Likewise.
23127         * math/libm-test.inc (casin_test): Add more tests.
23128         (casinh_test): Likewise.
23129         * sysdeps/i386/fpu/libm-test-ulps: Update.
23130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131
23132 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23133
23134         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23135
23136         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23137
23138         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23139         declarations.
23140         (denorm): Likewise.
23141         (__mp_dbl): Likewise.
23142         (__inv): Likewise.
23143
23144         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23145         and adjust the header comment.
23146
23147         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23148         variable name from declaration.
23149
23150 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23151
23152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23153         Initialize COMMON_CPUID_INDEX_7 element.
23154         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23155         (CPUID_RTM): Likewise.
23156         (HAS_RTM): Likewise.
23157         (COMMON_CPUID_INDEX_7): New enum.
23158
23159 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23160
23161         [BZ #14981]
23162         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23163         size is zero, record memory as freed.
23164
23165 2013-01-03  Andreas Jaeger  <aj@suse.de>
23166
23167         * po/ia.po: Add new Interlingua translation.
23168
23169 2012-01-03  Allan McRae  <allan@archlinux.org>
23170
23171         * locale/programs/localedef.c: Fix description of '--posix' flag.
23172
23173 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23174
23175         * NEWS: Update dates in second copyright notice.
23176         * README: Update copyright dates in example.
23177         * manual/libc.texinfo: Update copyright dates.
23178         * scripts/test-installation.pl: Update copyright date in --version
23179         output.
23180
23181         * hurd/ctty-input.c: Fix copyright notice formatting.
23182         * hurd/ctty-output.c: Likewise.
23183         * hurd/dtable.c: Likewise.
23184         * hurd/hurd-raise.c: Likewise.
23185         * hurd/hurdprio.c: Likewise.
23186         * hurd/msgportdemux.c: Likewise.
23187         * misc/sys/file.h: Likewise.
23188         * misc/sys/ioctl.h: Likewise.
23189         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23190         * sysdeps/mach/hurd/chdir.c: Likewise.
23191         * sysdeps/mach/hurd/fchdir.c: Likewise.
23192         * sysdeps/mach/hurd/rename.c: Likewise.
23193         * sysdeps/mach/hurd/rmdir.c: Likewise.
23194         * sysdeps/mach/hurd/seekdir.c: Likewise.
23195         * sysdeps/mach/hurd/setsid.c: Likewise.
23196         * sysdeps/posix/wait3.c: Likewise.
23197
23198         * All files with FSF copyright notices: Update copyright dates
23199         using scripts/update-copyrights.
23200         * intl/plural.c: Regenerated.
23201         * locale/programs/charmap-kw.h: Likewise.
23202         * locale/programs/locfile-kw.h: Likewise.
23203
23204 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23205
23206         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23207         four values.
23208
23209         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23210         calculation loop and add branch prediction.
23211
23212         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23213         check access beyond bounds of m1np.
23214
23215         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23216         MPTWO.
23217         (__inv): Remove local variable MPTWO to use the global
23218         constant.
23219         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23220         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23221         variable MPTWO.
23222         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23223         MP3HALFS static const.
23224
23225 2013-01-01  David S. Miller  <davem@davemloft.net>
23226
23227         * po/ca.po: Update from translation team.
23228
23229 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23230
23231         * scripts/update-copyrights: New file.
23232         * Makeconfig: Reformat copyright notice.
23233         * ctype/ctype.h: Likewise.
23234         * debug/swprintf_chk.c: Likewise.
23235         * elf/dl-cache.c: Likewise.
23236         * elf/dl-debug.c: Likewise.
23237         * elf/dl-object.c: Likewise.
23238         * grp/initgroups.c: Likewise.
23239         * hurd/Makefile: Likewise.
23240         * hurd/hurd/signal.h: Likewise.
23241         * hurd/hurdfault.c: Likewise.
23242         * hurd/hurdioctl.c: Likewise.
23243         * hurd/hurdlookup.c: Likewise.
23244         * hurd/intr-msg.c: Likewise.
23245         * iconv/gconv_open.c: Likewise.
23246         * libio/swprintf.c: Likewise.
23247         * locale/lc-ctype.c: Likewise.
23248         * locale/nl_langinfo.c: Likewise.
23249         * mach/Machrules: Likewise.
23250         * mach/Makefile: Likewise.
23251         * malloc/obstack.h: Likewise.
23252         * manual/Makefile: Likewise.
23253         * manual/tsort.awk: Likewise.
23254         * misc/bits/stab.def: Likewise.
23255         * nis/nis_print_group_entry.c: Likewise.
23256         * nis/nis_table.c: Likewise.
23257         * nis/nss_compat/compat-pwd.c: Likewise.
23258         * nis/nss_compat/compat-spwd.c: Likewise.
23259         * po/Makefile: Likewise.
23260         * posix/fnmatch.c: Likewise.
23261         * posix/regex.h: Likewise.
23262         * resolv/Makefile: Likewise.
23263         * resolv/nss_dns/dns-network.c: Likewise.
23264         * resolv/res_hconf.c: Likewise.
23265         * scripts/gen-sorted.awk: Likewise.
23266         * soft-fp/soft-fp.h: Likewise.
23267         * stdio-common/printf.h: Likewise.
23268         * stdlib/monetary.h: Likewise.
23269         * stdlib/random.c: Likewise.
23270         * stdlib/random_r.c: Likewise.
23271         * sysdeps/generic/Makefile: Likewise.
23272         * sysdeps/gnu/Makefile: Likewise.
23273         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23274         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23275         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23277         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23279         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23280         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23281         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23282         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23283         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23284         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23285         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23286         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23287         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23288         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23289         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23290         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23291         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23292         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23293         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23294         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23295         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23296         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23297         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23298         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23299         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23300         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23301         * sysdeps/mach/hurd/errnos.awk: Likewise.
23302         * sysdeps/mach/hurd/fork.c: Likewise.
23303         * sysdeps/mach/hurd/getcwd.c: Likewise.
23304         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23305         * sysdeps/mach/hurd/mmap.c: Likewise.
23306         * sysdeps/mach/hurd/utimes.c: Likewise.
23307         * sysdeps/mach/hurd/xmknod.c: Likewise.
23308         * sysdeps/posix/profil.c: Likewise.
23309         * sysdeps/posix/readdir_r.c: Likewise.
23310         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23311         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23312         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23313         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23315         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23316         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23317         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23319         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23320         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23321         * sysdeps/pthread/lio_listio.c: Likewise.
23322         * sysdeps/sparc/dl-procinfo.h: Likewise.
23323         * sysdeps/unix/i386/sysdep.S: Likewise.
23324         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23325         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23326         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23327         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23329         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23330         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23331         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23332         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23333         * sysdeps/wordsize-32/divdi3.c: Likewise.
23334         * time/sys/time.h: Likewise.
23335         * wcsmbs/Makefile: Likewise.
23336
23337 2013-01-01  David S. Miller  <davem@davemloft.net>
23338
23339         * po/fr.po: Update from translation team.
23340
23341         * catgets/gencat.c: Update copyright year.
23342         * csu/version.c: Likewise.
23343         * debug/catchsegv.sh: Likewise.
23344         * debug/pcprofiledump.c: Likewise.
23345         * debug/xtrace.sh: Likewise.
23346         * elf/ldconfig.c: Likewise.
23347         * elf/ldd.bash.in: Likewise.
23348         * elf/pldd.c: Likewise.
23349         * elf/sotruss.ksh: Likewise.
23350         * elf/sprof.c: Likewise.
23351         * iconv/iconv_prog.c: Likewise.
23352         * iconv/iconvconfig.c: Likewise.
23353         * locale/programs/locale.c: Likewise.
23354         * locale/programs/localedef.c: Likewise.
23355         * login/programs/pt_chown.c: Likewise.
23356         * malloc/memusage.sh: Likewise.
23357         * malloc/memusagestat.c: Likewise.
23358         * malloc/mtrace.pl: Likewise.
23359         * nscd/nscd.c: Likewise.
23360         * nss/getent.c: Likewise.
23361         * nss/makedb.c: Likewise.
23362         * posix/getconf.c: Likewise.
23363
23364 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23365
23366         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23367         numbers.
23368
23369 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23370
23371         * math/bits/mathcalls.h (modf): Use __nonnull.
23372
23373 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23374
23375         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23376         (split): Use macro CN instead of the bare value.
23377         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23378         could be used.
23379         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23380         instead of the bare value.
23381         (power1): Likewise.
23382
23383 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23384
23385         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23386         __ATAN_TWOM.
23387         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23388
23389         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23390         their values.
23391         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23392         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23393         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23394         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23395
23396 2012-12-28  Andreas Jaeger  <aj@suse.de>
23397
23398         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23399         values are from Linux 3.7.
23400
23401         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23402         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23403
23404 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23405
23406         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23407         TRUE case.
23408
23409         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23410         (norm): Likewise.
23411         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23412         variables with preprocessor constants.
23413         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23414         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23415         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23416
23417 2012-12-27  Bruno Haible  <bruno@clisp.org>
23418
23419         [BZ #14317]
23420         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23421         only if needed.
23422
23423 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23424
23425         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23426         and use variable directly.
23427         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23428
23429         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23430         MPONE.
23431         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23432         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23433         variable MPONE.
23434         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23435         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23436         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23437         include directive.  Remove local variable MPONE.
23438         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23439         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23440         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23441
23442 2012-12-25  David S. Miller  <davem@davemloft.net>
23443
23444         * version.h (RELEASE): Set to "development".
23445         (VERSION): Set to "2.17.90".
23446         * NEWS: Add 2.18 section.
23447
23448 2012-12-21  David S. Miller  <davem@davemloft.net>
23449
23450         * po/hr.po: Update from translation team.
23451
23452 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23453
23454         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23455
23456 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23457
23458         * NEWS:  Mention new memcpy for MIPS.
23459
23460 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23461
23462         * manual/contrib.texi (Contributors): Spelling correction.
23463
23464 2012-12-15  David S. Miller  <davem@davemloft.net>
23465
23466         * po/ru.po: Update from translation team.
23467
23468 2012-12-13  David S. Miller  <davem@davemloft.net>
23469
23470         * NEWS: Mention IFUNC testsuite enhancements.
23471
23472         * po/pl.po: Update from translation team.
23473         * po/bg.po: Likewise.
23474
23475         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23476         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23477
23478 2012-12-11  David S. Miller  <davem@davemloft.net>
23479
23480         * po/sv.po: Update from translation team.
23481
23482         * po/vi.po: Update from translation team.
23483
23484         * po/cs.po: Update from translation team.
23485
23486         * po/de.po: Update from translation team.
23487         * po/eo.po: Likewise.
23488         * po/nl.po: Likewise.
23489
23490 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23491
23492         [BZ #14246]
23493         * manual/argp.texi (Argp Helper Functions): Move node to follow
23494         Argp Parsing State.
23495
23496         [BZ #14872]
23497         * manual/conf.texi (Limits on File System Capacity): Mention if
23498         terminating null is included in the max size.
23499
23500 2012-12-10  Andreas Jaeger  <aj@suse.de>
23501
23502         * po/cs.po: Update from translation team.
23503
23504 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23505
23506         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23507         void pointer and cast to uintptr_t.
23508         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23509         path.
23510         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23511         * sysdeps/s390/s390-64/memset.S: Likewise.
23512
23513 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23514
23515         [BZ #14833]
23516         * menual/message.texi (Message Translation): Fix typos.
23517         (Helper programs for gettext): Likewise.
23518
23519 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23520
23521         [BZ #14898]
23522         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23523         Change to -1.
23524
23525 2012-12-07  David S. Miller  <davem@davemloft.net>
23526
23527         * po/libc.pot: Update.
23528
23529 2012-12-07  Richard Henderson  <rth@redhat.com>
23530
23531         [BZ #10114]
23532         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23533         normal/normal case to before the switch.
23534         (_FP_DIV): Likewise.
23535
23536 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23537             Mike Frysinger  <vapier@gentoo.org>
23538
23539         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23540         check for __NR_fadvise64_64.
23541
23542 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23543
23544         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23545         0, not just to plain "0" as a statement.
23546         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23547         with cw.
23548
23549 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23550
23551         * NEWS: Use sourceware.org in Bugzilla URL.
23552
23553 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23554
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23556         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23557
23558         * stdio-common/tst-put-error.c (do_test): Add newline to the
23559         padded test to ensure flush.
23560
23561 2012-12-05  Jeff Law  <law@redhat.com>
23562
23563         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23564
23565 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23566
23567         * README: Don't refer to ports add-on as distributed separately.
23568         Mention AArch64 in list of systems supported in the ports add-on.
23569
23570         * LICENSES: Add more non-FSF copyright and license notices.
23571
23572         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23573         ((unused)).
23574
23575         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23576
23577         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23578         10000 as width of padded output.
23579
23580 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23581
23582         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23583
23584         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23585         variable LX with __attribute__ ((unused)).
23586         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23587         Likewise.
23588         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23589         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23590         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23591         with __attribute__ ((unused)).
23592
23593 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23594
23595         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23596
23597 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23598
23599         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23600         (CFLAGS-nldbl-acos.c): New variable.
23601         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23602         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23603         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23604         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23605         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23606         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23607         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23608         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23609         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23610         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23611         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23612         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23613         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23614         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23615         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23616         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23617         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23618         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23619         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23620         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23621         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23622         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23623         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23624         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23625         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23626         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23627         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23628         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23629         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23630         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23631         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23632         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23633         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23634         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23635         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23636         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23637         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23638         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23639         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23640         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23641         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23642         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23643         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23644         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23645         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23646         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23647         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23648         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23649         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23650         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23651         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23652         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23653         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23654         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23655         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23656         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23657         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23658         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23659         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23660         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23661         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23662         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23663         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23664         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23665         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23666         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23667         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23668         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23669         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23670         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23671         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23672         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23673         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23674         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23675         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23676         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23677         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23678         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23679         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23680         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23681         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23682         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23683         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23684         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23685         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23686         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23687         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23688         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23689         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23690         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23691         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23692         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23693         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23694         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23695         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23696         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23697         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23698
23699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23700         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23701
23702         [BZ #14914]
23703         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23704         whole low double instead of just low 47 bits when splitting values
23705         into two parts.
23706
23707 2012-12-03  Allan McRae  <allan@archlinux.org>
23708
23709         * manual/stdio.texi (Predefined Printf Handlers): Remove
23710         @hsep and @vsep usage.
23711
23712 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23713
23714         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23715         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23716
23717 2012-12-03  Jeff Law  <law@redhat.com>
23718
23719         * time/sys/time.h (settimeofday): Do not mark TV argument
23720         as __nonnull.
23721
23722 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23723
23724         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23725         when currently writing and seek to current position when not.
23726         * libio/Makefile (tests): Remove bug-fclose1.
23727         * libio/bug-fclose1.c: Delete.
23728
23729 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23730
23731         * manual/arith.texi (feenableexcept): Fix typo.
23732         (fedisableexcept): Likewise.
23733
23734 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23735
23736         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23737         second, differently-typed declaration, rather than a cast.
23738
23739 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23740
23741         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23742         * include/rpc/svc.h: ... here.
23743
23744 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23745
23746         [BZ #13013]
23747         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23748         depending n and resplen2 to catch cases where answer
23749         equals answerp2.
23750
23751 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23752
23753         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23754         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23755
23756 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23757
23758         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23759
23760 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23761
23762         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23763
23764 2012-11-28  Jeff Law  <law@redhat.com>
23765
23766         [BZ #13761]
23767         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23768         dataset_temporary.  Track alloca usage into alloca_used.
23769         If dataset is large allocate and release it via malloc/free.
23770
23771 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23772
23773         [BZ #14197]
23774         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23775
23776 2012-11-28  David S. Miller  <davem@davemloft.net>
23777
23778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23779
23780 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23781
23782         [BZ #14803]
23783         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23784         of pi/2 rounded to nearest to 64 bits.
23785         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23786         nearest to 64 bits.
23787         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23788         bits.
23789
23790 2012-11-28  Jeff Law <law@redhat.com>
23791             Martin Osvald <mosvald@redhat.com>
23792
23793         [BZ #14889]
23794         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23795         * sunrpc/svc.c: Include time.h.
23796         (__svc_accept_failed): New function.
23797         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23798         any reason other than EINTR, call __svc_accept_failed.
23799         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23800         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23801
23802 2012-11-28  Andreas Schwab  <schwab@suse.de>
23803
23804         * scripts/abilist.awk: Also handle indirect functions in .opd
23805         section.
23806
23807 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23808
23809         [BZ #13881]
23810         * sysdeps/x86/fpu/powl_helper.c: New file.
23811         * sysdeps/x86/fpu/Makefile: Likewise.
23812         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23813         (p3): New object.
23814         (__ieee754_powl): Use __powl_helper for finite arguments except
23815         integer exponents below 8.
23816         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23817         (p3): New object.
23818         (__ieee754_powl): Use __powl_helper for finite arguments except
23819         integer exponents below 8.
23820         * math/libm-test.inc (pow_test): Add more tests and enable some
23821         previously disabled tests.
23822         * sysdeps/i386/fpu/libm-test-ulps: Update.
23823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23824
23825 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23826             Carlos O'Donell  <carlos_odonell@mentor.com>
23827
23828         * nss/makedb.c (is_prime): Assert that input is odd and greater
23829         than 4.  Note that fact in a comment too.
23830         (next_prime): Add 4 to input.
23831
23832 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23833
23834         [BZ #11741]
23835         * libio/Makefile (tests): Add test case tst-fwrite-error.
23836         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23837         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23838         * libio/tst-fwrite-error.c: New test case.
23839
23840 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23841
23842         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23843         before casting to void *.
23844         * include/libc-internal.h (__pointer_type): New macro.
23845         (__integer_if_pointer_type_sub): Likewise.
23846         (__integer_if_pointer_type): Likewise.
23847         (cast_to_integer): Likewise.
23848         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23849         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23850         before casting to atomic64_t.
23851         (atomic_exchange_acq): Likewise.
23852         (__arch_exchange_and_add_body): Likewise.
23853         (__arch_add_body): Likewise.
23854         (atomic_add_negative): Likewise.
23855         (atomic_add_zero): Likewise.
23856
23857 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23858
23859         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23860         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23861         (add_fdes): Likewise.
23862         (linear_search_fdes): Likewise.
23863         (binary_search_unencoded_fdes): Likewise.
23864
23865 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23866
23867         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23868
23869 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23870
23871         * configure.in: Autodetect C++ header directories.
23872         * configure: Regenerated.
23873
23874 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23875
23876         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23877
23878 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23879
23880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23881
23882 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23883
23884         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23885         LDBL_MANT_DIG == 106]: Disable some tests.
23886         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23887         Likewise.
23888         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23889         Likewise.
23890
23891         [BZ #14871]
23892         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23893         input for small inputs.  Return +/- pi/2 for large inputs.
23894         * math/libm-test.inc (atan_test): Add more tests.
23895
23896         * sysdeps/generic/unwind-dw2-fde-glibc.c
23897         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23898         __attribute__ ((unused)).
23899
23900         [BZ #14645]
23901         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23902         x * y if x and y are nonzero and z is zero.
23903
23904         [BZ #14811]
23905         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23906         nonzero exponents with absolute value below 0x1p-117 to +/-
23907         0x1p-117.
23908
23909         [BZ #14869]
23910         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23911         up arguments below 2**-450, not just those below 2**-500.
23912         * math/libm-test.inc (hypot_test): Add another test.
23913
23914         [BZ #14868]
23915         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23916         Return a+b for ratio over 2**120, not 2**60.
23917         * math/libm-test.inc (hypot_test): Add another test.
23918
23919         * math/libm-test.inc (clog_test): Use
23920         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23921         (clog10_test): Likewise.
23922
23923         [BZ #6778]
23924         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23925
23926 2012-11-22  Andreas Schwab  <schwab@suse.de>
23927
23928         * sysdeps/i386/fpu/libm-test-ulps: Update.
23929
23930 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23931
23932         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23933         printf output with newline.
23934
23935 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23936
23937         [BZ #14865]
23938         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23939         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23940         -z nodlopen, -z initfirst and -z execstack support.
23941         * configure: Regenerated.
23942
23943         * elf/elf.h (DF_1_NODIRECT): New macro.
23944         (DF_1_IGNMULDEF): Likewise.
23945         (DF_1_NOKSYMS): Likewise.
23946         (DF_1_NOHDR): Likewise.
23947         (DF_1_EDITED): Likewise.
23948         (DF_1_NORELOC): Likewise.
23949         (DF_1_SYMINTPOSE): Likewise.
23950         (DF_1_GLOBAUDIT): Likewise.
23951         (DF_1_SINGLETON): Likewise.
23952         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23953         DT_1_SUPPORTED_MASK bits.
23954         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23955
23956 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23957
23958         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23959
23960 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23961
23962         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23963         macro.
23964
23965         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23966         (sendmmsg): Move declarations...
23967         * socket/sys/socket.h: ... here.
23968         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23969         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23970         include it from...
23971         * socket/recvmmsg.c: ... this new file.
23972         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23973         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23974         definition of __sendmmsg hidden.
23975         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23976         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23977         Move ENOSYS stub into and include it from...
23978         * socket/sendmmsg.c: ... this new file.
23979         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23980         (sysdep_routines): Move recvmmsg and sendmmsg...
23981         * socket/Makefile (routines): ... here.
23982         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23983         (GLIBC_PRIVATE): Add __sendmmsg.
23984         * include/sys/socket.h (__sendmmsg): Add declarations.
23985         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23986         sendmmsg.
23987
23988 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23989
23990         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23991         variable I1 with __attribute__ ((unused)).
23992         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23993
23994 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23995
23996         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23997         DUMMY variables with __attribute__ ((unused)).
23998
23999         * bits/byteswap.h: Include <bits/types.h>.
24000         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24001
24002 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24003
24004         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24005         string_t.  Do not manually set errno.
24006         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24007         length with __strnlen.  Make sure to both set errno and return it on
24008         failure.
24009
24010 2012-11-19  David S. Miller  <davem@davemloft.net>
24011
24012         With help from Joseph Myers.
24013         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24014         very large arguments properly.
24015         * math/libm-test.inc (atan_test): New tests.
24016         (atan2_test): New tests.
24017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24019
24020 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24021
24022         [BZ #14856]
24023         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24024         Define to 3.
24025
24026         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24027         [POSIX] (EADDRNOTAVAIL): Likewise.
24028         [POSIX] (EAFNOSUPPORT): Likewise.
24029         [POSIX] (EALREADY): Likewise.
24030         [POSIX] (ECONNABORTED): Likewise.
24031         [POSIX] (ECONNREFUSED): Likewise.
24032         [POSIX] (ECONNRESET): Likewise.
24033         [POSIX] (EDESTADDRREQ): Likewise.
24034         [POSIX] (EDQUOT): Likewise.
24035         [POSIX] (EHOSTUNREACH): Likewise.
24036         [POSIX] (EIDRM): Likewise.
24037         [POSIX] (EISCONN): Likewise.
24038         [POSIX] (ELOOP): Likewise.
24039         [POSIX] (EMULTIHOP): Likewise.
24040         [POSIX] (ENETDOWN): Likewise.
24041         [POSIX] (ENETUNREACH): Likewise.
24042         [POSIX] (ENOBUFS): Likewise.
24043         [POSIX] (ENODATA): Likewise.
24044         [POSIX] (ENOLINK): Likewise.
24045         [POSIX] (ENOMSG): Likewise.
24046         [POSIX] (ENOPROTOOPT): Likewise.
24047         [POSIX] (ENOSR): Likewise.
24048         [POSIX] (ENOSTR): Likewise.
24049         [POSIX] (ENOTCONN): Likewise.
24050         [POSIX] (ENOTSOCK): Likewise.
24051         [POSIX] (EOPNOTSUPP): Likewise.
24052         [POSIX] (EOVERFLOW): Likewise.
24053         [POSIX] (EPROTO): Likewise.
24054         [POSIX] (EPROTONOSUPPORT): Likewise.
24055         [POSIX] (EPROTOTYPE): Likewise.
24056         [POSIX] (ESTALE): Likewise.
24057         [POSIX] (ETIME): Likewise.
24058         [POSIX] (ETXTBSY): Likewise.
24059         [POSIX] (EWOULDBLOCK): Likewise.
24060         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24061         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24062         [POSIX] (SEEK_CUR): Likewise.
24063         [POSIX] (SEEK_END): Likewise.
24064         [POSIX || UNIX98] (mode_t): Do not require.
24065         [POSIX] (off_t): Likewise.
24066         [POSIX] (pid_t): Likewise.
24067         [POSIX] (sys/stat.h): Do not allow header.
24068         [POSIX] (unistd.h): Likewise.
24069         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24070         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24071         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24072         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24073         require.
24074         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24075         sigevent): Specify elements.
24076         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24077         entry.
24078         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24079         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24080
24081         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24082         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24083         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24084         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24085         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24086         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24087         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24088         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24089         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24090         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24091         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24092         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24093         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24094         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24095         Likewise.
24096         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24097         Likewise.
24098         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24099         Likewise.
24100         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24101         Likewise.
24102         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24103         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24104         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24105         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24106         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24107         Specify lower bound on value.
24108         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24109         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24110         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24111         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24112         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24113         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24114         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24115         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24116         value.
24117         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24118         as optional.
24119         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24120         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24121         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24122         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24123         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24124         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24125         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24126         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24127         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24128         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24129         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24130         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24131         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24132         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24133         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24134         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24135         entry.
24136         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24137         optional.
24138         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24139         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24140         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24141         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24142         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24143         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24144         Likewise.
24145         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24146         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24147         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24148         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24149         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24150         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24151         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24152         as optional.
24153         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24154         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24155         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24156         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24157         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24158         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24159         specify as optional.
24160         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24161         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24162         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24163         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24164         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24165         [XPG3] (NL_LANGMAX): Likewise.
24166         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24167         [POSIX || XPG3] (NL_NMAX): Likewise.
24168         [POSIX || XPG3] (NL_SETMAX): Likewise.
24169         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24170         [XPG3] (NZERO): Likewise.
24171         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24172         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24173         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24174         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24175         (REG_ERANGE): Expect.
24176         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24177         optional-constant.
24178         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24179         Use (void) in prototype.
24180         [POSIX] (*_t): Allow.
24181         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24182         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24183         (WRDE_BADVAL): Expect.
24184
24185         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24186         expect.
24187         [XPG3 || XPG4] (O_RSYNC): Likewise.
24188         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24189         Likewise.
24190         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24191         [XPG3 || XPG4] (sigqueue): Likewise.
24192         [XPG3 || XPG4] (sigtimedwait): Likewise.
24193         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24194         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24195         [XPG3 || XPG4] (vsnprintf): Likewise.
24196         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24197         Likewise.
24198         [XPG3 || XPG4] (blksize_t): Likewise.
24199         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24200         Likewise.
24201         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24202         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24203         [XPG3 || XPG4] (struct itimerspec): Likewise.
24204         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24205         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24206         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24207         [XPG3 || XPG4] (clockid_t): Likewise.
24208         [XPG3 || XPG4] (timer_t): Likewise.
24209         [XPG3 || XPG4] (clock_getres): Likewise.
24210         [XPG3 || XPG4] (clock_gettime): Likewise.
24211         [XPG3 || XPG4] (clock_settime): Likewise.
24212         [XPG3 || XPG4] (nanosleep): Likewise.
24213         [XPG3 || XPG4] (timer_create): Likewise.
24214         [XPG3 || XPG4] (timer_delete): Likewise.
24215         [XPG3 || XPG4] (timer_gettime): Likewise.
24216         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24217         [XPG3 || XPG4] (timer_settime): Likewise.
24218         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24219         [XPG3 || XPG4] (getlogin_r): Likewise.
24220         [XPG3 || XPG4] (pread): Likewise.
24221         [XPG3 || XPG4] (pthread_atfork): Likewise.
24222         [XPG3 || XPG4] (pwrite): Likewise.
24223
24224         [BZ #14835]
24225         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24226         <bits/siginfo.h>.
24227
24228 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24229
24230         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24231         finalizing MALLSTREAM.
24232
24233         * sysdeps/mach/hurd/syncfs.c: New file.
24234
24235 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24236
24237         [BZ #14719]
24238         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24239         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24240         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24241         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24242         (_nss_dns_gethostbyname4_r): Likewise.
24243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24244         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24245
24246 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24247
24248         [BZ #13763]
24249         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24250
24251 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24252
24253         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24254         * elf/cache.c (print_entry): Print ",AArch64" for
24255         FLAG_AARCH64_LIB64
24256
24257         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24258         * elf/cache.c (print_entry): Print ",hard-float" for
24259         FLAG_ARM_LIBHF.
24260
24261 2012-11-18  David S. Miller  <davem@davemloft.net>
24262
24263         With help from Joseph Myers.
24264         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24265         cutoff to 2**-13.
24266         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24267         cutoff to 2**-25.
24268         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24269         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24270         small.
24271         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24272         * math/libm-test.inc (y0_test): New tests.
24273         (y1_test): New tests.
24274         * sysdeps/i386/fpu/libm-test-ulps: Update.
24275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24277
24278 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24279
24280         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24281         64-bit targets.
24282         * configure: Regenerated.
24283
24284 2012-11-17  David S. Miller  <davem@davemloft.net>
24285
24286         [BZ #14811]
24287         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24288         nonzero exponents with absolute value below 0x1p-128 to +/-
24289         0x1p-128.
24290
24291 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24292
24293         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24294
24295         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24296
24297         * posix/getconf-speclist.c: New file.
24298         * posix/posix-envs.def: Likewise.
24299         * posix/confstr.c (START_ENV_GROUP): New macro.
24300         (END_ENV_GROUP): Likewise.
24301         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24302         (KNOWN_PRESENT_ENV_STRING): Likewise.
24303         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24304         (UNKNOWN_ENVIRONMENT): Likewise.
24305         (confstr): Include posix-envs.def instead of handling
24306         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24307         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24308         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24309         (END_ENV_GROUP): Likewise.
24310         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24311         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24312         (UNKNOWN_ENVIRONMENT): Likewise.
24313         (__sysconf): Include posix-envs.def instead of handling associated
24314         cases directly here.
24315         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24316         preprocessing getconf-speclist.c rather than running getconf or
24317         generating empty file.
24318
24319 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24320
24321         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24322
24323 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24324
24325         [BZ #14672]
24326         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24327
24328 2012-11-16  David S. Miller  <davem@davemloft.net>
24329
24330         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24331         smaller than LDBL_EPSILON/2.0L, just return xm1.
24332
24333 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24334
24335         * elf/tst-array1.c (init): Set constructor priority to 1000.
24336         (fini): Set destructor priority to 1000.
24337         * elf/tst-array2dep.c: Likewise.
24338
24339 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24340
24341         [BZ #11741]
24342         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24343         (_IO_new_file_xsputn): Also return EOF if none of the input
24344         data was written when overflow failed.
24345         * libio/iopadn.c (_IO_padn): Likewise.
24346         * libio/iowpadn.c (_IO_wpadn): Likewise.
24347         * stdio-common/tst-put-error.c: Add copyright notice.
24348         (do_test): Add case for printing padded string.
24349         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24350         _IO_padn returned error.
24351         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24352         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24353         return EOF.
24354
24355 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24356
24357         * libio/libioP.h: Add comment note that the references to C++
24358         bits are now obsolete.
24359
24360 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24361
24362         * math/libm-test.inc (check_complex): Use asprintf.
24363
24364 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24365
24366         * debug/pcprofiledump.c (print_version): Update copyright year.
24367         * malloc/memusagestat.c (print_version): Likewise.
24368
24369 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24370
24371         [BZ #14831]
24372         * elf/Makefile (tests): Add tst-audit8.
24373         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24374         ($(objpfx)tst-audit8.out): New target.
24375         (tst-audit8-ENV): New variable.
24376         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24377         audit if l_reloc_result is NULL.
24378         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24379         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24380         * elf/tst-audit8.c: New file.
24381
24382 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24383
24384         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24385         * misc/Makefile (CFLAGS-select.c): Define.
24386         * posix/Makefile (CFLAGS-pause.c): Define.
24387
24388 2012-11-13  David S. Miller  <davem@davemloft.net>
24389
24390         * crypt/Makefile: Move test targets after toplevel Rules
24391         inclusion.  Grab any necessary sysdep routines when linking.
24392         * crypt/md5.c (md5_process_block): Remove define, we will always
24393         name it __md5_process_block.
24394         (md5_finish_ctx): Update md5_process_block call.
24395         (md5_stream): Likewise.
24396         (md5_process_bytes): Likewise.
24397         (md5_process_block): Rename to __md5_process_block and move to ...
24398         * crypt/md5-block.c: ... here.
24399         * crypt/sha256.c (sha256_process_block): Move to ...
24400         * crypt/sha256-block.c: ... here.
24401         * crypt/sha512.c (sha512_process_block): Move to ...
24402         * crypt/sha512-block.c: ... here.
24403         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24404         path.
24405         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24406         * sysdeps/sparc/sparc64/multiarch/Makefile
24407         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24408         crypt subdir.
24409         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24410         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24411         multiarch changes.
24412         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24413         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24414         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24415         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24416         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24417         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24418         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24419         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24420         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24421         file.
24422         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24423         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24424         file.
24425         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24426
24427 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24428
24429         * timezone/tzselect.ksh: Update from tzcode git revision
24430         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24431         * timezone/zdump.c: Likewise.
24432         * timezone/zic.c: Likewise.
24433         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24434         in TZVERSION setting, not $(PKGVERSION).
24435         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24436         REPORT_BUGS_TO settings.
24437
24438         [BZ #14838]
24439         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24440         macro.
24441
24442 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24443
24444         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24445         detection to immediately after _FP_ROUND().
24446         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24447         bits are 0.
24448
24449 2012-11-11  David S. Miller  <davem@davemloft.net>
24450
24451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24452         inttypes.h
24453         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24454         __close rather than their public counterparts.
24455
24456 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24457
24458         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24459         file.
24460         [UNIX98] (sem_timedwait): Do not expect.
24461         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24462         [XPG4 || UNIX98] (sockatmark): Do not expect.
24463         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24464         (clock_getcpuclockid): Do not expect.
24465         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24466         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24467         Do not expect.
24468         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24469         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24470         [UNIX98] (vwscanf): Likewise.
24471         [UNIX98] (vswscanf): Likewise.
24472
24473 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24474
24475         * timezone/version.h: Remove file.
24476         * timezone/README: Do not refer to version.h.
24477         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24478         $(objpfx)version.h.
24479         ($(objpfx)zdump.o): Likewise.
24480         ($(objpfx)version.h): New target.
24481
24482         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24483         2012i.
24484         * timezone/README: Don't mention modification to tzselect.ksh.
24485         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24486         work on unmodified tzselect.ksh.  Substitute version numbers in
24487         tzselect.ksh.
24488
24489         * Makefile (format-me): Remove.
24490         (INSTALL): Adjust indentation.  Use commands directly instead of
24491         using $(format-me).
24492
24493         * aclocal.m4 (ACX_PKGVERSION): New macro.
24494         (ACX_BUGURL): Likewise.
24495         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24496         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24497         (REPORT_BUGS_TO): Likewise.
24498         * configure: Regenerated.
24499         * config.h.in (PKGVERSION): New macro.
24500         (REPORT_BUGS_TO): Likewise.
24501         * config.make.in (PKGVERSION): New variable.
24502         (PKGVERSION_TEXI): Likewise.
24503         (REPORT_BUGS_TO): Likewise.
24504         (REPORT_BUGS_TEXI): Likewise.
24505         * Makefile (format-me): Use -I$(common-objpfx)manual.
24506         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24507         ($(common-objpfx)manual/%): New target.
24508         (manual/%): Remove target.
24509         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24510         (print_version): Use PKGVERSION.
24511         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24512         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24513         and REPORT_BUGS_TO.
24514         ($(objpfx)xtrace): Likewise.
24515         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24516         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24517         (print_version): Use PKGVERSION.
24518         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24519         (do_version): Use PKGVERSION.
24520         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24521         REPORT_BUGS_TO.
24522         (common-ldd-rewrite): Likewise.
24523         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24524         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24525         (print_version): Use PKGVERSION.
24526         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24527         * elf/pldd.c (argp_program_bug_address): Remove variable.
24528         (more_help): New function.
24529         (argp): Use more_help.
24530         (print_version): Use PKGVERSION.
24531         * elf/sln.c (main): Use PKGVERSION.
24532         (usage): Use REPORT_BUGS_TO.
24533         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24534         (top level): Use PKGVERSION.
24535         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24536         (print_version): Use PKGVERSION.
24537         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24538         (print_version): Use PKGVERSION.
24539         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24540         (print_version): Use PKGVERSION.
24541         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24542         (print_version): Use PKGVERSION.
24543         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24544         (print_version): Use PKGVERSION.
24545         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24546         (print_version): Use PKGVERSION.
24547         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24548         and BUGURL.
24549         ($(objpfx)memusage): Likewise.
24550         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24551         (do_version): Use PKGVERSION.
24552         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24553         (print_version): Use PKGVERSION.
24554         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24555         ($PKGVERSION): New variable.
24556         ($REPORT_BUGS_TO): Likewise.
24557         (usage): Use $REPORT_BUGS_TO.
24558         (top level): Use $PKGVERSION.
24559         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24560         ($(objpfx)pkgvers.texi): New rule.
24561         ($(objpfx)stamp-pkgvers): Likewise.
24562         * manual/install.texi: Include pkgvers.texi.
24563         (--with-pkgversion): Document new configure option.
24564         (--with-bugurl): Likewise.
24565         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24566         than necessarily for this particular distribution.  Use
24567         REPORT_BUGS_TO for where to report bugs.
24568         * INSTALL: Regenerated.
24569         * manual/libc.texinfo: Include pkgvers.texi.
24570         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24571         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24572         (print_version): Use PKGVERSION.
24573         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24574         (print_version): Use PKGVERSION.
24575         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24576         (print_version): Use PKGVERSION.
24577         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24578         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24579         macro.
24580         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24581         (print_version): Use PKGVERSION.
24582         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24583         (print_version): Use PKGVERSION.
24584         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24585         and PKGVERSION.
24586
24587         * timezone/checktab.awk: Update from tzcode 2012i.
24588         * timezone/ialloc.c: Likewise.
24589         * timezone/private.h: Likewise.
24590         * timezone/scheck.c: Likewise.
24591         * timezone/tzfile.h: Likewise.
24592         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24593         (TZVERSION): Hardcode tzcode version number.
24594         * timezone/zdump.c: Update from tzcode 2012i.
24595         * timezone/zic.c: Likewise.
24596         * timezone/version.h: New file.
24597         * timezone/README: Describe version.h.  Update upstream location.
24598
24599         [BZ #14824]
24600         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24601         (mktemp): Enable declaration.
24602         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24603         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24604         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24606         Likewise.
24607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24608         Likewise.
24609         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24610         Likewise.
24611         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24612         Likewise.
24613         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24614         Likewise.
24615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24616         Likewise.
24617
24618         [BZ #14821]
24619         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24620         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24621         for copies of such integer values.
24622         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24623         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24624
24625 2012-11-09  Andreas Jaeger  <aj@suse.de>
24626
24627         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24628         definitions and declarations that are provided by
24629         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24630
24631 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24632
24633         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24634         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24635         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24636         definition.
24637
24638 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24639
24640         * elf/elf.h: Update comment before AArch64 relocations.
24641
24642 2012-11-07  David S. Miller  <davem@davemloft.net>
24643
24644         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24645         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24646         (__start_context): Declare.
24647         (__makecontext_ret): Delete.
24648         (__makecontext): Hook up __start_context instead of
24649         __makecontext_ret.
24650         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24651         (sysdep_routines): Add __start_context when in stdlib.
24652
24653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24654
24655         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24656         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24657         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24658         hardcoded "nm".
24659         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24660         (READELF): New variable.  Use it instead of hardcoded "readelf".
24661
24662 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24663
24664         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24665         * sysdeps/x86/Makefile: Here.
24666         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24667         * sysdeps/x86/tst-xmmymm.sh: This.
24668
24669 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24670
24671         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24672         expectations.
24673         [UNIX98] (pthread_barrier_t): Do not expect.
24674         [UNIX98] (pthread_barrierattr_t): Likewise.
24675         [UNIX98] (pthread_spinlock_t): Likewise.
24676         [UNIX98] (pthread_barrier_destroy): Likewise.
24677         [UNIX98] (pthread_barrier_init): Likewise.
24678         [UNIX98] (pthread_barrier_wait): Likewise.
24679         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24680         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24681         [UNIX98] (pthread_barrierattr_init): Likewise.
24682         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24683         [UNIX98] (pthread_getcpuclockid): Likewise.
24684         [UNIX98] (pthread_mutex_timedlock): Likewise.
24685         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24686         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24687         [UNIX98] (pthread_sigmask): Likewise.
24688         [UNIX98] (pthread_spin_destroy): Likewise.
24689         [UNIX98] (pthread_spin_init): Likewise.
24690         [UNIX98] (pthread_spin_lock): Likewise.
24691         [UNIX98] (pthread_spin_trylock): Likewise.
24692         [UNIX98] (pthread_spin_unlock): Likewise.
24693         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24694         Do not expect.
24695         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24696         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24697         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24698         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24699         [XPG3 || XPG4] (pthread_key_t): Likewise.
24700         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24701         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24702         [XPG3 || XPG4] (pthread_once_t): Likewise.
24703         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24704         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24705         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24706         [XPG3 || XPG4] (pthread_t): Likewise.
24707
24708         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24709         not expect.
24710         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24711
24712         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24713         Change function return type to int.
24714
24715         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24716         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24717         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24718         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24719         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24720         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24721         [!POSIX] (posix_madvise): Likewise.
24722         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24723         && !UNIX98].
24724         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24725         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24726         (mode_t): Likewise.
24727         (posix_mem_offset): Likewise.
24728         (posix_typed_mem_get_info): Likewise.
24729         (posix_typed_mem_open): Likewise.
24730
24731         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24732         Change condition to [XOPEN2K8].
24733
24734         * conform/conformtest.pl: Preprocess allow-header data with -x c
24735         instead of from stdin.
24736         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24737         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24738         [C99-based standards] (cerfc): Likewise.
24739         [C99-based standards] (cexp2): Likewise.
24740         [C99-based standards] (cexpm1): Likewise.
24741         [C99-based standards] (clog10): Likewise.
24742         [C99-based standards] (clog1p): Likewise.
24743         [C99-based standards] (clog2): Likewise.
24744         [C99-based standards] (clgamma): Likewise.
24745         [C99-based standards] (ctgamma): Likewise.
24746         [C99-based standards] (cerff): Likewise.
24747         [C99-based standards] (cerfcf): Likewise.
24748         [C99-based standards] (cexp2f): Likewise.
24749         [C99-based standards] (cexpm1f): Likewise.
24750         [C99-based standards] (clog10f): Likewise.
24751         [C99-based standards] (clog1pf): Likewise.
24752         [C99-based standards] (clog2f): Likewise.
24753         [C99-based standards] (clgammaf): Likewise.
24754         [C99-based standards] (ctgammaf): Likewise.
24755         [C99-based standards] (cerfl): Likewise.
24756         [C99-based standards] (cerfcl): Likewise.
24757         [C99-based standards] (cexp2l): Likewise.
24758         [C99-based standards] (cexpm1l): Likewise.
24759         [C99-based standards] (clog10l): Likewise.
24760         [C99-based standards] (clog1pl): Likewise.
24761         [C99-based standards] (clog2l): Likewise.
24762         [C99-based standards] (clgammal): Likewise.
24763         [C99-based standards] (ctgammal): Likewise.
24764         * conform/data/inttypes.h-data [C99-based standards]: Include
24765         stdint.h-data.  Remove all expectations for stdint.h contents.
24766         [C99-based standards] (PRI*): Do not allow.
24767         [C99-based standards] (SCN*): Likewise.
24768         [C99-based standards] (*_t): Likewise.
24769         [C99-based-standards] (PRId8): Expect macro.
24770         [C99-based-standards] (PRIi8): Likewise.
24771         [C99-based-standards] (PRIo8): Likewise.
24772         [C99-based-standards] (PRIu8): Likewise.
24773         [C99-based-standards] (PRIx8): Likewise.
24774         [C99-based-standards] (PRIX8): Likewise.
24775         [C99-based-standards] (SCNd8): Likewise.
24776         [C99-based-standards] (SCNi8): Likewise.
24777         [C99-based-standards] (SCNo8): Likewise.
24778         [C99-based-standards] (SCNu8): Likewise.
24779         [C99-based-standards] (SCNx8): Likewise.
24780         [C99-based-standards] (PRIdLEAST8): Likewise.
24781         [C99-based-standards] (PRIiLEAST8): Likewise.
24782         [C99-based-standards] (PRIoLEAST8): Likewise.
24783         [C99-based-standards] (PRIuLEAST8): Likewise.
24784         [C99-based-standards] (PRIxLEAST8): Likewise.
24785         [C99-based-standards] (PRIXLEAST8): Likewise.
24786         [C99-based-standards] (SCNdLEAST8): Likewise.
24787         [C99-based-standards] (SCNiLEAST8): Likewise.
24788         [C99-based-standards] (SCNoLEAST8): Likewise.
24789         [C99-based-standards] (SCNuLEAST8): Likewise.
24790         [C99-based-standards] (SCNxLEAST8): Likewise.
24791         [C99-based-standards] (PRIdFAST8): Likewise.
24792         [C99-based-standards] (PRIiFAST8): Likewise.
24793         [C99-based-standards] (PRIoFAST8): Likewise.
24794         [C99-based-standards] (PRIuFAST8): Likewise.
24795         [C99-based-standards] (PRIxFAST8): Likewise.
24796         [C99-based-standards] (PRIXFAST8): Likewise.
24797         [C99-based-standards] (SCNdFAST8): Likewise.
24798         [C99-based-standards] (SCNiFAST8): Likewise.
24799         [C99-based-standards] (SCNoFAST8): Likewise.
24800         [C99-based-standards] (SCNuFAST8): Likewise.
24801         [C99-based-standards] (SCNxFAST8): Likewise.
24802         [C99-based-standards] (PRId16): Likewise.
24803         [C99-based-standards] (PRIi16): Likewise.
24804         [C99-based-standards] (PRIo16): Likewise.
24805         [C99-based-standards] (PRIu16): Likewise.
24806         [C99-based-standards] (PRIx16): Likewise.
24807         [C99-based-standards] (PRIX16): Likewise.
24808         [C99-based-standards] (SCNd16): Likewise.
24809         [C99-based-standards] (SCNi16): Likewise.
24810         [C99-based-standards] (SCNo16): Likewise.
24811         [C99-based-standards] (SCNu16): Likewise.
24812         [C99-based-standards] (SCNx16): Likewise.
24813         [C99-based-standards] (PRIdLEAST16): Likewise.
24814         [C99-based-standards] (PRIiLEAST16): Likewise.
24815         [C99-based-standards] (PRIoLEAST16): Likewise.
24816         [C99-based-standards] (PRIuLEAST16): Likewise.
24817         [C99-based-standards] (PRIxLEAST16): Likewise.
24818         [C99-based-standards] (PRIXLEAST16): Likewise.
24819         [C99-based-standards] (SCNdLEAST16): Likewise.
24820         [C99-based-standards] (SCNiLEAST16): Likewise.
24821         [C99-based-standards] (SCNoLEAST16): Likewise.
24822         [C99-based-standards] (SCNuLEAST16): Likewise.
24823         [C99-based-standards] (SCNxLEAST16): Likewise.
24824         [C99-based-standards] (PRIdFAST16): Likewise.
24825         [C99-based-standards] (PRIiFAST16): Likewise.
24826         [C99-based-standards] (PRIoFAST16): Likewise.
24827         [C99-based-standards] (PRIuFAST16): Likewise.
24828         [C99-based-standards] (PRIxFAST16): Likewise.
24829         [C99-based-standards] (PRIXFAST16): Likewise.
24830         [C99-based-standards] (SCNdFAST16): Likewise.
24831         [C99-based-standards] (SCNiFAST16): Likewise.
24832         [C99-based-standards] (SCNoFAST16): Likewise.
24833         [C99-based-standards] (SCNuFAST16): Likewise.
24834         [C99-based-standards] (SCNxFAST16): Likewise.
24835         [C99-based-standards] (PRId32): Likewise.
24836         [C99-based-standards] (PRIi32): Likewise.
24837         [C99-based-standards] (PRIo32): Likewise.
24838         [C99-based-standards] (PRIu32): Likewise.
24839         [C99-based-standards] (PRIx32): Likewise.
24840         [C99-based-standards] (PRIX32): Likewise.
24841         [C99-based-standards] (SCNd32): Likewise.
24842         [C99-based-standards] (SCNi32): Likewise.
24843         [C99-based-standards] (SCNo32): Likewise.
24844         [C99-based-standards] (SCNu32): Likewise.
24845         [C99-based-standards] (SCNx32): Likewise.
24846         [C99-based-standards] (PRIdLEAST32): Likewise.
24847         [C99-based-standards] (PRIiLEAST32): Likewise.
24848         [C99-based-standards] (PRIoLEAST32): Likewise.
24849         [C99-based-standards] (PRIuLEAST32): Likewise.
24850         [C99-based-standards] (PRIxLEAST32): Likewise.
24851         [C99-based-standards] (PRIXLEAST32): Likewise.
24852         [C99-based-standards] (SCNdLEAST32): Likewise.
24853         [C99-based-standards] (SCNiLEAST32): Likewise.
24854         [C99-based-standards] (SCNoLEAST32): Likewise.
24855         [C99-based-standards] (SCNuLEAST32): Likewise.
24856         [C99-based-standards] (SCNxLEAST32): Likewise.
24857         [C99-based-standards] (PRIdFAST32): Likewise.
24858         [C99-based-standards] (PRIiFAST32): Likewise.
24859         [C99-based-standards] (PRIoFAST32): Likewise.
24860         [C99-based-standards] (PRIuFAST32): Likewise.
24861         [C99-based-standards] (PRIxFAST32): Likewise.
24862         [C99-based-standards] (PRIXFAST32): Likewise.
24863         [C99-based-standards] (SCNdFAST32): Likewise.
24864         [C99-based-standards] (SCNiFAST32): Likewise.
24865         [C99-based-standards] (SCNoFAST32): Likewise.
24866         [C99-based-standards] (SCNuFAST32): Likewise.
24867         [C99-based-standards] (SCNxFAST32): Likewise.
24868         [C99-based-standards] (PRId64): Likewise.
24869         [C99-based-standards] (PRIi64): Likewise.
24870         [C99-based-standards] (PRIo64): Likewise.
24871         [C99-based-standards] (PRIu64): Likewise.
24872         [C99-based-standards] (PRIx64): Likewise.
24873         [C99-based-standards] (PRIX64): Likewise.
24874         [C99-based-standards] (SCNd64): Likewise.
24875         [C99-based-standards] (SCNi64): Likewise.
24876         [C99-based-standards] (SCNo64): Likewise.
24877         [C99-based-standards] (SCNu64): Likewise.
24878         [C99-based-standards] (SCNx64): Likewise.
24879         [C99-based-standards] (PRIdLEAST64): Likewise.
24880         [C99-based-standards] (PRIiLEAST64): Likewise.
24881         [C99-based-standards] (PRIoLEAST64): Likewise.
24882         [C99-based-standards] (PRIuLEAST64): Likewise.
24883         [C99-based-standards] (PRIxLEAST64): Likewise.
24884         [C99-based-standards] (PRIXLEAST64): Likewise.
24885         [C99-based-standards] (SCNdLEAST64): Likewise.
24886         [C99-based-standards] (SCNiLEAST64): Likewise.
24887         [C99-based-standards] (SCNoLEAST64): Likewise.
24888         [C99-based-standards] (SCNuLEAST64): Likewise.
24889         [C99-based-standards] (SCNxLEAST64): Likewise.
24890         [C99-based-standards] (PRIdFAST64): Likewise.
24891         [C99-based-standards] (PRIiFAST64): Likewise.
24892         [C99-based-standards] (PRIoFAST64): Likewise.
24893         [C99-based-standards] (PRIuFAST64): Likewise.
24894         [C99-based-standards] (PRIxFAST64): Likewise.
24895         [C99-based-standards] (PRIXFAST64): Likewise.
24896         [C99-based-standards] (SCNdFAST64): Likewise.
24897         [C99-based-standards] (SCNiFAST64): Likewise.
24898         [C99-based-standards] (SCNoFAST64): Likewise.
24899         [C99-based-standards] (SCNuFAST64): Likewise.
24900         [C99-based-standards] (SCNxFAST64): Likewise.
24901         [C99-based-standards] (PRIdMAX): Likewise.
24902         [C99-based-standards] (PRIiMAX): Likewise.
24903         [C99-based-standards] (PRIoMAX): Likewise.
24904         [C99-based-standards] (PRIuMAX): Likewise.
24905         [C99-based-standards] (PRIxMAX): Likewise.
24906         [C99-based-standards] (PRIXMAX): Likewise.
24907         [C99-based-standards] (SCNdMAX): Likewise.
24908         [C99-based-standards] (SCNiMAX): Likewise.
24909         [C99-based-standards] (SCNoMAX): Likewise.
24910         [C99-based-standards] (SCNuMAX): Likewise.
24911         [C99-based-standards] (SCNxMAX): Likewise.
24912         [C99-based-standards] (PRIdPTR): Likewise.
24913         [C99-based-standards] (PRIiPTR): Likewise.
24914         [C99-based-standards] (PRIoPTR): Likewise.
24915         [C99-based-standards] (PRIuPTR): Likewise.
24916         [C99-based-standards] (PRIxPTR): Likewise.
24917         [C99-based-standards] (PRIXPTR): Likewise.
24918         [C99-based-standards] (SCNdPTR): Likewise.
24919         [C99-based-standards] (SCNiPTR): Likewise.
24920         [C99-based-standards] (SCNoPTR): Likewise.
24921         [C99-based-standards] (SCNuPTR): Likewise.
24922         [C99-based-standards] (SCNxPTR): Likewise.
24923         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24924         allow.
24925         * conform/data/stdint.h-data: Update comments to clarify
24926         requirements.
24927         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24928         type.
24929         [C99-based standards] (INT8_MAX): Likewise.
24930         [C99-based standards] (INT16_MIN): Likewise.
24931         [C99-based standards] (INT16_MAX): Likewise.
24932         [C99-based standards] (INT32_MIN): Likewise.
24933         [C99-based standards] (INT32_MAX): Likewise.
24934         [C99-based standards] (INT64_MIN): Likewise.
24935         [C99-based standards] (INT64_MAX): Likewise.
24936         [C99-based standards] (UINT8_MAX): Likewise.
24937         [C99-based standards] (UINT16_MAX): Likewise.
24938         [C99-based standards] (UINT32_MAX): Likewise.
24939         [C99-based standards] (UINT64_MAX): Likewise.
24940         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24941         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24942         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24943         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24944         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24945         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24946         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24947         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24948         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24949         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24950         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24951         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24952         [C99-based standards] (INT_FAST8_MIN): Likewise.
24953         [C99-based standards] (INT_FAST8_MAX): Likewise.
24954         [C99-based standards] (INT_FAST16_MIN): Likewise.
24955         [C99-based standards] (INT_FAST16_MAX): Likewise.
24956         [C99-based standards] (INT_FAST32_MIN): Likewise.
24957         [C99-based standards] (INT_FAST32_MAX): Likewise.
24958         [C99-based standards] (INT_FAST64_MIN): Likewise.
24959         [C99-based standards] (INT_FAST64_MAX): Likewise.
24960         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24961         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24962         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24963         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24964         [C99-based standards] (INTPTR_MIN): Likewise.
24965         [C99-based standards] (INTPTR_MAX): Likewise.
24966         [C99-based standards] (UINTPTR_MAX): Likewise.
24967         [C99-based standards] (INTMAX_MIN): Likewise.
24968         [C99-based standards] (INTMAX_MAX): Likewise.
24969         [C99-based standards] (UINTMAX_MAX): Likewise.
24970         [C99-based standards] (PTRDIFF_MIN): Likewise.
24971         [C99-based standards] (PTRDIFF_MAX): Likewise.
24972         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24973         [C99-based standards] (SIZE_MAX): Likewise.
24974         [C99-based standards] (WCHAR_MAX): Likewise.
24975         [C99-based standards] (WINT_MAX): Likewise.
24976         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24977         constraint on value.
24978         [C99-based standards] (WCHAR_MIN): Likewise.
24979         [C99-based standards] (WINT_MIN): Likewise.
24980         [C99-based standards] (*_t): Allow.
24981         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24982         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24983         Include math.h-data and complex.h-data.  Remove all expectations
24984         of math.h and complex.h contents.
24985         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24986         at end of line.
24987         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24988         (struct tm): Expect tag.
24989         [C99-based-standards] (wcstof): Expect function.
24990         [C99-based-standards] (wcstold): Likewise.
24991         [C99-based-standards] (wcstoll): Likewise.
24992         [C99-based-standards] (wcstoull): Likewise.
24993         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24994         macro-int-constant.  Specify type.
24995         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24996         constraint on value.
24997         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24998         Specify type.
24999         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25000         Specify value.
25001         [ISO C standards]: Do not allow headers.
25002         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25003         wcs[abcdefghijklmnopqrstuvwxyz]*.
25004         [ISO C standards] (*_t): Do not allow.
25005         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25006         Expect function.
25007         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25008         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25009         Specify type.
25010         [ISO C standards]: Do not allow headers.
25011         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25012         is[abcdefghijklmnopqrstuvwxyz]*.
25013         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25014         to[abcdefghijklmnopqrstuvwxyz]*.
25015         [ISO C standards] (*_t): Do not allow.
25016         * conform/data/stdalign.h-data: New file.
25017         * conform/data/stdbool.h-data: Likewise.
25018         * conform/data/stdnoreturn.h-data: Likewise.
25019
25020 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25021
25022         [BZ #14815]
25023         * manual/filesys.texi (Directory Entries): Typo fix.
25024         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25025
25026 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25027
25028         * elf/elf.h (EM_AARCH64): New macro.
25029         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25030         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25031         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25032         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25033         (R_AARCH64_TLSDESC): Likewise.
25034         (NT_ARM_TLS): Likewise.
25035         (NT_ARM_HW_BREAK): Likewise.
25036         (NT_ARM_HW_WATCH): Likewise.
25037
25038 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25039
25040         [BZ #14811]
25041         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25042         (__ieee754_powl): Saturate nonzero exponents with absolute value
25043         below 0x1p-79 to +/- 0x1p-79.
25044         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25045         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25046         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25047         nonzero exponents with absolute value below 0x1p-32 to +/-
25048         0x1p-32.
25049         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25050         (__ieee754_powl): Saturate nonzero exponents with absolute value
25051         below 0x1p-79 to +/- 0x1p-79.
25052         * math/libm-test.inc (pow_test): Add more tests.
25053
25054 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25055
25056         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25057         _dl_s390_cap_flags with kernel. Increase string length.
25058         (_dl_s390_platforms): Add z196 and zEC12.
25059
25060 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25061
25062         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25063         Change XOPEN21K to XOPEN2K.
25064
25065 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25066
25067         * string/memmove.c: Use memcpy when possible.
25068
25069 2012-11-06  Andreas Jaeger  <aj@suse.de>
25070
25071         * po/eo.po: Update from translation team.
25072
25073 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25074
25075         [BZ #14793]
25076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25077         exponent and small x and y exponents, scale x or y up.  Increase
25078         by 2 the exponent used in scaling up.
25079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25080         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25081         * math/libm-test.inc (fma_test): Add more tests.
25082         (fma_test_towardzero): Likewise.
25083         (fma_test_downward): Likewise.
25084         (fma_test_upward): Likewise.
25085
25086 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25087
25088         [BZ #14805]
25089         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25090         fenv_t *.
25091
25092         [BZ #14801]
25093         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25094         namespace for names of struct fields.
25095         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25096         fenv_t fields.
25097         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25098         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25099
25100 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25101
25102         [BZ #3665]
25103         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25104
25105 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25106
25107         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25108         PTR_DEMANGLE.
25109
25110         [BZ #5246]
25111         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25112         PTR_DEMANGLE.
25113
25114 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25115
25116         [BZ #14797]
25117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25118         definitely overflow as x * y not x * y + z.
25119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25120         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25121         * math/libm-test.inc (fma_test): Add more tests.
25122         (fma_test_towardzero): Likewise.
25123         (fma_test_downward): Likewise.
25124         (fma_test_upward): Likewise.
25125
25126 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25127
25128         [BZ #157]
25129
25130         * include/stub-tag.h: Remove file.
25131         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25132         '#include' of it.
25133         * manual/maint.texi (Porting): Don't reference it.
25134         * Makerules ($(objpfx)stubs): Likewise.
25135         * dirent/closedir.c: Don't include <stub-tag.h>.
25136         * dirent/dirfd.c: Likewise.
25137         * dirent/fdopendir.c: Likewise.
25138         * dirent/getdents.c: Likewise.
25139         * dirent/getdents64.c: Likewise.
25140         * dirent/opendir.c: Likewise.
25141         * dirent/readdir.c: Likewise.
25142         * dirent/readdir64.c: Likewise.
25143         * dirent/readdir64_r.c: Likewise.
25144         * dirent/readdir_r.c: Likewise.
25145         * dirent/rewinddir.c: Likewise.
25146         * dirent/seekdir.c: Likewise.
25147         * dirent/telldir.c: Likewise.
25148         * gmon/profil.c: Likewise.
25149         * grp/setgroups.c: Likewise.
25150         * inet/if_index.c: Likewise.
25151         * io/access.c: Likewise.
25152         * io/chdir.c: Likewise.
25153         * io/chmod.c: Likewise.
25154         * io/chown.c: Likewise.
25155         * io/close.c: Likewise.
25156         * io/dup.c: Likewise.
25157         * io/dup2.c: Likewise.
25158         * io/dup3.c: Likewise.
25159         * io/euidaccess.c: Likewise.
25160         * io/faccessat.c: Likewise.
25161         * io/fchdir.c: Likewise.
25162         * io/fchmod.c: Likewise.
25163         * io/fchmodat.c: Likewise.
25164         * io/fchown.c: Likewise.
25165         * io/fchownat.c: Likewise.
25166         * io/fcntl.c: Likewise.
25167         * io/flock.c: Likewise.
25168         * io/fstatfs.c: Likewise.
25169         * io/fstatfs64.c: Likewise.
25170         * io/fstatvfs.c: Likewise.
25171         * io/fstatvfs64.c: Likewise.
25172         * io/futimens.c: Likewise.
25173         * io/fxstat.c: Likewise.
25174         * io/fxstat64.c: Likewise.
25175         * io/fxstatat.c: Likewise.
25176         * io/fxstatat64.c: Likewise.
25177         * io/getcwd.c: Likewise.
25178         * io/isatty.c: Likewise.
25179         * io/lchmod.c: Likewise.
25180         * io/lchown.c: Likewise.
25181         * io/link.c: Likewise.
25182         * io/linkat.c: Likewise.
25183         * io/lseek.c: Likewise.
25184         * io/lseek64.c: Likewise.
25185         * io/lxstat64.c: Likewise.
25186         * io/mkdir.c: Likewise.
25187         * io/mkdirat.c: Likewise.
25188         * io/mkfifo.c: Likewise.
25189         * io/mkfifoat.c: Likewise.
25190         * io/open.c: Likewise.
25191         * io/open64.c: Likewise.
25192         * io/openat.c: Likewise.
25193         * io/openat64.c: Likewise.
25194         * io/pipe.c: Likewise.
25195         * io/pipe2.c: Likewise.
25196         * io/poll.c: Likewise.
25197         * io/posix_fadvise.c: Likewise.
25198         * io/posix_fadvise64.c: Likewise.
25199         * io/posix_fallocate.c: Likewise.
25200         * io/posix_fallocate64.c: Likewise.
25201         * io/read.c: Likewise.
25202         * io/readlink.c: Likewise.
25203         * io/readlinkat.c: Likewise.
25204         * io/rmdir.c: Likewise.
25205         * io/sendfile.c: Likewise.
25206         * io/sendfile64.c: Likewise.
25207         * io/statfs.c: Likewise.
25208         * io/statfs64.c: Likewise.
25209         * io/statvfs.c: Likewise.
25210         * io/statvfs64.c: Likewise.
25211         * io/symlink.c: Likewise.
25212         * io/symlinkat.c: Likewise.
25213         * io/ttyname.c: Likewise.
25214         * io/ttyname_r.c: Likewise.
25215         * io/umask.c: Likewise.
25216         * io/unlink.c: Likewise.
25217         * io/unlinkat.c: Likewise.
25218         * io/utime.c: Likewise.
25219         * io/utimensat.c: Likewise.
25220         * io/write.c: Likewise.
25221         * io/xmknod.c: Likewise.
25222         * io/xmknodat.c: Likewise.
25223         * io/xstat.c: Likewise.
25224         * io/xstat64.c: Likewise.
25225         * login/getpt.c: Likewise.
25226         * login/grantpt.c: Likewise.
25227         * login/unlockpt.c: Likewise.
25228         * math/e_acoshl.c: Likewise.
25229         * math/e_acosl.c: Likewise.
25230         * math/e_asinl.c: Likewise.
25231         * math/e_atan2l.c: Likewise.
25232         * math/e_atanhl.c: Likewise.
25233         * math/e_coshl.c: Likewise.
25234         * math/e_expl.c: Likewise.
25235         * math/e_fmodl.c: Likewise.
25236         * math/e_gammal_r.c: Likewise.
25237         * math/e_hypotl.c: Likewise.
25238         * math/e_j0l.c: Likewise.
25239         * math/e_j1l.c: Likewise.
25240         * math/e_jnl.c: Likewise.
25241         * math/e_lgammal_r.c: Likewise.
25242         * math/e_log10l.c: Likewise.
25243         * math/e_log2l.c: Likewise.
25244         * math/e_logl.c: Likewise.
25245         * math/e_powl.c: Likewise.
25246         * math/e_rem_pio2l.c: Likewise.
25247         * math/e_sinhl.c: Likewise.
25248         * math/e_sqrtl.c: Likewise.
25249         * math/fclrexcpt.c: Likewise.
25250         * math/fedisblxcpt.c: Likewise.
25251         * math/feenablxcpt.c: Likewise.
25252         * math/fegetenv.c: Likewise.
25253         * math/fegetexcept.c: Likewise.
25254         * math/fegetround.c: Likewise.
25255         * math/feholdexcpt.c: Likewise.
25256         * math/fesetenv.c: Likewise.
25257         * math/fesetround.c: Likewise.
25258         * math/feupdateenv.c: Likewise.
25259         * math/fgetexcptflg.c: Likewise.
25260         * math/fraiseexcpt.c: Likewise.
25261         * math/fsetexcptflg.c: Likewise.
25262         * math/ftestexcept.c: Likewise.
25263         * math/k_cosl.c: Likewise.
25264         * math/k_rem_pio2l.c: Likewise.
25265         * math/k_sinl.c: Likewise.
25266         * math/k_tanl.c: Likewise.
25267         * math/s_asinhl.c: Likewise.
25268         * math/s_atanl.c: Likewise.
25269         * math/s_cbrtl.c: Likewise.
25270         * math/s_erfl.c: Likewise.
25271         * math/s_expm1l.c: Likewise.
25272         * math/s_log1pl.c: Likewise.
25273         * math/s_tanhl.c: Likewise.
25274         * misc/acct.c: Likewise.
25275         * misc/brk.c: Likewise.
25276         * misc/chflags.c: Likewise.
25277         * misc/chroot.c: Likewise.
25278         * misc/fchflags.c: Likewise.
25279         * misc/fgetxattr.c: Likewise.
25280         * misc/flistxattr.c: Likewise.
25281         * misc/fremovexattr.c: Likewise.
25282         * misc/fsetxattr.c: Likewise.
25283         * misc/fsync.c: Likewise.
25284         * misc/ftruncate.c: Likewise.
25285         * misc/futimes.c: Likewise.
25286         * misc/futimesat.c: Likewise.
25287         * misc/getdomain.c: Likewise.
25288         * misc/getdtsz.c: Likewise.
25289         * misc/gethostid.c: Likewise.
25290         * misc/gethostname.c: Likewise.
25291         * misc/getloadavg.c: Likewise.
25292         * misc/getpagesize.c: Likewise.
25293         * misc/getsysstats.c: Likewise.
25294         * misc/getxattr.c: Likewise.
25295         * misc/gtty.c: Likewise.
25296         * misc/ioctl.c: Likewise.
25297         * misc/lgetxattr.c: Likewise.
25298         * misc/listxattr.c: Likewise.
25299         * misc/llistxattr.c: Likewise.
25300         * misc/lremovexattr.c: Likewise.
25301         * misc/lsetxattr.c: Likewise.
25302         * misc/lutimes.c: Likewise.
25303         * misc/madvise.c: Likewise.
25304         * misc/mincore.c: Likewise.
25305         * misc/mlock.c: Likewise.
25306         * misc/mlockall.c: Likewise.
25307         * misc/mmap.c: Likewise.
25308         * misc/mprotect.c: Likewise.
25309         * misc/msync.c: Likewise.
25310         * misc/munlock.c: Likewise.
25311         * misc/munlockall.c: Likewise.
25312         * misc/munmap.c: Likewise.
25313         * misc/preadv.c: Likewise.
25314         * misc/preadv64.c: Likewise.
25315         * misc/ptrace.c: Likewise.
25316         * misc/pwritev.c: Likewise.
25317         * misc/pwritev64.c: Likewise.
25318         * misc/readv.c: Likewise.
25319         * misc/reboot.c: Likewise.
25320         * misc/remap_file_pages.c: Likewise.
25321         * misc/removexattr.c: Likewise.
25322         * misc/revoke.c: Likewise.
25323         * misc/select.c: Likewise.
25324         * misc/setdomain.c: Likewise.
25325         * misc/setegid.c: Likewise.
25326         * misc/seteuid.c: Likewise.
25327         * misc/sethostid.c: Likewise.
25328         * misc/sethostname.c: Likewise.
25329         * misc/setregid.c: Likewise.
25330         * misc/setreuid.c: Likewise.
25331         * misc/setxattr.c: Likewise.
25332         * misc/sstk.c: Likewise.
25333         * misc/stty.c: Likewise.
25334         * misc/swapoff.c: Likewise.
25335         * misc/swapon.c: Likewise.
25336         * misc/sync.c: Likewise.
25337         * misc/syncfs.c: Likewise.
25338         * misc/syscall.c: Likewise.
25339         * misc/truncate.c: Likewise.
25340         * misc/ualarm.c: Likewise.
25341         * misc/usleep.c: Likewise.
25342         * misc/ustat.c: Likewise.
25343         * misc/utimes.c: Likewise.
25344         * misc/vhangup.c: Likewise.
25345         * misc/writev.c: Likewise.
25346         * posix/_exit.c: Likewise.
25347         * posix/alarm.c: Likewise.
25348         * posix/execve.c: Likewise.
25349         * posix/fexecve.c: Likewise.
25350         * posix/fork.c: Likewise.
25351         * posix/fpathconf.c: Likewise.
25352         * posix/getaddrinfo.c: Likewise.
25353         * posix/getegid.c: Likewise.
25354         * posix/geteuid.c: Likewise.
25355         * posix/getgid.c: Likewise.
25356         * posix/getgroups.c: Likewise.
25357         * posix/getlogin.c: Likewise.
25358         * posix/getlogin_r.c: Likewise.
25359         * posix/getpgid.c: Likewise.
25360         * posix/getpid.c: Likewise.
25361         * posix/getppid.c: Likewise.
25362         * posix/getresgid.c: Likewise.
25363         * posix/getresuid.c: Likewise.
25364         * posix/getsid.c: Likewise.
25365         * posix/getuid.c: Likewise.
25366         * posix/glob64.c: Likewise.
25367         * posix/nanosleep.c: Likewise.
25368         * posix/pathconf.c: Likewise.
25369         * posix/pause.c: Likewise.
25370         * posix/posix_madvise.c: Likewise.
25371         * posix/pread.c: Likewise.
25372         * posix/pread64.c: Likewise.
25373         * posix/pwrite.c: Likewise.
25374         * posix/pwrite64.c: Likewise.
25375         * posix/sched_getaffinity.c: Likewise.
25376         * posix/sched_getp.c: Likewise.
25377         * posix/sched_gets.c: Likewise.
25378         * posix/sched_primax.c: Likewise.
25379         * posix/sched_primin.c: Likewise.
25380         * posix/sched_rr_gi.c: Likewise.
25381         * posix/sched_setaffinity.c: Likewise.
25382         * posix/sched_setp.c: Likewise.
25383         * posix/sched_sets.c: Likewise.
25384         * posix/sched_yield.c: Likewise.
25385         * posix/setgid.c: Likewise.
25386         * posix/setlogin.c: Likewise.
25387         * posix/setpgid.c: Likewise.
25388         * posix/setresgid.c: Likewise.
25389         * posix/setresuid.c: Likewise.
25390         * posix/setsid.c: Likewise.
25391         * posix/setuid.c: Likewise.
25392         * posix/sleep.c: Likewise.
25393         * posix/spawni.c: Likewise.
25394         * posix/sysconf.c: Likewise.
25395         * posix/times.c: Likewise.
25396         * posix/wait.c: Likewise.
25397         * posix/wait3.c: Likewise.
25398         * posix/wait4.c: Likewise.
25399         * posix/waitpid.c: Likewise.
25400         * resolv/gai_sigqueue.c: Likewise.
25401         * resource/getpriority.c: Likewise.
25402         * resource/getrlimit.c: Likewise.
25403         * resource/getrusage.c: Likewise.
25404         * resource/nice.c: Likewise.
25405         * resource/setpriority.c: Likewise.
25406         * resource/setrlimit.c: Likewise.
25407         * resource/ulimit.c: Likewise.
25408         * rt/aio_cancel.c: Likewise.
25409         * rt/aio_fsync.c: Likewise.
25410         * rt/aio_read.c: Likewise.
25411         * rt/aio_sigqueue.c: Likewise.
25412         * rt/aio_suspend.c: Likewise.
25413         * rt/aio_write.c: Likewise.
25414         * rt/clock_getres.c: Likewise.
25415         * rt/clock_gettime.c: Likewise.
25416         * rt/clock_nanosleep.c: Likewise.
25417         * rt/clock_settime.c: Likewise.
25418         * rt/lio_listio.c: Likewise.
25419         * rt/mq_close.c: Likewise.
25420         * rt/mq_getattr.c: Likewise.
25421         * rt/mq_notify.c: Likewise.
25422         * rt/mq_open.c: Likewise.
25423         * rt/mq_receive.c: Likewise.
25424         * rt/mq_send.c: Likewise.
25425         * rt/mq_setattr.c: Likewise.
25426         * rt/mq_timedreceive.c: Likewise.
25427         * rt/mq_timedsend.c: Likewise.
25428         * rt/mq_unlink.c: Likewise.
25429         * rt/shm_open.c: Likewise.
25430         * rt/shm_unlink.c: Likewise.
25431         * rt/timer_create.c: Likewise.
25432         * rt/timer_delete.c: Likewise.
25433         * rt/timer_getoverr.c: Likewise.
25434         * rt/timer_gettime.c: Likewise.
25435         * rt/timer_settime.c: Likewise.
25436         * setjmp/__longjmp.c: Likewise.
25437         * setjmp/setjmp.c: Likewise.
25438         * signal/kill.c: Likewise.
25439         * signal/killpg.c: Likewise.
25440         * signal/raise.c: Likewise.
25441         * signal/sigaction.c: Likewise.
25442         * signal/sigaltstack.c: Likewise.
25443         * signal/sigblock.c: Likewise.
25444         * signal/sigignore.c: Likewise.
25445         * signal/sigintr.c: Likewise.
25446         * signal/signal.c: Likewise.
25447         * signal/sigpause.c: Likewise.
25448         * signal/sigpending.c: Likewise.
25449         * signal/sigqueue.c: Likewise.
25450         * signal/sigreturn.c: Likewise.
25451         * signal/sigset.c: Likewise.
25452         * signal/sigsetmask.c: Likewise.
25453         * signal/sigstack.c: Likewise.
25454         * signal/sigsuspend.c: Likewise.
25455         * signal/sigtimedwait.c: Likewise.
25456         * signal/sigvec.c: Likewise.
25457         * signal/sigwait.c: Likewise.
25458         * signal/sigwaitinfo.c: Likewise.
25459         * signal/sysv_signal.c: Likewise.
25460         * socket/accept.c: Likewise.
25461         * socket/accept4.c: Likewise.
25462         * socket/bind.c: Likewise.
25463         * socket/connect.c: Likewise.
25464         * socket/getpeername.c: Likewise.
25465         * socket/getsockname.c: Likewise.
25466         * socket/getsockopt.c: Likewise.
25467         * socket/isfdtype.c: Likewise.
25468         * socket/listen.c: Likewise.
25469         * socket/recv.c: Likewise.
25470         * socket/recvfrom.c: Likewise.
25471         * socket/recvmsg.c: Likewise.
25472         * socket/send.c: Likewise.
25473         * socket/sendmsg.c: Likewise.
25474         * socket/sendto.c: Likewise.
25475         * socket/setsockopt.c: Likewise.
25476         * socket/shutdown.c: Likewise.
25477         * socket/sockatmark.c: Likewise.
25478         * socket/socket.c: Likewise.
25479         * socket/socketpair.c: Likewise.
25480         * stdio-common/ctermid.c: Likewise.
25481         * stdio-common/cuserid.c: Likewise.
25482         * stdio-common/remove.c: Likewise.
25483         * stdio-common/rename.c: Likewise.
25484         * stdio-common/renameat.c: Likewise.
25485         * stdio-common/tempname.c: Likewise.
25486         * stdlib/getcontext.c: Likewise.
25487         * stdlib/makecontext.c: Likewise.
25488         * stdlib/setcontext.c: Likewise.
25489         * stdlib/swapcontext.c: Likewise.
25490         * stdlib/system.c: Likewise.
25491         * streams/fattach.c: Likewise.
25492         * streams/fdetach.c: Likewise.
25493         * streams/getmsg.c: Likewise.
25494         * streams/getpmsg.c: Likewise.
25495         * streams/putmsg.c: Likewise.
25496         * streams/putpmsg.c: Likewise.
25497         * sysdeps/unix/bsd/getpt.c: Likewise.
25498         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25499         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25500         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25502         Likewise.
25503         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25504         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25505         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25506         * sysvipc/msgctl.c: Likewise.
25507         * sysvipc/msgget.c: Likewise.
25508         * sysvipc/msgrcv.c: Likewise.
25509         * sysvipc/msgsnd.c: Likewise.
25510         * sysvipc/semctl.c: Likewise.
25511         * sysvipc/semget.c: Likewise.
25512         * sysvipc/semop.c: Likewise.
25513         * sysvipc/semtimedop.c: Likewise.
25514         * sysvipc/shmat.c: Likewise.
25515         * sysvipc/shmctl.c: Likewise.
25516         * sysvipc/shmdt.c: Likewise.
25517         * sysvipc/shmget.c: Likewise.
25518         * termios/tcdrain.c: Likewise.
25519         * termios/tcflow.c: Likewise.
25520         * termios/tcflush.c: Likewise.
25521         * termios/tcgetattr.c: Likewise.
25522         * termios/tcgetpgrp.c: Likewise.
25523         * termios/tcsendbrk.c: Likewise.
25524         * termios/tcsetattr.c: Likewise.
25525         * termios/tcsetpgrp.c: Likewise.
25526         * time/adjtime.c: Likewise.
25527         * time/clock.c: Likewise.
25528         * time/getitimer.c: Likewise.
25529         * time/gettimeofday.c: Likewise.
25530         * time/setitimer.c: Likewise.
25531         * time/settimeofday.c: Likewise.
25532         * time/stime.c: Likewise.
25533         * time/time.c: Likewise.
25534
25535 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25536
25537         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25538         /usr/old/bin.
25539
25540         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25541         instead of spaces.
25542         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25543
25544 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25545
25546         [BZ #14796]
25547         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25548         FE_TONEAREST before applying Dekker multiplication and Knuth
25549         addition.  Clear inexact exceptions and check for exact zero
25550         results afterwards.
25551         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25552         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25553         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25554         * math/libm-test.inc (fma_test): Add more tests.
25555         (fma_test_towardzero): Likewise.
25556         (fma_test_downward): Likewise.
25557         (fma_test_upward): Likewise.
25558         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25559         function.
25560         (libc_fesetround): New macro.
25561         (libc_fesetroundf): Likewise.
25562         (libc_fesetroundl): Likewise.
25563         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25564         function.
25565         (libc_fesetround_387): Likewise.
25566         (libc_fesetroundf): New macro.
25567         (libc_fesetround): Likewise.
25568         (libc_fesetroundl): Likewise.
25569         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25570         function.
25571         (libc_fesetroundf): New macro.
25572         (libc_fesetround): Likewise.
25573         (libc_fesetroundl): Likewise.
25574         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25575         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25576         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25577         libm_hidden_ver.
25578         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25579         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25580         libm_hidden_def.
25581         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25582         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25583         libm_hidden_ver.
25584         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25585         libm_hidden_def.
25586
25587         [BZ #3439]
25588         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25589         integer constant usable in #if and use that to give value to enum
25590         constant.
25591         (FE_DIVBYZERO): Likewise.
25592         (FE_UNDERFLOW): Likewise.
25593         (FE_OVERFLOW): Likewise.
25594         (FE_INVALID): Likewise.
25595         (FE_INVALID_SNAN): Likewise.
25596         (FE_INVALID_ISI): Likewise.
25597         (FE_INVALID_IDI): Likewise.
25598         (FE_INVALID_ZDZ): Likewise.
25599         (FE_INVALID_IMZ): Likewise.
25600         (FE_INVALID_COMPARE): Likewise.
25601         (FE_INVALID_SOFTWARE): Likewise.
25602         (FE_INVALID_SQRT): Likewise.
25603         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25604         (FE_TONEAREST): Likewise.
25605         (FE_TOWARDZERO): Likewise.
25606         (FE_UPWARD): Likewise.
25607         (FE_DOWNWARD): Likewise.
25608         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25609         (FE_DIVBYZERO): Likewise.
25610         (FE_OVERFLOW): Likewise.
25611         (FE_UNDERFLOW): Likewise.
25612         (FE_INEXACT): Likewise.
25613         (FE_TONEAREST): Likewise.
25614         (FE_DOWNWARD): Likewise.
25615         (FE_UPWARD): Likewise.
25616         (FE_TOWARDZERO): Likewise.
25617         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25618         (FE_UNDERFLOW): Likewise.
25619         (FE_OVERFLOW): Likewise.
25620         (FE_DIVBYZERO): Likewise.
25621         (FE_INVALID): Likewise.
25622         (FE_TONEAREST): Likewise.
25623         (FE_TOWARDZERO): Likewise.
25624         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25625         (FE_OVERFLOW): Likewise.
25626         (FE_UNDERFLOW): Likewise.
25627         (FE_DIVBYZERO): Likewise.
25628         (FE_INEXACT): Likewise.
25629         (FE_TONEAREST): Likewise.
25630         (FE_TOWARDZERO): Likewise.
25631         (FE_UPWARD): Likewise.
25632         (FE_DOWNWARD): Likewise.
25633         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25634         (FE_DIVBYZERO): Likewise.
25635         (FE_OVERFLOW): Likewise.
25636         (FE_UNDERFLOW): Likewise.
25637         (FE_INEXACT): Likewise.
25638         (FE_TONEAREST): Likewise.
25639         (FE_DOWNWARD): Likewise.
25640         (FE_UPWARD): Likewise.
25641         (FE_TOWARDZERO): Likewise.
25642
25643 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25644
25645         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25646
25647 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25648
25649         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25650         commands.  Quote $PWD.
25651         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25652         -x" by "export".
25653         (remove_newlines): Remove.
25654
25655 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25656
25657         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25658         * stdlib/stdlib.h (atof): Moved to ...
25659         * include/bits/stdlib-float.h: Here.  New file.
25660         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25661         * stdlib/bits/stdlib-float.h: New file.
25662         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25663         -mno-sse -mno-mmx.
25664         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25665         <xmmintrin.h>.
25666
25667 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25668
25669         * conform/conformtest.pl (@headers): Add fenv.h.
25670         * conform/data/fenv.h-data: New file.
25671         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25672         include of <math/fenv.h>.
25673
25674         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25675         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25676         && !UNIX98].  Enables tests for XOPEN2K8.
25677         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25678         POSIX2008]: Likewise.
25679
25680         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25681         (struct rusage): Do not expect type or its members.
25682
25683         [BZ #3439]
25684         * math/math.h (FP_NAN): Define macro to integer constant usable in
25685         #if and use that to give value to enum constant.
25686         (FP_INFINITE): Likewise.
25687         (FP_ZERO): Likewise.
25688         (FP_SUBNORMAL): Likewise.
25689         (FP_NORMAL): Likewise.
25690
25691 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25692
25693         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25694         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25695         arguments.
25696
25697 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25698
25699         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25700         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25701         autoconf-time if not.
25702         * configure.in: Remove AC_PREREQ.
25703
25704 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25705
25706         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25707         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25708         of the internal implementation.
25709
25710 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25711
25712         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25713         except include of <misc/sys/syslog.h>.
25714
25715 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25716
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25718         function returns with a NULL context exit with zero.
25719
25720 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25721
25722         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25723
25724 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25725
25726         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25727         (run_program_cmd): This.
25728         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25729         (tst_langinfo): New variable.  Use it.
25730
25731 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25732
25733         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25734         floating point opcodes.
25735
25736 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25737
25738         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25739         variable.
25740
25741         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25742
25743         * sysdeps/mach/hurd/powerpc: Remove directory.
25744         * sysdeps/mach/powerpc: Likewise.
25745
25746 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25747
25748         * scripts/check-local-headers.sh: Ignore c++ headers.
25749
25750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25751
25752         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25753         __libc_cleanup_region_start argument.
25754
25755 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25756
25757         [BZ #14784]
25758         [BZ #14785]
25759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25760         x * y using scaling, not as x * y + z.
25761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25762         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25763         * math/libm-test.inc (fma_test): Add more tests.
25764         (fma_test_towardzero): Likewise.
25765         (fma_test_downward): Likewise.
25766         (fma_test_upward): Likewise.
25767
25768 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25769
25770         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25771
25772 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25773
25774         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25775         New variable.
25776
25777 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25778
25779         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25780
25781 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25782
25783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25784         Fix sort order.
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25786         Likewise.
25787
25788 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25789
25790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25791         Fix the order of the list for glibc 2.17.
25792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25793         Likewise.
25794
25795 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25796
25797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25798
25799 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25800
25801         [BZ #14610]
25802         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25803         for low part of x being zero before using __atanl (y).
25804         * math/libm-test.inc (atan2_test): Add another test.
25805
25806         * manual/install.texi (Configuring and compiling): Document
25807         general use of test-wrapper and test-wrapper-env.
25808         * INSTALL: Regenerated.
25809
25810         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25811         (__fma): Do not extract and scale down low bits on after-rounding
25812         systems when result rounded to normal precision would have normal
25813         exponent.
25814         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25815         (__fmal): Do not extract and scale down low bits on after-rounding
25816         systems when result rounded to normal precision would have normal
25817         exponent.
25818         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25819         (__fmal): Do not extract and scale down low bits on after-rounding
25820         systems when result rounded to normal precision would have normal
25821         exponent.
25822         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25823         macro.
25824         (fma_test): Add more tests.
25825         (fma_test_towardzero): Likewise.
25826         (fma_test_downward): Likewise.
25827         (fma_test_upward): Likewise.
25828
25829 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25830
25831         * sysdeps/i386/tininess.h: Renamed to ...
25832         * sysdeps/x86/tininess.h: This.
25833         * sysdeps/x86_64/tininess.h: Removed.
25834
25835 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25836
25837         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25838         input.  Use $(build-program-cmd).
25839         ($(objpfx)tst-array1-static.out): Likewise.
25840         ($(objpfx)tst-array2.out): Likewise.
25841         ($(objpfx)tst-array3.out): Likewise.
25842         ($(objpfx)tst-array4.out): Likewise.
25843         ($(objpfx)tst-array5.out): Likewise.
25844         ($(objpfx)tst-array5-static.out): Likewise.
25845
25846 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25847
25848         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25849         if defined.
25850
25851         * nss/nsswitch.h (nss_interface_function): Provide new
25852         macro for use with NSS functions.
25853         * grp/initgroups.c: Use new macro.
25854         * nss/getXXbyYY.c: Likewise.
25855         * nss/getXXbyYY_r.c: Likewise.
25856         * nss/getXXent.c: Likewise.
25857         * nss/getXXent_r.c: Likewise.
25858         * sysdeps/posix/getaddrinfo.c: Likewise.
25859
25860 2012-10-30  Andreas Jaeger  <aj@suse.de>
25861
25862         * po/ru.po: Update Russion translation from translation project.
25863
25864 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25865
25866         [BZ #14152]
25867         [BZ #14783]
25868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25869         result and shift together with sticky bit instead of replicating
25870         round-to-nearest rounding.
25871         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25873         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25874         missing underflow exceptions.
25875         (fma_test_towardzero): Add more tests.
25876         (fma_test_downward): Likewise.
25877         (fma_test_upward): Likewise.
25878
25879         [BZ #14047]
25880         * sysdeps/generic/tininess.h: New file.
25881         * sysdeps/i386/tininess.h: Likewise.
25882         * sysdeps/sh/tininess.h: Likewise.
25883         * sysdeps/x86_64/tininess.h: Likewise.
25884         * stdlib/tst-strtod-underflow.c: Likewise.
25885         * stdlib/tst-tininess.c: Likewise.
25886         * stdlib/strtod_l.c: Include <tininess.h>.
25887         (round_and_return): Do not set errno for exact underflow cases.
25888         Force an underflow exception when setting errno for underflow.
25889         Determine underflow based on rounding to normal precision if
25890         TININESS_AFTER_ROUNDING.
25891         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25892         ERANGE for exact underflow cases.
25893         * stdlib/Makefile (tests): Add tst-tininess and
25894         tst-strtod-underflow.
25895         ($(objpfx)tst-tininess): Use $(link-libm).
25896         ($(objpfx)tst-strtod-underflow): Likewise.
25897
25898 2012-10-30  Andreas Jaeger  <aj@suse.de>
25899
25900         [BZ#14767]
25901         * elf/Makefile (tests): Remove conditional for have-initfini-array
25902         since this is now always required and the variable does not exist
25903         anymore.
25904         (tests-static): Likewise.
25905         (modules-names): Likewise.
25906
25907         * po/eo.po: Add Esperanto translation from translation project.
25908
25909         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25910         merged with constructor/destructor.
25911         (init_array): Likewise.
25912         * elf/tst-array2dep.c (fini_array): Likewise.
25913         (init_array): Likewise.
25914
25915 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25916
25917         * manual/message.texi: Delete @cartouche tags.
25918
25919 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25920
25921         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25922         EOPNOTSUPP.
25923         * sysdeps/mach/hurd/fsync.c: Likewise.
25924
25925         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25926         [_POSIX_REALTIME_SIGNALS]: Change condition to
25927         [_POSIX_REALTIME_SIGNALS > 0].
25928
25929 2012-10-27  Andreas Jaeger  <aj@suse.de>
25930
25931         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25932         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25933         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25934         [__WORDSIZE != 64]: Likewise.
25935
25936 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25937
25938         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25939         *  iconvdata/tst-tables.sh: Likewise.
25940
25941 2012-10-25  David S. Miller  <davem@davemloft.net>
25942
25943         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25944         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25945         of strtoull.
25946
25947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25948         ifunc-impl-list.c
25949         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25950         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25951         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25952         file.
25953
25954 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25955
25956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25957         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25958         __getdirentries.
25959
25960 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25961             Jim Blandy  <jimb@codesourcery.com>
25962
25963         * scripts/cross-test-ssh.sh: New file.
25964         * manual/install.texi (Configuring and compiling): Document use of
25965         cross-test-ssh.sh.
25966         * INSTALL: Regenerated.
25967
25968 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25969
25970         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25971         EOPNOTSUPP.
25972
25973 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25974
25975         * Makeconfig (run-program-prefix): Fix comment.
25976
25977 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25978             Jim Blandy  <jimb@codesourcery.com>
25979
25980         * Makeconfig (test-wrapper): New variable,
25981         (test-wrapper-env): Likewise.
25982         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25983         (run-built-tests): Define to yes.
25984         (run-program-prefix): Use $(test-wrapper).
25985         (built-program-cmd): Likewise.
25986         * Rules (make-test-out): Use $(test-wrapper-env) and
25987         $(host-built-program-cmd).
25988         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25989         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25990         tst-pathopt.sh.
25991         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25992         $(test-wrapper-env) to tst-rtld-load-self.sh.
25993         ($(objpfx)order2.out): Use $(test-wrapper).
25994         ($(objpfx)tst-initorder.out): Likewise.
25995         ($(objpfx)tst-initorder2.out): Likewise.
25996         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25997         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25998         (test_wrapper_env): New variable.  Use it to run ld.so.
25999         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26000         Use it to run ld.so.
26001         (test_wrapper_env): Likewise.
26002         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26003         $(test-wrapper) to run-iconv-test.sh.
26004         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26005         (ICONV): Use $test_wrapper.
26006         * posix/Makefile ($(objpfx)globtest.out): Pass
26007         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26008         globtest.sh, not $(run-program-prefix).
26009         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26010         (test_wrapper): Likewise.
26011         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26012         set together with run_via_rtld_prefix.
26013         (run_program_prefix): Define in terms of test_wrapper and
26014         run_via_rtld_prefix.
26015
26016 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26017
26018         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26019         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26020         Targets removed.
26021
26022         [BZ #14743]
26023         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26024         Declare __clock_getres, __clock_gettime, __clock_settime,
26025         __clock_nanosleep, and __clock_getcpuclockid.
26026         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26027         Remove librt_hidden_def (clock_gettime).
26028         * sysdeps/unix/clock_gettime.c: Likewise.
26029         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26031         * rt/clock_getres.c: Define __clock_getres as an alias.
26032         * sysdeps/posix/clock_getres.c: Likewise.
26033         * rt/clock_settime.c: Define __clock_settime as an alias.
26034         * sysdeps/unix/clock_settime.c: Likewise.
26035         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26036         * sysdeps/unix/clock_nanosleep.c: Likewise.
26037         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26038         * rt/clock-compat.c: New file.
26039         * rt/Makefile (librt-routines): Add clock-compat and move
26040         $(clock-routines) to ...
26041         (routines): ... here, new variable.
26042         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26043         Don't add get_clockfreq here.
26044         * rt/Versions (libc: GLIBC_2.17): New version set.
26045         Add clock_* symbols here.
26046         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26047         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26048         (GLIBC_2.17): Add clock_* symbols.
26049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26051         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26053         Likewise.
26054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26055         Likewise.
26056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26060         * NEWS: Mention the move.
26061
26062         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26063         Use __open, __read, __close rather than their public counterparts.
26064         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26065         (__get_clockfreq_via_cpuinfo): Likewise.
26066         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26067         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26068
26069         * config.h.in (HAVE_IFUNC): New #undef.
26070         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26071         was successful.
26072         * configure: Regenerated.
26073
26074 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26075
26076         * configure.in: Move READELF check to start of file.
26077         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26078         libc_cv_asm_gnu_indirect_function in the process.
26079         * configure: Regenerated.
26080
26081 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26082
26083         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26084         send the output to /dev/null.
26085         (libc_cv_cc_with_libunwind): Likewise.
26086         (libc_cv_as_noexecstack): Likewise.
26087         * configure: Regenerate.
26088
26089 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26090
26091         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26092
26093         * posix/globtest.sh (TMPDIR): Do not set.
26094         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26095         (testout): Likewise.
26096
26097 2012-10-24  Andreas Jaeger  <aj@suse.de>
26098
26099         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26100         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26101         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26102         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26103         posix_fadvise64, posix_fallocate64.
26104
26105         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26106         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26107         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26108         Likewise.
26109         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26110         Likewise.
26111         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26112
26113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26114         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26115         <bits/fcntl-linux.h>.
26116         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26117
26118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26119         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26120         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26121         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26122         [__WORDSIZE != 64]: Likewise.
26123
26124 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26125
26126         * Makeconfig (run-built-tests): New variable.
26127         * Rules [$(cross-compiling) = yes]: Change condition to
26128         [$(run-built-tests) = no].
26129         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26130         to [$(run-built-tests) = yes].
26131         * elf/Makefile [$(cross-compiling) = no]: Likewise
26132         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26133         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26134         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26135         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26136         * io/Makefile [$(cross-compiling) = no]: Likewise.
26137         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26138         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26139         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26140         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26141         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26142         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26143         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26144         * string/Makefile [$(cross-compiling) = no]: Likewise.
26145
26146         * posix/Makefile ($(objpfx)globtest.out): Pass
26147         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26148         $(rtld-installed-name).
26149         * posix/globtest.sh (elf_objpfx): Remove variable.
26150         (rtld_installed_name): Likewise.
26151         (library_path): Likewise.
26152         (run_program_prefix): New variable.  Use for running globtest
26153         binary.
26154
26155 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26156             Joseph Myers  <joseph@codesourcery.com>
26157
26158         * Makeconfig (host-built-program-cmd): New variable.
26159         * elf/Makefile (tst-stackguard1-ARGS): Use
26160         $(host-built-program-cmd).
26161         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26162         (tst-spawn-ARGS): Likewise.
26163         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26164
26165 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26166             Jim Blandy  <jimb@codesourcery.com>
26167
26168         * Makeconfig (run-via-rtld-prefix): New variable.
26169         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26170         (built-program-cmd): Likewise.
26171
26172 2012-10-22  Andreas Jaeger  <aj@suse.de>
26173
26174         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26175         __O_RSYNC if it exists, otherwise to O_SYNC.
26176
26177 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26178             Joseph Myers  <joseph@codesourcery.com>
26179
26180         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26181         /dev/null.
26182         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26183         from /dev/null
26184         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26185         /dev/null.
26186
26187 2012-10-22  Andreas Jaeger  <aj@suse.de>
26188
26189         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26190         Define always.
26191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26192
26193         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26194         bits/fcntl-linux.h.
26195
26196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26197         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26198
26199         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26200         to __O_LARGEFILE.
26201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26202         to __O_LARGEFILE.
26203
26204 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26205             Joseph Myers  <joseph@codesourcery.com>
26206
26207         * config.make.in (NM): New variable.
26208
26209 2012-10-21  Andreas Jaeger  <aj@suse.de>
26210
26211         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26212         definitions and declarations that are provided by
26213         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26214
26215 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26216
26217         [BZ #14683]
26218         * elf/Makefile (tests-static): Add tst-leaks1-static.
26219         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26220         ($(objpfx)tst-leaks1-static): New rule.
26221         ($(objpfx)tst-leaks1-static-mem): Likewise.
26222         (tst-leaks1-static-ENV): New macro.
26223         * elf/dl-open.c (dl_open_worker): Check the main application
26224         only if SHARED is defined.
26225         * elf/tst-leaks1-static.c: New file.
26226
26227 2012-10-20  Andreas Jaeger  <aj@suse.de>
26228
26229         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26230         generic values for Linux.
26231         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26232         and declarations that are provided by <bits/fcntl-linux.h> and
26233         include <bits/fcntl-linux.h>.
26234         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26236
26237 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26238
26239         * io/fcntl.h: Move include of <bits/types.h> to the top and
26240         include it unconditionally.
26241
26242 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26243
26244         * wcsmbs/Makefile (tests-ifunc): New variable.
26245         (tests): Add $(tests-ifunc).
26246         * wcsmbs/test-wcschr-ifunc.c: New file.
26247         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26248         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26249         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26250         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26251         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26252
26253         * string/Makefile (tests-ifunc): New variable.
26254         (tests): Add $(tests-ifunc).
26255         * string/test-memccpy.c (TEST_NAME): New macro.
26256         * string/test-memchr.c (TEST_NAME): Likewise.
26257         * string/test-memcmp.c (TEST_NAME): Likewise.
26258         * string/test-memcpy.c (TEST_NAME): Likewise.
26259         * string/test-memmem.c (TEST_NAME): Likewise.
26260         * string/test-memmove.c (TEST_NAME): Likewise.
26261         * string/test-memset.c (TEST_NAME): Likewise.
26262         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26263         * string/test-stpcpy.c (TEST_NAME): Likewise.
26264         * string/test-stpncpy.c (TEST_NAME): Likewise.
26265         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26266         * string/test-strcasestr.c (TEST_NAME): Likewise.
26267         * string/test-strcat.c (TEST_NAME): Likewise.
26268         * string/test-strchr.c (TEST_NAME): Likewise.
26269         * string/test-strcmp.c(TEST_NAME): Likewise.
26270         * string/test-strcpy.c (TEST_NAME): Likewise.
26271         * string/test-strcspn.c (TEST_NAME): Likewise.
26272         * string/test-strlen.c (TEST_NAME): Likewise.
26273         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26274         * string/test-strncmp.c (TEST_NAME): Likewise.
26275         * string/test-strncpy.c (TEST_NAME): Likewise.
26276         * string/test-strnlen.c (TEST_NAME): Likewise.
26277         * string/test-strpbrk.c (TEST_NAME): Likewise.
26278         * string/test-strrchr.c (TEST_NAME): Likewise.
26279         * string/test-strspn.c (TEST_NAME): Likewise.
26280         * string/test-strstr.c (TEST_NAME): Likewise.
26281         * string/test-bcopy-ifunc.c: New file.
26282         * string/test-bzero-ifunc.c: Likewise.
26283         * string/test-memccpy-ifunc.c: Likewise.
26284         * string/test-memchr-ifunc.c: Likewise.
26285         * string/test-memcmp-ifunc.c: Likewise.
26286         * string/test-memcpy-ifunc.c: Likewise.
26287         * string/test-memmem-ifunc.c: Likewise.
26288         * string/test-memmove-ifunc.c: Likewise.
26289         * string/test-mempcpy-ifunc.c: Likewise.
26290         * string/test-memset-ifunc.c: Likewise.
26291         * string/test-rawmemchr-ifunc.c: Likewise.
26292         * string/test-stpcpy-ifunc.c: Likewise.
26293         * string/test-stpncpy-ifunc.c: Likewise.
26294         * string/test-strcasecmp-ifunc.c: Likewise.
26295         * string/test-strcasestr-ifunc.c: Likewise.
26296         * string/test-strcat-ifunc.c: Likewise.
26297         * string/test-strchr-ifunc.c: Likewise.
26298         * string/test-strchrnul-ifunc.c: Likewise.
26299         * string/test-strcmp-ifunc.c: Likewise.
26300         * string/test-strcpy-ifunc.c: Likewise.
26301         * string/test-strcspn-ifunc.c: Likewise.
26302         * string/test-strlen-ifunc.c: Likewise.
26303         * string/test-strncasecmp-ifunc.c: Likewise.
26304         * string/test-strncat-ifunc.c: Likewise.
26305         * string/test-strncmp-ifunc.c: Likewise.
26306         * string/test-strncpy-ifunc.c: Likewise.
26307         * string/test-strnlen-ifunc.c: Likewise.
26308         * string/test-strpbrk-ifunc.c: Likewise.
26309         * string/test-strrchr-ifunc.c: Likewise.
26310         * string/test-strspn-ifunc.c: Likewise.
26311         * string/test-strstr-ifunc.c: Likewise.
26312
26313         * debug/Makefile (tests-ifunc): New variable.
26314         (tests): Add $(tests-ifunc).
26315         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26316         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26317         * debug/test-stpcpy_chk-ifunc.c: New file.
26318         * debug/test-strcpy_chk-ifunc.c: Likewise.
26319
26320 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26321
26322         [BZ #13601]
26323         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26324         header is not read in.
26325
26326 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26327
26328         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26329         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26330         directly.  Pass built executable to script as
26331         $(built-program-cmd).
26332         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26333         $testprogram without using LD_LIBRARY_PATH and $ldso.
26334
26335         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26336         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26337         $(rtld-installed-name).
26338         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26339         (rtld_installed_name): Likewise.
26340         (library_path): Likewise.
26341         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26342         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26343         $(run-program-prefix) to tst-tables.sh.
26344         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26345         it to run tst-table-from and tst-table-to.
26346         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26347         Pass it to tst-table.sh.
26348         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26349         $(run-program-prefix) to tst-gettext.sh.
26350         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26351         tst-translit.sh.
26352         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26353         tst-gettext2.sh.
26354         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26355         to run tst-gettext.
26356         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26357         to run tst-gettext2.
26358         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26359         to run tst-translit.
26360         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26361         $(run-program-prefix) to tst-mtrace.sh.
26362         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26363         to run tst-mtrace.
26364         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26365         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26366         $(rtld-installed-name).
26367         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26368         (rtld_installed_name): Likewise.
26369         (run_program_prefix): New variable.  Use it to run wordexp-test.
26370
26371         * Makeconfig (ARCH): Remove all definitions.
26372         (machine): Likewise.
26373         [ARCH]: Remove conditional code.
26374         [!objdir]: Give error.
26375         [!objdir] (objpfx): Remove.
26376         [!objdir] (common-objpfx): Likewise.
26377         [!objdir] (common-objdir): Likewise.
26378         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26379         AC_CONFIG_FILES call.
26380         * configure: Regenerated.
26381
26382         [BZ #13888]
26383         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26384         or TMPDIR.
26385         (testout): Likewise.
26386
26387         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26388         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26389         $(rtld-installed-name).
26390         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26391         (rtld_installed_name): Likwise.
26392         (runit): Remove function.
26393         (run_getconf): New variable,  Use it for running getconf binary.
26394
26395 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26396
26397         [BZ #14716]
26398         * string/test-memmem.c (check_result): New function.
26399         (do_one_test): Use it.
26400         (check1): New function.
26401         (test_main): Use it.
26402
26403 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26404
26405         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26406
26407 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26408
26409         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26410         (_G_LSEEK64): Likewise.
26411         (_G_MMAP64): Likewise.
26412         (_G_FSTAT64): Likewise.
26413         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26414         (_G_LSEEK64): Likewise.
26415         (_G_MMAP64): Likewise.
26416         (_G_FSTAT64): Likewise.
26417         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26418         unconditional.  Call __mmap64 directly.
26419         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26420         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26421         __lseek64 directly.
26422         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26423         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26424         __mmap64 directly.
26425         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26426         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26427         __lseek64 directly.
26428         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26429         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26430         __lseek64 directly.
26431         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26432         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26433         __lseek64 directly.
26434         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26435         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26436         __fxstat64 directly.
26437         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26438         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26439         unconditional.
26440         (freopen64) [!_G_OPEN64]: Remove conditional code.
26441         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26442         unconditional.
26443         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26444         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26445         unconditional.
26446         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26447         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26448         unconditional.
26449         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26450         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26451         unconditional.
26452         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26453         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26454         unconditional.
26455         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26456         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26457         unconditional.
26458         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26459         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26460         unconditional.
26461         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26462
26463 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26464
26465         [BZ #12140]
26466         * manual/memory.texi (Malloc Tunable Parameters): Add note
26467         about free list pointers overwriting some perturb bytes.
26468         Wording suggested by Roland McGrath.
26469
26470 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26471
26472         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26473         (lgamma_test): Likewise.
26474         (tgamma_test): Likewise.
26475
26476 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26477
26478         [BZ #14700]
26479         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26480         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26481
26482 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26483
26484         * NEWS: Mention BZ #14716.
26485         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26486         when removing AVAILABLE1_USES_J macro.
26487
26488 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26489
26490         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26491         (__bswap_64): __uint64_t for unsigned 64-bit int.
26492
26493 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26494
26495         * include/string.h (memmem): Declare libc hidden alias.
26496         * string/memmem.c (memmem): Define libc hidden alias.
26497         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26498         __read, __close instead of open, read, close.
26499
26500 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26501
26502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26503         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26504         global and hidden.
26505         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26506         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26507         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26508         Likewise.
26509         (__rawmemchr_sse2): Likewise.
26510         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26511         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26512         (__strchr_sse2): Likewise.
26513         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26514         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26515         (__strcasecmp_sse2): Likewise.
26516         (__strncasecmp_sse2): Likewise.
26517         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26518         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26519         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26520         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26521         (__strrchr_sse2): Likewise.
26522         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26523         ifunc-impl-list.c.
26524         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26525         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26526         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26527         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26528         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26529         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26530         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26531         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26532         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26533         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26534         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26535         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26536         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26537         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26538         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26539         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26540         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26541         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26542         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26543         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26544         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26545         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26546         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26547         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26548         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26549         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26550         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26551         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26552         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26553         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26554
26555         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26556         global and hidden.
26557         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26558         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26559         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26560         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26561         Likewise.
26562         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26563         Likewise.
26564         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26565         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26566         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26567         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26568         ifunc-impl-list.c.
26569         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26570         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26571         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26572         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26573         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26574         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26575         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26576         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26577         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26578         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26579         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26580         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26581         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26582         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26583         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26584         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26585         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26586         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26587         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26588         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26589         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26590         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26591         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26592         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26593         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26594         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26595         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26596         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26597         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26598         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26599         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26600         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26601         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26602         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26603         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26604         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26605         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26606         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26607         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26608         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26609         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26610
26611         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26612         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26613         * include/ifunc-impl-list.h: New file.
26614         * misc/ifunc-impl-list.c: Likewise.
26615         * misc/Makefile (routines): Add ifunc-impl-list.
26616         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26617         * string/test-string.h: Include <ifunc-impl-list.h>.
26618         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26619         TEST_NAME]: New variables.
26620         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26621         are defined.
26622         (test_init): Call __libc_ifunc_impl_list to initialize
26623         func_list if TEST_IFUNC and TEST_NAME are defined.
26624
26625         * string/Makefile (strop-tests): Add bcopy and bzero.
26626         * string/test-bcopy.c: New file.
26627         * string/test-bzero.c: Likewise.
26628         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26629         defined.
26630         * string/test-memset.c: Support bzero test if TEST_BZERO is
26631         defined.
26632         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26633         __libc_memmove.
26634         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26635         __libc_memset.
26636         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26637         of memset.
26638
26639 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26640
26641         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26642         * configure: Regenerated.
26643
26644         * Makeconfig (+link-static-before-libc): Don't include
26645         $(link-static-libc).
26646
26647         * libio/libio.h (_IO_pos_t): Remove.
26648
26649 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26650
26651         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26652         McGrath.
26653
26654 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26655
26656         * crypt/crypt-entry.c: Include fips-private.h.
26657         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26658         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26659         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26660         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26661
26662 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26663
26664         * crypt/crypt-private.h: Include stdbool.h.
26665         (_ufc_setup_salt_r): Return bool.
26666         * crypt/crypt-entry.c: Include errno.h.
26667         (__crypt_r): Return NULL with EINVAL for bad salt.
26668         * crypt/crypt_util.c (bad_for_salt): New.
26669         (_ufc_setup_salt_r): Check that salt is long enough and within
26670         the specified alphabet.
26671         * crypt/badsalttest.c: New file.
26672         * crypt/Makefile (tests): Add it.
26673         ($(objpfx)badsalttest): New.
26674
26675 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26676
26677         * NEWS: Add entry for BZ #14602.
26678
26679 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26680
26681         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26682         type-generic.
26683         * math/libm-test.inc: Update comment listing what functions and
26684         macros are tested.
26685         (isgreater_test): New function.
26686         (isgreaterequal_test): Likewise.
26687         (isless_test): Likewise.
26688         (islessequal_test): Likewise.
26689         (islessgreater_test): Likewise.
26690         (isunordered_test): Likewise.
26691         (main): Call the new functions.
26692
26693 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26694
26695         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26696         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26697         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26698         * sysdeps/i386/configure: Regenerated.
26699         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26700         * sysdeps/mach/configure: Regenerated.
26701         * sysdeps/mach/hurd/configure: Regenerated.
26702         * sysdeps/powerpc/configure: Regenerated.
26703         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26704         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26705         * sysdeps/s390/s390-32/configure: Regenerated.
26706         * sysdeps/s390/s390-64/configure: Regenerated.
26707         * sysdeps/sh/configure: Regenerated.
26708         * sysdeps/sparc/configure: Regenerated.
26709         * sysdeps/unix/sysv/linux/configure: Regenerated.
26710         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26711         * sysdeps/x86_64/configure: Regenerated.
26712
26713         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26714         defined.  Don't check if MAP is NULL.
26715
26716 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26717
26718         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26719         (_G_stat64): Likewise.
26720         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26721         (_G_stat64): Likewise.
26722         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26723         instead of struct _G_stat64.
26724         * libio/fileops.c (mmap_remap_check): Likewise.
26725         (decide_maybe_mmap): Likewise.
26726         (_IO_new_file_seekoff): Likewise.
26727         (_IO_file_stat): Likewise.
26728         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26729         _G_off64_t.
26730         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26731         instead of struct _G_stat64.
26732         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26733
26734 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26735
26736         [BZ #14602]
26737         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26738         Replace with ...
26739         (CHECK_EOL): New macro.
26740         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26741         CHECK_EOL.
26742         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26743         Replace with CHECK_EOL.
26744         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26745         Replace with CHECK_EOL.
26746
26747 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26748
26749         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26750         type-generic.
26751         * math/libm-test.inc: Update comment listing what functions and
26752         macros are tested.
26753         (finite_test): New function.
26754         (isinf_test): Likewise.
26755         (isnan_test): Likewise.
26756         (fpclassify_test): Test subnormal input.
26757         (isfinite_test): Likewise.
26758         (isnormal_test): Likewise.
26759         (main): Call the new functions.
26760
26761 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26762
26763         [BZ #14660]
26764         * Makerules (%.dynsym): Force C locale when running
26765         $(OBJDUMP) --dynamic-syms.
26766
26767 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26768
26769         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26770         <stdint.h>.
26771
26772 2012-10-06  David S. Miller  <davem@davemloft.net>
26773
26774         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26775         upper 32-bits of the length value in %o2 since we use branch-on-register
26776         tests which consider the entire 64-bit register.
26777
26778 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26779
26780         * string/test-strstr.c (check2): Add a test for page boundary.
26781
26782 2012-10-05  David S. Miller  <davem@davemloft.net>
26783
26784         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26785         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26786         file.
26787         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26788         sysdep_routines.
26789         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26790         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26791         and bzero when HWCAP_SPARC_CRYPTO is present.
26792
26793 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26794
26795         [BZ #14602]
26796         * string/test-strstr.c (check2): New function.
26797         (test_main): Call check2.
26798
26799         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26800         and bug-strchr1.
26801         * string/bug-strcasestr1.c (do_test): Moved to ...
26802         * string/test-strcasestr.c (check1): Here.  New function.
26803         (do_one_test): Break out result checking code into ...
26804         (check_result): This.  New function.
26805         (do_one_test): Call check_result.
26806         (test_main): Call check1.
26807         * string/bug-strchr1.c (do_test): Moved to ...
26808         * string/test-strchr.c (check1): Here.  New function.
26809         (do_one_test): Break out result checking code into ...
26810         (check_result): This.  New function.
26811         (do_one_test): Call check_result.
26812         (test_main): Call check1.
26813         * string/bug-strstr1.c (main): Moved to ...
26814         * string/test-strstr.c (check1): Here.  New function.
26815         (do_one_test): Break out result checking code into ...
26816         (check_result): This.  New function.
26817         (do_one_test): Call check_result.
26818         (test_main): Call check1.
26819         * string/bug-strcasestr1.c: Removed.
26820         * string/bug-strchr1.c: Likewise.
26821         * string/bug-strstr1.c: Likewise.
26822
26823         * elf/Makefile (dl-routines): Add hwcaps.
26824         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26825         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26826         (_dl_important_hwcaps): Moved to ...
26827         * elf/dl-hwcaps.c: Here.  New file.
26828         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26829
26830         [BZ #14557]
26831         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26832         if IS_IN_rtld isn't defined.
26833
26834         * elf/dl-support.c (_dl_sysinfo_map): New.
26835         Include "get-dynamic-info.h" and "setup-vdso.h".
26836         (_dl_non_dynamic_init): Call setup_vdso.
26837         * elf/dynamic-link.h: Don't include <assert.h>.
26838         (elf_get_dynamic_info): Moved to ...
26839         * elf/get-dynamic-info.h: Here.  New file.
26840         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26841         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26842         * elf/setup-vdso.h: Here.  New file.
26843         * elf/rtld.c: Include "setup-vdso.h".
26844         (dl_main): Call setup_vdso.
26845
26846 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26847
26848         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26849         creal in comment listing functions tested.  List finite, isinf,
26850         isnan, isless, islessequal, isgreater, isgreaterequal,
26851         islessgreater, isunordered, lgamma_r and pow10 as functions and
26852         macros not tested.  Mention which functions not tested are aliases
26853         for other functions.  Fix typo.  Note that signs of NaNs are not
26854         tested.
26855
26856         * scripts/config.guess: Update from config.git.
26857         * scripts/config.sub: Likewise.
26858
26859 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26860
26861         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26862         * misc/madvise.c (madvise): Renamed to __madvise.
26863         Make madvise a weak alias.
26864         * include/sys/mman.h: Declare __madvise.
26865         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26866         * sysdeps/unix/syscalls.list
26867         (madvise): Make __madvise the strong name, and madvise a weak alias.
26868         * sysdeps/unix/sysv/linux/syscalls.list
26869         (madvise, mmap): Remove redundant entries.
26870         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26871         * malloc/malloc.c (mtrim): Likewise.
26872         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26873
26874 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26875
26876         * sysdeps/mach/hurd/dl-cache.c: File removed.
26877         * config.h.in (USE_LDCONFIG): New #undef.
26878         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26879         * configure: Regenerated.
26880         * elf/Makefile (dl-routines): Add dl-cache only under
26881         [$(use-ldconfig) = yes].
26882         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26883         cache on [USE_LDCONFIG].
26884         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26885         [USE_LDCONFIG].
26886         * elf/rtld.c (dl_main): Likewise.
26887
26888 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26889
26890         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26891         _SC_LEVEL4_CACHE_LINESIZE.
26892
26893 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26894
26895         * sysdeps/unix/bsd/confstr.h: File removed.
26896
26897 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26898
26899         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26900         sys/sdt-config.h.
26901
26902 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26903
26904         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26905         Make 'mapoff' field ElfW(Off) rather than off_t.
26906
26907 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26908
26909         * nscd/Makefile: Remove nscd-cflags and all its users.
26910         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26911         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26912
26913         [BZ #10631]
26914         * malloc.c (malloc_printerr): Clarify error message.
26915
26916 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26917
26918         [BZ #14648]
26919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26920         Set bit_FMA_Usable if FMA is supported.
26921         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26922         macro.
26923         (bit_FMA4_Usable): Updated.
26924         (index_FMA_Usable): New macro.
26925         (CPUID_FMA): Likewise
26926         (HAS_FMA): Defined with bit_FMA_Usable.
26927
26928 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26929
26930         * bits/types.h (__swblk_t): Type removed.
26931         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26932         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26933         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26934         (__SWBLK_T_TYPE): Likewise.
26935         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26936         (__SWBLK_T_TYPE): Likewise.
26937         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26938         (__SWBLK_T_TYPE): Likewise.
26939         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26940         (__SWBLK_T_TYPE): Likewise.
26941
26942 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26943             Honza Horak <hhorak@redhat.com>
26944
26945         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26946         (xdr_mapname): Use YPMAXMAP as maxsize.
26947         (xdr_peername): Use YPMAXPEER as maxsize.
26948         (xdr_keydat): Use YPAXRECORD as maxsize.
26949         (xdr_valdat): Use YPMAXRECORD as maxsize.
26950
26951 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26952
26953         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26954
26955         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26956         * csu/init-first.c: ... here.
26957         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26958         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26959         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26960         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26961         * sysdeps/i386/init-first.c: File removed.
26962         * sysdeps/sh/init-first.c: File removed.
26963
26964 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26965
26966         [BZ #14645]
26967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26968         if x * y might underflow to zero and z is zero.
26969         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26971         * math/libm-test.inc (min_subnorm_value): New variable.
26972         (fma_test): Add more tests.
26973         (fma_test_towardzero): Likewise.
26974         (fma_test_downward): Likewise
26975         (fma_test_upward): Likewise.
26976         (initialize): Set min_subnorm_value.
26977
26978 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26979
26980         [BZ #14638]
26981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26982         0 + 0.
26983         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26984         mode for addition resulting in exact zero.
26985         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26987         exact 0 + 0.
26988         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26989         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26990         * math/libm-test.inc (fma_test): Add more tests.
26991         (fma_test_towardzero): New function.
26992         (fma_test_downward): Likewise.
26993         (fma_test_upward): Likewise.
26994         (main): Call the new functions.
26995
26996 2012-09-28  David S. Miller  <davem@davemloft.net>
26997
26998         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26999
27000 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27001
27002         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27003         instead of SIGALRM.
27004
27005         * sysdeps/gnu/_G_config.h: Moved to ...
27006         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27007         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27008         * sysdeps/generic/_G_config.h: ... here.
27009
27010         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27011
27012         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27013
27014         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27015         Conditionalize target on [libnss_test1.so-version].
27016
27017         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27018
27019         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27020         (elfobjdir): Move out of conditionals.
27021
27022         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27023         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27024         (__nss_lookup_function): Conditionalize label remove_from_tree on
27025         [!DO_STATIC_NSS || SHARED], matching its only use.
27026
27027 2012-09-28  David S. Miller  <davem@davemloft.net>
27028
27029         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27030         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27031         file.
27032         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27033         sysdep_routines.
27034         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27035         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27036         when HWCAP_SPARC_CRYPTO is present.
27037
27038 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27039
27040         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27041
27042 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27043
27044         [BZ #6530]
27045         * stdio-common/vfprintf.c (process_string_arg): Revert
27046         2000-07-22 change.
27047
27048 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27049
27050         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27051         for testcase.
27052         * stdio-common/tst-sprintf.c: Include <locale.h>
27053         (main): Test sprintf's handling of incomplete multibyte
27054         characters.
27055
27056 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27057
27058         * elf/dl-runtime.c (VERSYMIDX): Removed.
27059         * elf/dl-version.c (VERSYMIDX): Likewise.
27060         * elf/do-rel.h (VERSYMIDX): Likewise.
27061         (VALIDX): Likewise.
27062         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27063         * elf/rtld.c (VALIDX): Likewise.
27064         (ADDRIDX): Likewise.
27065         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27066         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27067         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27068         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27069         (VALIDX): Likewise.
27070         (ADDRIDX): Likewise.
27071
27072 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27073
27074         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27075
27076 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27077
27078         [BZ #11438]
27079         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27080         to global scope.
27081         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27082         addresses are in the same scope as 192.0.2/24.
27083         * posix/gai.conf: Document new scope table defaults.
27084
27085 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27086
27087         [BZ #5298]
27088         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27089         for ftell.  Compute offsets from write pointers instead.
27090         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27091
27092 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27093
27094         [BZ #14543]
27095         * libio/Makefile (tests): New test case tst-fseek.
27096         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27097         combination works in wide mode.
27098         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27099         state when the external buffer state changes.
27100
27101 2012-09-27  David S. Miller  <davem@davemloft.net>
27102
27103         [BZ #14376]
27104         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27105         pass reloc->r_addend in as the 'high' argument to
27106         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27107
27108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27109
27110 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27111
27112         * rt/tst-aio2.c: Include <pthread.h>.
27113         * rt/tst-aio3.c: Likewise.
27114
27115 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27116
27117         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27118
27119 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27120
27121         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27122         contents on [SHARED].
27123
27124 2012-09-26  Marek Polacek  <polacek@redhat.com>
27125
27126         [BZ #14530]
27127         [BZ #13741]
27128         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27129         for C++ and GCC <4.3 as well as for non GCC compilers.
27130
27131 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27132
27133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27134
27135 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27136
27137         * Makefile.in (all, install): Declare with .PHONY.
27138         Reported by Michael Hope <michael.hope@linaro.org>.
27139
27140 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27141
27142         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27143         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27144         system header.
27145         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27146         Likewise.
27147         (sydep_routines): Add the new and the internal functions.
27148         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27149         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27151         (GLIBC_2.17): Add the new function.
27152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27153         (GLIBC_2.17): Likewise.
27154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27155         (GLIBC_2.17): Likewise.
27156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27157         (GLIBC_2.17): Likewise.
27158         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27159
27160 2012-09-25  Alan Modra  <amodra@gmail.com>
27161
27162         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27163         Add release barrier before setting once_control to say
27164         initialisation is done.  Add hints on lwarx.  Use macro in
27165         place of isync.
27166         (clear_once_control): Add release barrier.
27167
27168 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27169
27170         [BZ #13629]
27171         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27172         specially.
27173         * math/s_clog10.c (__clog10): Likewise.
27174         * math/s_clog10f.c (__clog10f): Likewise.
27175         * math/s_clog10l.c (__clog10l): Likewise.
27176         * math/s_clogf.c (__clogf): Likewise.
27177         * math/s_clogl.c (__clogl): Likewise.
27178         * math/Makefile (libm-calls): Add x2y2m1.
27179         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27180         (__x2y2m1): Likewise.
27181         (__x2y2m1l): Likewise.
27182         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27183         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27184         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27185         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27186         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27187         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27188         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27189         * sysdeps/i386/fpu/libm-test-ulps: Update.
27190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27191
27192         [BZ #14621]
27193         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27194         int as type of variable DEPTH.
27195         (glob): Use size_t instead of int as type of variables NEWCOUNT
27196         and OLD_PATHC.
27197
27198 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27199
27200         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27201         Add s_sincosf-sse2.
27202         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27203         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27204         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27205         macros for using routine as __sincosf_ia32.
27206         Use macro for function declaration and weak_alias.
27207         * sysdeps/i386/fpu/libm-test-ulps: Update.
27208
27209         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27211
27212         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27213         subnormal argument.
27214         * math/s_cexpf.c (__cexpf): Likewise.
27215         * math/s_csinf.c (__csinf): Likewise.
27216         * math/s_csinhf.c (__csinhf): Likewise.
27217         * math/s_ctanf.c (__ctanf): Likewise.
27218         * math/s_ctanhf.c (__ctanhf): Likewise.
27219         * math/s_ccosh.c (__ccoshf): Likewise.
27220         * math/s_cexp.c (__cexpl): Likewise.
27221         * math/s_csin.c (__csin): Likewise.
27222         * math/s_csinh.c (__csinh): Likewise.
27223         * math/s_ctan.c (__ctan): Likewise.
27224         * math/s_ctanh.c (ctanh): Likewise.
27225         * math/s_ccoshl.c (__ccoshl): Likewise.
27226         * math/s_cexpl.c (__cexpl): Likewise.
27227         * math/s_csinl.c (__csinl): Likewise.
27228         * math/s_csinhl.c (__csinhl): Likewise.
27229         * math/s_ctanl.c (__ctanl): Likewise.
27230         * math/s_ctanhl.c (__ctanhl): Likewise.
27231
27232 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27233
27234         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27235         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27236         (_IO_off_t): Define to __off_t, not _G_off_t.
27237         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27238         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27239         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27240         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27241         type of __dummy and __dummy2 fields.
27242         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27243         (_G_ssize_t): Likewise.
27244         (_G_off_t): Likewise.
27245         (_G_pid_t): Likewise.
27246         (_G_uid_t): Likewise.
27247         (_G_wchar_t): Likewise.
27248         (_G_wint_t): Likewise.
27249         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27250         (_G_ssize_t): Likewise.
27251         (_G_off_t): Likewise.
27252         (_G_pid_t): Likewise.
27253         (_G_uid_t): Likewise.
27254         (_G_wchar_t): Likewise.
27255         (_G_wint_t): Likewise.
27256         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27257         (_G_ssize_t): Likewise.
27258         (_G_off_t): Likewise.
27259         (_G_pid_t): Likewise.
27260         (_G_uid_t): Likewise.
27261         (_G_wchar_t): Likewise.
27262         (_G_wint_t): Likewise.
27263
27264 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27265
27266         * malloc/arena.c: Include malloc-sysdep.h.
27267         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27268         is sufficient to shrink the heap or an unmap is needed.
27269         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27270         new function check_may_shrink_heap.
27271         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27272         new function check_may_shrink_heap.
27273
27274 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27275
27276         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27277         comments.
27278
27279 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27280
27281         * catgets/test-gencat.sh: Add "set -e".
27282         * elf/tst-pathopt.sh: Likewise.
27283         * grp/tst_fgetgrent.sh: Likewise.
27284         * iconvdata/run-iconv-test.sh: Likewise.
27285         * intl/tst-gettext.sh: Likewise.
27286         * intl/tst-gettext2.sh: Likewise.
27287         * intl/tst-gettext4.sh: Likewise.
27288         * intl/tst-gettext6.sh: Likewise.
27289         * intl/tst-translit.sh: Likewise.
27290         * io/ftwtest-sh: Likewise.
27291         * libio/test-freopen.sh: Likewise.
27292         * malloc/tst-mtrace.sh: Likewise.
27293         * posix/globtest.sh: Likewise.
27294         * posix/tst-getconf.sh: Likewise.
27295         * posix/wordexp-tst.sh: Likewise.
27296         * stdio-common/tst-printf.sh: Likewise.
27297         * stdio-common/tst-unbputc.sh: Likewise.
27298         * stdlib/tst-fmtmsg.sh: Likewise.
27299         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27300         * catgets/Makefile: Do not specify -e option when running
27301         testsuite shell scripts.
27302         * elf/Makefile: Likewise.
27303         * grp/Makefile: Likewise.
27304         * iconvdata/Makefile: Likewise.
27305         * intl/Makefile: Likewise.
27306         * io/Makefile: Likewise.
27307         * libio/Makefile: Likewise.
27308         * malloc/Makefile: Likewise.
27309         * posix/Makefile: Likewise.
27310         * stdio-common/Makefile: Likewise.
27311         * stdlib/Makefile: Likewise.
27312         * sysdeps/x86_64/Makefile: Likewise.
27313
27314         * io/ftwtest-sh: Add copyright header.
27315         * posix/globtest.sh: Likewise.
27316         * posix/tst-getconf.sh: Likewise.
27317         * posix/wordexp-tst.sh: Likewise.
27318         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27319
27320 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27321
27322         [BZ #13679]
27323         * Makeconfig (+link): Defined as $(+link-static) if
27324         $(build-shared) isn't yes.
27325         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27326         isn't yes.
27327         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27328
27329         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27330
27331         [BZ #14562]
27332         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27333         new chunk size with MALLOC_ALIGN_MASK.
27334
27335 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27336
27337         [BZ #5044]
27338         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27339         <rounding-mode.h>.
27340         (__printf_fphex): Determine rounding using get_rounding_mode and
27341         round_away.
27342         * stdio-common/tst-printf-round.c (struct hex_test): New
27343         structure.
27344         (hex_tests): New variable.
27345         (test_hex_in_one_mode): New function.
27346         (do_test): Also run tests for hex float output.
27347
27348 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27349
27350         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27351         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27352         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27353         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27354         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27355         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27356         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27357         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27358
27359 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27360
27361         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27362         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27363         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27364         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27365
27366 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27367
27368         [BZ #14579]
27369         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27370         mode only.
27371         * elf/tst-rtld-load-self.sh: New test.
27372         * elf/Makefile: Run it.
27373
27374 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27375
27376         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27377         (tst-writev-ENV): Remove.
27378         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27379
27380 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27381
27382         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27383
27384 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27385
27386         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27387         unconditional.
27388         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27389         Likewise.
27390         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27391         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27392         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27393         Likewise.
27394
27395 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27396
27397         [BZ #14587]
27398         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27399         * config.make.in (have-cpp-asm-debuginfo): Removed.
27400         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27401         * configure: Regenerated.
27402
27403 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27404
27405         [BZ #5044]
27406         * stdio-common/printf_fp.c: Include <stdbool.h> and
27407         <rounding-mode.h>.
27408         (___printf_fp): Determine rounding using get_rounding_mode and
27409         round_away.
27410         * stdio-common/tst-printf-round.c: New file.
27411         * stdio-common/Makefile (tests): Add tst-printf-round.
27412         (link-libm): New variable.
27413         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27414
27415 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27416
27417         [BZ #14576]
27418         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27419         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27420         Likewise.
27421         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27422         Likewise.
27423
27424 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27425
27426         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27427         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27428         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27429         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27430
27431 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27432
27433         [BZ #14518]
27434         * include/rounding-mode.h: New file.
27435         * sysdeps/generic/get-rounding-mode.h: Likewise.
27436         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27437         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27438         (MAX_VALUE): New macro.
27439         (MIN_VALUE): Likewise.
27440         (overflow_value): New function.
27441         (underflow_value): Likewise.
27442         (round_and_return): Use overflow_value and underflow_value to
27443         determine return values in overflow and underflow cases.  Use
27444         round_away to determine rounding depending on rounding mode.
27445         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27446         determine return values in overflow and underflow cases.
27447         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27448         (struct test_results): New structure.
27449         (struct test): Use struct test_results to store expected results
27450         for all rounding modes.
27451         (TEST): Include expected results for all rounding modes.
27452         (test_in_one_mode): New function.
27453         (do_test): Use test_in_one_mode to compute and check results.
27454         Check results for all rounding modes.
27455         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27456         $(link-libm).
27457
27458 2012-12-09  Allan McRae  <allan@archlinux.org>
27459
27460         * sysdeps/i386/fpu/libm-test-ulps: Update
27461
27462 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27463
27464         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27465         (_G_int32_t): Likewise.
27466         (_G_uint16_t): Likewise.
27467         (_G_uint32_t): Likewise.
27468         (_G_HAVE_BOOL): Likewise.
27469         (_G_HAVE_ATEXIT): Likewise.
27470         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27471         (_G_HAVE_IO_FILE_OPEN): Likewise.
27472         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27473         (_G_int32_t): Likewise.
27474         (_G_uint16_t): Likewise.
27475         (_G_uint32_t): Likewise.
27476         (_G_HAVE_BOOL): Likewise.
27477         (_G_HAVE_ATEXIT): Likewise.
27478         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27479         (_G_HAVE_IO_FILE_OPEN): Likewise.
27480         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27481         (_G_int32_t): Likewise.
27482         (_G_uint16_t): Likewise.
27483         (_G_uint32_t): Likewise.
27484         (_G_HAVE_BOOL): Likewise.
27485         (_G_HAVE_ATEXIT): Likewise.
27486         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27487         (_G_HAVE_IO_FILE_OPEN): Likewise.
27488
27489 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27490
27491         * csu/libc-tls.c: Update copyright years.
27492
27493 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27494
27495         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27496         [!_G_USING_THUNKS]: Remove conditional code.
27497         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27498         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27499
27500         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27501         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27502         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27503         (_G_VTABLE_LABEL_PREFIX): Likewise.
27504         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27505         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27506         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27507         (_G_VTABLE_LABEL_PREFIX): Likewise.
27508         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27509         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27510         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27511         (_G_VTABLE_LABEL_PREFIX): Likewise.
27512         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27513
27514 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27515
27516         * libio/Makefile: Include ../Makeconfig before tests.
27517         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27518         only if $(build-shared) is yes.
27519
27520         * iconv/gconv_db.c: Update copyright years.
27521
27522 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27523
27524         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27525         unwind info if defined PIC. Fix special cases description.
27526         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27527
27528         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27529         DP_HI_MASK entry.
27530         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27531
27532 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27533
27534         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27535
27536         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27537         is NULL.
27538
27539         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27540         (LDLIBS-tst-chk4): This.
27541         (LDFLAGS-tst-chk5): Renamed to ...
27542         (LDLIBS-tst-chk5): This.
27543         (LDFLAGS-tst-chk6): Renamed to ...
27544         (LDLIBS-tst-chk6): This.
27545         (LDFLAGS-tst-lfschk4): Renamed to ...
27546         (LDLIBS-tst-lfschk4): This.
27547         (LDFLAGS-tst-lfschk5): Renamed to ...
27548         (LDLIBS-tst-lfschk5): This.
27549         (LDFLAGS-tst-lfschk6): Renamed to ...
27550         (LDLIBS-tst-lfschk6): This.
27551
27552         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27553         on $(common-objpfx)soversions.mk.
27554
27555 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27556
27557         [BZ #10014]
27558         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27559         example host name.
27560
27561 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27562
27563         * malloc/arena.c (arena_get_retry): New function that gets
27564         another arena for the caller to try its request on.
27565         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27566         current arena cannot fulfill the request.
27567         (__libc_memalign): Likewise.
27568         (__libc_memalign): Likewise.
27569         (__libc_pvalloc): Likewise.
27570         (__libc_calloc): Likewise.
27571
27572 2012-09-05  John Tobey  <john.tobey@gmail.com>
27573
27574         [BZ #13542]
27575         * manual/arith.texi (Operations on Complex): Fix description
27576         of carg branch cut.
27577
27578 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27579
27580         [BZ #10014]
27581         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27582         host name.
27583
27584         [BZ #10038]
27585         * manual/memory.texi (Memory): Make order of menu items match
27586         order of sections.
27587
27588 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27589
27590         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27591         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27592         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27593
27594 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27595
27596         * csu/libc-tls.c (static_dtv): Renamed to ...
27597         (_dl_static_dtv): This.  Make it global.
27598         (_dl_initial_dtv): Removed.
27599         (__libc_setup_tls): Updated.
27600         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27601         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27602         DL_INITIAL_DTV.
27603
27604 2012-09-06  Petr Machata  <pmachata@redhat.com>
27605
27606         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27607         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27608         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27609         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27610
27611 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27612
27613         [BZ #14545]
27614         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27615         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27616         freeing dtv[-1].
27617
27618 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27619
27620         [BZ #14544]
27621         * Makeconfig (link-static-before-libc): Replace $(+prector)
27622         with $(+prectorT).
27623         (link-static-after-libc): Replace $(+postctor) with
27624         $(+postctorT).
27625         (link-bounded): Replace $(+prector)/$(+postctor) with
27626         $(+prectorT)/$(+postctorT).
27627         (+prectorT): New macro.
27628         (+postctorT): Likewise.
27629
27630 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27631
27632         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27633         (round_str): Handle values above the maximum for IBM long double
27634         as inexact.
27635         * stdlib/tst-strtod-round.c (tests): Regenerated.
27636
27637 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27638
27639         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27640         assembler flag.
27641         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27642         zarch_nohighgprs around the zarch optimized routines.
27643         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27644         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27645         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27646         for zarch.
27647
27648 2012-09-05  David S. Miller  <davem@davemloft.net>
27649
27650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27651
27652         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27653         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27654         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27655         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27656         entries.
27657
27658 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27659
27660         * malloc/arena.c: Fold copyright years.
27661         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27662
27663 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27664
27665         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27666
27667 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27668
27669         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27670
27671 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27672
27673         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27674         change internal state upon failure.
27675
27676 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27677
27678         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27679         * malloc/memusage.c (mmap): Likewise.
27680         (mmap64, mremap): Likewise.  Adjust name in comment.
27681
27682 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27683
27684         * libio/fileops.c: Fix typos in comments.
27685         * libio/oldfileops.c: Likewise.
27686         * libio/wfileops.c: Likewise.
27687
27688 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27689
27690         [BZ #1349]
27691         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27692         (tst-malloc-usable-ENV): Set environment for test case.
27693         * malloc/hooks.c (malloc_check_get_size): New function to get
27694         requested size.
27695         * malloc/malloc.c (musable): Use malloc_check_get_size.
27696         * malloc/tst-malloc-usable.c: New test case.
27697
27698 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27699
27700         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27701
27702 2012-09-05  Allan McRae  <allan@archlinux.org>
27703
27704         [BZ #13966]
27705         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27706         determine header location.
27707         * configure: Regenerated.
27708
27709 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27710
27711         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27712         float format.
27713         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27714         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27715         format.
27716         (test): Regenerate.
27717
27718 2012-09-04  David S. Miller  <davem@davemloft.net>
27719
27720         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27721         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27722         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27723
27724 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27725
27726         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27727         failures.
27728
27729         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27730
27731 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27732
27733         [BZ #9914]
27734         * libio/iogetdelim.c: Include <limits.h>.
27735         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27736         + len + 1 would overflow.
27737
27738 2012-09-03  Andreas Jaeger  <aj@suse.de>
27739
27740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27741         * sysdeps/i386/fpu/libm-test-ulps: Update.
27742
27743 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27744
27745         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27746         Add s_sinf-sse2, s_conf-sse2.
27747
27748         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27749         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27750         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27751         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27752
27753         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27754         for using routine as __sinf_ia32.
27755         Use macro for function declaration and weak_alias.
27756         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27757         for using routine as __cosf_ia32.
27758         Use macro for function declaration and weak_alias.
27759
27760         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27761         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27762
27763         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27764         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27765         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27766
27767         * math/libm-test.inc (cos_test): Add more test cases.
27768         (sin_test): Likewise.
27769         (sincos_test): Likewise.
27770
27771 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27772
27773         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27774         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27775         hidden.
27776         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27777
27778 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27779
27780         [BZ #14538]
27781         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27782         first element of the GOT.
27783         (elf_machine_load_address): Return the difference between
27784         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27785
27786 2012-09-01  Allan McRae  <allan@archlinux.org>
27787
27788         [BZ #13412]
27789         * configure.in (AWK): Require gawk version 3.0 or later.
27790         * configure: Regenerated.
27791
27792 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27793
27794         * sysdeps/unix/sysv/linux/kernel-features.h
27795         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27796         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27797         [__NR_clock_getres]: Make code unconditional.
27798         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27799         (clock_getcpuclockid): Remove code left unreachable by removal of
27800         conditionals.
27801         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27802         code unconditional.
27803         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27804         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27805         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27806         Make code unconditional.
27807         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27808         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27809         * sysdeps/unix/sysv/linux/clock_settime.c
27810         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27811         conditional code.
27812         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27813         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27814
27815 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27816
27817         [BZ #14476]
27818         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27819         scripts/test-installation.pl.
27820
27821         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27822         and $ld_so_version if it is set.
27823
27824 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27825
27826         [BZ #14516]
27827         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27828         failure if reading from procfs failed.
27829         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27830
27831 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27832
27833         * sysdeps/unix/sysv/linux/kernel-features.h
27834         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27835         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27836         Remove conditional code.
27837         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27838         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27839         Remove conditional code.
27840         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27841         * sysdeps/unix/sysv/linux/i386/fxstat.c
27842         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27844         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27845         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27847         * sysdeps/unix/sysv/linux/i386/lxstat.c
27848         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27850         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27851         Remove conditional code.
27852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27853         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27854         Remove conditional code.
27855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27856         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27857         <kernel-features.h>.
27858         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27859         Remove.
27860         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27861         Remove conditional code.
27862         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27863         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27864         Remove conditional.
27865
27866 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27867
27868         [BZ #5400]
27869         * NEWS: Add fixed bug number.
27870
27871 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27872
27873         [BZ #14519]
27874         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27875         underflowing exponent in case of negative sign.
27876         * stdlib/tst-strtod-round-data: Add more tests.
27877         * stdlib/tst-strtod-round.c (tests): Regenerated.
27878
27879         [BZ #3479]
27880         * stdlib/strtod_l.c (NDIG): Remove.
27881         (HEXNDIG): Likewise.
27882         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27883         smallest representable value.
27884         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27885         lie within an exact representation of 1/2 ulp of the result.
27886         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27887         unconditionally.
27888         (TENS_P9_IDX): Define unconditionally.
27889         (TENS_P9_SIZE): Likewise.
27890         (TENS_P10_IDX): Likewise.
27891         (TENS_P10_SIZE): Likewise.
27892         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27893         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27894         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27895         entries for 10^2^13 and 10^2^14.
27896         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27897         (TENS_P13_IDX): Define.
27898         (TENS_P13_SIZE): Likewise.
27899         (TENS_P14_IDX): Likewise.
27900         (TENS_P14_SIZE): Likewise.
27901         (_fpioconst_pow10): Change array size to
27902         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27903         unconditional.
27904         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27905         1024]: Add entries for 10^2^13 and 10^2^14.
27906         [LAST_POW10 > _LAST_POW10]: Remove #error.
27907         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27908         (_fpioconst_pow10): Change array size to
27909         FPIOCONST_POW10_ARRAY_SIZE.
27910         * stdlib/gen-fpioconst.c: New file.
27911         * stdlib/gen-tst-strtod-round.c: Likewise.
27912         * stdlib/tst-strtod-round-data: Likewise.
27913         * stdlib/tst-strtod-round.c: Likewise.
27914         * stdlib/Makefile (tests): Add tst-strtod-round.
27915
27916         [BZ #14459]
27917         * stdlib/strtod_l.c: Include <stdint.h>.
27918         (NDEBUG): Do not define.
27919         (round_and_return): Change EXPONENT parameter to type intmax_t.
27920         Rearrange calculations to avoid internal overflow possibilities.
27921         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27922         Rearrange calculations to avoid internal overflow possibilities.
27923         Assert that number fits inside MPNSIZE limbs.
27924         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27925         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27926         calculations and add assertions to avoid internal overflow
27927         possibilities.  Add casts to avoid signed/unsigned operations.
27928         * stdlib/tst-strtod-overflow.c: New file.
27929         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27930
27931 2012-08-25  Marek Polacek  <polacek@redhat.com>
27932
27933         * time/time.h: Fix some typos in comments.
27934
27935 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27936
27937         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27938         * posix/tst-rfc3484-2.c: Likewise.
27939         * posix/tst-rfc3484-3.c: Likewise.
27940
27941 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27942
27943         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27944         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27945
27946 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27947
27948         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27949         #include of fxstatat64.c.
27950
27951 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27952
27953         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27954         * shadow/getspent_r.c: Likewise.
27955         * shadow/getspnam.c: Likewise.
27956         * shadow/getspnam_r.c: Likewise.
27957         * gshadow/getsgent.c: Likewise.
27958         * gshadow/getsgent_r.c: Likewise.
27959         * gshadow/getsgnam.c: Likewise.
27960         * gshadow/getsgnam_r.c: Likewise.
27961         * inet/getnetbyad.c: Likewise.
27962         * inet/getnetbyad_r.c: Likewise.
27963         * inet/getnetbynm.c: Likewise.
27964         * inet/getnetbynm_r.c: Likewise.
27965         * inet/getnetent.c: Likewise.
27966         * inet/getnetent_r.c: Likewise.
27967         * inet/getproto.c: Likewise.
27968         * inet/getproto_r.c: Likewise.
27969         * inet/getprtent.c: Likewise.
27970         * inet/getprtent_r.c: Likewise.
27971         * inet/getprtname.c: Likewise.
27972         * inet/getprtname_r.c: Likewise.
27973         * inet/getrpcbyname.c: Likewise.
27974         * inet/getrpcbyname_r.c: Likewise.
27975         * inet/getrpcbynumber.c: Likewise.
27976         * inet/getrpcbynumber_r.c: Likewise.
27977         * inet/getrpcent.c: Likewise.
27978         * inet/getrpcent_r.c: Likewise.
27979         * inet/getaliasent.c: Likewise.
27980         * inet/getaliasent_r.c: Likewise.
27981         * inet/getaliasname.c: Likewise.
27982         * inet/getaliasname_r.c: Likewise.
27983         * nscd/getgrgid_r.c: Likewise.
27984         * nscd/getgrnam_r.c: Likewise.
27985         * nscd/gethstbyad_r.c: Likewise.
27986         * nscd/gethstbynm3_r.c: Likewise.
27987         * nscd/getpwnam_r.c: Likewise.
27988         * nscd/getpwuid_r.c: Likewise.
27989         * nscd/getsrvbynm_r.c: Likewise.
27990         * nscd/getsrvbypt_r.c: Likewise.
27991         * nscd/gai.c: Likewise.
27992
27993         * configure.in (build_nscd): New substituted variable, set
27994         by --disable-build-nscd and defaults to $use_nscd.
27995         * configure: Regenerated.
27996         * config.make.in (build-nscd): New substituted variable.
27997         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27998         Change conditional to require [$(build-nscd) = yes] as well.
27999         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28000
28001         [BZ# 13696]
28002         * configure.in (use_nscd): New substituted variable, set by
28003         --disable-nscd.  If enabled, define USE_NSCD.
28004         * configure: Regenerated.
28005         * config.h.in: Add USE_NSCD.
28006         * config.make.in (use-nscd): New substituted variable.
28007         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28008         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28009         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28010         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28011         (CFLAGS-getgrnam_r.c): Likewise.
28012         (CFLAGS-initgroups.c): Likewise.
28013         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28014         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28015         Variables removed.
28016         * inet/getnetgrent_r.c
28017         (nscd_setnetgrent): New function, broken out of ...
28018         (setnetgrent): ... here.  Call it.
28019         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28020         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28021         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28022         * nscd/Makefile (routines, aux): Move definitions after include of
28023         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28024         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28025         Conditionalize on [USE_NSCD].
28026         (is_nscd, nscd_init_cb): Likewise.
28027         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28028         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28029         * nss/nss_db/db-init.c: Likewise.
28030         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28031         [USE_NSCD].
28032         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28033         (make_request): Use it.
28034         (cache_valid_p): New function.
28035         (__check_pf): Use it.
28036         * NEWS: Add item for --disable-nscd.
28037
28038 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28039
28040         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28041         to support sed >= 4.2.1-20-ga9bf076.
28042         * configure: Regenerated.
28043
28044 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28045
28046         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28047         Conditionalize whole body on [IREL].
28048
28049 2012-08-22  Jeff Law <law@redhat.com>
28050
28051         [BZ #14505]
28052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28053         if the family is PF_UNSPEC.
28054
28055 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28056
28057         * Makerules (lib-version): Rename from V.
28058         (install-lib-nosubdir): Change V to lib-version.
28059
28060 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28061
28062         [BZ #14252]
28063         * powerpc32/power6/wcschr.c: New file.
28064         * powerpc32/power6/wcscpy.c: New file.
28065         * powerpc32/power6/wcsrchr.c: New file.
28066         * powerpc64/power6/wcschr.c: New file.
28067         * powerpc64/power6/wcscpy.c: New file.
28068         * powerpc64/power6/wcsrchr.c: New file.
28069
28070 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28071
28072         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28073         (two_way_short_needle): Use it.
28074         * string/strstr.c (AVAILABLE1_USES_J): Define.
28075         * string/strcasestr.c: Likewise.
28076
28077         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28078         array references.
28079         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28080
28081         [BZ #11607]
28082         * NEWS: Add an entry.
28083         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28084         define their defaults.
28085         (two_way_short_needle): Detect end-of-string on-the-fly.
28086         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28087         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28088         * string/bug-strcasestr1.c: New test.
28089         * string/Makefile: Run it.
28090
28091 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28092
28093         [BZ #11607]
28094         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28095         the first character.
28096
28097 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28098
28099         * csu/elf-init.c (__libc_csu_irel): Function removed.
28100         * csu/libc-start.c (apply_irel): New function.
28101         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28102
28103 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28104
28105         * sysdeps/unix/sysv/linux/kernel-features.h
28106         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28107         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28108         <kernel-features.h>.
28109         [__NR_fadvise64_64]: Make code unconditional.
28110         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28111         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28112         !__NR_fadvise64_64)]: Likewise.
28113         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28114         !__NR_fadvise64_64))]: Likewise.
28115         [__NR_fadvise64]: Make code unconditional.
28116         [!__NR_fadvise64]: Remove conditional code.
28117         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28118         <kernel-features.h>.
28119         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28120         unconditional.
28121         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28122         conditional code.
28123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28124         not include <kernel-features.h>.
28125         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28126         unconditional.
28127         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28128         conditional code.
28129         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28130         include <kernel-features.h>.
28131         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28132         unconditional.
28133         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28134         conditional code.
28135
28136 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28137
28138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28139         slight instruction rearrangements per scrollpipe analysis.
28140         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28141
28142 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28143
28144         * manual/syslog.texi (syslog; vsyslog, closelog):
28145         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28146         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28147
28148         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28149         DSOCAPS to match condition on defining it.
28150
28151 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28152
28153         * sysdeps/unix/sysv/linux/kernel-features.h
28154         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28156         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28157         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28159         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28160         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28162         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28163         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28164
28165         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28166         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28167
28168         * sysdeps/unix/sysv/linux/kernel-features.h
28169         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28170         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28171         unconditional.
28172         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28173         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28174         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28175         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28176         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28177         Make code unconditional.
28178         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28179         (__mmap64) [!__NR_mmap2]: Likewise.
28180         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28181         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28182         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28183         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28184         [__NR_mmap2]: Make code unconditional.
28185         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28186         (__mmap64) [!__NR_mmap2]: Likewise.
28187
28188 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28189
28190         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28191
28192 2012-08-18  Andreas Jaeger  <aj@suse.de>
28193
28194         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28195
28196 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28197
28198         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28199         * include/unistd.h (__have_sock_cloexec): Likewise.
28200         (__have_pipe2): Likewise.
28201         (__have_dup3): Likewise.
28202
28203 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28204
28205         [BZ #9685]
28206         * include/unistd.h (__have_pipe2): Change define into an extern int.
28207         (__have_dup3): Likewise.
28208         * socket/have_sock_cloexec.c: Include fcntl.h.
28209         (__have_pipe2): New variable.
28210         (__have_dup3): Likewise.
28211
28212 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28213
28214         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28215
28216 2012-08-17  Marek Polacek  <polacek@redhat.com>
28217
28218         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28219         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28220
28221 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28222
28223         * configure.in: Add AC_SUBST for sysheaders.
28224         * configure: Regenerated.
28225         * config.make.in (sysheaders): New substituted variable.
28226
28227         * sysdeps/unix/mkfifo.c: Moved ...
28228         * sysdeps/posix/mkfifo.c: ... here.
28229         * sysdeps/unix/mkfifoat.c: Moved ...
28230         * sysdeps/posix/mkfifoat.c: ... here.
28231
28232         * sysdeps/unix/utime.c: Moved ...
28233         * sysdeps/posix/utime.c: ... here.
28234
28235         * sysdeps/unix/time.c: Moved ...
28236         * sysdeps/posix/time.c: ... here.
28237         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28238         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28239
28240         * sysdeps/unix/nice.c: Moved ...
28241         * sysdeps/posix/nice.c: ... here.
28242
28243         * sysdeps/unix/alarm.c: Moved ...
28244         * sysdeps/posix/alarm.c: ... here.
28245
28246         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28247
28248 2012-08-17  Jeff Law <law@redhat.com>
28249
28250         * intl/Makefile (codeset_mo): New variable.
28251         ($(codeset_mo)): New target.
28252         (tst-codeset.out): Depend on that.  Remove explicit rule.
28253         (tst-gettext3.out, tst-gettext5.out): Likewise.
28254         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28255         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28256         * intl/tst-codeset.sh: Remove.
28257         * intl/tst-gettext3.sh: Likewise.
28258         * intl/tst-gettext5.sh: Likewise.
28259
28260 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28261
28262         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28263         * sysdeps/unix/syscalls.list: ... here.
28264
28265         * sysdeps/posix/getaddrinfo.c
28266         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28267         (gaiconf_init, gaiconf_reload): Use them.
28268         [!_STATBUF_ST_NSEC]
28269         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28270         Define using time_t rather than struct timespec.
28271
28272         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28273         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28274         Macros removed.
28275         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28276         [!NO_THREADS].
28277         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28278         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28279         Likewise.
28280
28281         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28282         __libc_cleanup_push argument.
28283
28284         * bits/param.h: New file.
28285         * misc/sys/param.h: New file.
28286         * include/sys/param.h: New file.
28287         * misc/Makefile (headers): Add bits/param.h.
28288         * sysdeps/generic/sys/param.h: File removed.
28289         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28290         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28291         * sysdeps/mach/hurd/bits/param.h: New file.
28292         * sysdeps/mach/hurd/sys/param.h: File removed.
28293
28294         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28295         last change.
28296
28297         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28298         [_IO_MTSAFE_IO].
28299         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28300         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28301         New macros.
28302
28303         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28304         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28305         rather than -D_IO_MTSAFE_IO conditionally.
28306         * stdio-common/Makefile (CPPFLAGS): Likewise.
28307         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28308         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28309         Use $(libio-mtsafe).
28310         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28311         of -D_IO_MTSAFE_IO.
28312         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28313         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28314         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28315         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28316         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28317         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28318         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28319         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28320         (CFLAGS-fread_u_chk.c): Likewise.
28321         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28322         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28323         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28324         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28325         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28326         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28327         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28328         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28329         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28330
28331         * libio/Makefile: Test [$(libc-reentrant) = yes]
28332         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28333
28334         * Makeconfig
28335         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28336         * sysdeps/pthread/configure: File removed.
28337         * sysdeps/pthread/Makeconfig: New file.
28338         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28339         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28340
28341 2012-08-16  Gary Benson  <gbenson@redhat.com>
28342
28343         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28344         unmapping the first object in a namespace.
28345
28346 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28347
28348         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28349         (__internal_setnetgrent): ... this.  Add internal_function to
28350         definition.  Add libc_hidden_def.
28351         (setnetgrent): Update caller.
28352         (internal_endnetgrent): Renamed to ...
28353         (__internal_endnetgrent): ... this.  Add internal_function to
28354         definition.  Add libc_hidden_def.
28355         (endnetgrent): Update caller.
28356         (internal_getnetgrent_r): Renamed to ...
28357         (__internal_getnetgrent_r): ... this.  Add internal_function to
28358         definition.  Add libc_hidden_def.
28359         (__getnetgrent_r): Update caller.
28360         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28361
28362 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28363
28364         * stdlib/longlong.h: Update from GCC.
28365
28366 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28367
28368         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28369         on _QL, which is set by umul_ppmm but never used.
28370         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28371         variables, which are set by GMP macros but never used.
28372         * stdio-common/_itowa.c (_itowa): Likewise.
28373         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28374         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28375
28376 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28377
28378         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28379         struct La_sh_regs is not constant.
28380         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28381         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28382         and struct La_sparc64_regs are not constant.
28383
28384 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28385
28386         * sysdeps/unix/sysv/linux/kernel-features.h
28387         (__ASSUME_POSIX_TIMERS): Remove.
28388         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28389         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28390         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28391         Make code unconditional.
28392         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28393         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28394         Make code unconditional.
28395         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28396         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28397         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28398         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28399         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28400         Make code unconditional.
28401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28402         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28403         (__libc_missing_posix_timers): Remove.
28404
28405 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28406
28407         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28408         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28409
28410         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28411
28412         * elf/dl-sym.c: Include <stdlib.h>.
28413
28414         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28415         constants, which avoids warnings in 32-bit builds.
28416
28417         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28418         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28419
28420         * misc/lseek.c: File moved to ...
28421         * io/lseek.c: ... here.
28422
28423         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28424
28425         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28426         shifting LEN more than 31 bits at once.
28427
28428 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28429
28430         [BZ #14195]
28431         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28432         segmentation fault for a case of two empty input strings.
28433         * string/test-strncasecmp.c (check1): Renamed to...
28434         (bz12205): ...this.
28435         (bz14195): Add new testcase for two empty input strings and N > 0.
28436         (test_main): Call new testcase, adapt for renamed function.
28437
28438 2012-08-15  Andreas Jaeger  <aj@suse.de>
28439
28440         [BZ #14090]
28441         * crypt/md5test2.c: New test, based on test supplied by Serge
28442         Belyshev <belyshev@depni.sinp.msu.ru>.
28443         * crypt/Makefile (xtests): Add md5test-giant..
28444         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28445
28446 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28447
28448         [BZ #14090]
28449         * crypt/md5.c (md5_process_block): Don't assume the buffer
28450         length is less than 2**32.
28451         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28452         length is less than 2**64.
28453
28454 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28455
28456         * string/str-two-way.h: Include <sys/param.h>.
28457         (MAX): Macro removed.
28458
28459         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28460         Move #define and #undef of memmove to just before and after
28461         including <string.h>.
28462
28463         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28464         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28465         and after including <string.h>.  Move declarations of
28466         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28467         to before #include "string/memmove.c".
28468
28469         * include/dirent.h: Declare __getdirentries.
28470
28471         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28472         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28473
28474 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28475
28476         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28477         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28478         * sysdeps/i386/configure: Regenerated.
28479         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28480         STABS_CURRENT_FILE, and STABS_FUN.
28481         (END): Remove call to STABS_FUN_END.
28482         (STABS_CURRENT_FILE1): Delete.
28483         (STABS_CURRENT_FILE): Likewise.
28484         (STABS_FUN): Likewise.
28485         (STABS_FUN_END): Likewise.
28486         (STABS_FUN2): Likewise.
28487         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28488         * sysdeps/x86_64/configure: Regenerated.
28489
28490 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28491
28492         * elf/dl-open.c: Include <atomic.h>.
28493         * elf/dl-lookup.c: Likewise.
28494
28495 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28496
28497         * sysdeps/unix/sysv/linux/kernel-features.h
28498         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28499         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28500         unconditionally.
28501         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28502         unconditionally.
28503         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28504         condition on __ASSUME_CLONE_THREAD_FLAGS.
28505
28506 2012-08-14  Andreas Jaeger  <aj@suse.de>
28507
28508         * sysdeps/i386/fpu/libm-test-ulps: Update.
28509
28510 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28511
28512         * include/atomic.h (atomic_exchange_and_add): Split into ...
28513         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28514         New atomic macros.
28515
28516 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28517
28518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28519
28520 2012-08-13  Jeff Law <law@redhat.com>
28521
28522         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28523         null byte in the output string.
28524
28525 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28526
28527         * sysdeps/unix/sysv/linux/kernel-features.h
28528         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28529         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28530         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28531         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28532         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28533         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28534         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28535
28536 2012-08-09  Jeff Law <law@redhat.com>
28537
28538         [BZ #13939]
28539         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28540         When avoid_arena is set, don't retry in the that arena.  Pick the
28541         next one, whatever it might be.
28542         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28543         (arena_lock): Pass in new parameter to arena_get2.
28544         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28545         arena_get2.
28546         (__libc_malloc): Unify retrying after main arena failure with
28547         __libc_memalign version.
28548         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28549
28550 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28551
28552         [BZ #14166]
28553         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28554         to __redirect_strstr.
28555         (__strstr_sse42): Use typeof __redirect_strstr.
28556         (__strstr_ia32): Likewise.
28557         (__libc_strstr): New prototype.
28558         (strstr): Renamed to ...
28559         (__libc_strstr): This.
28560         (strstr): New strong alias of __libc_strstr.
28561         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28562         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28563         __redirect_time.
28564         Include <time.h>.
28565         (__libc_time): New prototype.
28566         (time_ifunc): Replace time with __libc_time.
28567         (time): New strong alias and hidden definition of __libc_time.
28568         (__GI_time): Remove strong alias.
28569         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28570         Include <stddef.h>.
28571         (memmove): Redefined to __redirect_memmove.
28572         (__memmove_sse2): Use typeof __redirect_memmove.
28573         (__memmove_ssse3): Likewise.
28574         (__memmove_ssse3_back): Likewise.
28575         (__libc_memmove): New prototype.
28576         (memmove): Renamed to ...
28577         (__libc_memmove): This.
28578         (memmove): New strong alias of __libc_memmove.
28579
28580 2012-08-08  Mark Salter  <msalter@redhat.com>
28581
28582         * elf/elf.h
28583         (R_MN10300_TLS_GD): Define.
28584         (R_MN10300_TLS_LD): Likewise.
28585         (R_MN10300_TLS_LDO): Likewise.
28586         (R_MN10300_TLS_GOTIE): Likewise.
28587         (R_MN10300_TLS_IE): Likewise.
28588         (R_MN10300_TLS_LE): Likewise.
28589         (R_MN10300_TLS_DTPMOD): Likewise.
28590         (R_MN10300_TLS_DTPOFF): Likewise.
28591         (R_MN10300_TLS_TPOFF): Likewise.
28592         (R_MN10300_SYM_DIFF): Likewise.
28593         (R_MN10300_ALIGN): Likewise.
28594         (R_MN10300_NUM): Update.
28595
28596 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28597
28598         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28599         Remove.
28600
28601 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28602
28603         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28604
28605         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28606         sysdeps/unix -> sysdeps/posix move.
28607         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28608
28609 2012-08-07      Allan McRae     <allan@archlinux.org>
28610
28611         [BZ #14303]
28612         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28613         (SUNOS_CPP): Likewise.
28614         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28615         not found.
28616         (open_input): Call CPP using execvp.
28617
28618 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28619
28620         * sysdeps/unix/sysv/linux/kernel-features.h
28621         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28622         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28623         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28624         (__ASSUME_WAITID_SYSCALL): Likewise.
28625         * sysdeps/unix/sysv/linux/dl-execstack.c
28626         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28627         code unconditional.
28628         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28629         conditional code.
28630         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28631         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28632         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28633         code.
28634         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28635         unconditional.
28636         [__ASSUME_WAITID_SYSCALL]: Likewise.
28637         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28638
28639 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28640
28641         * sysdeps/unix/closedir.c: Renamed to ...
28642         * sysdeps/posix/closedir.c: ... here.
28643         * sysdeps/unix/dirfd.c: Renamed to ...
28644         * sysdeps/posix/dirfd.c: ... here.
28645         * sysdeps/unix/dirstream.h: Renamed to ...
28646         * sysdeps/posix/dirstream.h: ... here.
28647         * sysdeps/unix/fdopendir.c: Renamed to ...
28648         * sysdeps/posix/fdopendir.c: ... here.
28649         * sysdeps/unix/opendir.c: Renamed to ...
28650         * sysdeps/posix/opendir.c: ... here.
28651         * sysdeps/unix/readdir.c: Renamed to ...
28652         * sysdeps/posix/readdir.c: ... here.
28653         * sysdeps/unix/readdir_r.c: Renamed to ...
28654         * sysdeps/posix/readdir_r.c: ... here.
28655         * sysdeps/unix/rewinddir.c: Renamed to ...
28656         * sysdeps/posix/rewinddir.c: ... here.
28657         * sysdeps/unix/seekdir.c: Renamed to ...
28658         * sysdeps/posix/seekdir.c: ... here.
28659         * sysdeps/unix/telldir.c: Renamed to ...
28660         * sysdeps/posix/telldir.c: ... here.
28661         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28662         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28663         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28664         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28665
28666         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28667         * bits/fcntl.h: ... here.
28668
28669         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28670         not 0.
28671         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28672         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28673         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28674         (struct flock): Move l_start, l_len to the beginning.
28675         Use __pid_t for l_pid.
28676         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28677         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28678         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28679         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28680         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28681         [__USE_LARGEFILE64] (struct flock64): New type.
28682         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28683
28684         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28685         * bits/dirent.h: ... here.
28686
28687         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28688         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28689
28690 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28691
28692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28693         Change from 2.6.0 to 2.6.16.
28694         * sysdeps/unix/sysv/linux/configure: Regenerated.
28695         * sysdeps/unix/sysv/linux/kernel-features.h
28696         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28697         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28698         version.
28699         (__ASSUME_UTIMES): Likewise.
28700         (__ASSUME_CLONE_STOPPED): Remove.
28701         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28702         architectures, not kernel version.
28703         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28704         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28705         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28706         (__ASSUME_WAITID_SYSCALL): Likewise.
28707         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28708         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28709         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28710         refer to older versions.
28711
28712 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28713
28714         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28715         Define alphasort64 as an alias.
28716         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28717         Define versionsort64 as an alias.
28718         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28719         Define scandir64 as an alias.
28720         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28721         Define scandirat64 as an alias.
28722         * dirent/alphasort64.c (alphasort64):
28723         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28724         * dirent/versionsort64.c: Likewise.
28725         * dirent/scandir64.c: Likewise.
28726         * dirent/scandirat64.c: Likewise.
28727         * sysdeps/wordsize-64/alphasort.c: File removed.
28728         * sysdeps/wordsize-64/alphasort64.c: File removed.
28729         * sysdeps/wordsize-64/scandir.c: File removed.
28730         * sysdeps/wordsize-64/scandir64.c: File removed.
28731         * sysdeps/wordsize-64/scandirat.c: File removed.
28732         * sysdeps/wordsize-64/scandirat64.c: File removed.
28733         * sysdeps/wordsize-64/versionsort.c: File removed.
28734         * sysdeps/wordsize-64/versionsort64.c: File removed.
28735         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28736         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28737         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28738         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28739         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28740         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28741         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28742         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28743
28744         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28746         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28748         [defined __arch64__ || defined __sparcv9]
28749         (__INO_T_MATCHES_INO64_T): New macro.
28750         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28751         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28752         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28753         * sysdeps/unix/sysv/linux/bits/dirent.h
28754         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28755         (_DIRENT_MATCHES_DIRENT64): New macro.
28756
28757         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28758         Define lockf64 as an alias.
28759         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28760         Define fseeko64 as an alias.
28761         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28762         Define ftello64 as an alias.
28763         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28764         Define _IO_fgetpos64 and fgetpos64 as aliases.
28765         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28766         Define _IO_fsetpos64 and fsetpos64 as aliases.
28767         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28768         Conditionalize body on this.
28769         * libio/fseeko64.c: Likewise.
28770         * libio/ftello64.c: Likewise.
28771         * libio/iofgetpos64.c: Likewise.
28772         * libio/iofsetpos64.c: Likewise.
28773         * sysdeps/wordsize-64/lockf.c: File removed.
28774         * sysdeps/wordsize-64/lockf64.c: File removed.
28775         * sysdeps/wordsize-64/fseeko.c: File removed.
28776         * sysdeps/wordsize-64/fseeko64.c: File removed.
28777         * sysdeps/wordsize-64/ftello.c: File removed.
28778         * sysdeps/wordsize-64/ftello64.c: File removed.
28779         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28780         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28781         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28782         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28783         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28784         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28786         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28788         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28789         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28790         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28791         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28792         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28793
28794         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28795         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28796         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28797         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28798         [defined __arch64__ || defined __sparcv9]
28799         (__OFF_T_MATCHES_OFF64_T): New macro.
28800         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28801         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28802         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28803         (__OFF_T_MATCHES_OFF64_T): New macro.
28804
28805 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28806
28807         * stdlib/secure-getenv.c (__secure_getenv): Replace
28808         GLIBC_2_16 with GLIBC_2_17.
28809
28810 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28811
28812         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28813         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28814
28815 2012-08-03  David S. Miller  <davem@davemloft.net>
28816
28817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28818
28819 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28820
28821         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28822         Remove.
28823         (__ASSUME_CORRECT_SI_PID): Likewise.
28824         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28825         (__ASSUME_TMPFS_NAME): Likewise.
28826         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28827         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28828         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28829         (HAVE_AUX_SECURE): Make definition unconditional.
28830         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28831         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28832
28833 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28834
28835         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28836         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28837         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28838         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28839         __eloop_threshold instead of SYMLOOP_MAX.
28840
28841         * sysdeps/generic/eloop-threshold.h: New file.
28842         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28843         of MAXSYMLINKS.
28844         * elf/chroot_canon.c (chroot_canon): Likewise.
28845
28846 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28847
28848         [BZ #13717]
28849         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28850         Change to 2.6.0 everywhere.
28851         * sysdeps/unix/sysv/linux/configure: Regenerated.
28852         * sysdeps/unix/sysv/linux/kernel-features.h
28853         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28854         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28855         kernel versions.
28856         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28857         (__ASSUME_FUTEX_REQUEUE): Remove.
28858         (__ASSUME_STATFS64): Define unconditionally.
28859         (__ASSUME_AT_SECURE): Likewise.
28860         (__ASSUME_CORRECT_SI_PID): Likewise.
28861         (__ASSUME_TGKILL): Define without depending on kernel version for
28862         i386.
28863         (__ASSUME_UTIMES): Likewise.
28864         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28865         kernel version.
28866         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28867         (__ASSUME_TMPFS_NAME): Likewise.
28868         * README: Update reference to Linux kernel versions.
28869
28870 2012-08-02  Marek Polacek  <polacek@redhat.com>
28871
28872         [BZ# 14150]
28873         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28874         libc_cv_asm_type_prefix with %.
28875         * configure: Regenerated.
28876         * include/libc-symbols.h: Remove comment about
28877         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28878         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28879         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28880         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28881         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28882         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28883         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28884         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28885         * elf/tst-unique2mod1.c: Likewise.
28886         * elf/tst-unique1mod2.c: Likewise.
28887         * elf/tst-unique1mod1.c: Likewise.
28888         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28889         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28890         Replace ASM_TYPE_DIRECTIVE with .type.
28891         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28892         * sysdeps/i386/sysdep.h: Likewise.
28893         * sysdeps/x86_64/sysdep.h: Likewise.
28894         * sysdeps/sh/sysdep.h: Likewise.
28895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28896         Do not define ASM_TYPE_DIRECTIVE.
28897         * sysdeps/powerpc/sysdep.h: Likewise.
28898         * sysdeps/powerpc/powerpc32/sysdep.h:
28899         Replace ASM_TYPE_DIRECTIVE with .type.
28900         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28901         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28902         * sysdeps/i386/fpu/e_powf.S: Likewise.
28903         * sysdeps/i386/fpu/e_expl.S: Likewise.
28904         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28905         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28906         * sysdeps/i386/fpu/e_pow.S: Likewise.
28907         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28908         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28909         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28910         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28911         * sysdeps/i386/fpu/e_log2.S: Likewise.
28912         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28913         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28914         * sysdeps/i386/fpu/e_powl.S: Likewise.
28915         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28916         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28917         * sysdeps/i386/fpu/e_logl.S: Likewise.
28918         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28919         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28920         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28921         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28922         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28923         * sysdeps/i386/fpu/e_log.S: Likewise.
28924         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28925         * sysdeps/i386/fpu/e_logf.S: Likewise.
28926         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28927         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28928         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28929         * sysdeps/i386/fpu/e_log10.S: Likewise.
28930         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28931         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28932         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28933         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28934         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28935         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28936         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28937         * sysdeps/i386/i686/strtok.S: Likewise.
28938         * sysdeps/i386/i386-mcount.S: Likewise.
28939         * sysdeps/i386/strtok.S: Likewise.
28940         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28941         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28942         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28943         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28944         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28945         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28946         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28947         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28948         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28949         * sysdeps/x86_64/_mcount.S: Likewise.
28950         * sysdeps/x86_64/strtok.S: Likewise.
28951         * sysdeps/sh/_mcount.S: Likewise.
28952
28953 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28954
28955         * libio/iofopen.c: Include <fcntl.h>.
28956         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28957         (_IO_fopen64, fopen64): Define as aliases.
28958         * libio/iofopen64.c: Include <fcntl.h>.
28959         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28960         Conditionalize body on this.
28961         * sysdeps/wordsize-64/iofopen.c: File removed.
28962         * sysdeps/wordsize-64/iofopen64.c: File removed.
28963
28964 2012-08-01  Marek Polacek  <polacek@redhat.com>
28965
28966         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28967         Use dlfcn directly instead of a variable.
28968         (binfmt-subdir): Do not define.
28969         (dlfcn): Likewise.
28970
28971 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28972
28973         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28974         Remove all definitions.
28975         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28976         <kernel-features.h>.
28977         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28978         (miss_F_GETOWN_EX): Remove all definitions.
28979         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28980         macro definition.
28981         [!__ASSUME_FCNTL64]: Remove conditional code.
28982         [__ASSUME_FCNTL64]: Make code unconditional.
28983         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28984         <kernel-features.h>.
28985         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28986         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28987         (lockf64) [__NR_fcntl64]: Make code unconditional.
28988         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28989
28990         * sysdeps/unix/sysv/linux/kernel-features.h
28991         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28992         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28993         Make code unconditional.
28994         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28995         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28997         [__NR_vfork]: Make code unconditional.
28998         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28999         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29001         [__NR_vfork]: Make code unconditional.
29002         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29003         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29004
29005 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29006
29007         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29008         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29009
29010         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29011         Define mkstemp64 as an alias.
29012         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29013         Define mkstemps64 as an alias.
29014         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29015         Define mkostemp64 as an alias.
29016         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29017         Define mkostemps64 as an alias.
29018         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29019         Conditionalize body on this.
29020         * misc/mkostemp64.c: Likewise.
29021         * misc/mkostemps64.c: Likewise.
29022         * misc/mkstemps64.c: Likewise.
29023         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29024         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29025         * sysdeps/wordsize-64/mkostemp.c: File removed.
29026         * sysdeps/wordsize-64/mkstemp.c: File removed.
29027         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29028         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29029         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29030         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29031
29032         [BZ #14138]
29033         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29034         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29035         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29036         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29037
29038         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29039         compat_symbol macros from <shlib-compat.h> rather than the underlying
29040         default_symbol_version and symbol_version macros, so that DEFAULT
29041         lines in shlib-versions are respected.
29042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29043
29044 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29045
29046         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29047         Declare with warn_unused_result.
29048         (setgid, setregid, setegid, setresgid): Likewise.
29049         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29050         Likewise.
29051         * WUR-REPORT: Remove set*id functions.
29052
29053 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29054
29055         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29056
29057 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29058
29059         [BZ #10191]
29060         * include/sys/socket.h (__libc_accept, __libc_accept4):
29061         Add attribute_hidden.
29062         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29063
29064         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29065         use of PTR_MANGLE.
29066         * inet/getnetgrent_r.c (setup): Likewise.
29067
29068         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29069
29070 2012-07-31  David S. Miller  <davem@davemloft.net>
29071
29072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29073
29074 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29075
29076         [BZ #13629]
29077         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29078         value between 1.0 and 2.0 and smaller part has absolute value less
29079         than 1.0.
29080         * math/s_clog10.c (__clog10): Likewise.
29081         * math/s_clog10f.c (__clog10f): Likewise.
29082         * math/s_clog10l.c (__clog10l): Likewise.
29083         * math/s_clogf.c (__clogf): Likewise.
29084         * math/s_clogl.c (__clogl): Likewise.
29085         * math/libm-test.inc (clog_test): Add more tests.
29086         (clog10_test): Likewise.
29087         * sysdeps/i386/fpu/libm-test-ulps: Update.
29088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29089
29090 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29091
29092         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29093         Exit with zero in case no suitable GID is found, and write a
29094         message to standard error.
29095
29096 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29097
29098         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29099         rather than to 1.
29100         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29101         (MAXPATHLEN): Removed.
29102         (NOGROUP, NODEV): New macros.
29103         (setbit, clrbit, isset, isclr): New macros.
29104         (howmany, roundup, powerof2): New macros.
29105         (DEV_BSIZE): New macro.
29106
29107         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29108         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29109
29110         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29111         definition on [!__NO_LONG_DOUBLE_MATH].
29112
29113         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29114         PTR_MANGLE and PTR_DEMANGLE.
29115
29116         * socket/accept4.c (accept4): Rename to __libc_accept4.
29117         Define accept4 as a weak alias.
29118
29119         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29120         on [_DIRENT_HAVE_D_TYPE].
29121         * io/ftw.c (ftw_dir): Likewise.
29122
29123         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29124
29125         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29126
29127         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29128         Use the BSD numbers rather than the arbitrary ones we had.
29129         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29130         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29131         (SIGXCPU, SIGXFSZ): New macros.
29132         (_NSIG): Now 32.
29133
29134         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29135         initializer on [_LIBC_REENTRANT].
29136
29137         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29138         definitions inside [_POSIX_MAPPED_FILES].
29139
29140         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29141
29142         * dirent/opendir.c: Include <fcntl.h>.
29143
29144         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29145         (__libc_getspecific): Likewise.
29146         (__libc_key_create): Likewise.
29147
29148         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29149         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29150         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29151         (tmpfile64): Define as alias.
29152         * sysdeps/wordsize-64/tmpfile.c: File removed.
29153         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29154         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29155         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29156
29157         * stdio-common/vfscanf.c: Include <stdbool.h>.
29158         * nss/makedb.c: Likewise.
29159         * stdio-common/_i18n_number.h: Likewise.
29160         * argp/argp-help.c: Likewise.
29161         * posix/wordexp.c: Likewise.
29162         * sysdeps/posix/spawni.c: Likewise.
29163         * nss/nss_files/files-initgroups.c: Likewise.
29164         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29165         * nss/nss_files/files-initgroups.c: Likewise.
29166         * nss/nss_db/db-netgrp.c: Likewise.
29167         * nss/nss_db/db-initgroups.c: Likewise.
29168         * io/fchmodat.c: Include <sys/stat.h>.
29169
29170         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29171         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29172
29173         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29174         [HAVE_MMAP].
29175
29176         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29177         Add multiple inclusion protection.
29178
29179 2012-07-27  David S. Miller  <davem@davemloft.net>
29180
29181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29182
29183 2012-07-27  Gary Benson  <gbenson@redhat.com>
29184
29185         [BZ #14298]
29186         * elf/rtld.c: Include <stap-probe.h>.
29187         (dl_main): Added static probes "init_start" and "init_complete".
29188         * elf/dl-load.c: Include <stap-probe.h>.
29189         (lose): Take new parameter "nsid".
29190         Added static probe "map_failed".
29191         (_dl_map_object_from_fd): Pass namespace id to lose.
29192         Added static probe "map_start".
29193         (open_verify): Pass namespace id to lose.
29194         * elf/dl-open.c: Include <stap-probe.h>.
29195         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29196         and "reloc_complete".
29197         * elf/dl-close.c: Include <stap-probe.h>.
29198         (_dl_close_worker): Added static probes "unmap_start" and
29199         "unmap_complete".
29200         * elf/rtld-debugger-interface.txt: New file documenting the above.
29201
29202 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29203
29204         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29205         rather than a string variable.
29206         * sunrpc/rpc_main.c (h_output): Likewise.
29207         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29208
29209 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29210
29211         * inet/check_native.c: New file.
29212
29213 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29214
29215         [BZ #13629]
29216         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29217         if larger part has absolute value 1.0.
29218         * math/s_clog10.c (__clog10): Likewise.
29219         * math/s_clog10f.c (__clog10f): Likewise.
29220         * math/s_clog10l.c (__clog10l): Likewise.
29221         * math/s_clogf.c (__clogf): Likewise.
29222         * math/s_clogl.c (__clogl): Likewise.
29223         * math/libm-test.inc (clog_test): Add more tests.
29224         (clog10_test): Likewise.
29225         * sysdeps/i386/fpu/libm-test-ulps: Update.
29226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29227
29228         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29229         (pltexit): Likewise.
29230         (La_regs): Likewise.
29231         (La_retval): Likewise.
29232         (int_retval): Likewise.
29233         Update #error for removed macros to refer only to definitions in
29234         tst-audit.h.
29235         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29236         macro.
29237         (pltexit): Likewise.
29238         (La_regs): Likewise.
29239         (La_retval): Likewise.
29240         (int_retval): Likewise.
29241         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29242         macro.
29243         (pltexit): Likewise.
29244         (La_regs): Likewise.
29245         (La_retval): Likewise.
29246         (int_retval): Likewise.
29247         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29248         macro.
29249         (pltexit): Likewise.
29250         (La_regs): Likewise.
29251         (La_retval): Likewise.
29252         (int_retval): Likewise.
29253         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29254         macro.
29255         (pltexit): Likewise.
29256         (La_regs): Likewise.
29257         (La_retval): Likewise.
29258         (int_retval): Likewise.
29259         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29260         macro.
29261         (pltexit): Likewise.
29262         (La_regs): Likewise.
29263         (La_retval): Likewise.
29264         (int_retval): Likewise.
29265         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29266         macro.
29267         (pltexit): Likewise.
29268         (La_regs): Likewise.
29269         (La_retval): Likewise.
29270         (int_retval): Likewise.
29271         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29272         macro definitions in tst-audit.h.
29273         * sysdeps/i386/tst-audit.h: New file.
29274         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29275         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29276         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29277         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29278         * sysdeps/sh/tst-audit.h: Likewise.
29279         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29280         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29281         * sysdeps/x86_64/tst-audit.h: Likewise.
29282
29283 2012-07-26  Andreas Jaeger  <aj@suse.de>
29284
29285         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29286         ptrace.
29287
29288         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29289         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29290         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29291         PTRACE_O_MASK.
29292         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29293         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29294         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29295
29296         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29297         value.
29298
29299         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29300         _sigsys.
29301         (si_call_addr, si_syscall, si_arch): Define new macro.
29302         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29303         _sigsys.
29304         (si_call_addr, si_syscall, si_arch): Define new marcro.
29305         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29306         _sigsys.
29307         (si_call_addr, si_syscall, si_arch): Define new macro.
29308         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29309         _sigsys.
29310         (si_call_addr, si_syscall, si_arch): Define new macro.
29311
29312 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29313
29314         [BZ #13717]
29315         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29316         Change to 2.4.21 where previously 2.4.1.
29317         * sysdeps/unix/sysv/linux/configure: Regenerated.
29318         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29319         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29320         Linux kernel version.
29321         (__ASSUME_STD_AUXV): Remove.
29322         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29323         kernel version.
29324         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29325         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29326         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29327         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29328         (__ASSUME_NETLINK_SUPPORT): Likewise.
29329         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29330         (__no_netlink_support): Remove conditional definition.
29331         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29332         Remove.
29333         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29334         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29335         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29336         (if_nameindex_ioctl): Remove.
29337         (if_nameindex_netlink): Do not handle __no_netlink_support.
29338         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29339         code.
29340         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29341         Remove conditional code.
29342         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29343         code.
29344         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29345         unconditional.
29346         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29347         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29348         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29349         Remove.
29350         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29351         [!__ASSUME_STD_AUXV]: Remove conditional code.
29352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29353         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29354         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29356         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29357         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29358         code.
29359         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29361         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29362         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29363         conditional code.
29364         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29366         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29367         code.
29368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29369         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29370         conditional code.
29371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29372         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29373         code unconditional.
29374         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29375         conditional code.
29376         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29377         unconditional.
29378         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29379         conditional code.
29380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29381         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29382         unconditional.
29383         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29384         conditional code.
29385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29386         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29387         code unconditional.
29388         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29389         conditional code.
29390         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29391         unconditional.
29392         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29393         conditional code.
29394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29395         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29396         code unconditional.
29397         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29398         conditional code.
29399         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29400         unconditional.
29401         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29402         conditional code.
29403
29404 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29405
29406         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29407         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29408         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29409         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29410         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29411         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29412         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29413         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29414         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29415         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29416         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29417         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29418         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29419         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29420         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29421         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29422         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29423         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29424         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29426         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29427         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29428         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29429
29430 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29431
29432         * Versions.def: Add GLIBC_2.17.
29433         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29434         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29435         Introduce __libc_secure_getenv.
29436         * stdlib/Versions (2.17): Add secure_getenv
29437         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29438         * stdlib/secure-getenv.c: Rename __secure_getenv to
29439         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29440         symbol __secure_getenv for GLIBC_2.0.
29441         * stdlib/tst-secure-getenv.c: New.
29442         * stdlib/Makefile (tests): Add testcase.
29443         * manual/startup.texi (Environment Access): Document
29444         secure_getenv.
29445         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29446         __libc_secure_getenv.
29447         * inet/ruserpass.c (ruserpass): Likewise.
29448         * malloc/mtrace.c (mtrace): Likewise.
29449         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29450         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29451         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29452         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29453         HAVE_SECURE_GETENV.
29454         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29455         __secure_getenv to __libc_secure_getenv.
29456         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29458         Likewise.
29459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29460         Likewise.
29461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29463         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29468
29469 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29470
29471         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29472         (struct La_i86_retval): Likewise.
29473         (struct La_x86_64_regs): Likewise.
29474         (struct La_x86_64_retval): Likewise.
29475         (struct La_x32_regs): Likewise.
29476         (struct La_x32_retval): Likewise.
29477         (struct La_ppc32_regs): Likewise.
29478         (struct La_ppc32_retval): Likewise.
29479         (struct La_ppc64_regs): Likewise.
29480         (struct La_ppc64_retval): Likewise.
29481         (struct La_sh_regs): Likewise.
29482         (struct La_sh_retval): Likewise.
29483         (struct La_s390_32_regs): Likewise.
29484         (struct La_s390_32_retval): Likewise.
29485         (struct La_s390_64_regs): Likewise.
29486         (struct La_s390_64_retval): Likewise.
29487         (struct La_sparc32_regs): Likewise.
29488         (struct La_sparc32_retval): Likewise.
29489         (struct La_sparc64_regs): Likewise.
29490         (struct La_sparc64_retval): Likewise.
29491         (struct audit_ifaces): Remove architecture-specific pltenter and
29492         pltexit members.
29493         * sysdeps/i386/ldsodefs.h: New file.
29494         * sysdeps/powerpc/ldsodefs.h: Likewise.
29495         * sysdeps/s390/ldsodefs.h: Likewise.
29496         * sysdeps/sh/ldsodefs.h: Likewise.
29497         * sysdeps/sparc/ldsodefs.h: Likewise.
29498         * sysdeps/x86_64/ldsodefs.h: Likewise.
29499
29500 2012-07-25  Marek Polacek  <polacek@redhat.com>
29501
29502         [BZ #6808]
29503         * math/libm-test.inc (yn_test): Add another test.
29504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29505         to ERANGE when the result is +-Inf.
29506         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29507         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29508         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29509         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29510
29511 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29512
29513         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29514         equal to 0.
29515         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29516         clock_t.
29517         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29518
29519 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29520
29521         * configure.in <sysdeps resolving>: Correct printing
29522         Implies_before.
29523         * configure: Regenerate.
29524
29525 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29526
29527         * math/w_ilogb.c: Include <limits.h>.
29528         * math/w_ilogbl.c: Likewise.
29529
29530 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29531
29532         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29533         va_copy.  Document allowing for unavailable va_copy only as
29534         pre-C99 compatibility.
29535         * manual/string.texi (Copying and Concatenation): Use va_copy
29536         instead of __va_copy in concat example.
29537
29538 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29539
29540         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29541         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29542         it if not null.
29543
29544         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29545         with O_NOLINK passed to __file_name_lookup.
29546
29547         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29548         with O_NOLINK passed to __file_name_lookup.
29549
29550         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29551         negative N or less than NGIDS.
29552
29553         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29554         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29555         enough.  Use memcpy instead of strncpy.
29556
29557 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29558
29559         * elf/Makefile (check-data): Remove.
29560         (localplt.data): New vpath directive.
29561         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29562         instead of $(check-data).
29563         * scripts/data/localplt-generic.data: Move to ...
29564         * sysdeps/generic/localplt.data: ... here.
29565         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29566         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29567         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29569         ... here.
29570         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29572         ... here.
29573         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29575         ... here.
29576         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29578         ... here.
29579         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29581         ... here.
29582         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29584         ... here.
29585
29586 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29587
29588         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29589         PPC32 and PPC64 files.
29590         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29591         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29592
29593 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29594
29595         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29596         __makecontext_ret to ...
29597         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29598         ... here and call exit if uc_link is NULL.  New file.
29599         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29600         __makecontext_ret.S.
29601         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29602         __makecontext_ret to ...
29603         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29604         ... here and call exit if uc_link is NULL.  New file.
29605         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29606         __makecontext_ret.S.
29607
29608 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29609
29610         * elf/elf.h (R_390_IRELATIVE): New definition.
29611         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29612         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29613         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29614         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29615         (elf_machine_lazy_rel): Likewise.
29616         * sysdeps/s390/dl-irel.h: New file.
29617         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29618         * sysdeps/s390/s390-64/memset.S: New asm code.
29619         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29620         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29621         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29622         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29623         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29624         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29625         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29626         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29627         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29628         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29629         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29630         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29631         * sysdeps/s390/s390-32/memset.S: New asm code.
29632         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29633
29634 2012-07-17  Marek Polacek  <polacek@redhat.com>
29635
29636         [BZ #14349]
29637         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29638         * sysdeps/s390/s390-64/configure.in: Likewise.
29639         * sysdeps/sparc/configure.in: Likewise.
29640         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29641         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29642         * sysdeps/i386/configure.in: Likewise.
29643         * sysdeps/x86_64/configure.in: Likewise.
29644         * sysdeps/sh/configure.in: Likewise.
29645         * sysdeps/s390/s390-32/configure: Regenerated.
29646         * sysdeps/s390/s390-64/configure: Likewise.
29647         * sysdeps/x86_64/configure: Likewise.
29648         * sysdeps/sh/configure: Likewise.
29649         * sysdeps/powerpc/powerpc64/configure: Likewise.
29650         * sysdeps/powerpc/powerpc32/configure: Likewise.
29651         * sysdeps/sparc/configure: Likwise.
29652         * sysdeps/i386/configure: Likewise.
29653
29654         * elf/dl-open.c: Comment fixes.
29655
29656 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29657
29658         * Makefile [CXX] (check-data): Remove.
29659         [CXX] (c++-types.data): New vpath directive.
29660         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29661         vpath.  Do not allow for C++ type data being missing.
29662         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29663         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29664         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29665         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29666         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29667         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29668         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29670         ... here.
29671         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29673         ... here.
29674         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29676         ... here.
29677         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29679         ... here.
29680         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29682         ... here.
29683         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29685         ... here.
29686         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29688         ... here.
29689         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29691
29692         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29693         definitions to architecture-specific files.
29694         (TLS_IE): Likewise.
29695         (TLS_LD): Likewise.
29696         (TLS_GD): Likewise.
29697         * sysdeps/i386/tls-macros.h: New file.
29698         * sysdeps/powerpc/tls-macros.h: Likewise.
29699         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29700         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29701         * sysdeps/sh/tls-macros.h: Likewise.
29702         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29703         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29704         * sysdeps/x86_64/tls-macros.h: Likewise.
29705
29706 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29707
29708         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29709         zero value for regular exit case.
29710
29711         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29712         (__start_context): Preserve zero value for regular exit case.
29713
29714 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29715             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29716
29717         * manual/setjmp.texi (setcontext): Clarify normal process
29718         termination when uc_link is the null pointer.
29719         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29720         exit call.
29721
29722 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29723
29724         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29725         preprocessor.  Test for each exception mask separately.
29726
29727 2012-07-16  Andreas Jaeger  <aj@suse.de>
29728
29729         * po/ru.po: Update from translation team.
29730
29731 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29732
29733         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29734         equal to 0.
29735         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29736         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29737         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29738         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29740
29741 2012-07-13  Andreas Jaeger  <aj@suse.de>
29742
29743         * po/fr.po: Update from translation team.
29744
29745 2012-07-12  Marek Polacek  <polacek@redhat.com>
29746
29747         [BZ #14173]
29748         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29749         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29750         loop condition.
29751
29752 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29753
29754         [BZ #13717]
29755         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29756         Change to 2.4.1 where previously 2.4.0.
29757         * sysdeps/unix/sysv/linux/configure: Regenerated.
29758         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29759         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29760         version.
29761         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29762         (__ASSUME_AT_CLKTCK): Remove.
29763         (__ASSUME_AT_PAGESIZE): Likewise.
29764         (__ASSUME_AT_XID): Likewise.
29765         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29766         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29767         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29768         unconditionally.
29769         (HAVE_AUX_PAGESIZE): Likewise.
29770         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29771         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29772         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29773
29774 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29775
29776         [BZ #14307]
29777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29778         the temporary buffer used to invoke __gethostbyname2_r,
29779         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29780         host_data / struct gaih_addrtuple.
29781         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29782         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29783         header file nss/nsswitch.h.
29784         * nss/nsswitch.h (global scope): Add definition of implementation
29785         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29786         resolv/nss_dns/dns-host.c).
29787
29788 2012-07-11  Andreas Jaeger  <aj@suse.de>
29789
29790         * po/fr.po: Update from translation team.
29791
29792         * po/sv.po: Update from translation team
29793         * po/fr.po: Another update from translation team.
29794
29795 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29796
29797         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29798         for subnormals or multiply small sinh result by itself.
29799         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29801
29802 2012-07-11  David S. Miller  <davem@davemloft.net>
29803
29804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29805
29806 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29807
29808         [BZ #14347]
29809         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29810         (INTERNAL_MARK): Shift it here.
29811
29812 2012-07-10  Marek Polacek  <polacek@redhat.com>
29813
29814         [BZ #14151]
29815         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29816         libc_cv_asm_global_directive with .globl.
29817         * configure: Regenerated.
29818         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29819         with .globl.
29820         * sysdeps/i386/configure: Regenerated.
29821         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29822         with .globl.
29823         * sysdeps/x86_64/configure: Regenerated.
29824         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29825         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29826         * elf/tst-unique2mod2.c: Likewise.
29827         * elf/tst-unique2mod1.c: Likewise.
29828         * elf/tst-unique1mod2.c: Likewise.
29829         * elf/tst-unique1mod1.c: Likewise.
29830         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29831         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29832         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29833         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29834         * sysdeps/mach/sysdep.h: Likewise.
29835         * sysdeps/i386/sysdep.h: Likewise.
29836         * sysdeps/i386/i386-mcount.S: Likewise.
29837         * sysdeps/x86_64/_mcount.S: Likewise.
29838         * sysdeps/x86_64/sysdep.h: Likewise.
29839         * sysdeps/sh/_mcount.S: Likewise.
29840         * sysdeps/sh/sysdep.h: Likewise.
29841         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29842         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29843         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29844         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29845         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29846         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29847         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29848         * locale/localeinfo.h: Likewise.
29849         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29850         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29851
29852 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29853
29854         [BZ #14336]
29855         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29856         system".
29857         * manual/message.texi (The Uniforum approach): Likewise.
29858         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29859         (glibc iconv Implementation): Likewise.
29860
29861 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29862
29863         [BZ #14337]
29864         * math/s_clog.c (__clog): Avoid scaling a value down where that
29865         could result in underflow.
29866         * math/s_clog10.c (__clog10): Likewise.
29867         * math/s_clog10f.c (__clog10f): Likewise.
29868         * math/s_clog10l.c (__clog10l): Likewise.
29869         * math/s_clogf.c (__clogf): Likewise.
29870         * math/s_clogl.c (__clogl): Likewise.
29871         * math/libm-test.inc (clog_test): Add more tests.
29872         (clog10_test): Likewise.
29873         * sysdeps/i386/fpu/libm-test-ulps: Update.
29874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29875
29876 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29877
29878         [BZ #14283]
29879         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29880         by 7 not 8 to examine high bit of fractional part.
29881
29882         [BZ #14042]
29883         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29884         for call to __mcount_internal.
29885         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29886         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29887         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29888
29889 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29890
29891         [BZ #14154]
29892         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29893         approximation for values within 0x1p-13f of an odd multiple of
29894         pi/4.
29895         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29896         exception.  Add more tests.
29897         * sysdeps/i386/fpu/libm-test-ulps: Update.
29898
29899         [BZ #6778]
29900         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29901         inputs and return -1 for them.  Do not check for +Inf in case not
29902         reachable for +Inf.
29903         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29904         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29909         define.
29910         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29911         and return -1 for them.  Do not check for +Inf in case not
29912         reachable for +Inf.
29913         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29914         spurious underflow.
29915         * sysdeps/i386/fpu/libm-test-ulps: Update.
29916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29917
29918 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29919
29920         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29921
29922 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29923
29924         [BZ #14157]
29925         [BZ #14331]
29926         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29927         could result in spurious underflow.  Scale down values above
29928         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29929         * math/s_csqrtf.c (__csqrtf): Likewise.
29930         * math/s_csqrtl.c (__csqrtl): Likewise.
29931         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29932         spurious underflow.
29933         * sysdeps/i386/fpu/libm-test-ulps: Update.
29934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29935
29936 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29937
29938         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29939         xopen-msg.sed.
29940         * catgets/xopen-msg.awk: New file.
29941         * catgets/xopen-msg.sed: Removed.
29942
29943         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29944         po2text.sed.
29945         * intl/po2test.awk: New file.
29946         * intl/po2test.sed: Removed.
29947
29948 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29949
29950         [BZ #14328]
29951         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29952         or multiply small sinh result by itself.
29953         * math/s_ctanf.c (__ctanf): Likewise.
29954         * math/s_ctanh.c (__ctanh): Likewise.
29955         * math/s_ctanhf.c (__ctanhf): Likewise.
29956         * math/s_ctanhl.c (__ctanhl): Likewise.
29957         * math/s_ctanl.c (__ctanl): Likewise.
29958         * math/libm-test.inc (ctan_test_tonearest): New function.
29959         (ctan_test_towardzero): Likewise.
29960         (ctan_test_downward): Likewise.
29961         (ctan_test_upward): Likewise.
29962         (ctanh_test_tonearest): Likewise.
29963         (ctanh_test_towardzero): Likewise.
29964         (ctanh_test_downward): Likewise.
29965         (ctanh_test_upward): Likewise.
29966         (main): Call these new functions.
29967         * sysdeps/i386/fpu/libm-test-ulps: Update.
29968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29969
29970 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29971
29972         * .gitignore: Delete /ports entry.
29973
29974 2012-07-03  Andreas Jaeger  <aj@suse.de>
29975
29976         * po/bg.po: Update from translation team.
29977         * po/cs.po: Likewise.
29978         * po/de.po: Likewise.
29979         * po/hr.po: Likewise.
29980         * po/nl.pl: Likewise.
29981         * po/pl.po: Likewise.
29982         * po/vi.po: Likewise.
29983
29984 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29985
29986         * Makeconfig [!+link] (+link-before-libc): New variable.
29987         [!+link] (+link-after-libc): Likewise.
29988         [!+link] (+link-tests): Likewise.
29989         [!+link] (+link): Define in terms of $(+link-before-libc) and
29990         $(+link-after-libc).
29991         [!+link-static] (+link-static-before-libc): New variable.
29992         [!+link-static] (+link-static-after-libc): Likewise.
29993         [!+link-static] (+link-static-tests): Likewise.
29994         [!+link-static] (+link-static): Define in terms of
29995         $(+link-static-before-libc) and $(+link-static-after-libc).
29996         [build-shared] (link-libc-before-gnulib): New variable.
29997         [build-shared] (link-libc-tests): Likewise.
29998         [build-shared] (link-libc): Define in terms of
29999         $(link-libc-before-gnulib).
30000         [!build-shared] (link-libc-tests): New variable.
30001         (link-libc-static-tests): New variable.
30002         [!gnulib] (gnulib-arch): New variable.
30003         [!gnulib] (gnulib-tests): Likewise.
30004         [!gnulib] (static-gnulib-arch): Likewise.
30005         [!gnulib] (static-gnulib-tests): Likewise.
30006         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30007         Define with "=" instead of ":=".
30008         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30009         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30010         * Rules (binaries-all-notests): New variable.
30011         (binaries-all-tests): Likewise.
30012         (binaries-static-notests): Likewise.
30013         (binaries-static-tests): Likewise.
30014         (binaries-all): Define using $(binaries-all-notests) and
30015         $(binaries-all-tests).
30016         (binaries-static): Define using $(binaries-static-notests) and
30017         $(binaries-static-tests).
30018         (binaries-shared-tests): New variable.
30019         (binaries-shared-notests): Likewise.
30020         (binaries-shared): Remove variable.
30021         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30022         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30023         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30024         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30025         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30026         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30027         * elf/Makefile (sln-modules): New variable.
30028         (extra-objs): Add $(sln-modules:=.o).
30029         (ldconfig-modules): Add static-stubs.
30030         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30031         * elf/static-stubs.c: New file.
30032
30033         [BZ #14283]
30034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30035         by 7 not 8 to examine high bit of fractional part.  Use volatile
30036         variables when splitting into final array of floats if
30037         __FLT_EVAL_METHOD__ != 0.
30038         * math/libm-test.inc (cos_test): Add another test.
30039         (sin_test): Likewise.
30040         * sysdeps/i386/fpu/libm-test-ulps: Update.
30041
30042         [BZ #14273]
30043         * math/libm-test.inc (cosh_test): Add more tests.
30044
30045         * version.h (RELEASE): Set to "development".
30046         (VERSION): Set to "2.16.90".
30047
30048 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30049
30050         * NEWS: Update copyright. Remove last-updated date.
30051         Mention math library bug fixes and timezone data changes.
30052         * README: Mention GNU/Hurd, x32, and HPPA support status.
30053
30054 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30055
30056         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30057
30058 2012-06-27  Andreas Jaeger  <aj@suse.de>
30059
30060         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30061
30062 2012-06-25  Andreas Jaeger  <aj@suse.de>
30063
30064         * sysdeps/s390/fpu/libm-test-ulps: Update.
30065
30066 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30067             Thomas Schwinge  <thomas@codesourcery.com>
30068
30069         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30070         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30071         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30072         fanotify_mark.
30073
30074 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30075
30076         * sysdeps/mach/start.c: Remove file.
30077         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30078         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30079         * sysdeps/sh/init-first.c: Likewise.
30080
30081         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30082         registers for frame unwinding purposes, add CFI directives.
30083         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30085         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30086         Likewise.
30087
30088         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30089         __fortify_fail returning.
30090         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30091
30092         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30093         sysdeps/sh/____longjmp_chk.S.
30094         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30095         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30096         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30097         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30098
30099         * sysdeps/sh/abort-instr.h: New file.
30100         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30101         process in case exit returns.
30102
30103         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30104         initialize the GOT register before use.
30105
30106         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30107         calculation of ARGC > 4.
30108
30109         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30110         meaningful names to some local labels.
30111
30112 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30113             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30114
30115         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30116         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30117         (__arch_compare_and_exchange_val_16_acq): Likewise.
30118         (__arch_compare_and_exchange_val_32_acq): Likewise.
30119         (atomic_exchange_and_add): Fix gUSA sequence.
30120         (atomic_add): Likewise.
30121         (atomic_add_negative): Likewise.
30122         (atomic_add_zero): Likewise.
30123         (atomic_bit_test_set): Likewise.
30124
30125 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30126
30127         [BZ #13579]
30128         * include/link.h (struct link_map): Add l_free_initfini.
30129         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30130         l_initfini.
30131         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30132         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30133         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30134         set.
30135
30136 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30137
30138         * configure.in: Use AC_LANG_SOURCE.
30139         * configure: Regenerate.
30140
30141 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30142
30143         * configure.in (libc_cv_localstatedir): New substituted variable.
30144         * configure: Regenerated.
30145         * config.make.in (localstatedir): New variable, substituted from
30146         libc_cv_localstatedir.
30147         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30148         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30149         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30150         * sysdeps/gnu/configure: Regenerated.
30151
30152 2012-06-21  Jeff Law  <law@redhat.com>
30153
30154         [BZ #14277]
30155         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30156         free.  Simplify list management for _LIBC case.
30157
30158 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30159
30160         [BZ #14273]
30161         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30162         Clear sign bit of 64-bit integer value before comparing against
30163         overflow value.
30164
30165         * sysdeps/mach/configure: Regenerated.
30166
30167 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30168
30169         [BZ #14278]
30170         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30171
30172 2012-06-21  Jeff Law  <law@redhat.com>
30173
30174         [BZ #13882]
30175         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30176         uint16_t for elements in the "seen" array to avoid char overflows.
30177         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30178         * elf/dl-open.c (dl_open_worker): Likewise.
30179
30180 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30181
30182         * scripts/list-sources.sh: Scan PORTS for translations.
30183         * po/libc.pot: Regenerated.
30184
30185 2012-06-21  Andreas Jaeger  <aj@suse.de>
30186
30187         [BZ #12194]
30188         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30189         warning.
30190         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30191         * bits/byteswap-16.h (__bswap_16): Likewise.
30192         * bits/byteswap.h (__bswap_constant_16): Likewise.
30193
30194 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30195
30196         [BZ #14117]
30197         * sysdeps/i386/fpu_control.h: Removed.
30198         * sysdeps/x86_64/fpu_control.h: Moved to ...
30199         * sysdeps/x86/fpu_control.h: Here.
30200
30201         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30202         (_FPU_SETCW): Likewise.
30203
30204 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30205
30206         [BZ #14117]
30207         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30208         * sysdeps/x86/fpu/bits/mathinline.h: This.
30209         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30210
30211         [BZ #14050]
30212         [BZ #14117]
30213         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30214         functions if __x86_64__ is defined.
30215
30216 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30217
30218         * string/endian.h: Add !__ASSEMBLER__ condition for including
30219         conversion interfaces.
30220
30221 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30222
30223         [BZ #14241]
30224         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30225         of ABS(x) in calculating zero to negative powers other than odd
30226         integers.
30227         * math/libm-test.inc (pow_test): Add more tests.
30228
30229 2012-06-15  Andreas Jaeger  <aj@suse.de>
30230
30231         * manual/contrib.texi (Contributors): Update entry of Liubov
30232         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30233         Machado Filho.
30234
30235 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30236
30237         * string/string.h: Add __wur to GNU version of strerror_r.
30238
30239 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30240
30241         [BZ #14229]
30242         * string/Makefile (tests): Add tst-strtok_r.
30243         * string/tst-strtok_r.c: New file.
30244         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30245         RAX_LP/RDX_LP on SAVE_PTR.
30246
30247 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30248
30249         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30250
30251 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30252
30253         * libm_test.inc (csqrt_test): Allow more spurious underflow
30254         exceptions.
30255         (j0_test): Likewise.
30256         (j1_test): Likewise.
30257         (y0_test): Likewise.
30258         (y1_test): Likewise.
30259
30260 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30261
30262         * po/Makefile (libc.pot): Use UTF-8 charset.
30263
30264 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30265
30266         [BZ #14210]
30267         Suppress sign-conversion warning from FD_SET.
30268         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30269         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30270         not unsigned long int.
30271         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30272
30273 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30274
30275         [BZ #14050]
30276         [BZ #14117]
30277         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30278         __extern_always_inline instead of __extern_inline.
30279         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30280         (__signbit): Likewise.
30281         (__signbitl): Support C++ namespace.
30282         (lrintf): New inline function.
30283         (lrint): Likewise.
30284         (llrintf): Likewise.
30285         (llrint): Likewise.
30286         (fmaxf): Likewise.
30287         (fmax): Likewise.
30288         (fminf): Likewise.
30289         (fmin): Likewise.
30290         (rint): Likewise.
30291         (rintf): Likewise.
30292         (ceil): Likewise.
30293         (ceilf): Likewise.
30294         (floor): Likewise.
30295         (floorf): Likewise.
30296         (nearbyint): Likewise.
30297         (nearbyintf): Likewise.
30298
30299 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30300
30301         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30302         non-default versions.
30303
30304 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30305
30306         [BZ #14218]
30307         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30308
30309 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30310
30311         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30312         (FE_UPWARD, FE_DOWNWARD): Don't define.
30313         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30314         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30315
30316         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30317         reading it.
30318         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30319         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30320
30321 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30322
30323         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30324         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30325         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30326         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30327
30328 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30329
30330         [BZ #14117]
30331         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30332         * sysdeps/i386/fpu/Implies: New file.
30333         * sysdeps/x86_64/fpu/Implies: Likewise.
30334         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30335         * sysdeps/x86/fpu/bits/fenv.h: This.
30336
30337         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30338         __SSE_MATH__.
30339
30340 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30341
30342         [BZ #14134]
30343         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30344         character 0xffff that matches the last element of the
30345         conversion table.
30346
30347 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30348
30349         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30350         fmodl commit.
30351
30352 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30353
30354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30355         values higher than 25.6283.
30356
30357 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30358
30359         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30360         subnormal exponent extraction and add some __builtin_expect.
30361         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30362         Fix for subnormal mantissa calculation.
30363
30364 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30365
30366         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30367         cpu2 is -1 and errno is not ENOSYS.
30368
30369 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30370
30371         [BZ #14117]
30372         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30373         * sysdeps/x86/bits/string.h: This.
30374         * sysdeps/x86_64/bits/string.h: Removed.
30375
30376         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30377         if not compiling for x86-64, but compiling for >= i486.
30378
30379         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30380         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30381
30382         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30383         New macro from Linux kernel 3.4.0.
30384         (FP_XSTATE_MAGIC2): Likewise.
30385         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30386         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30387         (struct _fpx_sw_bytes): New struct.
30388         (struct _xsave_hdr): Likewise.
30389         (struct _ymmh_state): Likewise.
30390         (struct _xstate): Likewise.
30391
30392         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30393         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30394         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30395         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30396         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30397         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30398
30399         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30400         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30401         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30402         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30403         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30404         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30405
30406 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30407
30408         [BZ #13743]
30409         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30410         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30411         (sysdep_headers): Include sys/platform/ppc.h.
30412         * sysdeps/powerpc/test-gettimebase.c: Test for
30413         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30414         * manual/Makefile (appendices): Include platform.texi.
30415         * manual/contrib.texi (Contributors): Update @node pointers.
30416         * manual/maint.texi (Maintenance): Likewise.
30417         (Platform): New node.
30418         * manual/platform.texi: New file.  Document the new features.
30419
30420 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30421             Jakub Jelinek  <jakub@redhat.com>
30422
30423         [BZ #14188]
30424         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30425         where __builtin_expect is unavailable.
30426
30427 2012-06-03  David S. Miller  <davem@davemloft.net>
30428
30429         * stdlib/longlong.h: Updated from GCC.
30430
30431 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30432
30433         [BZ #14042]
30434         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30435         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30436         __mcount_internal.
30437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30438         (GLIBC_2.16): Likewise.
30439
30440 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30441
30442         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30443
30444 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30445
30446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30447         (default-abi): New variable.
30448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30449         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30450         variable.
30451         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30452         Likewise.
30453         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30454         Likewise.
30455         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30456         Likewise.
30457
30458         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30459         definition.  Document in comment.
30460
30461 2012-06-01  David S. Miller  <davem@davemloft.net>
30462
30463         * stdlib/longlong.h: Updated from GCC.
30464
30465 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30466
30467         [BZ #14117]
30468         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30469         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30470         sys/debugreg.h sys/io.h here.
30471         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30472         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30473         sys/io.h.
30474         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30475         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30476         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30477         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30478         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30479         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30480
30481         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30482         Define only if __x86_64__ is defined.
30483
30484 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30485
30486         [BZ #14048]
30487         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30488         Use int64_t for variable i.
30489         * math/libm-test.inc (fmod_test): Add more tests.
30490
30491         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30492         z computation is not scheduled after fetestexcept.
30493         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30494         Use math_force_eval instead of asm to ensure calculation scheduled
30495         before exception test.
30496         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30497         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30498
30499 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30500
30501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30502         computation is not scheduled after fetestexcept.
30503
30504 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30505
30506         [BZ #14117]
30507         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30508         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30509
30510 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30511
30512         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30513         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30514
30515 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30516
30517         [BZ #14117]
30518         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30519         <bits/wordsize.h>.
30520         (__WCHAR_MIN): Support __WORDSIZE == 64.
30521         (__WCHAR_MAX): Likewise.
30522
30523         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30524         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30525
30526         [BZ #14183]
30527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30528         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30529
30530         [BZ #14117]
30531         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30532         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30533
30534         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30535         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30536
30537         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30538         Defined to 1 if __x86_64__ isn't defined.
30539         (_STAT_VER_LINUX_OLD): New.
30540         (st_atime): Remove duplicate.
30541         (st_mtime): Likewise.
30542         (st_ctime): Likewise.
30543
30544 2012-05-31  David S. Miller  <davem@davemloft.net>
30545
30546         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30547         entries.
30548
30549 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30550
30551         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30552         gen-libm-test.pl.
30553
30554         [BZ #14132]
30555         * elf/dl-reloc.c: Include <_itoa.h>.
30556         (_dl_reloc_bad_type): Remove use of INTUSE.
30557         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30558         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30559         * stdio-common/psiginfo.c (psiginfo): Likewise.
30560         * stdio-common/psignal.c (psignal): Likewise.
30561         * string/strsignal.c (strsignal): Likewise.
30562         * include/signal.h (_sys_siglist): Declare hidden proto.
30563         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30564         INTVARDEF with libc_hidden_data_def.
30565         * stdio-common/itoa-udigits.c: Likewise.
30566         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30567         (_itoa_lower_digits_internal): Remove declaration.
30568         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30569         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30570         (_sys_sigabbrev_internal): Remove aliases.
30571         (_sys_siglist): Define hidden alias.
30572
30573 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30574
30575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30576         bits/sysctl.h.
30577
30578 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30579
30580         [BZ #14117]
30581         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30582         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30583
30584         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30585         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30586         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30587         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30588         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30589         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30590
30591         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30592         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30593         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30594
30595         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30596         with __addr.
30597         (insw): Likewise.
30598         (insl): Likewise.
30599         (outsb): Likewise.
30600         (outsw): Likewise.
30601         (outsl): Likewise.
30602
30603         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30604         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30605         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30606
30607         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30608         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30609         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30610         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30611         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30612         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30613
30614         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30615         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30616
30617         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30618         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30619
30620         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30621         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30622         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30623
30624         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30625         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30626         to ...
30627         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30628
30629         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30630         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30631         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30632
30633         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30634         for x86-64.
30635         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30636
30637 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30638
30639         * math/math.h (M_El): Use two more decimal places.
30640         (M_LOG2El): Likewise.
30641         (M_LOG10El): Likewise.
30642         (M_LN2l): Likewise.
30643         (M_LN10l): Likewise.
30644         (M_PIl): Likewise.
30645         (M_PI_2l): Likewise.
30646         (M_PI_4l): Likewise.
30647         (M_1_PIl): Likewise.
30648         (M_2_PIl): Likewise.
30649         (M_2_SQRTPIl): Likewise.
30650         (M_SQRT2l): Likewise.
30651         (M_SQRT1_2l): Likewise.
30652
30653 2012-05-31  David S. Miller  <davem@davemloft.net>
30654
30655         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30656         values between float registers.
30657         * sysdeps/sparc/sparc64/memset.S: Likewise.
30658         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30659
30660 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30661
30662         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30663         -D_FORTIFY_SOURCE=1.
30664         (CPPFLAGS-tst-longjmp_chk.c): Define.
30665         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30666         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30667         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30668         CFLAGS-tst-wchar-h.c.
30669
30670 2012-05-31  Marek Polacek  <polacek@redhat.com>
30671
30672         [BZ #14132]
30673         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30674         __endmntent_internal): Remove declaration.
30675         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30676         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30677         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30678
30679 2012-05-30  David S. Miller  <davem@davemloft.net>
30680
30681         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30682         (___Q_simulate_exceptions): Use real FP ops rather than writing
30683         into the %fsr.
30684         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30685         Likewise.
30686
30687 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30688
30689         [BZ #14117]
30690         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30691         * sysdeps/x86/bits/xtitypes.h: This.
30692
30693         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30694         * sysdeps/x86/bits/wordsize.h: This.
30695
30696         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30697         * sysdeps/x86/bits/huge_vall.h: This.
30698
30699         * sysdeps/i386/bits/select.h: Removed.
30700         * sysdeps/x86_64/bits/select.h: Renamed to ...
30701         * sysdeps/x86/bits/select.h: This.
30702
30703         * sysdeps/i386/bits/setjmp.h: Removed.
30704         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30705         * sysdeps/x86/bits/setjmp.h: This.
30706
30707         * sysdeps/i386/bits/mathdef.h: Removed.
30708         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30709         * sysdeps/x86/bits/mathdef.h: This.
30710
30711 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30712
30713         [BZ #14132]
30714         * include/sys/socket.h (__connect_internal)
30715         (__libc_sa_len_internal): Remove declaration.
30716         (__connect, __libc_sa_len): Declare hidden_proto.
30717         (SA_LEN): Remove use of INTUSE.
30718         * socket/connect.c: Add libc_hidden_def.
30719         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30720         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30721         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30722         alias.
30723         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30724         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30725         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30726         of adding _internal alias.
30727
30728 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30729
30730         [BZ #14117]
30731         * sysdeps/i386/bits/link.h: Removed.
30732         * sysdeps/i386/bits/linkmap.h: Likewise.
30733         * sysdeps/x86_64/bits/link.h: Renamed to ...
30734         * sysdeps/x86/bits/link.h: This.
30735         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30736         * sysdeps/x86/bits/linkmap.h: This.
30737
30738         * sysdeps/i386/bits/endian.h: Removed.
30739         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30740         * sysdeps/x86/bits/endian.h: This.
30741
30742         * sysdeps/i386/bits/byteswap.h: Removed.
30743         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30744         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30745         * sysdeps/x86/bits/byteswap.h: This.
30746         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30747         * sysdeps/x86/bits/byteswap-16.h: This.
30748         * sysdeps/i386/Implies: Add x86.
30749         * sysdeps/x86_64/Implies: Likewise.
30750
30751 2012-05-30  David S. Miller  <davem@davemloft.net>
30752
30753         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30754         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30755         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30756         (FP_TRAPPING_EXCEPTIONS): Define.
30757         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30758         (FP_TRAPPING_EXCEPTIONS): Define.
30759         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30760         subnormals only when inexact has been signalled or underflow
30761         exceptions are enabled.
30762         (_FP_PACK_CANONICAL): Likewise.
30763
30764 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30765
30766         [BZ #14183]
30767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30768         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30769
30770 2012-05-30  Richard Henderson  <rth@twiddle.net>
30771
30772         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30773         with #ifndef NOT_IN_libc.
30774
30775         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30776         marked to avoid plt entry.
30777
30778 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30779
30780         [BZ #14112]
30781         * Makeconfig (default-abi): New macro.
30782         (abi-includes): Likewise.
30783         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30784         $(abi-$(default-abi)-lib-soname) for soname if defined.
30785         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30786         abi-variants.
30787         * Makefile (installed-stubs): Likewise.
30788         * include/stubs-biarch.h: Removed.
30789         * scripts/lib-names.awk: Only handle one library at a time.
30790         * scripts/soversions.awk: Remove WORDSIZE support.
30791         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30792         entries.
30793         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30794         Removed.
30795         (syscall-list-default-condition): Likewise.
30796         (syscall-list-default-condition): Likewise.
30797         (syscall-list-includes): Likewise.
30798         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30799         syscall-list-* with abi-*.  Handle undefined abi-variants.
30800         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30801         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30802         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30803         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30804         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30805         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30806         Removed.
30807         (syscall-list-32-options): Likewise.
30808         (syscall-list-32-condition): Likewise.
30809         (syscall-list-64-options): Likewise.
30810         (syscall-list-64-condition): Likewise.
30811         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30812         macro.
30813         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30814         Renamed to ...
30815         (abi-*): This.
30816         (abi-64-ld-soname): New macro.
30817         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30818         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30819         Renamed to ...
30820         (abi-*): This.
30821         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30822         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30823
30824 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30825
30826         * sysdeps/unix/sysv/linux/kernel-features.h
30827         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30828         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30829         include <kernel-features.h>.
30830         [!__NR_ftruncate64]: Remove conditional code.
30831         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30832         [__NR_ftruncate64]: Make code unconditional.
30833         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30834         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30835         include <kernel-features.h>.
30836         [!__NR_ftruncate64]: Remove conditional code.
30837         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30838         [__NR_ftruncate64]: Make code unconditional.
30839         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30841         include <kernel-features.h>.
30842         [!__NR_ftruncate64]: Remove conditional code.
30843         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30844         [__NR_ftruncate64]: Make code unconditional.
30845         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30847         include <kernel-features.h>.
30848         [!__NR_ftruncate64]: Remove conditional code.
30849         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30850         [__NR_ftruncate64]: Make code unconditional.
30851         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30852
30853         * configure.in (libc_cv_fpie): Weaken to a compile test using
30854         LIBC_TRY_CC_OPTION.
30855         * configure: Regenerated.
30856
30857 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30858
30859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30863         Refreshed.
30864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30870         Refreshed.
30871
30872 2012-05-27  David S. Miller  <davem@davemloft.net>
30873
30874         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30875         (___Q_zero): New.
30876         (__Q_simulate_exceptions): Return void.  Change to simulate
30877         exceptions by writing into the %fsr.
30878         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30879         (__Qp_handle_exceptions): Likewise.
30880         (numbers): Delete.
30881         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30882         __Qp_handle_exceptions.
30883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30884         __Qp_handle_exceptions.
30885         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30886         as unused and give dummy FP_RND_NEAREST initializer.
30887         (FP_INHIBIT_RESULTS): Define.
30888         (___Q_simulate_exceptions): Update declaration.
30889         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30890         formatting.
30891         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30892         as unused and give dummy FP_RND_NEAREST initializer.
30893         (__Qp_handle_exceptions): Update declaration.
30894         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30895         formatting.
30896
30897 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30898
30899         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30900         the temporary FPU control word.
30901         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30902         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30903         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30904         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30905         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30906         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30907         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30908         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30909         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30910         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30911         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30912
30913 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30914
30915         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30916         fields.
30917
30918 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30919
30920         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30921         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30922         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30923         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30924         Likewise.
30925         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30926         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30927         Likewise.
30928
30929 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30930
30931         * po/h.po: Update from translation team.
30932
30933 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30934
30935         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30936
30937         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30938         handling of denormals.
30939         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30940         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30941         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30942         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30945         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30946         Likewise.
30947
30948 2012-05-26  Marek Polacek  <polacek@redhat.com>
30949
30950         [BZ #14152]
30951         * math/libm-test.inc (fma_test): Don't always expect underflow
30952         exception.
30953
30954 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30955
30956         [BZ #12416]
30957         * elf/tst-execstack.c: Include stackinfo.h.
30958         (do_test): Adjust test case to ensure that pthread_getattr_np
30959         behaviour remains the same after marking stack executable.
30960
30961 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30962
30963         * sysdeps/unix/sysv/linux/kernel-features.h
30964         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30965         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30966         kernel-features.h.
30967         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30968         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30969         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30970         kernel-features.h.
30971         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30972         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30973
30974 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30975
30976         * configure.in: Define the default includes to being none.
30977         * configure: Regenerated.
30978
30979 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30980
30981         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30982         * sysdeps/x86_64/setjmp.S: Likewise.
30983         * sysdeps/i386/bsd-setjmp.S: Likewise.
30984         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30985         * sysdeps/i386/setjmp.S: Likewise.
30986         * sysdeps/i386/__longjmp.S: Likewise.
30987         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30988         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30989
30990         * include/stap-probe.h: New file.
30991         * configure.in: Handle --enable-systemtap.
30992         * configure: Regenerated.
30993         * config.h.in (USE_STAP_PROBE): New #undef.
30994         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30995         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30996         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30997
30998 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30999
31000         [BZ #13717]
31001         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31002         to 2.4.0 where earlier.
31003         * sysdeps/unix/sysv/linux/configure: Regenerated.
31004         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31005         <kernel-features.h>.
31006         [__ASSUME_32BITUIDS]: Make code unconditional.
31007         [!__ASSUME_32BITUIDS]: Remove conditional code.
31008         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31009         <kernel-features.h>.
31010         [__ASSUME_32BITUIDS]: Make code unconditional.
31011         [!__ASSUME_32BITUIDS]: Remove conditional code.
31012         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31013         [__ASSUME_32BITUIDS]: Make code unconditional.
31014         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31015         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31016         <kernel-features.h>.
31017         [__ASSUME_32BITUIDS]: Make code unconditional.
31018         [!__ASSUME_32BITUIDS]: Remove conditional code.
31019         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31020         <kernel-features.h>.
31021         [__ASSUME_32BITUIDS]: Make code unconditional.
31022         [!__ASSUME_32BITUIDS]: Remove conditional code.
31023         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31024         <kernel-features.h>.
31025         [__ASSUME_32BITUIDS]: Make code unconditional.
31026         [!__ASSUME_32BITUIDS]: Remove conditional code.
31027         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31028         <kernel-features.h>.
31029         [__ASSUME_32BITUIDS]: Make code unconditional.
31030         [!__ASSUME_32BITUIDS]: Remove conditional code.
31031         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31032         <kernel-features.h>.
31033         [__ASSUME_32BITUIDS]: Make code unconditional.
31034         [!__ASSUME_32BITUIDS]: Remove conditional code.
31035         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31036         <kernel-features.h>.
31037         [__ASSUME_32BITUIDS]: Make code unconditional.
31038         [!__ASSUME_32BITUIDS]: Remove conditional code.
31039         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31040         <kernel-features.h>.
31041         [__ASSUME_32BITUIDS]: Make code unconditional.
31042         [!__ASSUME_32BITUIDS]: Remove conditional code.
31043         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31044         <kernel-features.h>.
31045         [__ASSUME_32BITUIDS]: Make code unconditional.
31046         [!__ASSUME_32BITUIDS]: Remove conditional code.
31047         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31048         <kernel-features.h>.
31049         [__ASSUME_32BITUIDS]: Make code unconditional.
31050         [!__ASSUME_32BITUIDS]: Remove conditional code.
31051         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31052         <kernel-features.h>.
31053         [__ASSUME_32BITUIDS]: Make code unconditional.
31054         [!__ASSUME_32BITUIDS]: Remove conditional code.
31055         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31056         <kernel-features.h>.
31057         [__NR_setresgid] (__setresgid): Do not declare.
31058         [__ASSUME_32BITUIDS]: Make code unconditional.
31059         [!__ASSUME_32BITUIDS]: Remove conditional code.
31060         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31061         <kernel-features.h>.
31062         [__NR_setresuid] (__setresuid): Do not declare.
31063         [__ASSUME_32BITUIDS]: Make code unconditional.
31064         [!__ASSUME_32BITUIDS]: Remove conditional code.
31065         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31066         <kernel-features.h>.
31067         [__ASSUME_32BITUIDS]: Make code unconditional.
31068         [!__ASSUME_32BITUIDS]: Remove conditional code.
31069         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31070         <kernel-features.h>.
31071         [__ASSUME_32BITUIDS]: Make code unconditional.
31072         [!__ASSUME_32BITUIDS]: Remove conditional code.
31073         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31074         <kernel-features.h>.
31075         [__ASSUME_32BITUIDS]: Make code unconditional.
31076         [!__ASSUME_32BITUIDS]: Remove conditional code.
31077         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31078         <kernel-features.h>.
31079         [__ASSUME_32BITUIDS]: Make code unconditional.
31080         [!__ASSUME_32BITUIDS]: Remove conditional code.
31081         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31082         <kernel-features.h>.
31083         [__ASSUME_32BITUIDS]: Make code unconditional.
31084         [!__ASSUME_32BITUIDS]: Remove conditional code.
31085         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31086         <kernel-features.h>.
31087         [__ASSUME_32BITUIDS]: Make code unconditional.
31088         [!__ASSUME_32BITUIDS]: Remove conditional code.
31089         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31090         <kernel-features.h>.
31091         [__ASSUME_32BITUIDS]: Make code unconditional.
31092         [!__ASSUME_32BITUIDS]: Remove conditional code.
31093         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31094         <kernel-features.h>.
31095         [__ASSUME_32BITUIDS]: Make code unconditional.
31096         [!__ASSUME_32BITUIDS]: Remove conditional code.
31097         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31098         <kernel-features.h>.
31099         [__ASSUME_32BITUIDS]: Make code unconditional.
31100         [!__ASSUME_32BITUIDS]: Remove conditional code.
31101         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31102         <kernel-features.h>.
31103         [__ASSUME_32BITUIDS]: Make code unconditional.
31104         [!__ASSUME_32BITUIDS]: Remove conditional code.
31105         * sysdeps/unix/sysv/linux/kernel-features.h
31106         (__ASSUME_SETRESUID_SYSCALL): Remove.
31107         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31108         (__ASSUME_32BITUIDS): Likewise.
31109         (__ASSUME_LDT_WORKS): Likewise.
31110         (__ASSUME_O_DIRECTORY): Likewise.
31111         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31112         architecture but not kernel version.
31113         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31114         (__ASSUME_MMAP2_SYSCALL): Likewise.
31115         (__ASSUME_STAT64_SYSCALL): Likewise.
31116         (__ASSUME_IPC64): Likewise.
31117         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31118         <kernel-features.h>.
31119         [__ASSUME_32BITUIDS]: Make code unconditional.
31120         [!__ASSUME_32BITUIDS]: Remove conditional code.
31121         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31122         <kernel-features.h>.
31123         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31124         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31125         132096]: Remove conditional code.
31126         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31127         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31128         <kernel-features.h>.
31129         [__ASSUME_32BITUIDS]: Make code unconditional.
31130         [!__ASSUME_32BITUIDS]: Remove conditional code.
31131         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31132         <kernel-features.h>.
31133         [__ASSUME_32BITUIDS]: Make code unconditional.
31134         [!__ASSUME_32BITUIDS]: Remove conditional code.
31135         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31136         <kernel-features.h>.
31137         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31138         unconditional.
31139         (__setresgid): Do not declare.
31140         [__ASSUME_32BITUIDS]: Make code unconditional.
31141         [!__ASSUME_32BITUIDS]: Remove conditional code.
31142         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31143         <kernel-features.h>.
31144         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31145         unconditional.
31146         (__setresuid): Do not declare.
31147         [__ASSUME_32BITUIDS]: Make code unconditional.
31148         [!__ASSUME_32BITUIDS]: Remove conditional code.
31149         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31150         <kernel-features.h>.
31151         [__ASSUME_32BITUIDS]: Make code unconditional.
31152         [!__ASSUME_32BITUIDS]: Remove conditional code.
31153         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31154         <kernel-features.h>.
31155         [__ASSUME_32BITUIDS]: Make code unconditional.
31156         [!__ASSUME_32BITUIDS]: Remove conditional code.
31157
31158 2012-05-25  Richard Henderson  <rth@twiddle.net>
31159
31160         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31161         dl_hwcap to ifunc resolver.
31162         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31163         elf_ifunc_invoke.
31164         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31165         dl_hwcap to ifunc resolver.
31166         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31167
31168 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31169
31170         [BZ #14153]
31171         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31172         for |x| <= 2**-26, not 2**-57.
31173         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31174         exception.
31175
31176 2012-05-24  Jeff Law  <law@redhat.com>
31177
31178         * stdio-common/Makefile (tests): Add bug25.
31179         * stdio-common/bug25.c: New test.
31180
31181 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31182
31183         [BZ #13576]
31184         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31185         multiple of MALLOC_ALIGNMENT in size.
31186         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31187
31188 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31189
31190         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31191         Require >= 256.
31192         (FILENAME_MAX): Use macro-int-constant.
31193         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31194         (_IOFBF): Use macro-int-constant.
31195         (_IOLBF): Likewise.
31196         (_IONBF): Likewise.
31197         (SEEK_CUR): Likewise.
31198         (SEEK_END): Likewise.
31199         (SEEK_SET): Likewise.
31200         (TMP_MAX): Likewise.
31201         (EOF): Use macro-int-constant.  Require < 0.
31202         (NULL): Use macro-constant.  Require == 0.
31203         (stdin): Require type to be FILE *.
31204         (stdout): Likewise.
31205         (stderr): Likewise.
31206         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31207         macro-int-constant.
31208         (EXIT_SUCCESS): Likewise.
31209         (NULL): Use macro-constant.  Require == 0.
31210         (RAND_MAX): Use macro-int-constant.
31211         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31212         [C99-based standards] (strtof): Require function.
31213         [C99-based standards] (strtold): Likewise.
31214         [C99-based standards] (strtoll): Likewise.
31215         [C99-based standards] (strtoull): Likewise.
31216         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31217         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31218         [ISO || ISO99 || ISO11] (math.h): Likewise.
31219         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31220         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31221         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31222
31223 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31224
31225         [BZ #14132]
31226         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31227         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31228         * intl/dgettext.c (DCGETTEXT): Likewise.
31229         * intl/gettext.c (DCGETTEXT): Likewise.
31230         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31231         * posix/regex_internal.h (gettext): Likewise.
31232         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31233         Remove declaration.
31234         * include/argz.h (__argz_count_internal)
31235         (__argz_stringify_internal): Remove declaration.
31236         (__argz_count, __argz_stringify): Declare hidden proto.
31237         * intl/dcgettext.c: Remove use of INTDEF.
31238         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31239         * string/argz-stringify.c: Likewise.
31240         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31241         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31242         Declare hidden proto.
31243         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31244         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31245         Declare hidden proto.
31246         * include/stdio.h (__asprintf_internal): Don't declare.
31247         (__asprintf): Don't define as macro.  Declare hidden proto.
31248         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31249         (__fsetlocking): Declare hidden proto.
31250         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31251         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31252         hidden proto.
31253         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31254         (_IO_setlinebuf): Remove use of INTUSE.
31255         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31256         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31257         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31258         Remove declaration.
31259         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31260         (_IO_do_flush): Remove use of INTUSE.
31261         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31262         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31263         (_IO_adjust_column, _IO_least_wmarker)
31264         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31265         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31266         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31267         (_IO_default_doallocate, _IO_wdefault_doallocate)
31268         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31269         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31270         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31271         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31272         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31273         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31274         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31275         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31276         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31277         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31278         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31279         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31280         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31281         proto.
31282         (_IO_flush_all_internal, _IO_adjust_column_internal)
31283         (_IO_default_uflow_internal, _IO_default_finish_internal)
31284         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31285         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31286         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31287         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31288         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31289         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31290         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31291         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31292         (_IO_file_close_internal, _IO_file_close_it_internal)
31293         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31294         (_IO_file_init_internal, _IO_file_attach_internal)
31295         (_IO_file_fopen_internal, _IO_file_read_internal)
31296         (_IO_file_sync_internal, _IO_file_seek_internal)
31297         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31298         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31299         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31300         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31301         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31302         (_IO_list_all_internal, _IO_link_in_internal)
31303         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31304         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31305         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31306         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31307         (_IO_do_write_internal, _IO_padn_internal)
31308         (_IO_getline_info_internal, _IO_getline_internal)
31309         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31310         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31311         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31312         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31313         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31314         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31315         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31316         with libc_hidden_ver, remove use of INTUSE.
31317         * libio/genops.c: Likewise.
31318         * libio/freopen.c: Likewise.
31319         * libio/freopen64.c: Likewise.
31320         * libio/iofclose.c: Likewise.
31321         * libio/iofdopen.c: Likewise.
31322         * libio/iofflush.c: Likewise.
31323         * libio/iofflush_u.c: Likewise.
31324         * libio/iofgets.c: Likewise.
31325         * libio/iofgets_u.c: Likewise.
31326         * libio/iofopen.c: Likewise.
31327         * libio/iofopncook.c: Likewise.
31328         * libio/iofread.c: Likewise.
31329         * libio/iofread_u.c: Likewise.
31330         * libio/ioftell.c: Likewise.
31331         * libio/iofwrite.c: Likewise.
31332         * libio/iogetline.c: Likewise.
31333         * libio/iogets.c: Likewise.
31334         * libio/iogetwline.c: Likewise.
31335         * libio/iopadn.c: Likewise.
31336         * libio/iopopen.c: Likewise.
31337         * libio/ioseekoff.c: Likewise.
31338         * libio/ioseekpos.c: Likewise.
31339         * libio/iosetbuffer.c: Likewise.
31340         * libio/iosetvbuf.c: Likewise.
31341         * libio/ioungetc.c: Likewise.
31342         * libio/ioungetwc.c: Likewise.
31343         * libio/iovdprintf.c: Likewise.
31344         * libio/iovsprintf.c: Likewise.
31345         * libio/iovsscanf.c: Likewise.
31346         * libio/memstream.c: Likewise.
31347         * libio/obprintf.c: Likewise.
31348         * libio/oldfileops.c: Likewise.
31349         * libio/oldiofclose.c: Likewise.
31350         * libio/oldiofdopen.c: Likewise.
31351         * libio/oldiofopen.c: Likewise.
31352         * libio/oldiopopen.c: Likewise.
31353         * libio/oldstdfiles.c: Likewise.
31354         * libio/putc.c: Likewise.
31355         * libio/setbuf.c: Likewise.
31356         * libio/setlinebuf.c: Likewise.
31357         * libio/stdfiles.c: Likewise.
31358         * libio/strops.c: Likewise.
31359         * libio/vasprintf.c: Likewise.
31360         * libio/vscanf.c: Likewise.
31361         * libio/vsnprintf.c: Likewise.
31362         * libio/vswprintf.c: Likewise.
31363         * libio/wfiledoalloc.c: Likewise.
31364         * libio/wfileops.c: Likewise.
31365         * libio/wgenops.c: Likewise.
31366         * libio/wmemstream.c: Likewise.
31367         * libio/wstrops.c: Likewise.
31368         * libio/__fpurge.c: Likewise.
31369         * libio/__fsetlocking.c: Likewise.
31370         * assert/assert.c: Likewise.
31371         * debug/fgets_chk.c: Likewise.
31372         * debug/fgets_u_chk.c: Likewise.
31373         * debug/fread_chk.c: Likewise.
31374         * debug/fread_u_chk.c: Likewise.
31375         * debug/gets_chk.c: Likewise.
31376         * debug/obprintf_chk.c: Likewise.
31377         * debug/vasprintf_chk.c: Likewise.
31378         * debug/vdprintf_chk.c: Likewise.
31379         * debug/vsnprintf_chk.c: Likewise.
31380         * debug/vsprintf_chk.c: Likewise.
31381         * malloc/mtrace.c: Likewise.
31382         * misc/error.c: Likewise.
31383         * misc/syslog.c: Likewise.
31384         * stdio-common/asprintf.c: Likewise.
31385         * stdio-common/fxprintf.c: Likewise.
31386         * stdio-common/getw.c: Likewise.
31387         * stdio-common/isoc99_fscanf.c: Likewise.
31388         * stdio-common/isoc99_scanf.c: Likewise.
31389         * stdio-common/isoc99_vfscanf.c: Likewise.
31390         * stdio-common/isoc99_vscanf.c: Likewise.
31391         * stdio-common/isoc99_vsscanf.c: Likewise.
31392         * stdio-common/printf-prs.c: Likewise.
31393         * stdio-common/printf_fp.c: Likewise.
31394         * stdio-common/printf_fphex.c: Likewise.
31395         * stdio-common/printf_size.c: Likewise.
31396         * stdio-common/putw.c: Likewise.
31397         * stdio-common/scanf.c: Likewise.
31398         * stdio-common/sprintf.c: Likewise.
31399         * stdio-common/tmpfile.c: Likewise.
31400         * stdio-common/vfprintf.c: Likewise.
31401         * stdio-common/vfscanf.c: Likewise.
31402         * stdlib/strfmon_l.c: Likewise.
31403         * sunrpc/openchild.c: Likewise.
31404         * sunrpc/xdr_stdio.c: Likewise.
31405         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31406         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31407
31408 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31409
31410         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31411
31412         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31413         in the third column, to generate for the shared library an IFUNC
31414         that uses _dl_vdso_vsym.
31415         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31416         * Makeconfig (object-suffixes-noshared): New variable.
31417
31418         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31419         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31420         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31421         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31422
31423         [BZ #14132]
31424         * include/sys/time.h (__gettimeofday): Remove macro.
31425         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31426         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31427         Remove INTDEF.
31428         (__gettimeofday): Add libc_hidden_def.
31429         (gettimeofday): Add libc_hidden_weak.
31430         * sysdeps/mach/gettimeofday.c: Likewise.
31431         * sysdeps/posix/gettimeofday.c: Likewise.
31432         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31433         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31435         (__gettimeofday_internal): Remove strong_alias.
31436         (__gettimeofday): Add libc_hidden_def.
31437         (gettimeofday): Add libc_hidden_weak.
31438         * sysdeps/unix/syscalls.list (gettimeofday):
31439         Remove __gettimeofday_internal alias.
31440
31441 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31442             H.J. Lu  <hongjiu.lu@intel.com>
31443
31444         [BZ #12495]
31445         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31446         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31447         (largebin_index_32_big): New.
31448         (largebin_index): Use it for 16-byte alignment.
31449         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31450         correction with front_misalign.
31451
31452 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31453
31454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31456         Likewise.
31457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31458         Likewise.
31459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31460         Likewise.
31461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31462         Likewise.
31463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31464         Likewise.
31465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31466         Likewise.
31467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31468         Likewise.
31469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31470         Likewise.
31471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31472         Likewise.
31473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31474         Likewise.
31475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31476         Likewise.
31477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31478         Likewise.
31479
31480         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31481         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31482
31483 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31484
31485         [BZ #10846]
31486         [BZ #14036]
31487         * math/libm-test.inc (exp_test): Add test from bug 14036.
31488         (pow_test): Add test from bug 10846.
31489
31490         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31491         and other flags.
31492         (special_function): Do not include flags in test name.
31493         (parse_args): Likewise.
31494         * sysdeps/i386/fpu/libm-test-ulps: Update.
31495         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31496         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31497         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31499
31500         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31501         exceptions.
31502         * math/libm-test.inc ("Philosophy"): Update comment about
31503         exception testing.
31504         (UNDERFLOW_EXCEPTION): New macro.
31505         (UNDERFLOW_EXCEPTION_OK): Likewise.
31506         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31507         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31508         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31509         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31510         (INVALID_EXCEPTION_OK): Update value.
31511         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31512         (OVERFLOW_EXCEPTION_OK): Likewise.
31513         (IGNORE_ZERO_INF_SIGN): Likewise.
31514         (test_exceptions): Handle underflow exceptions.
31515         (acos_test): Update for underflow exception expectations.
31516         (cexp_test): Likewise.
31517         (clog_test): Likewise.
31518         (clog10_test): Likewise.
31519         (csqrt_test): Likewise.
31520         (ctan_test): Likewise.
31521         (ctanh_test): Likewise.
31522         (exp_test): Likewise.
31523         (exp10_test): Likewise.
31524         (exp2_test): Likewise.
31525         (expm1_test): Likewise.
31526         (fma_test): Likewise.
31527         (j0_test): Likewise.
31528         (jn_test): Likewise.
31529         (nexttoward_test): Likewise.
31530         (pow_test): Likewise.
31531         (scalbn_test): Likewise.
31532         (scalbln_test): Likewise.
31533         (tan_test): Likewise.
31534         (y1_test): Likewise.
31535         * sysdeps/i386/fpu/libm-test-ulps: Update.
31536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31537
31538 2012-05-23  David S. Miller  <davem@davemloft.net>
31539
31540         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31541         (__libc_sigaction): Remove unused local variables.
31542
31543 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31544
31545         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31546
31547 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31548
31549         mktime: avoid signed integer overflow
31550         * time/mktime.c (__mktime_internal): Do not mishandle the case
31551         where diff == INT_MIN.
31552
31553         mktime: simplify computation of average
31554         * time/mktime.c (ranged_convert): Use new time_t_avg function
31555         instead of rolling our own (probably-slower) code.
31556
31557         mktime: do not assume signed right shift propagates sign bit
31558         * time/mktime.c (isdst_differ): New static function.
31559         (__mktime_internal): No need to normalize tm_isdst now.
31560         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31561         tm_isdst values.
31562
31563         mktime: merge another wrapv change from gnulib
31564         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31565         from some compilers.
31566
31567         mktime: remove incorrect attempt at unusual arithmetics
31568         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31569         The code didn't really work on such machines anyway.
31570         (TYPE_MINIMUM): Assume two's complement.
31571         (twos_complement_arithmetic): Verify that long_int and time_t
31572         are two's complement (or unsigned, in the latter case).
31573
31574         mktime: check signed shifts on long_int and time_t, too
31575         * time/mktime.c (SHR): Check that shifts work as desired
31576         on the types long_int and time_t too, as SHR is used on
31577         such types.
31578
31579         mktime: do not assume 'long' is wide enough
31580         * time/mktime.c (verify): Move decl up.
31581         (long_int): New type.
31582         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31583         to remove assumption in the code that 'long' is wide enough to
31584         store year values.  This assumption is not true on x32 and on
31585         some non-glibc platforms.
31586
31587         mktime: merge wrapv change from gnulib
31588         * time/mktime.c (WRAPV): New macro.
31589         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31590         (guess_time_tm, __mktime_internal): Do not assume that signed
31591         integer overflow wraps around; modern compilers generate code
31592         where this assumption is no longer valid.
31593
31594 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31595
31596         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31597         Replace "jmp L(pseudo_end)" with "ret".
31598         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31599         Likewise.
31600
31601 2012-05-23  Andreas Jaeger  <aj@suse.de>
31602
31603         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31604         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31605
31606 2012-05-23  Andreas Jaeger  <aj@suse.de>
31607             Maximilian Attems  <max@stro.at>
31608
31609         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31610         New macros.
31611
31612 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31613
31614         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31615         code so that pseudo_end is just ret and the stack pointer is
31616         correct also for static library in error case.
31617
31618 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31619
31620         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31621         move to syscalls.list.
31622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31626
31627         * manual/install.texi (Running make install): Do not mention Linux
31628         kernel version for which pt_chown is not needed.
31629         (Linux): Do not mention problems with nscd with 2.0 kernels.
31630         * INSTALL: Regenerated.
31631
31632 2012-05-23  Andreas Jaeger  <aj@suse.de>
31633
31634         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31635         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31636         macro.
31637         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31638         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31639         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31640         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31641         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31642         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31643         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31644         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31645         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31646         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31647         * sysdeps/unix/sysv/linux/bits/in.h
31648         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31649
31650 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31651
31652         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31653         (PREPARE_VERSION): Just use assert instead, it will be elided
31654         under [NDEBUG] anyway.
31655
31656 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31657
31658         * sysdeps/unix/sysv/linux/Makefile: Include
31659         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31660         (sysdep_routines): Remove sysctl.
31661         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31662         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31663         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31664         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31665         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31666
31667 2012-05-22  Andreas Jaeger  <aj@suse.de>
31668
31669         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31670         that pseudo_end is just ret and the stack pointer is correct also
31671         for static library in error case.
31672
31673 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31674
31675         [BZ #14122]
31676         * nss/nsswitch.c (defconfig_entries): New variable.
31677         (__nss_database_lookup): Don't leak defconfig entries.
31678         (nss_parse_service_list): Don't leak on error paths.
31679         (free_database_entries): New function.
31680         (free_defconfig): New function.
31681         (free_mem): Move common code to free_database_entries.
31682
31683 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31684
31685         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31686         Add arch_prctl.
31687         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31688
31689         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31690         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31692         New macro.
31693         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31694         (INTERNAL_SYSCALL_TYPES): Likewise.
31695         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31696         (LOAD_REGS_TYPES_[1-6]): Likewise.
31697         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31698         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31699
31700 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31701
31702         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31703         copysignl for GLIBC_2_0.
31704         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31705         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31706         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31707         logbl for GLIBC_2_0.
31708         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31709         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31710
31711 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31712
31713         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31714         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31715
31716         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31717         Use "neg %eax".
31718
31719         * time/mktime.c: Update copyright years.
31720
31721 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31722
31723         mktime: merge comment-quoting-style change from gnulib
31724         * time/mktime.c: Quote 'like this' in comments.
31725         The GNU coding standards suggest that we no longer quote `like this',
31726         as "`" and "'" are typically rendered asymmetrically nowadays.
31727         The typical gnulib style is to quote 'like this' when quoting
31728         code, and "like this" when quoting English.
31729
31730         * time/mktime.c (compile-command): Add "-I.".
31731
31732         mktime: merge mktime-internal.h change from gnulib
31733         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31734
31735         mktime: merge time_r change from gnulib
31736         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31737
31738         mktime: merge DEBUG change from gnulib
31739         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31740         case system <time.h> has a #define.
31741
31742         mktime: merge <sys/types.h> change from gnulib
31743         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31744         since <time.t> is now guaranteed to define time_t.
31745
31746         mktime: merge HAVE_CONFIG_H change from gnulib
31747         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31748
31749 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31750
31751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31752         Use "neg %eax".
31753
31754         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31755         __rlim_t cast.
31756         (struct rusage): Use anonymous union to pad each field to
31757         __syscall_slong_t.
31758
31759 2012-05-21  David S. Miller  <davem@davemloft.net>
31760
31761         * Makefules (o-iterator): Remove .s cases.
31762         (compile-command.s): Delete.
31763         (COMPILE.s): Delete.
31764         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31765
31766 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31767
31768         * configure.in (libc_cv_predef_stack_protector): Only consider
31769         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31770         * configure: Regenerated.
31771
31772 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31773
31774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31775         New macro.  Use R*LP on int and pointer.
31776         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31777         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31778         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31779         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31780
31781         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31782         [__WORDSIZE_TIME64_COMPAT32] instead of
31783         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31784         (struct utmp): Likewise.
31785         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31786         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31787         Renamed to ...
31788         (__WORDSIZE_TIME64_COMPAT32): This.
31789         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31790         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31791         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31792         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31793         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31794         (__WORDSIZE_TIME64_COMPAT32): New macro.
31795
31796 2012-05-21  Andreas Jaeger  <aj@suse.de>
31797
31798         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31799         only if [SHARED]. Add prototype for __wcschr_ia32.
31800
31801 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31802
31803         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31804         of %rbp unmolested in the jmp_buf while mangling the low bits.
31805         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31806         unmolested high bits of %rbp while demangling the low bits.
31807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31808
31809 2012-05-21  Andreas Jaeger  <aj@suse.de>
31810
31811         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31812         * sunrpc/svc_simple.c: Use it for registerrpc.
31813         * sunrpc/xcrypt.c: Use it for passwd2des.
31814
31815         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31816
31817 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31818
31819         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31820         Don't define if [__SYSCALL_WORDSIZE != 32].
31821         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31822         New macro.
31823
31824 2012-05-21  Bruno Haible  <bruno@clisp.org>
31825             Andreas Jaeger  <aj@suse.de>
31826
31827         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31828         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31829         inptr and inend for must_buffer_ch.
31830         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31831         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31832         * stdio-common/Makefile (tests): Remove bug15.
31833         (bug15-ENV): Remove macro.
31834         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31835         anymore.
31836
31837 2012-05-19  Andreas Jaeger  <aj@suse.de>
31838             Roland McGrath  <roland@hack.frob.com>
31839
31840         * manual/contrib.texi: Completely rewritten. It contains now an
31841         alphabetical list of contributors and their contributions.
31842
31843 2012-05-21  Richard Henderson  <rth@twiddle.net>
31844
31845         * misc/getauxval.c (__getauxval): Use unsigned long int.
31846         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31847         (getauxval): Use unsigned long int.
31848
31849 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31850
31851         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31852
31853 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31854
31855         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31856         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31857         __alignof__ (long double).
31858
31859 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31860
31861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31862
31863 2012-05-20  Richard Henderson  <rth@twiddle.net>
31864
31865         * misc/getauxval.c: New file.
31866         * misc/sys/auxv.h: New file.
31867         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31868         (routines): Add getauxval.
31869         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31870         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31871         * elf/dl-sysdep.c (_dl_auxv): Remove.
31872         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31873         * elf/dl-support.c (_dl_auxv): New variable.
31874         (_dl_aux_init): Initialize it.
31875         * manual/startup.texi (Auxiliary Vector): New node.
31876         * sysdeps/generic/bits/hwcap.h: New file.
31877         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31878         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31879         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31880         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31881         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31882         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31884         Update.
31885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31888         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31893
31894 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31895
31896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31897
31898 2012-05-19  David S. Miller  <davem@davemloft.net>
31899
31900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31901
31902 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31903
31904         [BZ #14123]
31905         * math/s_ccosh.c: Include <float.h>
31906         (__ccosh): Avoid internal overflow calculating sinh and cosh
31907         values before multiplying by sin and cos values.
31908         * math/s_ccoshf.c: Likewise.
31909         * math/s_ccoshl.c: Likewise.
31910         * math/s_csin.c: Likewise.
31911         * math/s_csinf.c: Likewise.
31912         * math/s_csinl.c: Likewise.
31913         * math/s_csinh.c: Likewise.
31914         * math/s_csinhf.c: Likewise.
31915         * math/s_csinhl.c: Likewise.
31916         * math/libm-test.inc (ccos_test): Add more tests.
31917         (ccosh_test): Likewise.
31918         (csin_test): Likewise.
31919         (csinh_test): Likewise.
31920         * sysdeps/i386/fpu/libm-test-ulps: Update.
31921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31922
31923 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31924
31925         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31926         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31927
31928         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31929
31930 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31931
31932         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31933         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31934         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31935         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31936         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31937         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31938         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31939         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31940         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31941         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31942         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31943         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31944         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31945         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31946         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31947         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31948         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31949         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31950         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31951         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31952         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31953         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31954         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31955         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31956         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31957         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31958         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31959         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31960         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31961         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31962         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31963
31964 2012-05-18  Andreas Jaeger  <aj@suse.de>
31965
31966         * csu/.gitignore: Delete.
31967
31968 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31969
31970         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31971         (timex): Use __syscall_slong_t.
31972
31973 2012-05-18  Andreas Jaeger  <aj@suse.de>
31974             Carlos O'Donell  <carlos_odonell@mentor.com>
31975
31976         * manual/install.texi (Configuring and compiling): Update
31977         description about files modified in the source directory.
31978         * INSTALL: Regenerated.
31979
31980 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31981
31982         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31983         value.  Use "or" to set return value to -1.
31984         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31985         negate return value.
31986
31987 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31988
31989         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31990         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31991         failure if the compiler has Graphite support disabled.
31992         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31993         Likewise.
31994         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31995         (CFLAGS-memmove.c): Likewise.
31996         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31997         Likewise.
31998
31999 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32000
32001         * sysdeps/x86_64/x32/_itoa.h: New file.
32002
32003         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32004         getdents system call only if kernel and user dirents have the
32005         same d_ino and d_off.
32006
32007         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32008         LLONG_MAX != LONG_MAX.
32009         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32010         (_fitoa_word): Likewise.
32011
32012         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32013         years.
32014         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32015         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32016         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32017
32018         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32019         include <bits/wordsize.h>.  Check __x86_64__ instead of
32020         __WORDSIZE.
32021         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32022         if __x86_64__ is defined.  Use anonymous union on fpstate.
32023
32024         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32025         anonymous union.
32026
32027 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32028
32029         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32030         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32031         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32032         Refer to _rtld_local_ro instead of _rtld_global_ro.
32033         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32034         Likewise.
32035         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32036         Likewise.
32037         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32038         Likewise.
32039         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32040         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32041         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32042
32043         * sysdeps/powerpc/powerpc32/dl-machine.c
32044         (__elf_machine_runtime_setup) [PROF]: Don't reference
32045         _dl_prof_resolve.
32046
32047 2012-05-18  Andreas Jaeger  <aj@suse.de>
32048
32049         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32050         function only available for GCCs before 3.4 since GCC 3.4
32051         introduced a builtin.
32052         (lrint): Likewise.
32053         (llrintf): Likewise.
32054         (llrint): Likewise.
32055         (fmaxf): Likewise.
32056         (fmax): Likewise.
32057         (fminf): Likewise.
32058         (fmin): Likewise.
32059         (rint): Likewise.
32060         (rintf): Likewise.
32061         (nearbyint): Likewise.
32062         (nearbyintf): Likewise.
32063         (ceil): Likewise.
32064         (ceilf): Likewise.
32065         (floor): Likewise.
32066         (floorf): Likewise.
32067
32068 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32069
32070         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32071         on both fields and cast pointer to __syscall_ulong_t.
32072
32073         * bits/types.h (__fsword_t): New type.
32074         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32075         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32077         (__FSWORD_T_TYPE): Likewise.
32078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32079         (__FSWORD_T_TYPE): Likewise.
32080         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32081         (__FSWORD_T_TYPE): Likewise.
32082         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32083         (__FSWORD_T_TYPE): Likewise.
32084         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32085         __SWORD_TYPE with __fsword_t.
32086         (statfs64): Likewise.
32087
32088 2012-05-17  David S. Miller  <davem@davemloft.net>
32089
32090         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32091
32092 2012-05-17  Andreas Jaeger  <aj@suse.de>
32093
32094         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32095         warning.
32096
32097 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32098
32099         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32100
32101 2012-05-17  Andreas Jaeger  <aj@suse.de>
32102
32103         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32104         when it is used.
32105
32106 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32107
32108         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32109
32110 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32111
32112         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32113         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32114
32115 2012-05-17  Andreas Jaeger  <aj@suse.de>
32116             Carlos O'Donell  <carlos_odonell@mentor.com>
32117
32118         [BZ #14059]
32119         * sysdeps/x86_64/multiarch/init-arch.h
32120         (bit_YMM_Usable): Rename to...
32121         (bit_AVX_Usable): ... this.
32122         (bit_FMA4_Usable): New macro.
32123         (bit_XMM_state): New macro.
32124         (bit_YMM_state): New macro.
32125         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32126         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32127         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32128         (CPUID_OSXSAVE): New macro.
32129         (CPUID_AVX): New macro.
32130         (CPUID_FMA4): New macro.
32131         (index_YMM_Usable): Rename to...
32132         (index_AVX_Usable): ... this.
32133         (HAS_AVX): Use HAS_ARCH_FEATURE.
32134         (HAS_FMA4): Likewise.
32135         (HAS_YMM_USABLE): Remove.
32136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32137         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32138         are present.
32139         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32140         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32141         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32142         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32143         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32144
32145 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32146
32147         * math/libm-test.c: Support platforms without multiple rounding modes.
32148         * math/bug-nextafter.c: Support platforms without FP exceptions.
32149         * math/bug-nexttoward.c: Likewise.
32150         * math/test-fenv.c: Likewise.
32151         * math/test-misc.c: Likewise.
32152         * stdlib/bug-getcontext.c: Likewise.
32153
32154 2012-05-17  Andreas Jaeger  <aj@suse.de>
32155
32156         * manual/examples/search.c (critter_cmp): Change signature to
32157         avoid warnings.
32158         * manual/string.texi (Collation Functions): Likewise.
32159
32160 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32161
32162         * bits/types.h: Fold copyright years.
32163         * bits/typesizes.h: Likewise.
32164         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32165         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32166         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32168         * time/time.h: Likewise.
32169
32170 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32171
32172         [BZ #208]
32173         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32174         in instead of returning them.  Return void.
32175         (__libc_mallinfo): Accumulate over all arenas.
32176         (__malloc_stats): Adjust for change in int_mallinfo interface.
32177
32178 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32179
32180         [BZ #10375]
32181         * configure.in (NM): Add AC_CHECK_TOOL for it.
32182         (libc_extra_cflags): New substituted variable.
32183         Check for -fstack-protector being used implicitly.
32184         * configure: Regenerated.
32185         * config.make.in (config-extra-cflags): New variable,
32186         gets @libc_extra_cflags@.
32187         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32188
32189         [BZ #10375]
32190         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32191         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32192         * configure: Regenerated.
32193         * config.make.in (CPPUNDEFS): New substituted variable.
32194         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32195         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32196         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32197
32198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32199
32200         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32201         (mq_attr): Use __syscall_slong_t.
32202
32203 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32204
32205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32206         Check __x86_64__ instead of __WORDSIZE.
32207         (_STAT_VER_LINUX): Likewise.
32208         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32209         __syscall_ulong_t and __syscall_slong_t.
32210         (stat64): Likewise.
32211
32212 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32213
32214         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32215
32216 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32217
32218         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32219
32220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32221
32222         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32223         __syscall_ulong_t.
32224
32225         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32226         include <bits/wordsize.h>.  Check __x86_64__ instead of
32227         __WORDSIZE.
32228         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32229         defined.
32230         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32231
32232         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32233         include <bits/wordsize.h>.  Check __x86_64__ instead of
32234         __WORDSIZE.
32235         (user_regs_struct): Use "__extension__ unsigned long long"
32236         instead of "unsigned long" if __x86_64__ is defined.
32237         (user): Likewise.  Pad after pointer field if __ILP32__ is
32238         defined.
32239
32240 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32241
32242         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32243         versions 5 to 9.
32244         * configure: Regenerated.
32245         * manual/install.texi (texinfo): Increase version requirement to
32246         4.5 or later.
32247         * INSTALL: Regenerated.
32248
32249         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32250
32251 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32252
32253         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32254
32255         * sysdeps/x86_64/x32/ffs.c: New file.
32256
32257         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32258         __syscall_ulong_t.
32259         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32260         defined.  Use __syscall_ulong_t.
32261         (shminfo): Use __syscall_ulong_t.
32262         (shm_info): Likewise.
32263
32264         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32265         __syscall_ulong_t.
32266
32267         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32268         <bits/wordsize.h>.
32269         (msgqnum_t): Use __syscall_ulong_t.
32270         (msglen_t): Likewise.
32271         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32272         __syscall_ulong_t.
32273
32274         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32275         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32276
32277         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32278
32279         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32280         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32281
32282         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32283         __syscall_slong_t.
32284
32285         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32286         include <bits/wordsize.h>.  Check __x86_64__ instead of
32287         __WORDSIZE.
32288
32289         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32290         "unsigned long long int" if __x86_64__ is defined.
32291         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32292
32293         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32294         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32295         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32296
32297         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32298         <stdint.h>.
32299         (GET_PC): Cast to uintptr_t first.
32300         (GET_FRAME): Likewise.
32301         (GET_STACK): Likewise.
32302
32303         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32304         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32305         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32306         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32307         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32308         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32309         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32310         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32311         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32312         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32313         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32314         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32315         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32316         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32317         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32318         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32319         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32320         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32321         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32322         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32323         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32324         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32325         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32326         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32327         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32328         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32329         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32330         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32331         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32332
32333 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32334
32335         * Makerules (+depfiles): Also collect depfiles from .oS in
32336         $(extra-objs).
32337         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32338         .oS, $(libnldbl-routines)).
32339
32340         * Makerules (native-compile-mkdep-flags): Define.
32341         * sunrpc/Makefile (extra-objs): Add $(addprefix
32342         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32343         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32344         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32345         calling $(make-target-directory).
32346
32347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32348
32349         * bits/types.h (__snseconds_t): Removed.
32350         * time/time.h (struct timespec): Replace __snseconds_t with
32351         __syscall_slong_t.
32352         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32353         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32354         Likewise.
32355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32356         (__SNSECONDS_T_TYPE): Likewise.
32357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32358         (__SNSECONDS_T_TYPE): Likewise.
32359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32360         (__SNSECONDS_T_TYPE): Likewise.
32361
32362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32363
32364         * sysdeps/mach/hurd/bits/typesizes.h
32365         (__SYSCALL_SLONG_TYPE): New macro.
32366         (__SYSCALL_ULONG_TYPE): Likewise.
32367
32368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32369
32370         * bits/types.h (__syscall_slong_t): New type.
32371         (__syscall_ulong_t): Likewise.
32372
32373         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32374         (__SYSCALL_ULONG_TYPE): Likewise.
32375         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32376         (__SYSCALL_SLONG_TYPE): Likewise.
32377         (__SYSCALL_ULONG_TYPE): Likewise.
32378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32379         (__SYSCALL_SLONG_TYPE): Likewise.
32380         (__SYSCALL_ULONG_TYPE): Likewise.
32381         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32382         (__SYSCALL_SLONG_TYPE): Likewise.
32383         (__SYSCALL_ULONG_TYPE): Likewise.
32384
32385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32386
32387         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32388         Add sigaltstack-offsets.sym.
32389         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32390         <sigaltstack-offsets.h>.
32391         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32392         longjmp_msg pointer.
32393         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32394         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32395         signal stack.
32396         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32397
32398 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32399
32400         * elf/stackguard-macros.h: Remove file.
32401         * sysdeps/generic/stackguard-macros.h: New file.
32402         * sysdeps/i386/stackguard-macros.h: Likewise.
32403         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32404         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32405         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32406         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32407         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32408         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32409         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32410         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32411         <elf/stackguard-macros.h>.
32412
32413         [BZ #14109]
32414         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32415         __aligned__ in attribute.
32416         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32417         (gregset_t): Likewise.
32418
32419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32420
32421         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32422         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32423         * sysdeps/x86_64/x32/Implies-after: New file.
32424
32425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32426
32427         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32428         and access return value for _dl_profile_fixup.  Use R10_LP to
32429         load frame size.
32430
32431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32432
32433         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32434
32435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32436
32437         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32438         * sysdeps/x86_64/x32/sysdep.h: New file.
32439
32440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32441
32442         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32443         * sysdeps/x86_64/setjmp.S: Likewise.
32444
32445 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32446
32447         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32448         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32449         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32451         remove unused global constant.
32452
32453 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32454
32455         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32456         include of <not-cancel.h>.
32457
32458 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32459
32460         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32461
32462 2012-05-15  Jeff Law  <law@redhat.com>
32463             Andreas Jaeger  <aj@suse.de>
32464
32465         [BZ #13594]
32466         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32467         out from...
32468         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32469         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32470         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32471         code changing __hst_map_handle.map.
32472
32473 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32474
32475         * configure.in (sysnames): Look for Implies-before and Implies-after
32476         files.
32477         * configure: Regenerated.
32478
32479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32480
32481         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32482         8-byte data alignment with LP_SIZE alignment.
32483
32484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32485
32486         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32487         into R10_LP.
32488
32489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32490
32491         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32492
32493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32494
32495         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32496         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32498         Likewise.
32499         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32500
32501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32502
32503         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32504         (stackinfo_sub_sp): Likewise.
32505
32506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32507
32508         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32509         RAX_LP.
32510
32511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32512
32513         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32514         into R*_LP.
32515
32516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32517
32518         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32519         sizes into R*_LP.
32520
32521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32522
32523         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32524
32525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32526
32527         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32528         into R11_LP and load __x86_64_shared_cache_size_half into
32529         R8_LP.
32530
32531 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32532
32533         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32534         R8_LP.
32535
32536 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32537
32538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32539         logb for POWER7.
32540         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32541         logbf for POWER7.
32542         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32543         logbl for POWER7.
32544         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32545         powerpc32/power7/fpu/s_logb.c via #include.
32546         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32547         powerpc32/power7/fpu/s_logbf.c via #include.
32548         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32549         powerpc32/power7/fpu/s_logbl.c via #include.
32550
32551 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32552
32553         * README.libm: Remove file.
32554
32555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32556
32557         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32558         count for x32.  Use R*_LP and omit operand-size suffix.
32559
32560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32561
32562         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32563         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32564         * sysdeps/x86_64/x32/shlib-versions: New file.
32565
32566 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32567
32568         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32569         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32570         Use _dl_fatal_printf instead.
32571
32572 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32573
32574         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32575         set if not set by the user.  Do not allow for being unset.
32576         * sysdeps/unix/sysv/linux/configure: Regenerated.
32577
32578 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32579
32580         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32581         the `q' suffix from lea and replace .quad with ASM_ADDR.
32582
32583 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32584
32585         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32586         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32587         instead of $17.
32588         (PTR_DEMANGLE): Likewise.
32589
32590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32591
32592         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32593         (LP_OP): Likewise.
32594         (ASM_ADDR): Likewise.
32595         (RAX_LP): Likewise.
32596         (RBP_LP): Likewise.
32597         (RBX_LP): Likewise.
32598         (RCX_LP): Likewise.
32599         (RDI_LP): Likewise.
32600         (RSI_LP): Likewise.
32601         (RSP_LP): Likewise.
32602         (R8_LP): Likewise.
32603         (R9_LP): Likewise.
32604         (R10_LP): Likewise.
32605         (R10_LP): Likewise.
32606         (R11_LP): Likewise.
32607         (R12_LP): Likewise.
32608         (R13_LP): Likewise.
32609         (R14_LP): Likewise.
32610         (R15_LP): Likewise.
32611
32612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32613
32614         * sysdeps/x86_64/x32/dl-machine.h: New file.
32615
32616 2012-05-14  Andreas Jaeger  <aj@suse.de>
32617
32618         * manual/Makefile (subdir): Remove export of subdir.
32619         (all): Remove target.
32620         (.PHONY): Remove all from list.
32621         (mkinstalldirs): Remove.
32622         (.PHONY): Remove installdirs from list.
32623         ($(inst_infodir)/libc.info): Use make-target-directory.
32624         (installdirs): Remove.
32625         (subdir_%): Remove.
32626         (glibc-targets): Remove.
32627         (lib): Remove.
32628         (stubs): Remove.
32629         ($(objpfx)stubs ../po/manual.pot): Remove.
32630         ($(objpfx)stamp%): Remove.
32631         (make-target-directory): Remove.
32632         (subdir_install): Remove.
32633         (routines): Remove.
32634         (aux): Remove.
32635         (sources): Remove.
32636         (objects): Remove.
32637         (headers): Remove.
32638
32639         [BZ #13750]
32640         * manual/.gitignore: Remove, it's not needed anymore.
32641         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32642         all files in it.
32643         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32644         directory.
32645         (texis): Renamed to $(objpfx)texis.
32646         (texis-path): New, contains path to generated files.
32647         (chapters.%): Use texis-path for complete path, add extra argument
32648         libc-texinfo.sh.
32649         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32650         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32651         (summary,texi, stamp-summary): Use complete path of
32652         files. Generate files in build dir.
32653         (dir-add.texi): Build in build dir.
32654         (libm-err.texi,stamp-libm-err): Likewise.
32655         (version.texi, stamp-version): Likewise.
32656         (.%c.texi): Likewise.
32657         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32658         (mostlyclean): Remove target.
32659         (realclean): Remove target.
32660         (generated): Add new variable with contents from mostlyclean and
32661         realclean, remove entries duplicated in common-mostlyclean, add
32662         stamp-libm-err and stamp-version.
32663         (generated-dirs): Add libc directory.
32664         ($(inst_infodir)/libc.info): Install files from build dir.
32665
32666         * manual/install.texi (Configuring and compiling): Adjust since
32667         the info files are not part of the tar ball anymore.
32668
32669 2012-05-14  Andreas Jaeger  <aj@suse.de>
32670
32671         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32672         variable.
32673
32674 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32675
32676         [BZ #13717]
32677         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32678         to 2.2.0 where earlier.
32679         * sysdeps/unix/sysv/linux/configure: Regenerated.
32680         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32681         Remove conditional code.
32682         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32683         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32684         Remove conditional code.
32685         [!__NR_lchown]: Likewise.
32686         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32687         [__NR_lchown]: Likewise.
32688         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32689         comment referencing __ASSUME_LCHOWN_SYSCALL.
32690         * sysdeps/unix/sysv/linux/i386/sigaction.c
32691         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32692         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32693         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32694         Remove conditional code.
32695         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32696         (__protocol_available): Remove #if 0 code.
32697         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32698         conditional code.
32699         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32700         * sysdeps/unix/sysv/linux/kernel-features.h
32701         (__ASSUME_GETCWD_SYSCALL): Don't define.
32702         (__ASSUME_REALTIME_SIGNALS): Likewise.
32703         (__ASSUME_PREAD_SYSCALL): Likewise.
32704         (__ASSUME_PWRITE_SYSCALL): Likewise.
32705         (__ASSUME_POLL_SYSCALL): Likewise.
32706         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32707         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32708         non-SPARC.
32709         (__ASSUME_SIOCGIFNAME): Don't define.
32710         (__ASSUME_MSG_NOSIGNAL): Likewise.
32711         (__ASSUME_SENDFILE): Define unconditionally.
32712         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32713         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32714         conditional code.
32715         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32716         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32717         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32718         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32719         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32720         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32721         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32723         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32724         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32726         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32727         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32729         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32730         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32732         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32733         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32735         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32736         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32741         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32746         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32747         Remove conditional code.
32748         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32749         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32750         Remove conditional code.
32751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32752         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32753         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32754         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32755         Remove conditional code.
32756         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32757         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32758         Remove conditional code.
32759         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32760         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32761         Remove conditional code.
32762         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32763         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32764         Remove conditional code.
32765         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32766         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32767         Remove conditional code.
32768         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32769         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32770         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32772         * sysdeps/unix/sysv/linux/sigaction.c
32773         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32774         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32775         * sysdeps/unix/sysv/linux/sigpending.c
32776         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32777         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32778         * sysdeps/unix/sysv/linux/sigprocmask.c
32779         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32780         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32781         * sysdeps/unix/sysv/linux/sigsuspend.c
32782         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32783         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32784         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32785         (__libc_missing_rt_sigs): Remove.
32786         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32787         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32788         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32789         Remove conditional code.
32790         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32791         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32792         return 1.
32793         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32794         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32795         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32796         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32797
32798 2012-05-14  Andreas Jaeger  <aj@suse.de>
32799
32800         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32801         it's not used in glibc.
32802         (__coshm1): Likewise.
32803         (__acosh1p): Likewise.
32804         (__sgn): Likewise.
32805
32806         * manual/string.texi (Copying and Concatenation): Add missing
32807         variable in concat example.
32808         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32809
32810 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32811
32812         [BZ #14103]
32813         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32814         __builtin_clzl with __builtin_clzll.
32815
32816 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32817
32818         [BZ #14104]
32819         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32820         libc_freeres_ptr.
32821
32822 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32823
32824         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32825         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32826         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32827         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32828
32829 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32830
32831         * NEWS: Update ia64 info.
32832
32833 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32834
32835         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32836         used as bcopy.
32837
32838 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32839
32840         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32841         * sysdeps/unix/syscalls.list (dup3): Likewise.
32842         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32843         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32844
32845 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32846
32847         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32848         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32849
32850 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32851
32852         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32853         thread pointer.
32854         (TLS_IE): Use mov/add instead of movq/addq to load thread
32855         pointer.
32856         (TLS_GD_PREFIX): New.
32857         (TLS_GD): Use it.
32858
32859 2012-05-11  David S. Miller  <davem@davemloft.net>
32860
32861         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32862         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32863         (_FPU_SETCW): Likewise.
32864
32865 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32866
32867         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32868         is 32-byte aligned.
32869
32870 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32871
32872         [BZ #11837]
32873         * iconvdata/gb18030.c: Update tables.
32874         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32875         characters specially.
32876         (BODY for TO_LOOP): Add encoding of missing ranges.
32877
32878 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32879
32880         [BZ #13673]
32881         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32882         * sysdeps/mach/hurd/dup3.c: Likewise.
32883         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32884         * sysdeps/powerpc/memmove.c:: Likewise.
32885
32886 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32887
32888         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32889         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32890
32891 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32892
32893         * elf/elf.h (R_X86_64_RELATIVE64): New.
32894         (R_X86_64_NUM): Updated.
32895         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32896         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32897         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32898         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32899         tst-quad1pie tst-quad2pie
32900         (modules-names): Add tst-quadmod1 tst-quadmod2.
32901         ($(objpfx)tst-quad1): New dependency.
32902         ($(objpfx)tst-quad2): Likewise.
32903         ($(objpfx)tst-quad1pie): Likewise.
32904         ($(objpfx)tst-quad2pie): Likewise.
32905         * sysdeps/x86_64/tst-quad1.c: New file.
32906         * sysdeps/x86_64/tst-quad1pie.c: New file.
32907         * sysdeps/x86_64/tst-quad2.c: Likewise.
32908         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32909         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32910         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32911         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32912         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32913
32914 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32915
32916         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32917         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32918         * streams/stropts.h (t_scalar_t): Define type.
32919
32920         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32921         (_PATH_PRESERVE): Set to "/var/lib".
32922         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32923
32924         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32925         instead of int.
32926
32927         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32928         if __dir_mkfile succeeded.
32929
32930         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32931         checking for _hurd_dtablesize.  Unlock it right after having
32932         finished _hurd_dtable allocation.
32933
32934 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32935
32936         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32937         * sysdeps/mach/hurd/configure: Regenerated.
32938         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32939         special-casing to...
32940         * sysdeps/gnu/configure.in: ... this new file.
32941         * sysdeps/unix/sysv/linux/configure: Regenerated.
32942         * sysdeps/gnu/configure: New generated file.
32943
32944         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32945         for Linux: use nsec instead of usec, as well as:
32946         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32947         members of type struct timespec.
32948         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32949         New macros.
32950         (struct stat64): Likewise.
32951         (_STATBUF_ST_NSEC): New macro.
32952         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32953
32954         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32955         __strtoul_internal rather than strtoul.
32956
32957 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32958
32959         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32960         and reject them.
32961
32962 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32963
32964         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32965         which preserves existing values.
32966         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32967
32968 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32969
32970         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32971         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32972         greater than FD_SETSIZE.
32973
32974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32975
32976         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32977         allocated, call __vm_protect to finish enabling the existing space, and
32978         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32979         allocate the remainder.
32980
32981 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32982
32983         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32984         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32985
32986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32987
32988         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32989         sysdeps/mach/hurd/readlink.c.
32990
32991         * posix/tst-sysconf.c (posix_options): Only use
32992         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32993         _POSIX_SYNCHRONIZED_IO when they are defined
32994         * sysdeps/mach/hurd/bits/posix_opt.h:
32995         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32996         (_XOPEN_REALTIME): Undefine macro.
32997         (_XOPEN_REALTIME_THREADS): Undefine macro.
32998         (_XOPEN_SHM): Undefine macro.
32999         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33000         macro to -1.
33001         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33002         macro to -1.
33003         (_POSIX_ASYNC_IO): Undefine macro.
33004         (_POSIX_PRIORITIZED_IO): Undefine macro.
33005         (_POSIX_SPIN_LOCKS): Define macro to -1.
33006
33007         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33008         SA_NODEFER, SA_RESETHAND.
33009         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33010         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33011         F_DUPFD_CLOEXEC.
33012
33013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33014
33015         * elf/Makefile (pldd-modules): Define unconditionally.
33016
33017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33018
33019         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33020
33021 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33022
33023         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33024         Return ENOENT when name is empty.
33025         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33026
33027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33028
33029         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33030
33031         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33032
33033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33034
33035         Fix mlock in all cases except non-readable pages.
33036         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33037         instead of VM_PROT_ALL as parameter to __vm_wire function.
33038
33039         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33040         (__mkdir): When path is `/', just fail with EEXIST.
33041         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33042
33043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33044
33045         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33046         <sys/uio.h> (for writev).
33047         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33048         and <sys/param.h> (for MIN).
33049
33050 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33051
33052         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33053         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33054         if interrupted.
33055
33056 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33057
33058         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33059         Depend on against $(link-rpcuserlibs).
33060
33061 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33062
33063         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33064         (__libc_stack_end): Do not use attribute_relro.
33065         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33066         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33067         to libthread-provided value.
33068         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33069         attribute_relro.
33070
33071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33072
33073         [BZ #3748]
33074         * bits/libc-lock.h (__libc_once_get): New macro.
33075         * sysdeps/mach/bits/libc-lock.h: Likewise.
33076         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33077         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33078         instead of using implementation details.
33079
33080         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33081         * libio/freopen.c: Likewise.
33082         * libio/freopen64.c: Likewise.
33083         * misc/syslog.c: Likewise.
33084         * nscd/connections.c: Likewise.
33085         * nscd/netgroupcache.c: Likewise.
33086         * sysdeps/posix/getcwd.c: Likewise.
33087
33088 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33089
33090         * math/w_ilogbf.c: Add #include <limits.h>.
33091
33092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33093
33094         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33095         path instead of returning without unlocking.
33096
33097         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33098         immediate-write ioctls.
33099         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33100
33101 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33102
33103         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33104         __builtin_frame_address instead of making assumptions about the
33105         location of the return address relative to DATA.  Force early load of
33106         the return address.
33107         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33108         __builtin_frame_address.
33109
33110         dup3 for GNU Hurd.
33111         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33112         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33113         implement dup3 and do some further code clean-ups.
33114         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33115         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33116
33117 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33118
33119         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33120
33121         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33122         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33123         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33124         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33125         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33126         d->port.lock.
33127
33128         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33129         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33130         when handler == SIG_ERR, not when handler != SIG_ERR.
33131
33132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33133
33134         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33135         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33136         definitions.
33137
33138         accept4 for GNU Hurd.
33139         * include/sys/socket.h (__libc_accept4): New prototype.
33140         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33141         to implement __libc_accept4.
33142         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33143         __libc_accept4.
33144         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33145
33146         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33147         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33148         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33149         signal-defines.sym.
33150
33151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33152
33153         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33154
33155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33156
33157         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33158         assertion on O_CLOEXEC flag.
33159         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33160         * hurd/intern-fd.c: Likewise.
33161         * hurd/port2fd.c: Likewise.
33162
33163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33164
33165         [BZ #3906]
33166         * bits/in.h (IPV6_PKTINFO): Define new macro.
33167         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33168
33169 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33170
33171         [BZ #13954]
33172         [BZ #13955]
33173         [BZ #13956]
33174         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33175         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33176         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33177         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33178         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33179         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33180         * math/libm-test.inc (logb_test) : Additional logb tests.
33181
33182 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33183             Andreas Jaeger  <aj@suse.de>
33184
33185         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33186         * configure: Regenerated.
33187         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33188         * config.make.in (link-obsolete-rpc): New substituted variable.
33189         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33190         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33191         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33192         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33193         so that libc.a contains the symbols.
33194         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33195         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33196         * sunrpc/auth_none.c: Likewise.
33197         * sunrpc/auth_unix.c: Likewise.
33198         * sunrpc/authdes_prot.c: Likewise.
33199         * sunrpc/authuxprot.c: Likewise.
33200         * sunrpc/clnt_gen.c: Likewise.
33201         * sunrpc/clnt_perr.c: Likewise.
33202         * sunrpc/clnt_raw.c: Likewise.
33203         * sunrpc/clnt_simp.c: Likewise.
33204         * sunrpc/clnt_tcp.c: Likewise.
33205         * sunrpc/clnt_udp.c: Likewise.
33206         * sunrpc/clnt_unix.c: Likewise.
33207         * sunrpc/des_crypt.c: Likewise.
33208         * sunrpc/des_soft.c: Likewise.
33209         * sunrpc/get_myaddr.c: Likewise.
33210         * sunrpc/key_call.c: Likewise.
33211         * sunrpc/key_prot.c: Likewise.
33212         * sunrpc/netname.c: Likewise.
33213         * sunrpc/pm_getmaps.c: Likewise.
33214         * sunrpc/pm_getport.c: Likewise.
33215         * sunrpc/pmap_clnt.c: Likewise.
33216         * sunrpc/pmap_prot.c: Likewise.
33217         * sunrpc/pmap_prot2.c: Likewise.
33218         * sunrpc/pmap_rmt.c: Likewise.
33219         * sunrpc/publickey.c: Likewise.
33220         * sunrpc/rpc_cmsg.c: Likewise.
33221         * sunrpc/rpc_common.c: Likewise.
33222         * sunrpc/rpc_dtable.c: Likewise.
33223         * sunrpc/rpc_prot.c: Likewise.
33224         * sunrpc/rpc_thread.c: Likewise.
33225         * sunrpc/rtime.c: Likewise.
33226         * sunrpc/svc.c: Likewise.
33227         * sunrpc/svc_auth.c: Likewise.
33228         * sunrpc/svc_raw.c: Likewise.
33229         * sunrpc/svc_run.c: Likewise.
33230         * sunrpc/svc_tcp.c: Likewise.
33231         * sunrpc/svc_udp.c: Likewise.
33232         * sunrpc/svc_unix.c: Likewise.
33233         * sunrpc/svcauth_des.c: Likewise.
33234         * sunrpc/xcrypt.c: Likewise.
33235         * sunrpc/xdr.c: Likewise.
33236         * sunrpc/xdr_array.c: Likewise.
33237         * sunrpc/xdr_float.c: Likewise.
33238         * sunrpc/xdr_intXX_t.c: Likewise.
33239         * sunrpc/xdr_mem.c: Likewise.
33240         * sunrpc/xdr_rec.c: Likewise.
33241         * sunrpc/xdr_ref.c: Likewise.
33242         * sunrpc/xdr_sizeof.c: Likewise.
33243         * sunrpc/xdr_stdio.c: Likewise.
33244
33245 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33246
33247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33248         change.  Update copyright years.
33249
33250 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33251
33252         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33253
33254 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33255             Joseph Myers  <joseph@codesourcery.com>
33256             Paul Pluzhnikov  <ppluzhnikov@google.com>
33257
33258         [BZ #14012]
33259         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33260         requiring rpcgen.
33261         [cross-compiling] (extra-libs): Likewise.
33262         [cross-compiling] (extra-libs-others): Likewise.
33263         [cross-compiling] (librpcsvc-routines): Likewise.
33264         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33265         [cross-compiling] (omit-deps): Likewise.
33266         (sunrpc-CPPFLAGS): New variable.
33267         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33268         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33269         (cross-rpcgen-objs): New variable.
33270         (extra-objs): Append $(cross-rpcgen-objs).
33271         ($(cross-rpcgen-objs)): New rule.
33272         ($(objpfx)cross-rpcgen): Likewise.
33273         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33274         comment.
33275         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33276         ($(objpfx)x%.stmp): Likewise.
33277         * sunrpc/proto.h [IS_IN_build] (_): Define.
33278         [IS_IN_build] (_libc_intl_domainname): Likewise.
33279
33280 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33281
33282         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33283         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33284         and R_X86_64_TPOFF64.
33285
33286 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33287
33288         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33289         sysdeps/unix/sysv/syscalls.list.
33290         (stime): Likewise.
33291         (utime): Likewise.
33292         * sysdeps/unix/sysv/syscalls.list: Remove file.
33293
33294 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33295
33296         [BZ #3440]
33297         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33298         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33299         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33300         (__LC_IDENTIFICATION): Make these macros useful in #if
33301         expressions, as required by C99.
33302
33303 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33304
33305         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33306         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33307         after this.
33308
33309 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33310
33311         * stdlib/longlong.h: Updated from GCC.
33312
33313 2012-05-09  Andreas Jaeger  <aj@suse.de>
33314
33315         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33316         default is first entry.
33317         (run_mode): Set type.
33318         (main): Remove informal message about syslog.
33319         (options): Fix typo.
33320
33321         [BZ #14053]
33322         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33323         to asm.
33324         (lrint): Likewise.
33325         (llrintf): Likewise.
33326         (llrint): Likewise.
33327         (rint): Likewise.
33328         (rintf): Likewise.
33329         (nearbyint): Likewise.
33330         (nearbyintf): Likewise.
33331
33332 2012-05-09  Andreas Jaeger  <aj@suse.de>
33333             Pedro Alves  <palves@redhat.com>
33334
33335         * nscd/nscd.c (run_mode): Use enum.
33336         (main): Cleanup coding style issue.
33337
33338 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33339             Andreas Jaeger  <aj@suse.de>
33340
33341         * nscd/nscd.c (go_background): Replaced with...
33342         (run_mode): ... this.
33343         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33344         (options): Add -F --foreground.
33345         (main): Implement it.
33346         (parse_opt): Parse it.
33347
33348 2012-05-09  Andreas Jaeger  <aj@suse.de>
33349
33350         [BZ #14083]
33351         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33352         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33353         -Wconversion warning.
33354         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33355         Likewise.
33356
33357 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33358
33359         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33360         == 0.
33361         (LC_ALL): Use macro-int-constant.
33362         (LC_COLLATE): Likewise.
33363         (LC_CTYPE): Likewise.
33364         (LC_MESSAGES): Likewise.
33365         (LC_MONETARY): Likewise.
33366         (LC_NUMERIC): Likewise.
33367         (LC_TIME): Likewise.
33368         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33369         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33370         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33371         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33372         Specify type.
33373         [C99-based standards] (float_t): Expect type.
33374         [C99-based standards] (double_t): Expect type.
33375         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33376         type.
33377         [C99-based standards] (HUGE_VALL): Likewise.
33378         [C99-based standards] (INFINITY): Likewise.
33379         [C99-based standards] (NAN): Likewise.
33380         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33381         [C99-based standards] (FP_NAN): Likewise.
33382         [C99-based standards] (FP_NORMAL): Likewise.
33383         [C99-based standards] (FP_SUBNORMAL): Likewise.
33384         [C99-based standards] (FP_ZERO): Likewise.
33385         [C99-based standards] (FP_FAST_FMA): Use
33386         optional-macro-int-constant.  Specify type.  Require == 1.
33387         [C99-based standards] (FP_FAST_FMAF): Likewise.
33388         [C99-based standards] (FP_FAST_FMAL): Likewise.
33389         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33390         [C99-based standards] (FP_ILOGBNAN): Likewise.
33391         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33392         Specify type.
33393         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33394         [C99-based standards] (math_errhandling): Specify type.
33395         [ISO99 || ISO11] (signgam): Do not allow.
33396         [non-C99-based standards] (copysignf): Do not allow.
33397         [non-C99-based standards] (exp2f): Likewise.
33398         [non-C99-based standards] (log2f): Likewise.
33399         [non-C99-based standards] (modff): Allow.
33400         [non-C99-based standards] (erff): Do not allow.
33401         [non-C99-based standards] (erfcf): Likewise.
33402         [non-C99-based standards] (gammaf): Likewise.
33403         [non-C99-based standards] (hypotf): Likewise.
33404         [non-C99-based standards] (j0f): Likewise.
33405         [non-C99-based standards] (j1f): Likewise.
33406         [non-C99-based standards] (jnf): Likewise.
33407         [non-C99-based standards] (lgammaf): Likewise.
33408         [non-C99-based standards] (tgammaf): Likewise.
33409         [non-C99-based standards] (y0f): Likewise.
33410         [non-C99-based standards] (y1f): Likewise.
33411         [non-C99-based standards] (ynf): Likewise.
33412         [non-C99-based standards] (isnanf): Likewise.
33413         [non-C99-based standards] (acoshf): Likewise.
33414         [non-C99-based standards] (asinhf): Likewise.
33415         [non-C99-based standards] (atanhf): Likewise.
33416         [non-C99-based standards] (cbrtf): Likewise.
33417         [non-C99-based standards] (expm1f): Likewise.
33418         [non-C99-based standards] (ilogbf): Likewise.
33419         [non-C99-based standards] (log1pf): Likewise.
33420         [non-C99-based standards] (logbf): Likewise.
33421         [non-C99-based standards] (nextafterf): Likewise.
33422         [non-C99-based standards] (remainderf): Likewise.
33423         [non-C99-based standards] (rintf): Likewise.
33424         [non-C99-based standards] (scalbf): Likewise.
33425         [non-C99-based standards] (copysignl): Likewise.
33426         [non-C99-based standards] (exp2l): Likewise.
33427         [non-C99-based standards] (log2l): Likewise.
33428         [non-C99-based standards] (modfl): Allow.
33429         [non-C99-based standards] (erfl): Do not allow.
33430         [non-C99-based standards] (erfcl): Likewise.
33431         [non-C99-based standards] (gammal): Likewise.
33432         [non-C99-based standards] (hypotl): Likewise.
33433         [non-C99-based standards] (j0l): Likewise.
33434         [non-C99-based standards] (j1l): Likewise.
33435         [non-C99-based standards] (jnl): Likewise.
33436         [non-C99-based standards] (lgammal): Likewise.
33437         [non-C99-based standards] (tgammal): Likewise.
33438         [non-C99-based standards] (y0l): Likewise.
33439         [non-C99-based standards] (y1l): Likewise.
33440         [non-C99-based standards] (ynl): Likewise.
33441         [non-C99-based standards] (isnanl): Likewise.
33442         [non-C99-based standards] (acoshl): Likewise.
33443         [non-C99-based standards] (asinhl): Likewise.
33444         [non-C99-based standards] (atanhl): Likewise.
33445         [non-C99-based standards] (cbrtl): Likewise.
33446         [non-C99-based standards] (expm1l): Likewise.
33447         [non-C99-based standards] (ilogbl): Likewise.
33448         [non-C99-based standards] (log1pl): Likewise.
33449         [non-C99-based standards] (logbl): Likewise.
33450         [non-C99-based standards] (nextafterl): Likewise.
33451         [non-C99-based standards] (remainderl): Likewise.
33452         [non-C99-based standards] (rintl): Likewise.
33453         [non-C99-based standards] (scalbl): Likewise.
33454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33455         [non-C99-based standards] (FP_*): Do not allow.
33456         [C99-based standards] (FP_*): Change to
33457         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33458         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33459         allow.
33460         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33461         (SIG_ERR): Likewise.
33462         [X/Open-based standards] (SIG_HOLD): Likewise.
33463         (SIG_IGN): Likewise.
33464         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33465         positive value.
33466         (SIGFPE): Likewise.
33467         (SIGILL): Likewise.
33468         (SIGINT): Likewise.
33469         (SIGSEGV): Likewise.
33470         (SIGTER): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33477         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33478         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33483         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33484         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33485         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33486         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33489         [X/Open-based standards] (SIGTRAP): Likewise.
33490         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33491         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33492         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33493         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33494         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33495         allow.
33496
33497 2012-05-08  Ian Wienand  <ianw@vmware.com>
33498
33499         [BZ #14080]
33500         * time/tzset.c (__tzset_parse_tz): Update default rules for
33501         daylight time changes in the Energy Policy Act of 2005.
33502
33503 2012-05-09  Andreas Jaeger  <aj@suse.de>
33504
33505         [BZ #13983]
33506         * elf/ldconfig.c (parse_conf): Change string to make clear that
33507         ldconfig only issued a warning if ld.so.conf does not exist.
33508
33509 2012-05-08  David S. Miller  <davem@davemloft.net>
33510
33511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33512         movxtod instead of popping the value on the stack.
33513
33514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33515
33516 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33517
33518         * config.h.in: Add HAVE_ARM_PCS_VFP.
33519
33520 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33521
33522         [BZ #13979]
33523         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33524         checking but the checks are disabled for any reason.
33525
33526 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33527
33528         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33529         and ELF64_R_TYPE with ELFW(R_TYPE).
33530
33531 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33532
33533         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33534         (ulimit): Likewise.
33535
33536         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33537         (settimeofday): Likewise.
33538
33539 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33540
33541         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33542         a struct th_u2 inside the union, and move tu_block/tu_code into
33543         a new th_u3 union of tu_block/tu_code inside of that.  Move
33544         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33545         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33546         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33547         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33548         (th_stuff): Change to th_u1.tu_stuff.
33549         (th_data): Define.
33550         (th_msg): Change to th_u1.th_u2.tu_data.
33551
33552 2012-05-07  David S. Miller  <davem@davemloft.net>
33553
33554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33555
33556         [BZ #14074]
33557         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33558         (SETUP_PIC_REG): Use it.
33559         (SETUP_PIC_REG_LEAF): Use it.
33560
33561 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33562
33563         [BZ #13885]
33564         [BZ #13923]
33565         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33566         USE_AS_EXPM1L.
33567         (EXPL_FINITE): Likewise.
33568         (FLDLOG): Likewise.
33569         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33570         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33571         e_expl.S.
33572         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33573         USE_AS_EXPM1L.
33574         (EXPL_FINITE): Likewise.
33575         (FLDLOG): Likewise.
33576         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33577         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33578         e_expl.S.
33579         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33580         test of -max_value argument for long double.
33581         * sysdeps/i386/fpu/libm-test-ulps: Update.
33582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33583
33584 2012-05-06  David S. Miller  <davem@davemloft.net>
33585
33586         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33587         quad soft-float symbols whose references which are compiler
33588         generated.
33589         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33590
33591 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33592
33593         [BZ #13884]
33594         [BZ #13914]
33595         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33596         USE_AS_EXP10L.
33597         (EXPL_FINITE): Likewise.
33598         (FLDLOG): Likewise.
33599         (c0): Likewise.
33600         (c1): Likewise.
33601         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33602         Adjust comments for base varying.
33603         (__expl_finite): Change alias to EXPL_FINITE.
33604         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33605         e_expl.S.
33606         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33607         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33608         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33609         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33610         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33611         USE_AS_EXP10L.
33612         (EXPL_FINITE): Likewise.
33613         (FLDLOG): Likewise.
33614         (c0): Likewise.
33615         (c1): Likewise.
33616         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33617         Adjust comments for base varying.
33618         (__expl_finite): Change alias to EXPL_FINITE.
33619         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33620         tests for bugs.
33621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33622
33623         [BZ #14064]
33624         * math/libm-test.inc (check_float_internal): Correct ulp
33625         calculation for subnormal expected results.
33626
33627 2012-05-06  Andreas Jaeger  <aj@suse.de>
33628
33629         * Makeconfig (+math-flags): New, set to -frounding-math.
33630         (+cflags): Add +math-flags so that all of glibc gets compiled with
33631         it.
33632
33633         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33634
33635 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33636
33637         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33638         Disable one test.
33639
33640         [BZ #13787]
33641         [BZ #13922]
33642         [BZ #14036]
33643         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33644         (__ieee754_expl): Allow for and saturate large arguments.
33645         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33646         (u_threshold): Likewise.
33647         (__exp): Call __ieee754_exp before checking for overflow and
33648         underflow.
33649         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33650         (u_threshold): Likewise.
33651         (__expf): Call __ieee754_expf before checking for overflow and
33652         underflow.
33653         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33654         (u_threshold): Likewise.
33655         (__expl): Call __ieee754_expl before checking for overflow and
33656         underflow.
33657         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33658         (__ieee754_expl): Allow for and saturate large arguments.
33659         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33660         missing overflow exception on overflow.
33661         (expm1_test): Do not allow missing overflow exception on overflow.
33662
33663         * sysdeps/i386/fpu/e_expl.c: Move to ...
33664         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33665         rather than using inline asm.
33666         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33667         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33668         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33669
33670         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33671         (nice): Likewise.
33672         (poll): Likewise.
33673         (signal): Likewise.
33674         (time): Likewise.
33675         (times): Likewise.
33676
33677 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33678
33679         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33680         sysdeps/unix/common/syscalls.list.
33681         (fchmod): Likewise.
33682         (fchown): Likewise.
33683         (ftruncate): Likewise.
33684         (getrusage): Likewise.
33685         (gettimeofday): Likewise.
33686         (setpgid): Likewise.
33687         (setregid): Likewise.
33688         (setreuid): Likewise.
33689         (sigaction): Likewise.
33690         (truncate): Likewise.
33691         (vhangup): Likewise.
33692         * sysdeps/unix/common/syscalls.list: Remove file.
33693         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33694         * sysdeps/unix/sysv/linux/Implies: Likewise.
33695
33696 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33697
33698         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33700         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33701         Moved to ...
33702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33703         Here.
33704         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33705         to ...
33706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33707         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33708         to ...
33709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33710         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33711         to ...
33712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33713         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33714         to ...
33715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33716         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33717         to ...
33718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33719         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33720         to ...
33721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33722         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33723         to ...
33724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33725         Here.
33726         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33727         to ...
33728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33729         Here.
33730         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33731         to ...
33732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33733         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33734         Moved to ...
33735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33736         Here.
33737         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33738         to ...
33739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33740
33741 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33742
33743         * sysdeps/unix/common/bits/dirent.h: Remove file.
33744         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33745
33746         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33747         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33748         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33749         * sysdeps/unix/bsd/isatty.c: Likewise.
33750         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33751         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33752         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33753
33754 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33755
33756         [BZ #13563]
33757         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33758         long double comparison inaccuracies.
33759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33761
33762 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33763
33764         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33765         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33766
33767 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33768
33769         [BZ #14049]
33770         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33771         nonzero digits before rounding a hex value.
33772         * stdlib/tst-strtod.c (tests): Add another test.
33773
33774 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33775
33776         * sysdeps/s390/fpu/libm-test-ulps: Update.
33777
33778 2012-05-03  Andreas Jaeger  <aj@suse.de>
33779
33780         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33781         does not get optimized out.
33782         (malloc_opt_barrier): New.
33783
33784 2012-05-03  Andreas Jaeger  <aj@suse.de>
33785             Roland McGrath  <roland@hack.frob.com>
33786
33787         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33788         intermediate file deletion.
33789         (generated): Add .symlist files.
33790
33791 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33792
33793         [BZ #13775]
33794         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33795         Redirect under this condition.
33796         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33797         [__USE_GNU] (__dprintf_chk): Not under this condition.
33798         [__USE_GNU] (__vdprintf_chk): Likewise.
33799         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33800         under this condition.
33801         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33802         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33803         [__USE_XOPEN2K8] (vdprintf): Likewise.
33804         [__USE_GNU] (__dprintf_chk): Not under this condition.
33805         [__USE_GNU] (__vdprintf_chk): Likewise.
33806         [__USE_GNU] (dprintf): Likewise.
33807         [__USE_GNU] (vdprintf): Likewise.
33808
33809 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33810
33811         * elf/Makefile (common-generated): Set this instead of generated for
33812         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33813         $(all-built-dso)-derived lists.
33814
33815 2012-05-03  Andreas Jaeger  <aj@suse.de>
33816
33817         * sysdeps/i386/fpu/libm-test-ulps: Update.
33818
33819         * FAQ: Removed.
33820         * FAQ.in: Likewise.
33821         * scripts/gen-FAQ.pl: Likewise.
33822         * manual/install.texi (Installation): Point to online location of
33823         FAQ.
33824         * Makefile (files-for-dist): Remove FAQ.
33825         (FAQ): Remove.
33826
33827 2012-05-02  Allan McRae  <allan@archlinux.org>
33828
33829         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33830         (LDFLAGS-reldepmod5.so): Likewise.
33831         (LDFLAGS-reldep6mod1.so): Likewise.
33832         (LDFLAGS-reldep6mod4.so): Likewise.
33833         (LDFLAGS-reldep8mod3.so): Likewise.
33834         (LDFLAGS-unload4mod1.so): Likewise.
33835         (LDFLAGS-unload4mod2.so): Likewise.
33836         (LDFLAGS-tst-initorder): Likewise.
33837         (LDFLAGS-tst-initordera2.so): Likewise.
33838         (LDFLAGS-tst-initordera3.so): Likewise.
33839         (LDFLAGS-tst-initordera4.so): Likewise.
33840         (LDFLAGS-tst-initorderb2.so): Likewise.
33841         (LDFLAGS-noload): Likewise.
33842         (LDFLAGS-next): Likewise.
33843         (LDFLAGS-order2mod1.so): Likewise.
33844         (LDFLAGS-order2mod2.so): Likewise.
33845         (LDFLAGS-tst-initorder2): Likewise.
33846         (LDFLAGS-tst-initorder2a.so): Likewise.
33847         (LDFLAGS-tst-initorder2b.so): Likewise.
33848         (LDFLAGS-tst-initorder2c.so): Likewise.
33849         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33850
33851 2012-05-02  David S. Miller  <davem@davemloft.net>
33852
33853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33854
33855 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33856
33857         [BZ #14055]
33858         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33859
33860 2012-05-02  Andreas Jaeger  <aj@suse.de>
33861
33862         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33863         since we manipulate rounding mode.
33864         (CPPFLAGS-test-idouble.c): Likewise.
33865         (CPPFLAGS-test-ifloat.c): Likewise.
33866         (CFLAGS-test-ldouble.c): Likewise.
33867         (CFLAGS-test-double.c): Likewise.
33868         (CFLAGS-test-float.c): Likewise.
33869         (CFLAGS-test-misc.c): Likewise.
33870         (CFLAGS-test-test-fenv.c): Likewise.
33871
33872 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33873
33874         [BZ #2550]
33875         [BZ #2570]
33876         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33877         comparisons to determine direction to adjust input.
33878
33879 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33880
33881         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33882         output to the target.
33883
33884         * scripts/localplt.awk: New file.
33885         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33886         (check-localplt-CFLAGS): Variable removed.
33887         ($(all-built-dso:=.jmprel)): New static pattern rule.
33888         (generated): Add those targets.
33889         (localplt-built-dso): New variable.
33890         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33891
33892         * elf/check-localplt.c: File removed.
33893
33894         * scripts/check-execstack.awk: New file.
33895         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33896         (check-execstack-CFLAGS): Variable removed.
33897         ($(objpfx)check-execstack.h): Target removed.
33898         ($(objpfx)execstack-default): New target.
33899         (generated): Add that instead of check-execstack.h.
33900         ($(all-built-dso:=.phdr)): New static pattern rule.
33901         (generated): Add those targets.
33902         * elf/check-execstack.c: File removed.
33903
33904         * scripts/check-textrel.awk: New file.
33905         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33906         (check-textrel-CFLAGS): Variable removed.
33907         (all-built-dso): Use := to define.o
33908         ($(all-built-dso:=.dyn)): New static pattern rule.
33909         (generated): Add those targets.
33910         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33911         * config.make.in (READELF): New substituted variable.
33912         * elf/check-textrel.c: File removed.
33913
33914 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33915
33916         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33917         allow.
33918         * conform/data/ctype.h-data [C99-based standards] (isblank):
33919         Expect function.
33920         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33921         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33922         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33923         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33924         Specify type.  Require positive value.
33925         (EILSEQ): Likewise.
33926         (ERANGE): Likewise.
33927         [ISO || POSIX] (EILSEQ): Do not expect.
33928         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33929         Specify type.  Require positive value.
33930         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33931         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33932         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33933         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33934         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33935         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33936         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33937         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33938         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33939         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33940         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33941         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33942         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33943         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33944         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33945         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33946         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33947         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33948         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33949         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33950         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33951         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33952         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33953         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33954         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33955         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33956         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33957         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33958         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33959         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33960         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33961         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33962         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33963         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33964         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33965         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33966         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33967         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33968         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33969         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33970         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33971         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33972         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33973         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33974         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33975         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33976         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33977         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33978         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33979         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33980         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33981         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33982         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33983         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33984         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33985         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33986         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33987         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33988         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33989         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33990         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33991         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33992         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33993         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33994         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33995         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33996         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33997         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33998         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33999         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34000         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34001         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34002         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34003         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34004         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34005         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34006         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34007         Require >= 2.
34008         (FLT_ROUNDS): Expect as macro, not constant.
34009         (FLT_MANT_DIG): Use macro-int-constant.
34010         (DBL_MANT_DIG): Likewise.
34011         (LDBL_MANT_DIG): Likewise.
34012         (FLT_DIG): Likewise.
34013         (DBL_DIG): Likewise.
34014         (LDBL_DIG): Likewise.
34015         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34016         (DBL_MIN_EXP): Likewise.
34017         (LDBL_MIN_EXP): Likewise.
34018         (FLT_MAX_EXP): Use macro-int-constant.
34019         (DBL_MAX_EXP): Likewise.
34020         (LDBL_MAX_EXP): Likewise.
34021         (FLT_MAX_10_EXP): Likewise.
34022         (DBL_MAX_10_EXP): Likewise.
34023         (LDBL_MAX_10_EXP): Likewise.
34024         (FLT_MAX): Use macro-constant.
34025         (DBL_MAX): Likewise.
34026         (LDBL_MAX): Likewise.
34027         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34028         (DBL_EPSILON): Likewise.
34029         (LDBL_EPSILON): Likewise.
34030         (FLT_MIN): Likewise.
34031         (DBL_MIN): Likewise.
34032         (LDBL_MIN): Likewise.
34033         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34034         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34035         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34036         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34037         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34038         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34039         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34040         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34041         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34042         [ISO11] (FLT_TRUE_MIN): Likewise.
34043         [ISO11] (LDBL_TRUE_MIN): Likewise.
34044         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34045         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34046         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34047         (SCHAR_MAX): Likewise.
34048         (UCHAR_MAX): Likewise.
34049         (CHAR_MIN): Likewise.
34050         (CHAR_MAX): Likewise.
34051         (MB_LEN_MAX): Use macro-int-constant.
34052         (SHRT_MIN): Use macro-int-constant.  Specify type.
34053         (SHRT_MAX): Likewise.
34054         (USHRT_MAX): Likewise.
34055         (INT_MAX): Likewise.
34056         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34057         bound negative.
34058         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34059         bound with "U".
34060         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34061         bound with "L".
34062         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34063         bound negative.  Suffix upper bound with "L".
34064         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34065         bound with "UL".
34066         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34067         Specify type.
34068         [C99-based standards] (LLONG_MAX): Likewise.
34069         [C99-based standards] (ULLONG_MAX): Likewise.
34070         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34071         == 0.
34072         [ISO11] (max_align_t): Require type.
34073         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34074
34075         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34076         from $CFLAGS, without defining away __attribute__ calls.
34077         (checknamespace): Use $CFLAGS_namespace.
34078
34079         * conform/conformtest.pl (@keywords): Only include C99 keywords
34080         for standards based on C99 or C11.
34081
34082         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34083         Disable tests.
34084         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34085         UNIX98]: Likewise.
34086
34087         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34088         usability of symbols in #if.
34089
34090         * conform/conformtest.pl: If macro or constant types start
34091         "promoted:", expect the symbol to be of the following type
34092         promoted by the integer promotions.
34093
34094         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34095         in one place.  Also handle "macro-constant".
34096
34097         * conform/conformtest.pl: Only accept expected macro values with
34098         "==".  Parse all "macro" lines in one place.
34099         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34100
34101         * conform/conformtest.pl: Handle braced types on "constant" lines
34102         instead of handling "typed-constant".
34103         * conform/data/signal.h-data: Use "constant" instead of
34104         "typed-constant".
34105
34106         * conform/conformtest.pl: Handle "optional-" at start of lines in
34107         one place rather than duplicating several cases.  Handle each
34108         format of "macro" line with initial "optional-".
34109
34110         * conform/conformtest.pl: Only accept expected constant or
34111         optional-constant values with "==".  Parse all "constant" lines in
34112         one place.  Parse all "optional-constant" lines in one place.
34113         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34114         * conform/data/fmtmsg.h-data: Likewise.
34115         * conform/data/netinet/in.h-data: Likewise.
34116         * conform/data/tar.h-data: Likewise.
34117         * conform/data/limits.h-data: Use "==" form on "constant" and
34118         "optional-constant" lines.
34119
34120         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34121         Use -std=c99 for XOPEN2K.
34122         (@knownproblems): Remove.
34123         (newtoken): Don't check %isknown.
34124
34125         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34126         Do not expect macro.
34127         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34128         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34129         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34130         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34131         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34132         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34133         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34134         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34135         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34136         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34137         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34138         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34139         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34140         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34141         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34142         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34143         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34144         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34145         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34146         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34147         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34148         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34149         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34150         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34151         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34152         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34153         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34154         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34155         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34156         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34157         [XPG3] (acosh): Likewise.
34158         [XPG3] (asinh): Likewise.
34159         [XPG3] (atanh): Likewise.
34160         [XPG3] (cbrt): Likewise.
34161         [XPG3] (expm1): Likewise.
34162         [XPG3] (ilogb): Likewise.
34163         [XPG3] (log1p): Likewise.
34164         [XPG3] (logb): Likewise.
34165         [XPG3] (nextafter): Likewise.
34166         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34167         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34168         [XPG3] (remainder): Likewise.
34169         [XPG3] (rint): Likewise.
34170         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34171         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34172         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34173         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34174         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34175         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34176         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34177         [UNIX98 || XOPEN2K] (scalb): Expect.
34178         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34179         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34180         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34181         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34182         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34183         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34184         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34185         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34186         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34187         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34188         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34189         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34190         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34191         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34192         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34193         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34194         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34195         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34196         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34197         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34198         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34199         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34200         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34201         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34202         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34203         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34204         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34205         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34206         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34207         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34208         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34209         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34210         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34211         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34212         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34213         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34214         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34215         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34216         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34217         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34218         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34219         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34220         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34221         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34222         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34223         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34224         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34225         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34226         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34227         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34228         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34229         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34230         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34231         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34232         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34233         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34234         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34235         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34236         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34237         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34238         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34239         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34240         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34241         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34242         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34243         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34244         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34245         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34246         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34247         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34248         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34249         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34250         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34251         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34252         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34253         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34254         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34255         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34256         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34257         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34258         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34259         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34260         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34261         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34262         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34263         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34264         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34265         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34266         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34267         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34268         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34269         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34270         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34271         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34272         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34273         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34274         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34275         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34276         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34277         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34278         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34279         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34280         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34281         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34282         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34283         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34284         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34285         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34286         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34287         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34288         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34289         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34290         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34291         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34292         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34293         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34294         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34295         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34296         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34297         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34298         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34299         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34300         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34301         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34302         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34303         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34304         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34305         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34306         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34307         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34308         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34309         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34310         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34311         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34312         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34313         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34314         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34315
34316         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34317         _XOPEN_SOURCE_EXTENDED for XPG4.
34318
34319         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34320
34321         * Makeconfig (localtime): Remove variable.
34322         (inst_localtime-file): Likewise.
34323
34324 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34325
34326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34327         Update.
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34329         Update.
34330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34331         Update.
34332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34333         Update.
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34335         Update.
34336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34337         Update.
34338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34339         Update.
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34341         Update.
34342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34343         Update.
34344
34345 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34346
34347         [BZ #2550]
34348         [BZ #2570]
34349         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34350         comparisons to determine direction to adjust input.
34351         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34352         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34354         Likewise.
34355         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34356         Likewise.
34357         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34358         Likewise.
34359         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34360         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34361         Likewise.
34362         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34363         Likewise.
34364         * math/libm-test.inc (nexttoward_test): Add more tests.
34365
34366 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34367
34368         [BZ #14040]
34369         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34370         in version GLIBC_2.1, not GLIBC_2.0.
34371         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34372         Likewise.
34373
34374 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34375
34376         [BZ #13942]
34377         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34378         (1 - x) * (1 + x).
34379         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34380         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34381         * math/libm-test.inc (acos_test): Add more tests.
34382         (asin_test): Likewise.
34383         * sysdeps/i386/fpu/libm-test-ulps: Update.
34384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34385
34386         [BZ #14034]
34387         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34388         of square root.
34389         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34390         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34391         * math/libm-test.inc (acos_test_tonearest): New function.
34392         (acos_test_towardzero): Likewise.
34393         (acos_test_downward): Likewise.
34394         (acos_test_upward): Likewise.
34395         (asin_test_tonearest): Likewise.
34396         (asin_test_towardzero): Likewise.
34397         (asin_test_downward): Likewise.
34398         (asin_test_upward): Likewise.
34399         (main): Call the new functions.
34400         * sysdeps/i386/fpu/libm-test-ulps: Update.
34401         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34402
34403         [BZ #13884]
34404         [BZ #13924]
34405         * math/e_exp10.c: Include <float.h>.
34406         (__ieee754_exp10): Handle underflow here rather than multiplying
34407         large negative argument by M_LN10.
34408         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34409         of __ieee754_expf.
34410         * math/e_exp10l.c: Include <float.h>.
34411         (__ieee754_exp10l): Handle underflow here rather than multiplying
34412         large negative argument by M_LN10l.
34413         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34414         spurious overflow exception on underflow.
34415
34416 2012-04-29  Marek Polacek  <polacek@redhat.com>
34417
34418         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34419         (__fortify_function): New macro.
34420         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34421         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34422         __extern_always_inline.
34423         * libio/bits/stdio2.h: Likewise.
34424         * libio/bits/stdio.h: Likewise.
34425         * string/string.h: Likewise.
34426         * string/bits/string3.h: Likewise.
34427         * include/stdio.h: Likewise.
34428         * stdlib/bits/stdlib.h: Likewise.
34429         * stdlib/stdlib.h: Likewise.
34430         * rt/bits/mqueue2.h: Likewise.
34431         * rt/mqueue.h: Likewise.
34432         * posix/bits/unistd.h: Likewise.
34433         * posix/unistd.h: Likewise.
34434         * io/bits/poll2.h: Likewise.
34435         * io/bits/fcntl2.h: Likewise.
34436         * io/fcntl.h: Likewise.
34437         * io/sys/poll.h: Likewise.
34438         * misc/bits/syslog.h: Likewise.
34439         * misc/bits/syslog-ldbl.h: Likewise.
34440         * misc/sys/syslog.h: Likewise.
34441         * socket/bits/socket2.h: Likewise.
34442         * socket/sys/socket.h: Likewise.
34443         * debug/tst-chk1.c: Likewise.
34444         * wcsmbs/bits/wchar2.h: Likewise.
34445         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34446         * wcsmbs/wchar.h: Likewise.
34447
34448 2012-04-29  Andreas Jaeger  <aj@suse.de>
34449
34450         * Makerules (tests): Remove enable-check-abi protection.
34451         (check-abi-warn): Remove.
34452         (check-abi-%): Remove check-abi-warn usage.
34453
34454         * configure.in: Remove check-abi configure option.
34455         * configure: Regenerated.
34456         * config.make.in (enable-check-abi): Remove.
34457
34458 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34459
34460         [BZ #14033]
34461         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34462         double functions to double *_finite functions.
34463
34464         [BZ #13941]
34465         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34466         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34467         LDBL_MIN_EXP.
34468         * stdio-common/Makefile (tests): Add tst-sprintf3.
34469         * stdio-common/tst-sprintf3.c: New file.
34470
34471         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34472         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34473
34474 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34475
34476         * conform/conformtest.pl: Remove duplicate typed-constant
34477         handling.
34478
34479 2012-04-28  David S. Miller  <davem@davemloft.net>
34480
34481         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34482         (check-abi-%): Remove AWK script prerequisite and explicit
34483         abilist directory.
34484         (check-abi): Rewrite to just diff the symlist with the abilist.
34485         (config-tls, config-abi-config): Delete, no longer used.
34486         (update-abi-%): Remove AWK script and explicit abilist directory.
34487         (update-abi): Rewrite to simply compare and conditionally copy the
34488         symlist and the sysdep abilist file.  Remove update-abi-config
34489         checks.
34490         * abilist/ld.abilist: Remove.
34491         * abilist/libBrokenLocale.abilist: Remove.
34492         * abilist/libanl.abilist: Remove.
34493         * abilist/libcrypt.abilist: Remove.
34494         * abilist/libdl.abilist: Remove.
34495         * abilist/librt.abilist: Remove.
34496         * abilist/libthread_db.abilist: Remove.
34497         * abilist/libutil.abilist: Remove.
34498         * scripts/extract-abilist.awk: Remove.
34499         * scripts/merge-abilist.awk: Remove.
34500         * sysdeps/generic/libcidn.abilist: New file.
34501         * sysdeps/generic/libnss_compat.abilist: New file.
34502         * sysdeps/generic/libnss_db.abilist: New file.
34503         * sysdeps/generic/libnss_dns.abilist: New file.
34504         * sysdeps/generic/libnss_files.abilist: New file.
34505         * sysdeps/generic/libnss_hesiod.abilist: New file.
34506         * sysdeps/generic/libnss_nis.abilist: New file.
34507         * sysdeps/generic/libnss_nisplus.abilist: New file.
34508         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34509         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34510         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34511         file.
34512         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34513         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34514         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34515         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34516         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34517         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34518         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34519         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34520         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34521         file.
34522         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34523         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34524         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34525         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34526         file.
34527         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34528         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34529         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34530         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34531         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34532         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34533         file.
34534         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34535         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34536         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34537         file.
34538         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34540         New file.
34541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34542         New file.
34543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34544         New file.
34545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34546         New file.
34547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34548         New file.
34549         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34550         New file.
34551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34552         New file.
34553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34554         New file.
34555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34556         New file.
34557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34558         New file.
34559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34560         New file.
34561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34562         New file.
34563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34564         New file.
34565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34566         file.
34567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34568         New file.
34569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34570         New file.
34571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34572         file.
34573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34574         New file.
34575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34576         New file.
34577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34578         file.
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34580         New file.
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34582         New file.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34584         New file.
34585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34586         New file.
34587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34588         New file.
34589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34590         New file.
34591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34593         file.
34594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34595         New file.
34596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34597         file.
34598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34599         file.
34600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34601         file.
34602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34603         file.
34604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34605         file.
34606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34607         New file.
34608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34609         file.
34610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34611         file.
34612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34613         New file.
34614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34615         file.
34616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34618         file.
34619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34620         New file.
34621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34622         file.
34623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34624         file.
34625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34626         file.
34627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34628         file.
34629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34630         file.
34631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34632         New file.
34633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34634         file.
34635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34636         file.
34637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34638         New file.
34639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34640         file.
34641         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34642         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34643         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34644         file.
34645         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34646         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34647         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34648         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34649         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34650         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34651         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34652         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34653         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34654         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34657         file.
34658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34659         New file.
34660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34661         file.
34662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34663         file.
34664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34665         file.
34666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34667         file.
34668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34669         file.
34670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34671         New file.
34672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34673         New file.
34674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34675         file.
34676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34677         New file.
34678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34679         file.
34680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34682         file.
34683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34684         New file.
34685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34686         file.
34687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34688         file.
34689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34690         file.
34691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34692         file.
34693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34694         file.
34695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34696         New file.
34697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34698         New file.
34699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34700         file.
34701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34702         New file.
34703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34704         file.
34705
34706 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34707
34708         * conform/conformtest.pl: Fix typo in handling typed-constant from
34709         allow-header.
34710
34711 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34712
34713         * README: Cut down references to pre-2.6 Linux kernels and
34714         Linuxthreads.  Update lists of configurations in libc and ports
34715         and sort alphabetically.  Say "or newer" with Linux kernel version
34716         requirements.
34717
34718         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34719
34720 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34721
34722         [BZ #887]
34723         * math/libm-test.inc (logb_test_downward): New test to expose
34724         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34725         rounding mode.
34726
34727 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34728
34729         [BZ #14027]
34730         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34731         to be done.
34732         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34733         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34734
34735 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34736
34737         * sysdeps/unix/i386/brk.S: Remove file.
34738         * sysdeps/unix/i386/dl-brk.S: Likewise.
34739         * sysdeps/unix/i386/pipe.S: Likewise.
34740         * sysdeps/unix/i386/sigreturn.S: Likewise.
34741         * sysdeps/unix/i386/syscall.S: Likewise.
34742         * sysdeps/unix/i386/vfork.S: Likewise.
34743         * sysdeps/unix/i386/wait.S: Likewise.
34744
34745         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34746         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34747
34748         * configure.in (arm*-none*): Do not allow without
34749         --enable-hacker-mode.
34750         (netbsd*): Remove case setting base_os.
34751         (386bsd*): Likewise.
34752         (freebsd*): Likewise.
34753         (bsdi*): Likewise.
34754         (osf*): Likewise.
34755         (sunos*): Likewise.
34756         (ultrix*): Likewise.
34757         (newsos*): Likewise.
34758         (dynix*): Likewise.
34759         (*bsd*): Likewise.
34760         (sysv*): Likewise.
34761         (isc*): Likewise.
34762         (esix*): Likewise.
34763         (sco*): Likewise.
34764         (minix*): Likewise.
34765         (irix4*): Likewise.
34766         (irix6*): Likewise.
34767         (solaris[2-9]*): Likewise.
34768         (none): Likewise.
34769         * configure: Regenerated.
34770
34771 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34772
34773         [BZ #11521]
34774         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34775         overflow or cancellation in calculating denominator.
34776         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34777         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34778         down expression to avoid unexpected rounding in newer GCCs.
34779         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34780
34781 2012-04-26  David S. Miller  <davem@davemloft.net>
34782
34783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34784         long-double compat symbols.
34785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34798
34799 2012-04-25  David S. Miller  <davem@davemloft.net>
34800
34801         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34802         HWCAP_* values only after the memory barriers have been defined.
34803         (atomic_full_barrier): Define.
34804         (atomic_read_barrier): Define.
34805         (atomic_write_barrier): Define.
34806
34807 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34808
34809         * shlib-versions: Add libgcc_s version information.
34810         * sysdeps/generic/libgcc_s.h: Remove.
34811         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34812         libgcc_s.h.
34813         * sysdeps/gnu/unwind-resume.c: Likewise.
34814         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34815
34816 2012-04-25  David S. Miller  <davem@davemloft.net>
34817
34818         * sysdeps/unix/sparc/brk.S: Delete.
34819         * sysdeps/unix/sparc/dl-brk.S: Delete.
34820         * sysdeps/unix/sparc/pipe.S: Delete.
34821         * sysdeps/unix/sparc/sysdep.S: Delete.
34822         * sysdeps/unix/sparc/sysdep.h: Delete.
34823         * sysdeps/unix/sparc/vfork.S: Delete.
34824         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34825         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34826         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34827         (ret_ERRVAL, r0, r1, MOVE): Define.
34828         (JUMPTARGET): Remove.
34829         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34830         sysdeps/unix/sparc/sysdep.h
34831         (ENTRY, END): Remove.
34832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34833
34834 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34835
34836         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34837         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34838         -DIS_IN_build.
34839
34840         * timezone/README: Update upstream location and email address for
34841         tzcode and tzdata.
34842         * timezone/zdump.c: Update from tzcode 2012b.
34843         * timezone/zic.c: Likewise.
34844
34845         * configure.in (libc_cv_as_needed): Remove test.
34846         * configure: Regenerated.
34847         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34848         conditional definition.
34849         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34850         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34851         * config.make.in (have-as-needed): Remove variable.
34852
34853 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34854             Paul Pluzhnikov  <ppluzhnikov@google.com>
34855
34856         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34857         strings correctly.
34858
34859 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34860
34861         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34862         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34863         * sysdeps/sh/strlen.S: Likewise.
34864
34865 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34866
34867         * sysdeps/unix/fork.S: Remove file.
34868         * sysdeps/unix/i386/fork.S: Likewise.
34869         * sysdeps/unix/sparc/fork.S: Likewise.
34870
34871         * sysdeps/unix/system.c: Remove file.
34872         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34873
34874         * sysdeps/unix/getegid.S: Remove file.
34875         * sysdeps/unix/geteuid.S: Likewise.
34876
34877 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34878
34879         * scripts/check-localplt.awk: New file.
34880         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34881         of diff.
34882         * scripts/data/localplt-generic.data: Add a comment.
34883
34884         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34885         NODE when __dir_mkfile failed.
34886         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34887         Reported by Ludovic Courtès <ludo@gnu.org>.
34888
34889 2012-04-24  Andreas Jaeger  <aj@suse.de>
34890
34891         * Makerules (common-clean): Also remove gen-as-const-headers
34892         files.
34893
34894 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34895
34896         * Makerules (native-compile): Do not change working directory for
34897         build.  Use $(OUTPUT_OPTION) in command.
34898         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34899
34900 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34901
34902         [BZ #13886]
34903         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34904         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34905         * math/libm-test.inc (floor_test): Add more tests.
34906         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34907
34908 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34909
34910         * sysdeps/unix/getdents.c: Remove file.
34911         * sysdeps/unix/sysv/getdents.c: Likewise.
34912         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34913
34914         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34915         sysdeps/unix/mman/syscalls.list.
34916         (mmap): Likewise.
34917         (mprotect): Likewise.
34918         (msync): Likewise.
34919         (munmap): Likewise.
34920         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34921         * sysdeps/unix/mman/syscalls.list: Remove.
34922         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34923
34924         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34925         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34926         * configure: Regenerated.
34927         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34928         $(libgcc_s_suffix).
34929         * config.make.in (libgcc_s_suffix): Remove variable.
34930
34931 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34932
34933         * sysdeps/unix/sysv/gethostname.c: Move to ...
34934         * sysdeps/posix/gethostname.c: ... here.
34935
34936         * sysdeps/unix/execve.S: Remove file.
34937
34938         * sysdeps/unix/_exit.S: Remove file.
34939
34940 2012-04-23  Andreas Jaeger  <aj@suse.de>
34941
34942         [BZ #13739]
34943         * manual/Makefile: Remove make dist support, there's no
34944         need for a stand-alone documentation tar ball.
34945         (TEXI2DVI): Define always, it's not in Makeconfig.
34946         (dist): Removed.
34947         (tar-it): Removed.
34948         (edition): Removed.
34949         (glibc-doc-$(edition).tar): Removed
34950         (%.Z): Removed.
34951         (%.gz): Removed.
34952         (%.uu): Removed.
34953         (ETAGS): Remove, it's in Makeconfig.
34954         (move-if-change): Remove, it's in Makeconfig.
34955
34956 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34957
34958         [BZ #13970]
34959         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34960         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34961         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34962         (strtod_l, strtof_l, strtold_l): Remove __wur.
34963         It is not necessarily an error to ignore strtol's return value.
34964         One can reliably look at the stored endptr to decide whether
34965         the number had valid syntax.
34966
34967 2012-04-21  Andreas Jaeger  <aj@suse.de>
34968
34969         [BZ #13739]
34970         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34971
34972 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34973
34974         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34975         * sysdeps/unix/sysv/Versions: Remove file.
34976
34977 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34978
34979         [BZ #13927]
34980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34981
34982 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34983
34984         [BZ #7064]
34985         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34986         version from __vm86.
34987
34988 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34989
34990         * sysdeps/unix/common/lxstat.c: Remove file.
34991         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34992
34993         * sysdeps/unix/sysv/Makefile: Remove file.
34994
34995         * sysdeps/unix/sysv/direct.h: Remove file.
34996
34997         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34998         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34999         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35000         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35001         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35002         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35003         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35004
35005         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35006
35007         * sysdeps/unix/xmknod.c: Remove file.
35008         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35009
35010         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35011
35012         * sysdeps/unix/sysv/i386/time.S: Remove file.
35013
35014         * sysdeps/unix/fxstat.c: Remove file.
35015         * sysdeps/unix/xstat.c: Likewise.
35016         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35017
35018         * sysdeps/unix/sysv/sigaction.c: Remove file.
35019
35020         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35021         (sysdep_headers): Remove variable.
35022         [termio.h not in sysdep_headers] (generated): Likewise.
35023         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35024         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35025         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35026         * sysdeps/unix/sysv/tcflow.c: Likewise.
35027         * sysdeps/unix/sysv/tcflush.c: Likewise.
35028         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35029         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35030         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35031         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35032         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35033
35034         * sysdeps/unix/siglist.c: Remove file.
35035
35036         * sysdeps/unix/getppid.S: Remove file.
35037
35038         * sysdeps/unix/mkdir.c: Remove file.
35039         * sysdeps/unix/rmdir.c: Likewise.
35040
35041 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35042
35043         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35044         ERR_MAX value.
35045         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35046         errlist-compat value.
35047
35048 2012-04-18  David S. Miller  <davem@davemloft.net>
35049
35050         * sysdeps/generic/memcopy.h (reg_char): Delete.
35051         * debug/strcat_chk.c: Use char, not reg_char.
35052         * debug/strcpy_chk.c: Likewise.
35053         * debug/strncat_chk.c: Likewise.
35054         * debug/strncpy_chk.c: Likewise.
35055         * string/memchr.c: Likewise.
35056         * string/memrchr.c: Likewise.
35057         * string/rawmemchr.c: Likewise.
35058         * string/strcat.c: Likewise.
35059         * string/strchr.c: Likewise.
35060         * string/strchrnul.c: Likewise.
35061         * string/strcmp.c: Likewise.
35062         * string/strcpy.c: Likewise.
35063         * string/strncat.c: Likewise.
35064         * string/strncmp.c: Likewise.
35065         * string/strncpy.c: Likewise.
35066
35067 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35068
35069         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35070         __builtin_memcopy is called when src and dest ranges are known to not
35071         overlap.
35072
35073 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35074
35075         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35076         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35077         fwd_align_merge macro call.
35078         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35079         bwd_align_merge macro call.
35080         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35081
35082 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35083
35084         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35085         bwd_align_merge macros.
35086         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35087         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35088         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35089
35090 2012-04-18  David S. Miller  <davem@davemloft.net>
35091
35092         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35093
35094 2012-04-18  Andreas Jaeger  <aj@suse.de>
35095
35096         [BZ# 6794]
35097         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35098         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35099         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35100
35101         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35102         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35103         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35104
35105         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35106         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35107         Adjust for changed ldbl-128 files.
35108
35109         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35110         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35111         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35112
35113 2012-04-17  David S. Miller  <davem@davemloft.net>
35114
35115         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35116
35117 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35118
35119         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35120         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35121         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35122         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35123         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35124         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35125
35126 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35127
35128         [BZ #6794]
35129         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35130         * math/libm-test.inc: Add ilogb errno and exception tests.
35131         * math/w_ilogb.c: New file: ilogb wrapper.
35132         * math/w_ilogbf.c: New file: ilogbf wrapper.
35133         * math/w_ilogbl.c: New file: ilogbl wrapper.
35134         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35135         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35136         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35137         exception being thrown with 0.0 as argument.
35138         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35139         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35140         exception being thrown with 0.0 as argument.
35141         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35142         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35143         exception being thrown with 0.0 as argument.
35144         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35145         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35146         exception being thrown with 0.0 as argument.
35147         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35148         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35149         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35150         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35151         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35152         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35153         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35154         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35155         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35156
35157 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35158
35159         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35160         with altivec.
35161
35162 2012-04-16  Marek Polacek  <polacek@redhat.com>
35163
35164         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35165
35166 2012-04-16  Marek Polacek  <polacek@redhat.com>
35167
35168         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35169         operands of fdivp instruction.
35170
35171 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35172
35173         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35174         * elf/tst-auditmod3b.c: Likewise.
35175         * elf/tst-auditmod4b.c: Likewise.
35176         * elf/tst-auditmod5b.c: Likewise.
35177         * elf/tst-auditmod6b.c: Likewise.
35178         * elf/tst-auditmod6c.c: Likewise.
35179         * elf/tst-auditmod7b.c: Likewise.
35180         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35181         * sysdeps/x86_64/preconfigure.in: Likewise.
35182         * sysdeps/x86_64/preconfigure: Regenerated.
35183
35184 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35185
35186         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35187         __ILP32__.
35188
35189 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35190
35191         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35192         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35193
35194 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35195
35196         [BZ #13973]
35197         * locale/iso-639.def: Fix gl language name. Spotted by
35198         Yaron Shahrabani.
35199
35200 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35201
35202         [BZ #2074]
35203         * libio/libio.h (__io_write_fn): Update comment.
35204
35205 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35206
35207         [BZ #2074]
35208         * stdio.texi (Hook Functions): The user provided writer function
35209         is not allowed to return -1.
35210
35211 2012-04-11  David S. Miller  <davem@davemloft.net>
35212
35213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35214
35215 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35216
35217         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35218         Add a leading slash to rtkaio.
35219
35220 2012-04-11  Jim Meyering  <meyering@redhat.com>
35221
35222         [BZ #11959]
35223         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35224         It is not necessarily an error to ignore fwrite's return
35225         value.  One can reliably use ferror to test for errors after
35226         the fact.
35227
35228 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35229
35230         * bits/types.h (__snseconds_t): New type.
35231         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35232
35233         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35234         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35235         (__SNSECONDS_T_TYPE): Likewise.
35236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35237         (__SNSECONDS_T_TYPE): Likewise.
35238         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35239         (__SNSECONDS_T_TYPE): Likewise.
35240
35241 2012-04-10  Andreas Jaeger  <aj@suse.de>
35242
35243         [BZ #2636]
35244         * manual/time.texi (Processor Time): Return type of times is
35245         elapsed real time since an arbitrary point in the past.
35246         (CPU Time): Move CLK_TCK from here...
35247         (Processor Time): ...to here.  Correct description.
35248         * manual/conf.texi (Constants for Sysconf): Correct description of
35249         _SC_CLK_TCK.
35250
35251 2012-04-10  David S. Miller  <davem@davemloft.net>
35252
35253         [BZ #13967]
35254         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35255         where the is a gap between DT_REL(A) and DT_JMPREL.
35256
35257 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35258
35259         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35260         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35261         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35262
35263 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35264
35265         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35266         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35267         (dl_main): Handle --inhibit-cache.
35268         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35269         _dl_inhibit_cache.
35270         * elf/dl-load.c (_dl_map_object): Use it.
35271         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35272
35273 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35274
35275         [BZ #13872]
35276         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35277         (__ieee754_powl): Saturate large exponents rather than testing for
35278         overflow of y*log2(x).
35279         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35280         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35281         exceptions.
35282
35283         [BZ #11521]
35284         * math/s_ctan.c: Include <float.h>.
35285         (__ctan): Avoid internal overflow or cancellation in calculating
35286         denominator.
35287         * math/s_ctanf.c: Likewise.
35288         * math/s_ctanl.c: Likewise.
35289         * math/s_ctanh.c: Likewise.
35290         * math/s_ctanhf.c: Likewise.
35291         * math/s_ctanhl.c: Likewise.
35292         * math/libm-test.inc (ctan_test): Add more tests.
35293         (ctanh_test): Likewise.
35294         * sysdeps/i386/fpu/libm-test-ulps: Update.
35295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35296
35297 2012-04-09  Andreas Jaeger  <aj@suse.de>
35298
35299         [BZ #6894]
35300         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35301         is an optional BSD extension.
35302
35303         [BZ #10254]
35304         * manual/stdio.texi (Opening Streams): Document additional fopen
35305         parameters.
35306
35307 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35308
35309         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35310         %eax without telling the compiler.
35311
35312 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35313
35314         [BZ # 13963]
35315         * manual/install.texi: Use sourceware.org.
35316
35317 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35318
35319         [BZ #13873]
35320         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35321         (__ieee754_pow): Generate overflow and underflow using huge*huge
35322         and tiny*tiny rather than just returning constant infinity or zero
35323         for large exponents.
35324         * math/libm-test.inc (pow_test): Require overflow exceptions for
35325         applicable cases of large exponents.
35326
35327         [BZ #706]
35328         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35329         (__ieee754_pow): Use iterative multiplication algorithm only for
35330         integer exponents with absolute value below 1024.  Check for odd
35331         integer exponents when using algorithm for real exponents.
35332         * math/libm-test.inc (pow_test): Add more tests.
35333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35334
35335 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35336
35337         [BZ #13705]
35338         * math/libm-test.inc (exp_test): Do not allow overflow exception
35339         on underflow test.
35340
35341 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35342
35343         [BZ #13705]
35344         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35345         instead of __kernel_standard_f.
35346
35347 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35348
35349         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35350         * sysdeps/x86_64/memset_chk.S: Likewise.
35351
35352 2012-04-08  Andreas Jaeger  <aj@suse.de>
35353
35354         [BZ #10153]
35355         * manual/startup.texi (Environment Access): Describe return value
35356         for putenv and setenv.
35357
35358         [BZ #6895]
35359         * manual/filesys.texi (Directory Entries): Add description for
35360         DT_LNK.
35361
35362         [BZ #6890]
35363         * manual/filesys.texi (Directory Entries): Clarify that it's file
35364         system not operating system in the description of DT_UNKNOWN.
35365
35366         [BZ #6578]
35367         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35368
35369 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35370
35371         [BZ #6649]
35372         * manual/llio.texi (Opening and Closing Files): Add cross
35373         reference to explain mode argument.
35374
35375 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35376
35377         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35378         * sysdeps/x86_64/memset_chk.S: Likewise.
35379
35380 2012-04-07  David S. Miller  <davem@davemloft.net>
35381
35382         * elf/elf.h (R_SPARC_WDISP10): Define.
35383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35384         R_SPARC_SIZE32.
35385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35386         R_SPARC_SIZE64 and R_SPARC_H34.
35387
35388 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35389
35390         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35391         conditions and remove no longer applicable assertion.
35392
35393 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35394
35395         * bits/byteswap.h: Include <features.h>.
35396         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35397         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35398
35399 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35400
35401         * bits/byteswap.h (__bswap_16): Removed.
35402         Include <bits/byteswap-16.h> to get __bswap_16.
35403         * sysdeps/i386/bits/byteswap.h: Likewise.
35404         * sysdeps/s390/bits/byteswap.h: Likewise.
35405         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35406         * bits/byteswap-16.h: New file.
35407         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35408         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35409         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35410         * string/Makefile (headers): Add bits/byteswap-16.h.
35411
35412 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35413
35414         [BZ #13895]
35415         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35416         extra indirection.
35417         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35418         * nss/tst-nss-static.c: New.
35419
35420 2012-04-06  Robert Millan  <rmh@gnu.org>
35421
35422         [BZ #6486]
35423         * manual/llio.texi (File Position Primitive): lseek
35424         refers to WHENCE when it really means OFFSET.
35425
35426 2012-04-06  Andreas Jaeger  <aj@suse.de>
35427
35428         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35429         strncmp declarations.
35430
35431         * abilist/libc.abilist: Add __poll and __ppoll.
35432
35433 2012-04-05  David S. Miller  <davem@davemloft.net>
35434
35435         * scripts/check-local-headers.sh: Accept a host triplet in the
35436         path matched by the exclude regexp.
35437
35438         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35439         definition.
35440         * sysdeps/powerpc/powerpc32/dl-machine.h
35441         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35442         * sysdeps/s390/s390-32/dl-machine.h
35443         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35444         * sysdeps/sparc/sparc32/dl-machine.h
35445         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35446         * sysdeps/sparc/sparc64/dl-machine.h
35447         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35448
35449         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35450         lazy binding.
35451         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35452         undefined symbol errors.
35453
35454         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35455         DT_NEEDED entries.
35456
35457 2012-04-05  Michael Matz  <matz@suse.de>
35458
35459         [BZ #13592]
35460         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35461
35462 2012-04-05  Andreas Jaeger  <aj@suse.de>
35463
35464         [BZ #13908]
35465         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35466         comment.
35467
35468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35469
35470         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35471         which ROUND is no valid rounding mode.
35472
35473 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35474
35475         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35476         read again.
35477         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35478
35479 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35480
35481         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35482         an exception using FPU order intentionally.
35483
35484 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35485
35486         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35487         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35488         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35489         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35490
35491 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35492
35493         [BZ #12340]
35494         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35495         EINVAL when BUFLEN is too smal.
35496
35497 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35498
35499         [BZ #13553]
35500         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35501         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35502
35503 2012-04-03  Andreas Jaeger  <aj@suse.de>
35504
35505         [BZ #13938]
35506         * manual/setjmp.texi (System V contexts): Fix sentence.
35507
35508         [BZ #13926]
35509         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35510         New macro for this case.
35511         [!__GNUC__] (__bswap_64): New inline function for this case.
35512         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35513         * bits/byteswap.h: Likewise.
35514         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35515         ull, guard with __GLIBC_HAVE_LONG_LONG.
35516
35517         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35518         __GLIBC_HAVE_LONG_LONG.
35519
35520         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35521         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35522
35523 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35524
35525         [BZ #13691]
35526         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35527         inptr and inend, rather than using last_ch.
35528
35529 2012-04-02  David S. Miller  <davem@davemloft.net>
35530
35531         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35532         * stdio-common/printf-parse.h (read_int): Change return type to
35533         'int', return -1 on INT_MAX overflow.
35534         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35535         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35536         overflows INT_MAX.  Check for overflow of in-format-string precision
35537         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35538         SIZE_MAX not INT_MAX for integer overflow test.
35539         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35540         skip the construct in the format string but do not record anything.
35541         * stdio-common/bug22.c: Adjust to test both width/prevision
35542         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35543         explicitly for proper errno values.
35544
35545 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35546
35547         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35548         CHAR_MAX.
35549         * string/test-strcmp.c [! WIDE]: Likewise.
35550         * time/tst-mktime2.c: Likewise for INT_MAX.
35551         * string/test-string.h: #include <sys/param.h> for MIN.
35552
35553         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35554         * sysdeps/i386/init-first.c (init): Likewise.
35555         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35556         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35557         * sysdeps/sh/init-first.c (init): Likewise.
35558
35559 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35560
35561         * po/ru.po: Update from translation team.
35562         * po/vi.po: Likewise.
35563
35564 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35565
35566         * resolv/nss_dns/dns-host.c: Merge copyright years.
35567
35568 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35569
35570         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35571         Optimize memcpy with prefetch if
35572         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35573         src, dst pointers have unequal 16 byte alignments.
35574
35575 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35576
35577         [BZ #13928]
35578         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35579         from a CNAME entry and return the minimum ttl for the query.
35580         (gaih_getanswer_slice): Likewise.
35581
35582 2012-03-30  Jeff Law  <law@redhat.com>
35583
35584         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35585         due to long keys.
35586         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35587         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35588
35589         * resolv/nss_dns/dns-host.c: Update copyright year.
35590
35591 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35592
35593         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35594         requests to save a system call.  Fix check that all bytes are sent.
35595
35596         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35597         comments for sendmmsg.
35598
35599 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35600
35601         [BZ #13691]
35602         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35603         with only 1 character between 0x0041 and 0x01b0.
35604         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35605         * wcsmbs/tst-mbsnrtowcs.c: New file.
35606
35607 2012-03-29  David S. Miller  <davem@davemloft.net>
35608
35609         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35610         small copies by hand.
35611
35612 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35613
35614         [BZ #13761]
35615         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35616         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35617         group memberships.
35618
35619 2012-03-28  David S. Miller  <davem@davemloft.net>
35620
35621         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35622         that branches into memcpy.
35623         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35624         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35625         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35626         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35627         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35628         bits.
35629         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35630         implementation too.
35631         * sysdeps/sparc/mempcpy.S: New file.
35632
35633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35634         the IFUNC routine in the libc case.
35635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35636
35637         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35638         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35639         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35640         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35641         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35642         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35643         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35644         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35645
35646         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35647         loop to 256 bytes instead of 64 bytes and fix test signedness.
35648
35649         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35650         * sysdeps/sparc/sparc32/Makefile: rather than here...
35651         * sysdeps/sparc/sparc64/Makefile: and here.
35652
35653 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35654
35655         * malloc/mallocbug.c: Avoid warnings about unused variables.
35656
35657 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35658
35659         [BZ #13760]
35660         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35661         in the right place. Discard and retry query if response is
35662         larger than input buffer size.
35663
35664 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35665
35666         [BZ #369]
35667         [BZ #2678]
35668         [BZ #3866]
35669         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35670         x for large integer exponent.
35671         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35672         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35673         sign of result as needed afterwards.
35674         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35675         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35676         result for underflowing pow the same as for overflow.
35677         (__kernel_standard_l): Handle powl overflow and underflow here
35678         rather than calling __kernel_standard.
35679         * math/libm-test.inc (pow_test): Add more tests.
35680
35681         [BZ #3868]
35682         [BZ #13879]
35683         [BZ #13910]
35684         [BZ #13911]
35685         [BZ #13912]
35686         [BZ #13913]
35687         [BZ #13915]
35688         [BZ #13916]
35689         [BZ #13917]
35690         [BZ #13918]
35691         [BZ #13919]
35692         [BZ #13920]
35693         [BZ #13921]
35694         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35695         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35696         (__kernel_standard_l): New function.
35697         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35698         __kernel_standard.
35699         * math/w_acosl.c (__acosl): Likewise.
35700         * math/w_asinl.c (__asinl): Likewise.
35701         * math/w_atan2l.c (__atan2l): Likewise.
35702         * math/w_atanhl.c (__atanhl): Likewise.
35703         * math/w_coshl.c (__coshl): Likewise.
35704         * math/w_exp10l.c (__exp10l): Likewise.
35705         * math/w_exp2l.c (__exp2l): Likewise.
35706         * math/w_fmodl.c (__fmodl): Likewise.
35707         * math/w_hypotl.c (__hypotl): Likewise.
35708         * math/w_j0l.c (__j0l, __y0l): Likewise.
35709         * math/w_j1l.c (__j1l, __y1l): Likewise.
35710         * math/w_jnl.c (__jnl, __ynl): Likewise.
35711         * math/w_lgammal.c (__lgammal): Likewise.
35712         * math/w_log10l.c (__log10l): Likewise.
35713         * math/w_log2l.c (__log2l): Likewise.
35714         * math/w_logl.c (__logl): Likewise.
35715         * math/w_powl.c (__powl): Likewise.
35716         * math/w_remainderl.c (__remainderl): Likewise.
35717         * math/w_scalbl.c (sysv_scalbl): Likewise.
35718         * math/w_sinhl.c (__sinhl): Likewise.
35719         * math/w_sqrtl.c (__sqrtl): Likewise.
35720         * math/w_tgammal.c (__tgammal): Likewise.
35721         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35722         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35723         * math/libm-test.inc (acos_test): Add more tests.
35724         (acosh_test): Likewise.
35725         (asin_test): Likewise.
35726         (atanh_test): Likewise.
35727         (exp_test): Likewise.
35728         (exp10_test): Likewise.
35729         (exp2_test): Likewise.
35730         (expm1_test): Likewise.
35731         (lgamma_test): Likewise.
35732         (log_test): Likewise.
35733         (log10_test): Likewise.
35734         (log1p_test): Likewise.
35735         (log2_test): Likewise.
35736         (pow_test): Do not allow some spurious overflow exceptions.
35737         (sqrt_test): Add more tests.
35738         (tgamma_test): Likewise.
35739         (y0_test): Likewise.
35740         (y1_test): Likewise.
35741         (yn_test): Likewise.
35742
35743 2012-03-27  Anton Blanchard  <anton@samba.org>
35744
35745         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35746         MAP_HUGETLB.
35747         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35748         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35749         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35750
35751 2012-03-27  David S. Miller  <davem@davemloft.net>
35752
35753         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35754
35755         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35756         have-as-vis3 check.
35757
35758 2012-03-27  Andreas Jaeger  <aj@suse.de>
35759
35760         * sysdeps/x86_64/elf/configure.in: Moved to ...
35761         * sysdeps/x86_64/configure.in: ... here.
35762         * sysdeps/x86_64/elf/start.S: Moved to ...
35763         * sysdeps/x86_64/start.S: ... here.
35764         * sysdeps/x86_64/elf/configure: Delete.
35765
35766         * sysdeps/x86_64/configure.in: Merge contents from
35767         sysdeps/i386/configure.in (without i686 check).
35768
35769         * sysdeps/i386/elf/Versions: Merge into ...
35770         * sysdeps/i386/Versions: ... this.
35771         * sysdeps/i386/elf/Versions: Delete file.
35772         * sysdeps/i386/elf/start.S: Moved to ...
35773         * sysdeps/i386/start.S: ...here.
35774         * sysdeps/i386/elf/configure.in: Merge into...
35775         * sysdeps/i386/configure.in: ...here.
35776         * sysdeps/i386/elf/configure.in: Delete file.
35777         * sysdeps/i386/elf/configure: Delete file.
35778
35779         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35780         * debug/backtracesyms.c: ... here.
35781         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35782         * debug/backtracesymsfd.c: ... here.
35783         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35784         * sysdeps/generic/ifunc-sel.h: ... here.
35785
35786         * sysdeps/unix/i386/start.c: Delete file.
35787         * sysdeps/unix/sparc/start.c: Delete file.
35788         * sysdeps/unix/start.c: Delete file.
35789
35790         * sysdeps/sh/elf/configure.in: Moved to ...
35791         * sysdeps/sh/configure.in: ... here.
35792         * sysdeps/sh/elf/start.S: Moved to ...
35793         * sysdeps/sh/start.S: ... here.
35794         * sysdeps/sh/elf/configure: Delete file.
35795
35796         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35797         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35798         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35799         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35800         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35801         * sysdeps/powerpc/powerpc64/start.S: here.
35802         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35803         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35804         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35805         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35806         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35807
35808         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35809         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35810         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35811         * sysdeps/powerpc/powerpc32/start.S: ... here.
35812         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35813         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35814         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35815
35816         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35817         * sysdeps/powerpc/ifunc-sel.h: ... here.
35818         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35819         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35820
35821         * sysdeps/sparc/elf/configure.in: Moved to ...
35822         * sysdeps/sparc/configure.in: ... here.
35823         * sysdeps/sparc/elf/configure: Delete file.
35824         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35825         * sysdeps/sparc/sparc32/start.S: ... here.
35826         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35827         * sysdeps/sparc/sparc64/start.S: ... here.
35828         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35829         * sysdeps/sparc/sparc32/Makefile: ... this.
35830         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35831         * sysdeps/sparc/sparc64/Makefile: ... this.
35832
35833         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35834         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35835         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35836         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35837         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35838         * sysdeps/s390/s390-32/setjmp.S: ... here.
35839         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35840         * sysdeps/s390/s390-32/configure.in: ... here.
35841         * sysdeps/s390/s390-32/elf/configure: Delete file.
35842         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35843         * sysdeps/s390/s390-32/start.S: ... here.
35844
35845         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35846         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35847         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35848         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35849         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35850         * sysdeps/s390/s390-64/setjmp.S: ... here.
35851         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35852         * sysdeps/s390/s390-64/configure.in: ... here
35853         * sysdeps/s390/s390-64/elf/configure: Delete file.
35854         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35855         * sysdeps/s390/s390-64/start.S: ... here.
35856         * sysdeps/s390/s390-64/elf/configure: Delete.
35857
35858         * configure.in: Remove support for elf directories in sysdeps.
35859
35860         * configure: Regenerated.
35861         * sysdeps/i386/configure: Regenerated.
35862         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35863         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35864         * sysdeps/s390/s390-32/configure: Regenerated.
35865         * sysdeps/s390/s390-64/configure: Regenerated.
35866         * sysdeps/sh/configure: Regenerated.
35867         * sysdeps/sparc/configure: Regenerated.
35868         * sysdeps/x86_64/configure: Regenerated.
35869
35870 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35871
35872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35873
35874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35875         denormal result into account.
35876
35877 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35878
35879         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35880         Reported by Allan McRae <allan@archlinux.org>.
35881
35882 2012-03-23  Jeff Law  <law@redhat.com>
35883
35884         * nss/getnssent.c (__nss_getent): Fix typo.
35885
35886 2012-03-23  David S. Miller  <davem@davemloft.net>
35887
35888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35889
35890 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35891
35892         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35893         to pad to uint64_t for each field.
35894         (dl_tls_index): Replace unsigned long with uint64_t.
35895
35896 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35897         Paul Pluzhnikov  <ppluzhnikov@google.com>
35898
35899         [BZ #6528]
35900         * grp/Makefile (otherlibs): Don't set it.
35901         * inet/Makefile (otherlibs): Likewise.
35902         * login/Makefile (otherlibs): Likewise.
35903         * nscd/Makefile (otherlibs): Likewise.
35904         * posix/Makefile (otherlibs): Likewise.
35905         * pwd/Makefile (otherlibs): Likewise.
35906         * rt/Makefile (otherlibs): Likewise.
35907         * sunrpc/Makefile (otherlibs): Likewise.
35908         * nss/Makefile (otherlibs): Likewise.
35909         Add libnss_files to routines and static-only-routines.
35910         ($(objpfx)getent): Remove rule.
35911         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35912         static-only-routines.
35913
35914 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35915
35916         [BZ #13892]
35917         * math/s_cexp.c: Include <float.h>.
35918         (__cexp): Handle exp result overflowing not necessarily
35919         overflowing both real and imaginary parts of result.
35920         * math/s_cexpf.c: Likewise.
35921         * math/s_cexpl.c: Likewise.
35922         * math/libm-test.inc (cexp_test): Add more tests.
35923         * sysdeps/i386/fpu/libm-test-ulps: Update.
35924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35925
35926 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35927
35928         * include/link.h (ELFW): New macro.
35929         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35930         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35931
35932 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35933
35934         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35935         with uint64_t.
35936
35937 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35938
35939         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35940         declaration.
35941         (struct La_x32_retval): Likewise.
35942
35943 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35944
35945         * sysdeps/x86_64/preconfigure.in: New file.
35946         * sysdeps/x86_64/preconfigure: New generated file.
35947
35948 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35949
35950         [BZ #13824]
35951         * math/e_exp2l.c: Include <float.h>.
35952         (__ieee754_exp2l): Handle overflow and underflow cases
35953         separately.  Only pass fractional part of argument to
35954         __ieee754_expl.
35955         * math/libm-test.inc (exp2_test): Add more tests.
35956
35957         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35958         negating x to take absolute value.
35959         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35960         Likewise.
35961         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35963         Likewise.
35964         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35965         computing low part if x was negated.
35966         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35967
35968 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35969
35970         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35971         la_x32_gnu_pltexit.
35972         (pltexit): Cast int_retval to ptrdiff_t.
35973         * elf/tst-auditmod3b.c: Likewise.
35974         * elf/tst-auditmod4b.c: Likewise.
35975         * elf/tst-auditmod5b.c: Likewise.
35976         * elf/tst-auditmod6b.c: Likewise.
35977         * elf/tst-auditmod6c.c: Likewise.
35978         * elf/tst-auditmod7b.c: Likewise.
35979
35980         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35981         and x32_gnu_pltexit.
35982
35983         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35984         __ELF_NATIVE_CLASS.
35985         (La_x32_regs): New macro.
35986         (La_x32_retval): Likewise.
35987         (la_x32_gnu_pltenter): New function prototype.
35988         (la_x32_gnu_pltexit): Likewise.
35989
35990 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35991
35992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35993         exponent.
35994
35995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35996
35997         * configure.in (libc_cv_cc_nofma): Check for option to disable
35998         generation of FMA instructions.
35999         * configure: Regenerate.
36000         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36001         * sysdeps/ieee754/dbl-64/Makefile: New file.
36002         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36003         Remove brandred-fma4.
36004         (CFLAGS-brandred-fma4.c): Remove.
36005         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36006         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36007         define.
36008         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36009         define.
36010
36011 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36012
36013         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36014         LLONG_MAX != LONG_MAX.
36015         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36016         (_fitoa_word): Likewise.
36017         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36018         LLONG_MAX != LONG_MAX.
36019         * stdio-common/_itowa.h: Include <_itoa.h>.
36020         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36021         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36022         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36023         only if not defined.
36024         (_ITOA_WORD_TYPE): Likewise.
36025         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36026         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36027
36028 2012-03-21  David S. Miller  <davem@davemloft.net>
36029
36030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36031
36032 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36033
36034         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36035         of x86_64 when setting libc_cv_slibdir, libdir and
36036         libc_cv_localedir.
36037         * sysdeps/unix/sysv/linux/configure: Regenerated.
36038
36039 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36040
36041         * manual/lang.texi (Old Varargs): Remove section.
36042         (How Variadic): Update menu.
36043         (va_start): Do not mention varargs.h.
36044
36045 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36046             Joseph Myers  <joseph@codesourcery.com>
36047
36048         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36049         link test.
36050         * configure: Regenerated.
36051
36052 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36053
36054         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36055         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36056         conformtest.pl
36057
36058 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36059
36060         * NOTES: Remove.
36061         * Makefile (files-for-dist): Remove NOTES.
36062         (NOTES): Remove rule.
36063         * README: Don't refer to NOTES.
36064         * manual/creature.texi: Don't include macros.texi.
36065         * manual/intro.texi (creature.texi): Remove comment referring to
36066         NOTES.
36067
36068         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36069         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36070         * configure: Regenerated.
36071         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36072         LIBC_TRY_CC_OPTION.
36073         (libc_cv_as_i686): Likewise.
36074         (libc_cv_cc_avx): Likewise.
36075         (libc_cv_cc_sse2avx): Likewise.
36076         (libc_cv_cc_fma4): Likewise.
36077         (libc_cv_cc_novzeroupper): Likewise.
36078         * sysdeps/i386/configure: Regenerated.
36079
36080         [BZ #13883]
36081         * sysdeps/i386/fpu/s_cexp.S: Remove.
36082         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36083         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36084         * math/libm-test.inc (cexp_test): Add more tests.
36085         * sysdeps/i386/fpu/libm-test-ulps: Update.
36086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36087
36088 2012-03-21  Allan McRae  <allan@archlinux.org>
36089
36090         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36091
36092 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36093
36094         [BZ #13871]
36095         * math/w_exp2.c: Do not include <float.h>.
36096         (o_threshold, u_threshold): Remove.
36097         (__exp2): Calculate result before checking finiteness and calling
36098         __kernel_standard.
36099         * math/w_exp2f.c: Likewise.
36100         * math/w_exp2l.c: Likewise.
36101         * math/libm-test.inc (exp2_test): Require overflow exception for
36102         1e6 input.
36103
36104         [BZ #3866]
36105         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36106         range of signed 64-bit integers before using fistpll.  Remove
36107         checks for whether integers fit in mantissa bits.
36108         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36109         the range of signed 32-bit integers before using fistpl.  Remove
36110         checks for whether integers fit in mantissa bits.
36111         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36112         (__ieee754_powl): Test for y outside the range of signed 64-bit
36113         integers before using fistpll.  Reduce 64-bit values to 63-bit
36114         ones as needed.
36115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36116         divide-by-zero is raised for zero to large negative powers.
36117         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36118         (__ieee754_powl): Test for y outside the range of signed 64-bit
36119         integers before using fistpll.  Reduce 64-bit values to 63-bit
36120         ones as needed.
36121         * math/libm-test.inc (pow_test): Add more tests.
36122
36123 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36124
36125         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36126         <stdio-common/_itoa.h>.
36127         * debug/segfault.c: Likewise.
36128         * elf/dl-cache.c: Likewise.
36129         * elf/dl-minimal.c: Likewise.
36130         * elf/dl-misc.c: Likewise.
36131         * elf/dl-sysdep.c: Likewise.
36132         * elf/dl-version.c: Likewise.
36133         * elf/rtld.c: Likewise.
36134         * hurd/hurdsock.c: Likewise.
36135         * hurd/lookup-retry.c: Likewise.
36136         * malloc/malloc.c: Likewise.
36137         * malloc/mtrace.c: Likewise.
36138         * nscd/nscd_getgr_r.c: Likewise.
36139         * nscd/nscd_getpw_r.c: Likewise.
36140         * nscd/nscd_getserv_r.c: Likewise.
36141         * posix/getopt_init.c: Likewise.
36142         * posix/wordexp.c: Likewise.
36143         * stdio-common/_itoa.c: Likewise.
36144         * stdio-common/printf_fphex.c: Likewise.
36145         * stdio-common/vfprintf.c: Likewise.
36146         * string/_strerror.c: Likewise.
36147         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36148         * sysdeps/i386/i686/hp-timing.h: Likewise.
36149         * sysdeps/mach/_strerror.c: Likewise.
36150         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36151         * sysdeps/mach/hurd/sethostid.c: Likewise.
36152         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36153         * sysdeps/mach/xpg-strerror.c: Likewise.
36154         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36155         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36156         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36157         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36158         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36159         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36160         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36161         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36162         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36163         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36164         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36165         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36166         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36167         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36168         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36169         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36170         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36171         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36172         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36173         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36174         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36175
36176         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36177
36178         * stdio-common/_itoa.h: Moved to ...
36179         * sysdeps/generic/_itoa.h: Here.
36180
36181         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36182
36183         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36184         instead of "_itoa.h" and "_itowa.h".
36185         * stdio-common/vfprintf.: Likewise.
36186
36187 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36188
36189         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36190         <bits/wordsize.h>.
36191         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36192         (__signbit): Likwise.
36193         (llrintf): Likwise.
36194         (llrint): Likwise.
36195
36196 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36197
36198         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36199         __WORDSIZE != 64.
36200
36201 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36202
36203         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36204         OVERFLOW_EXCEPTION_OK.
36205         * math/libm-test.inc ("Philosophy"): Update comment about
36206         exception testing.
36207         (OVERFLOW_EXCEPTION): Define.
36208         (OVERFLOW_EXCEPTION_OK): Likewise.
36209         (INVALID_EXCEPTION_OK): Renumber.
36210         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36211         (IGNORE_ZERO_INF_SIGN): Likewise.
36212         (test_exceptions): Handle FE_OVERFLOW.
36213         (exp10_test): Expect overflow exceptions.
36214         (exp2_test): Likewise.
36215         (expm1_test): Likewise.
36216         (nextafter_test): Likewise.
36217         (pow_test): Likewise.
36218         (scalbn_test): Likewise.
36219         (scalbln_test): Likewise.
36220
36221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36222
36223         * sysdeps/x86_64/bits/atomic.h
36224         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36225         64bit integer.
36226         (atomic_exchange_acq): Likewise.
36227         (__arch_exchange_and_add_body): Likewise.
36228         (__arch_add_body): Likewise.
36229         (atomic_add_negative): Likewise.
36230         (atomic_add_zero): Likewise.
36231
36232 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36233
36234         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36235         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36236
36237 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36238
36239         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36240         Check __x86_64__ instead of __WORDSIZE.
36241
36242 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36243
36244         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36245
36246 2012-03-19  David S. Miller  <davem@davemloft.net>
36247
36248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36249
36250         * sysdeps/sparc/fpu/fenv_private.h: New file.
36251         * sysdeps/sparc/fpu/math_private.h: Use it.
36252         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36253         Remove.
36254         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36255         (libc_feholdexcept_setroundl): Remove.
36256         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36257         Remove.
36258         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36259         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36260
36261 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36262
36263         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36264         int64_t instead of long int.
36265         (INSERT_WORDS64): Likwise.
36266
36267 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36268
36269         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36270         _Unwind_GetCFA return to _Unwind_Ptr first.
36271
36272 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36273
36274         [BZ #13629]
36275         * math/s_clog.c: Include <float.h>.
36276         (__clog): Scale large or subnormal inputs.
36277         * math/s_clogf.c: Likewise.
36278         * math/s_clogl.c: Likewise.
36279         * math/s_clog10.c: Include <float.h>.
36280         (M_LOG10_2): Define.
36281         (__clog10): Scale large or subnormal inputs.
36282         * math/s_clog10f.c: Likewise.
36283         * math/s_clog10l.c: Likewise.
36284         * math/libm-test.inc (clog_test): Add more tests.
36285         (clog10_test): Likewise.
36286         * sysdeps/i386/fpu/libm-test-ulps: Update.
36287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36288
36289         [BZ #11451]
36290         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36291         x and y.
36292         * math/libm-test.inc (atan2_test): Add another test.
36293
36294         * Makerules (common-objdir-compile): Remove.
36295         * sysdeps/unix/Makefile (config-generated): Do not add
36296         $(unix-generated) to variable.
36297         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36298         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36299         Remove rule.
36300         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36301         Likewise.
36302         [generic bits/local_lim.h] (before-compile): Do not append to
36303         variable.
36304         [generic bits/local_lim.h] (common-generated): Likewise.
36305         [generic sys/param.h] (before-compile): Do not append to variable.
36306         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36307         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36308         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36309         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36310         include.
36311         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36312         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36313         [generic sys/param.h] ($(addprefix
36314         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36315         [generic sys/param.h] (common-generated): Do not append to
36316         variable.
36317         [generic sys/param.h] (sysdep_headers): Likewise.
36318         [generic bits/errno.h] (before-compile): Do not append to
36319         variable.
36320         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36321         rule.
36322         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36323         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36324         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36325         [generic bits/errno.h] (common-generated): Do not append to
36326         variable.
36327         [generic bits/ioctls.h] (before-compile): Do not append to
36328         variable.
36329         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36330         rule.
36331         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36332         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36333         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36334         rule.
36335         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36336         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36337         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36338         [generic bits/ioctls.h] (common-generated): Do not append to
36339         variable.
36340         [generic sys/syscall.h] (syscall.h): Remove variable.
36341         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36342         rule.
36343         [generic sys/syscall.h] (before-compile): Do not append to
36344         variable.
36345         [generic sys/syscall.h] (common-generated): Likewise.
36346         * sysdeps/unix/errnos-tmpl.c: Remove file.
36347         * sysdeps/unix/errnos.awk: Likewise.
36348         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36349         * sysdeps/unix/ioctls.awk: Likewise.
36350         * sysdeps/unix/mk-local_lim.c: Likewise.
36351         * sysdeps/unix/snarf-ioctls: Likewise.
36352
36353 2012-03-19  Richard Henderson  <rth@twiddle.net>
36354
36355         * sysdeps/i386/fpu/fenv_private.h: New file.
36356         * sysdeps/i386/fpu/math_private.h: Use it.
36357         (math_opt_barrier, math_force_eval): Remove.
36358         (libc_feholdexcept_setround_53bit): Remove.
36359         (libc_feupdateenv_53bit): Remove.
36360         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36361         (math_opt_barrier, math_force_eval): Remove.
36362         (libc_feholdexcept): Remove.
36363         (libc_feholdexcept_setround): Remove.
36364         (libc_fetestexcept, libc_fesetenv): Remove.
36365         (libc_feupdateenv_test): Remove.
36366         (libc_feupdateenv, libc_feholdsetround): Remove.
36367         (libc_feresetround): Remove.
36368
36369         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36370         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36371
36372         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36373         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36374         (libc_feupdateenv_testl): New.
36375         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36376         (libc_feupdateenv_testf): New.
36377         (libc_feupdateenv): Use libc_feupdateenv_test.
36378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36379         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36380
36381         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36382         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36383         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36384         (libc_feresetround_noex): New.
36385         (libc_feresetround_noexf): New.
36386         (libc_feresetround_noexl): New.
36387         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36388         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36389         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36390         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36391         SET_RESTORE_ROUND.
36392         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36394         (__cos): Likewise.
36395         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36396         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36397         SET_RESTORE_ROUND_NOEX.
36398         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36399         SET_RESTORE_ROUND_NOEXF.
36400         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36401         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36402         (libc_feholdsetroundf): New.
36403         (libc_feresetround, libc_feresetroundf): New.
36404
36405         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36406         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36407         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36408
36409         * sysdeps/generic/math_private.h: Include <fenv.h>.
36410         (default_libc_feholdexcept): New.
36411         (default_libc_feholdexcept_setround): New.
36412         (default_libc_fesetenv, default_libc_feupdateenv): New.
36413         (libc_feholdexcept): Only define if undefined.
36414         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36415         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36416         (libc_feholdexcept_setroundl): Likewise.
36417         (libc_feholdexcept_setround_53bit): Likewise.
36418         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36419         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36420         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36421         (libc_feupdateenv_53bit): Likewise.
36422         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36423         (libc_feholdexcept): Convert from macro to inline function.
36424         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36425         (libc_fesetenv, libc_feupdateenv): Likewise.
36426
36427         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36428         not previously defined.
36429         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36430         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36431         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36432         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36433         * sysdeps/ieee754/flt-32/math_private.h: New file.
36434         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36435         math_private.h below SET_FLOAT_WORD.
36436         (__isnan, __isinf_ns, __finite): Remove.
36437         (__isnanf, __isinf_nsf, __finitef): Remove.
36438
36439 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36440
36441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36442
36443 2012-03-17  David S. Miller  <davem@davemloft.net>
36444
36445         [BZ #6471]
36446         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36447         for 2.16.
36448
36449 2012-03-16  David S. Miller  <davem@davemloft.net>
36450
36451         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36452         warnings.
36453
36454         [BZ #6471]
36455         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36456         properly.
36457         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36458         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36459         sysdep_routines when subdir is sysvipc.
36460         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36461         __getshmlba helper.
36462
36463         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36464
36465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36466
36467         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36468         [__LP64__].
36469
36470 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36471
36472         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36473         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36474         (__lround): Renamed to ...
36475         (__llround): This.  Replace long int with long long int.
36476         Define lround functions as aliases of llround functions.
36477         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36478
36479 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36480
36481         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36482         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36483         adresses to uintptr_t.  Replace "long int" and "unsigned long
36484         int" with "greg_t" on va_arg.
36485
36486 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36487
36488         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36489         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36490
36491         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36492         Move e_machine check before EI_CLASS check.  Handle x32
36493         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36494         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36495         SKIP_EM_IA_64 and include
36496         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36497
36498         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36499         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36500         (add_system_dir): New macro.
36501
36502         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36503         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36504
36505 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36506
36507         [BZ #2551]
36508         [BZ #2552]
36509         [BZ #2553]
36510         [BZ #2554]
36511         [BZ #2562]
36512         [BZ #2563]
36513         [BZ #2565]
36514         [BZ #2566]
36515         [BZ #2576]
36516         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36517         (y0): Likewise.
36518         * math/w_j0f.c (j0f): Likewise.
36519         (y0f): Likewise.
36520         * math/w_j0l.c (__j0l): Likewise.
36521         (__y0l): Likewise.
36522         * math/w_j1.c (j1): Likewise.
36523         (y1): Likewise.
36524         * math/w_j1f.c (j1f): Likewise.
36525         (y1f): Likewise.
36526         * math/w_j1l.c (__j1l): Likewise.
36527         (__y1l): Likewise.
36528         * math/w_jn.c (jn): Likewise.
36529         (yn): Likewise.
36530         * math/w_jnf.c (jnf): Likewise.
36531         (ynf): Likewise.
36532         * math/w_jnl.c (__jnl): Likewise.
36533         (__ynl): Likewise.
36534         * math/libm-test.inc (j0_test): Add more tests.
36535         (j1_test): Likewise.
36536         (jn_test): Likewise.  Add trailing semicolon to existing test.
36537         (y0_test): Likewise.
36538         (y1_test): Likewise.
36539         * sysdeps/i386/fpu/libm-test-ulps: Update.
36540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36541
36542         [BZ #13851]
36543         [BZ #13854]
36544         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36545         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36546         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36547         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36548         (__tanl): Set errno for infinite argument.
36549         * sysdeps/i386/fpu/mptan.c: Remove.
36550         * sysdeps/i386/fpu/s_tan.S: Likewise.
36551         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36552         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36553         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36554         * math/libm-test.inc (tan_test): Add more tests and enable more
36555         tests for double and long double.
36556         * sysdeps/i386/fpu/libm-test-ulps: Update.
36557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36558
36559 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36560
36561         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36562         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36563
36564 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36565
36566         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36567         * configure.in: Use it for both main tree and add-ons.
36568         * configure: Regenerated.
36569
36570 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36571
36572         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36573
36574 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36575
36576         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36577         in comment.
36578
36579         [BZ #13851]
36580         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36581         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36582         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36583         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36584         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36585         infinite argument.
36586         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36587         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36588         != 0 for prec == 2.
36589         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36590         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36591         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36592         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36593         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36594         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36595         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36596         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36597         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36598         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36599         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36600         * math/libm-test.inc (cos_test): Add more tests and enable more
36601         tests for long double.
36602         (sin_test): Likewise.
36603         (sincos_test): Likewise.
36604         * sysdeps/i386/fpu/libm-test-ulps: Update.
36605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36606
36607 2012-03-16  David S. Miller  <davem@davemloft.net>
36608
36609         * sysdeps/sparc/fpu/math_private.h: New file.
36610
36611 2012-03-15  David S. Miller  <davem@davemloft.net>
36612
36613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36614         file.
36615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36617         file.
36618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36620         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36621         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36623         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36624         sysdep routines.
36625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36626
36627         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36628         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36629
36630         * sysdeps/sparc/sparc-ifunc.h: New file.
36631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36632         sparc-ifunc.h
36633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36635         Likewise.
36636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36637         Likewise.
36638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36642         Likewise.
36643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36648         Likewise.
36649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36650         Likewise.
36651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36657         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36658         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36663         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36665         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36666         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36667         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36668         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36669         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36670         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36671         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36672         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36673         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36674         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36675
36676 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36677
36678         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36679         scaling.
36680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36681
36682 2012-03-15  Andreas Jaeger  <aj@suse.de>
36683
36684         [BZ #13852]
36685         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36686         ieee754/flt-32 implementation for sin, cos and sincos.
36687         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36688         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36689         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36690         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36691         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36692         ieee754/flt-32 implementation for tan.
36693
36694         * math/libm-test.inc (cos_test): Enable some large input tests for
36695         float as well
36696         (sin_test): Likewise.
36697         (sincos_test): Likewise.
36698         (tan_test): Add tests for large input.
36699
36700         * sysdeps/i386/fpu/libm-test-ulps: Update.
36701
36702 2012-03-15  Andreas Jaeger  <aj@suse.de>
36703
36704         [BZ #13658]
36705         * math/libm-test.inc (cos_test): Add more test cases.
36706         (sin_test): Likewise.
36707         (sincos_test): Likewise.
36708
36709 2012-03-15  Andreas Jaeger  <aj@suse.de>
36710
36711         [BZ #13837]
36712         * math/libm-test.inc (cos_test): Add a test case for large input
36713         value.
36714         (sin_test): Likewise.
36715         (sincos_test): Likewise.
36716
36717 2012-03-15  Andreas Jaeger  <aj@suse.de>
36718             Joseph Myers  <joseph@codesourcery.com>
36719
36720         [BZ #13658]
36721         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36722         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36723         * sysdeps/i386/fpu/branred.c: Likewise.
36724         * sysdeps/i386/fpu/dosincos.c: Likewise.
36725         * sysdeps/i386/fpu/mpa.c: Likewise.
36726         * sysdeps/i386/fpu/s_cos.S: Likewise.
36727         * sysdeps/i386/fpu/s_sin.S: Likewise.
36728         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36729         * sysdeps/i386/fpu/sincos32.c: Likewise.
36730
36731         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36732         Define.
36733         (libc_feupdateenv_53bit): Define.
36734         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36735         Define.
36736         (libc_feupdateenv_53bit): Define.
36737
36738         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36739         53 bit (without extend i386 double precision).
36740
36741         * math/libm-test.inc (sincos_test): Add tests for large input.
36742         (sin): Likewise.
36743         (cos): Likewise.
36744
36745         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36746
36747 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36748
36749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36750
36751 2012-03-15  David S. Miller  <davem@davemloft.net>
36752
36753         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36754         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36755         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36756         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36769         file.
36770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36772         file.
36773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36775         file.
36776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36778         file.
36779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36780         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36781         fmin/fmax sysdep routines.
36782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36783
36784 2012-03-14  David S. Miller  <davem@davemloft.net>
36785
36786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36787         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36790         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36791         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36792         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36793         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36794         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36806         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36807         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36808         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36809         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36810         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36811         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36812         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36813         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36814         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36815         routines.
36816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36817         file.
36818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36820         file.
36821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36823         file.
36824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36826         file.
36827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36829         file.
36830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36832         file.
36833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36834         file.
36835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36836         file.
36837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36838         file.
36839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36840         New file.
36841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36842         file.
36843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36844         file.
36845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36847         file.
36848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36850         file.
36851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36853         file.
36854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36856         VIS3 routines.
36857
36858         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36859         New file.
36860
36861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36862
36863         * sysdeps/sparc/configure.in: New file.
36864         * sysdeps/sparc/configure: Generate.
36865         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36866         * configure: Regenerate.
36867         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36868         * config.make.in (have-as-vis3): New.
36869         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36870         available use -Av9d instead of -Av9a.
36871         * sysdeps/sparc/sparc64/Makefile: Likewise.
36872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36874         New file.
36875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36876         file.
36877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36878         New file.
36879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36880         file.
36881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36882         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36883         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36884         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36886
36887         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36888         fzeros/fnegs to load 0x80000000 into a float register instead of
36889         using the stack.
36890         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36891
36892 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36893
36894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36895         bits/syscall.h.
36896         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36897         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36898         ($(inst_includedir)/bits/syscall.h): Remove rule.
36899         ($(objpfx)bits/syscall.d): Include instead of
36900         $(objpfx)syscall-list.d.
36901         (generated): Change syscall-list.h and syscall-list.d to
36902         bits/syscall.h and bits/syscall.d.
36903
36904 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36905
36906         [BZ #13846]
36907         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36908
36909 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36910
36911         [BZ #13841]
36912         * math/s_csqrt.c: Include <float.h>.
36913         (__csqrt): Scale large or subnormal inputs.
36914         * math/s_csqrtf.c: Likewise.
36915         * math/s_csqrtl.c: Likewise.
36916         * math/libm-test.inc (csqrt_test): Add more tests.
36917         * sysdeps/i386/fpu/libm-test-ulps: Update.
36918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36919
36920         [BZ #13840]
36921         * math/libm-test.inc (hypot_test): Add more tests.
36922
36923 2012-03-13  David S. Miller  <davem@davemloft.net>
36924
36925         [BZ #13840]
36926         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36927         double-precision for the calculation instead of scaling.
36928
36929 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36930
36931         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36932         manipulate bits before adding and subtracting TWO52[sx].
36933         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36934         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36935         Likewise.
36936         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36937
36938 2012-03-13  David S. Miller  <davem@davemloft.net>
36939
36940         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36941         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36942         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36943         rtld-global-offsets.h
36944         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36945
36946         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36947         large parameters.
36948
36949         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36950
36951         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36952         'err' in the ifdef scope in which it is actually used.
36953
36954         * nss/nss_db/db-init.c: Include string.h
36955
36956 2012-03-12  David S. Miller  <davem@davemloft.net>
36957
36958         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36959         masking out of the most significant byte of random value used.
36960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36961         Fix coding style in previous change.
36962
36963         * sysdeps/unix/sysv/linux/kernel-features.h
36964         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36965         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36966         expression.
36967         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36968         later.
36969
36970 2012-03-11  David S. Miller  <davem@davemloft.net>
36971
36972         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36973         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36974         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36975         for 'resultvar' otherwise things get truncated on 64-bit.
36976
36977         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36978         Fix masking out of the most significant byte of random value used.
36979
36980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36981
36982 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36983
36984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36985
36986 2012-03-09  David S. Miller  <davem@davemloft.net>
36987
36988         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36989         variables with appropriate CPP guards.
36990         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36991         from the frame pointer, not the stack pointer.  Correct layout
36992         comments.  Fix test on resulting framesize and the management of
36993         the outregs buffer for pltexit.  Preserve floating point return
36994         values across _dl_call_pltexit call.
36995         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36996         framesize and the management of the outregs buffer for pltexit.
36997         Preserve floating point return values across _dl_call_pltexit
36998         call.
36999         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37000         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37001         (la_sparc64_gnu_pltexit): New functions.
37002         (print_exit): Fix format string for return register value.
37003
37004 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37005
37006         * sunrpc/Makefile (others): Add rpcgen.
37007         ($(objpfx)rpcgen): Remove special build rule and dependency on
37008         libc.
37009         * sunrpc/rpcgen.c: New file.
37010
37011 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37012
37013         [BZ #13673]
37014         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37015         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37016         * sysdeps/i386/crti.S: Likewise.
37017         * sysdeps/i386/crtn.S: Likewise.
37018         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37019         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37020         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37021         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37022         * sysdeps/sh/crti.S: Likewise.
37023         * sysdeps/sh/crtn.S: Likewise.
37024         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37025
37026         [BZ #13673]
37027         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37028         with URL.
37029         * locale/programs/locfile-kw.gperf: Likewise.
37030         * locale/programs/charmap-kw.h: Regenerated.
37031         * locale/programs/locfile-kw.h: Likewise.
37032
37033         [BZ #13673]
37034         * intl/plural.y: Replace FSF snail mail address with URL.
37035         * intl/plural.c: Regenerated.
37036
37037 2012-03-09  Richard Henderson  <rth@twiddle.net>
37038
37039         * include/math_private.h: Remove file.
37040         * math/math_private.h: Move file ...
37041         * sysdeps/generic/math_private.h: ... here.
37042
37043         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37044         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37045         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37046
37047         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37048         and <math_private.h>.
37049         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37050         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37051         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37052         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37053         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37054         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37055         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37056         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37057         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37058         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37059         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37060         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37061         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37062         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37063         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37064         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37065         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37066         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37067         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37068         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37070         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37079         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37080         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37081         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37082         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37083         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37084         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37085         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37086         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37087         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37088         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37089         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37090         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37091         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37092         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37093         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37095         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37098         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37099         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37109         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37110         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37112         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37113         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37114         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37115         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37116         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37117         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37118         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37119         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37120         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37121         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37122         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37123         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37124         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37125         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37126         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37127         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37128         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37129         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37130         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37132         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37133         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37134         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37135         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37136         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37137         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37138         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37139         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37140         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37141         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37142         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37143         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37144         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37145         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37146         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37147         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37148         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37149         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37150         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37151         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37152         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37153         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37154         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37155         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37156         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37157         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37158         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37159         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37160         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37161         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37162         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37163         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37164         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37165         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37166         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37167         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37168         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37169         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37170         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37171         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37172         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37173         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37174         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37175         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37176         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37177         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37178         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37179         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37180         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37181         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37182         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37183         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37184         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37185         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37186         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37187         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37188         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37189         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37190         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37191         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37192         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37193         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37194         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37195         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37196         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37197         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37198         * sysdeps/ieee754/k_standard.c: Likewise.
37199         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37200         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37202         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37203         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37204         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37206         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37208         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37209         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37210         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37211         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37212         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37213         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37214         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37215         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37216         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37217         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37218         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37219         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37220         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37221         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37222         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37223         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37224         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37225         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37226         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37227         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37228         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37229         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37230         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37231         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37232         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37233         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37234         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37235         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37236         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37237         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37238         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37239         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37240         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37241         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37242         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37243         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37244         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37245         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37247         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37248         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37249         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37250         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37251         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37252         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37255         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37256         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37257         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37258         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37259         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37260         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37261         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37262         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37263         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37265         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37267         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37268         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37269         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37270         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37271         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37272         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37273         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37274         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37275         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37276         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37278         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37279         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37280         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37281         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37282         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37283         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37284         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37285         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37286         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37287         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37288         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37289         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37290         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37291         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37292         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37293         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37294         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37295         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37296         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37297         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37298         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37299         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37300         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37301         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37302         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37303         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37304         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37305         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37306         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37307         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37308         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37309         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37310         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37311         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37312         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37313         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37314         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37315         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37316         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37317         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37318         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37319         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37320         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37321         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37322         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37323         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37324         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37325         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37326         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37327         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37328         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37329         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37331         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37332         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37333         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37337         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37338         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37339         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37340         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37341         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37342         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37343         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37344         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37345         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37346         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37347         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37348         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37349         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37350         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37351         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37352         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37353         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37354         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37355         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37356         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37357         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37358         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37359         * sysdeps/ieee754/s_lib_version.c: Likewise.
37360         * sysdeps/ieee754/s_matherr.c: Likewise.
37361         * sysdeps/ieee754/s_signgam.c: Likewise.
37362         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37363         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37364         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37365         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37366         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37367         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37368         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37369         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37370         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37371         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37372         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37373         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37374         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37375         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37376         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37377         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37378         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37379         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37380         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37381         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37382         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37383
37384 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37385
37386         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37387         * sunrpc/rpc_main.c: Likewise.
37388         * sunrpc/rpc_svcout.c: Likewise.
37389
37390 2012-03-09  David S. Miller  <davem@davemloft.net>
37391
37392         * include/math_private.h: New file.
37393
37394 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37395
37396         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37397         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37398         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37399         from <bits/socket_type.h>.
37400         (enum __socket_type): Don't define here.
37401         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37402         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37403         bits/socket_type.h.
37404
37405         [BZ #13566]
37406         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37407         checking __USE_GNU.
37408
37409         * Makerules ($(inst_includedir)/%.h): New rule.
37410         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37411         (install-others): Remove variable setting.
37412         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37413
37414 2012-03-08  Richard Henderson  <rth@twiddle.net>
37415
37416         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37417         from macro to inline function; merge with the
37418         !__LIBC_INTERNAL_MATH_INLINES version.
37419         (__ieee754_sqrtf): Likewise.
37420
37421         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37422         to inline function.
37423         (__rintf, __floor, __floorf): Likewise.
37424
37425         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37426         macro to inline function.
37427         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37428
37429         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37430         not <math/math_private.h>.
37431
37432 2012-03-08  David S. Miller  <davem@davemloft.net>
37433
37434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37435         copyright year.
37436         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37437
37438 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37439
37440         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37441         normalization.
37442         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37443         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37444
37445 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37446
37447         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37448         be defined individually, they must be defined as a block.  Define
37449         S for printing a string instead of hidint the different by using a
37450         macro for adding the 'l'.
37451         * stdio-common/tst-fphex-wide.c: Adjust.
37452
37453 2012-03-07  Marek Polacek  <polacek@redhat.com>
37454
37455         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37456
37457 2012-03-08  Marek Polacek  <polacek@redhat.com>
37458
37459         [BZ #13806]
37460         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37461         * stdio-common/tst-fphex.c: Define a few macros to make the
37462         test reusable.  Use them.
37463         * stdio-common/tst-fphex-wide.c: New file.
37464
37465 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37466
37467         [BZ #6911]
37468         * manual/macros.texi (gnusystems): New macro.
37469         (nongnusystems): Likewise.
37470         (gnulinuxhurdsystems): Likewise.
37471         (gnuhurdsystems): Likewise..
37472         (gnulinuxsystems): Likewise.
37473         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37474         variants of the GNU system, not "GNU system".
37475         * manual/conf.texi: Likewise.
37476         * manual/errno.texi: Likewise.  Update example of errno macro
37477         expansion.
37478         * manual/filesys.texi: Likewise.
37479         (getumask): Document as specific to GNU/Hurd.
37480         * manual/install.texi: Likewise.  Reword some references to
37481         GNU/Linux.
37482         * manual/intro.texi: Likewise.
37483         * manual/io.texi: Likewise.
37484         (File Name Portability): Detail which constraints are inapplicable
37485         to all GNU systems and which are only inapplicable to GNU/Hurd.
37486         * manual/job.texi: Likewise.
37487         * manual/llio.texi: Likewise.
37488         (O_NOCTTY): Document as present on GNU/Linux.
37489         * manual/maint.texi: Likewise.
37490         * manual/memory.texi: Likewise.
37491         * manual/pattern.texi: Likewise.
37492         * manual/pipe.texi: Likewise.
37493         * manual/process.texi: Likewise.
37494         * manual/resource.texi: Likewise.
37495         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37496         child on GNU/Hurd.
37497         * manual/setjmp.texi: Likewise.
37498         * manual/signal.texi: Likewise.
37499         * manual/startup.texi: Likewise.
37500         * manual/stdio.texi: Likewise.
37501         * manual/terminal.texi: Likewise.
37502         (ONLCR): Document as POSIX.
37503         (OXTABS): Document availability on GNU/Linux as XTABS.
37504         (ONOEOT): Document availability separately from other bits.
37505         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37506         * manual/time.texi: Likewise.
37507         * manual/users.texi: Likewise.
37508         * INSTALL: Regenerated.
37509         * sysdeps/gnu/errlist.c: Regenerated.
37510
37511         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37512         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37513         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37514         puts.
37515         * configure: Regenerated.
37516
37517 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37518
37519         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37520         default includes instead of AC_HEADER_CHECK.
37521         * sysdeps/i386/configure: Regenerated.
37522
37523         [BZ #10716]
37524         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37525         * math/s_cacoshf.c (__cacoshf): Likewise.
37526         * math/s_cacoshl.c (__cacoshl): Likewise.
37527         * math/s_casinh.c (__casinh): Set signs of result from argument.
37528         * math/s_casinhf.c (__casinhf): Likewise.
37529         * math/s_casinhl.c (__casinhl): Likewise.
37530         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37531         (casinh_test): Add more tests.
37532         * sysdeps/i386/fpu/libm-test-ulps: Update.
37533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37534
37535 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37536
37537         * po/zh_TW.po: Update from translation team.
37538
37539         * login/Makefile (distribute): Remove variable.
37540         * catgets/Makefile: Likewise.
37541         * mach/Makefile: Likewise.
37542         * malloc/Makefile: Likewise.
37543         * misc/Makefile: Likewise.
37544         * iconv/Makefile: Likewise.
37545         * nscd/Makefile: Likewise.
37546         * hurd/Makefile: Likewise.
37547         * manual/Makefile: Likewise.
37548         * locale/Makefile: Likewise.
37549         * intl/Makefile: Likewise.
37550         * conform/Makefile: Likewise.
37551         * nss/Makefile: Likewise.
37552         * time/Makefile: Likewise.
37553         * soft-fp/Makefile: Likewise.
37554         * dirent/Makefile: Likewise.
37555         * gmon/Makefile: Likewise.
37556         * po/Makefile: Likewise.
37557         * rt/Makefile: Likewise.
37558         * socket/Makefile: Likewise.
37559         * math/Makefile: Likewise.
37560         * signal/Makefile: Likewise.
37561         * debug/Makefile: Likewise.
37562         * elf/Makefile: Likewise.
37563         * timezone/Makefile: Likewise.
37564         * stdlib/Makefile: Likewise.
37565         * iconvdata/Makefile: Likewise.
37566         * sunrpc/Makefile: Likewise.
37567         * io/Makefile: Likewise.
37568         * argp/Makefile: Likewise.
37569         * inet/Makefile: Likewise.
37570         * hesiod/Makefile: Likewise.
37571         * grp/Makefile: Likewise.
37572         * csu/Makefile: Likewise.
37573         * wctype/Makefile: Likewise.
37574         * crypt/Makefile: Likewise.
37575         * libio/Makefile: Likewise.
37576         * string/Makefile: Likewise.
37577         * nis/Makefile: Likewise.
37578         * resolv/Makefile: Likewise.
37579         * stdio-common/Makefile: Likewise.
37580         * wcsmbs/Makefile: Likewise.
37581         * dlfcn/Makefile: Likewise.
37582         * posix/Makefile: Likewise.
37583
37584         [BZ #6959]
37585         * timezone/Makefile: Don't install timezone files, just the programs
37586         and scripts.
37587
37588 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37589
37590         * nss/databases.def: Add missing gshadow entry.
37591
37592         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37593
37594 2012-03-06  Marek Polacek  <polacek@redhat.com>
37595
37596         [BZ #13726]
37597         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37598         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37599         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37600         * stdio-common/tst-long-dbl-fphex.c: New file.
37601
37602 2012-03-06  David S. Miller  <davem@davemloft.net>
37603
37604         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37605         (set_obp_int): New function.
37606         (get_obp_int): New function.
37607         (__get_clockfreq_via_dev_openprom): Likewise.
37608         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37609         Avoid unused variable warnings on 'val' and use builtin_expect.
37610         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37611         __builtin_expect.
37612         (INLINE_CLONE_SYSCALL): Likewise.
37613
37614 2012-03-05  David S. Miller  <davem@davemloft.net>
37615
37616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37617
37618 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37619
37620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37621
37622         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37623         only for |x| >= 40.
37624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37625
37626 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37627
37628         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37629         Replace gettimeofday with __vdso_gettimeofday.
37630
37631         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37632         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37633         __vdso_clock_gettime and __vdso_getcpu.
37634
37635         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37636         time with __vdso_time.
37637
37638 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37639
37640         * manual/lang.texi (size_t): Note types to which size_t may be
37641         equivalent with the GNU C Library, but do not describe when
37642         differences between them are significant.
37643
37644 2012-03-05  Andreas Jaeger  <aj@suse.de>
37645
37646         * sysdeps/i386/fpu/libm-test-ulps: Update.
37647
37648 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37649
37650         [BZ #3976]
37651         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37652         (__ieee754_pow): Save and restore rounding mode and use
37653         round-to-nearest for main computations.
37654         * math/libm-test.inc (pow_test_tonearest): New function.
37655         (pow_test_towardzero): Likewise.
37656         (pow_test_downward): Likewise.
37657         (pow_test_upward): Likewise.
37658         (main): Call the new functions.
37659         * sysdeps/i386/fpu/libm-test-ulps: Update.
37660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37661
37662         [BZ #3976]
37663         * math/libm-test.inc (cosh_test_tonearest): New function.
37664         (cosh_test_towardzero): Likewise.
37665         (cosh_test_downward): Likewise.
37666         (cosh_test_upward): Likewise.
37667         (sinh_test_tonearest): Likewise.
37668         (sinh_test_towardzero): Likewise.
37669         (sinh_test_downward): Likewise.
37670         (sinh_test_upward): Likewise.
37671         (main): Call the new functions.
37672         * sysdeps/i386/fpu/libm-test-ulps: Update.
37673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37674
37675 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37676
37677         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37678         default stack guard is set in last bytes.
37679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37680
37681 2012-03-05  Kees Cook  <keescook@chromium.org>
37682
37683         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37684
37685         [BZ #13656]
37686         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37687         possibly allocate from heap instead of stack.
37688         * stdio-common/bug-vfprintf-nargs.c: New file.
37689         * stdio-common/Makefile (tests): Add nargs overflow test.
37690
37691 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37692
37693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37694
37695 2012-03-03  Marek Polacek  <polacek@redhat.com>
37696
37697         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37698         * math/math_private.h: Likewise.
37699         * stdlib/tst-strtod.c: Likewise.
37700         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37701         * sysdeps/x86_64/bits/atomic.h: Likewise.
37702
37703 2012-03-02  David S. Miller  <davem@davemloft.net>
37704
37705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37709         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37710         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37711         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37712         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37713
37714 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37715
37716         [BZ #13792]
37717         * manual/examples/README: New file, says the example source files
37718         can be used under GPL>=2.
37719         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37720         line containing just "*/".
37721         * manual/examples/add.c: Add copyright header (GPL>=2).
37722         * manual/examples/argp-ex1.c: Likewise.
37723         * manual/examples/argp-ex2.c: Likewise.
37724         * manual/examples/argp-ex3.c: Likewise.
37725         * manual/examples/argp-ex4.c: Likewise.
37726         * manual/examples/atexit.c: Likewise.
37727         * manual/examples/db.c: Likewise.
37728         * manual/examples/dir.c: Likewise.
37729         * manual/examples/dir2.c: Likewise.
37730         * manual/examples/execinfo.c: Likewise.
37731         * manual/examples/filecli.c: Likewise.
37732         * manual/examples/filesrv.c: Likewise.
37733         * manual/examples/fmtmsgexpl.c: Likewise.
37734         * manual/examples/genpass.c: Likewise.
37735         * manual/examples/inetcli.c: Likewise.
37736         * manual/examples/inetsrv.c: Likewise.
37737         * manual/examples/isockad.c: Likewise.
37738         * manual/examples/longopt.c: Likewise.
37739         * manual/examples/memopen.c: Likewise.
37740         * manual/examples/memstrm.c: Likewise.
37741         * manual/examples/mkfsock.c: Likewise.
37742         * manual/examples/mkisock.c: Likewise.
37743         * manual/examples/mygetpass.c: Likewise.
37744         * manual/examples/pipe.c: Likewise.
37745         * manual/examples/popen.c: Likewise.
37746         * manual/examples/rprintf.c: Likewise.
37747         * manual/examples/search.c: Likewise.
37748         * manual/examples/select.c: Likewise.
37749         * manual/examples/setjmp.c: Likewise.
37750         * manual/examples/sigh1.c: Likewise.
37751         * manual/examples/sigusr.c: Likewise.
37752         * manual/examples/stpcpy.c: Likewise.
37753         * manual/examples/strdupa.c: Likewise.
37754         * manual/examples/strftim.c: Likewise.
37755         * manual/examples/strncat.c: Likewise.
37756         * manual/examples/subopt.c: Likewise.
37757         * manual/examples/swapcontext.c: Likewise.
37758         * manual/examples/termios.c: Likewise.
37759         * manual/examples/testopt.c: Likewise.
37760         * manual/examples/testpass.c: Likewise.
37761         * manual/examples/timeval_subtract.c: Likewise.
37762
37763         [BZ #13792]
37764         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37765         function to ...
37766         * manual/timeval_subtract.c.texi: ... here, new file.
37767
37768 2012-03-02  David S. Miller  <davem@davemloft.net>
37769
37770         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37771
37772 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37773
37774         [BZ #3976]
37775         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37776         (__sin): Save and restore rounding mode and use round-to-nearest
37777         for all computations.
37778         (__cos): Save and restore rounding mode and use round-to-nearest
37779         for all computations.
37780         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37781         <fenv.h>.
37782         (tan): Save and restore rounding mode and use round-to-nearest for
37783         all computations.
37784         * math/libm-test.inc (cos_test_tonearest): New function.
37785         (cos_test_towardzero): Likewise.
37786         (cos_test_downward): Likewise.
37787         (cos_test_upward): Likewise.
37788         (sin_test_tonearest): Likewise.
37789         (sin_test_towardzero): Likewise.
37790         (sin_test_downward): Likewise.
37791         (sin_test_upward): Likewise.
37792         (tan_test_tonearest): Likewise.
37793         (tan_test_towardzero): Likewise.
37794         (tan_test_downward): Likewise.
37795         (tan_test_upward): Likewise.
37796         (main): Call the new functions.
37797         * sysdeps/i386/fpu/libm-test-ulps: Update.
37798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37799
37800         [BZ #10135]
37801         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37802         small n, then large n, before computing and testing k+n.
37803         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37805         Likewise.
37806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37807         Likewise.
37808         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37809         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37810         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37811         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37812         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37814         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37815         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37816         * math/libm-test.inc (scalbn_test): Add more tests.
37817         (scalbln_test): Likewise.
37818
37819         * manual/filesys.texi (mode_t): Describe constraints on size and
37820         signedness, not exact equivalence to a particular type.
37821         (ino_t): Likewise.
37822         (ino64_t): Likewise.
37823         (dev_t): Likewise.
37824         (nlink_t): Likewise.
37825         (blkcnt_t): Likewise.
37826         (blkcnt64_t): Likewise.
37827         * manual/llio.texi (off_t): Likewise.
37828
37829         [BZ #3976]
37830         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37831         (__ieee754_exp): Save and restore rounding mode and use
37832         round-to-nearest for all computations.
37833         * math/libm-test.inc (exp_test_tonearest): New function.
37834         (exp_test_towardzero): Likewise.
37835         (exp_test_downward): Likewise.
37836         (exp_test_upward): Likewise.
37837         (main): Call the new functions.
37838         * sysdeps/i386/fpu/libm-test-ulps: Update.
37839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37840
37841 2012-03-01  Chris Demetriou  <cgd@google.com>
37842
37843         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37844         have predictable order.
37845
37846 2012-03-01  David S. Miller  <davem@davemloft.net>
37847
37848         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37849
37850         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37851         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37852         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37853         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37854
37855         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37856         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37857         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37859         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37860         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37861         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37862         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37863         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37864
37865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37866
37867         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37868         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37869         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37870
37871         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37872         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37873         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37874         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37875         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37876         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37877         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37878         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37879         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37880         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37881         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37882         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37884         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37885         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37887         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37888         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37889         * sysdeps/sparc/elf/configure: Regenerated.
37890
37891 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37892
37893         * configure.in (AS, LD): Require binutils 2.20 or later.
37894         * configure: Regenerated.
37895         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37896         as required minimum version.
37897         * INSTALL: Regenerated.
37898
37899         [BZ #2541]
37900         [BZ #4108]
37901         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37902         before squaring exponent.
37903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37904         bottom long double and 27 bits of top long double before squaring
37905         exponent.
37906         * math/libm-test.inc (erfc_test): Add more tests.
37907         * sysdeps/i386/fpu/libm-test-ulps: Update.
37908         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37910
37911 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37912
37913         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37914         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37915         containing bit-fields.
37916         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37917         * soft-fp/single.h (_FP_UNION_S): Likewise.
37918         * soft-fp/double.h (_FP_UNION_D): Likewise.
37919
37920 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37921
37922         [BZ #13786]
37923         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37924         not include ../strcmp.S.
37925         [USE_AS_STRNCASECMP_L]: Likewise.
37926         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37927         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37928         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37929         (__strncasecmp_l_ia32): Define as alias to
37930         __strncasecmp_l_nonascii.
37931
37932         [BZ #5794]
37933         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37934         * sysdeps/i386/fpu/libm-test-ulps: Update.
37935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37936
37937         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37939
37940 2012-02-29  Jeff Law  <law@redhat.com>
37941
37942         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37943         out of bounds read.
37944
37945 2012-02-29  Marek Polacek  <polacek@redhat.com>
37946
37947         [BZ #13706]
37948         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37949         * elf/Makefile: Add rules to run tst-unused-dep.out.
37950
37951 2012-02-28  David S. Miller  <davem@davemloft.net>
37952
37953         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37954         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37955         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37956         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37957         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37958         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37959
37960 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37961
37962         * math/libm-test.inc (llround_test): Move one test from
37963         lround_test.  Use TEST_f_L in moved test.
37964         (lround_test): Move misplaced test to llround_test.  Add testcase
37965         from bug 2561.
37966
37967 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37968
37969         * sysdeps/x86_64/fpu/e_expf.S: New file.
37970         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37971
37972 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37973
37974         [BZ #13637]
37975         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37976         of remain_len that may cause incomplete multi-byte character and
37977         false match.
37978         * posix/bug-regex33.c: New file.
37979         * posix/Makefile (tests): Add bug-regex33.
37980
37981 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37982
37983         * manual/macros.texi: New file.
37984         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37985         * manual/libc.texinfo: Include macros.texi.
37986         * manual/creatute.texi: Likewise.
37987         * manual/install.texi: Likewise.
37988         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37989         @glibcadj{} in references to the GNU C Library.
37990         * manual/charset.texi: Likewise.
37991         * manual/conf.texi: Likewise.
37992         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37993         when not using those macros.
37994         * manual/creature.texi: Likewise.
37995         * manual/crypt.texi: Likewise.
37996         * manual/errno.texi: Likewise.
37997         * manual/filesys.texi: Likewise.
37998         * manual/header.texi: Likewise.
37999         * manual/install.texi: Likewise.
38000         * manual/intro.texi: Likewise.
38001         * manual/io.texi: Likewise.
38002         * manual/job.texi: Likewise.
38003         * manual/lang.texi: Likewise.
38004         * manual/libc.texiinfo: Likewise.
38005         * manual/llio.texi: Likewise.
38006         * manual/locale.texi: Likewise.
38007         * manual/maint.texi: Likewise.
38008         * manual/math.texi: Likewise.
38009         * manual/memory.texi: Likewise.
38010         * manual/message.texi: Likewise.
38011         * manual/nss.texi: Likewise.
38012         * manual/pattern.texi: Likewise.
38013         * manual/process.texi: Likewise.
38014         * manual/resource.texi: Likewise.
38015         * manual/search.texi: Likewise.
38016         * manual/setjmp.texi: Likewise.
38017         * manual/signal.texi: Likewise.
38018         * manual/socket.texi: Likewise.
38019         * manual/startup.texi: Likewise.
38020         * manual/stdio.texi: Likewise.
38021         * manual/string.texi: Likewise.
38022         * manual/sysinfo.texi: Likewise.
38023         * manual/syslog.texi: Likewise.
38024         * manual/terminal.texi: Likewise.
38025         * manual/time.texi: Likewise.
38026         * manual/users.texi: Likewise.
38027         * INSTALL: Regenerated.
38028         * NOTES: Regenerated.
38029         * sysdeps/gnu/errlist.c: Regenerated.
38030
38031 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38032
38033         * include/dirent.h: Include <dirstream.h> before
38034         <dirent/dirent.h>.
38035
38036 2012-02-28  David S. Miller  <davem@davemloft.net>
38037
38038         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38039         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38040         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38041         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38042
38043 2012-02-27  David S. Miller  <davem@davemloft.net>
38044
38045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38047         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38048         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38049
38050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38051         frame pointer instead of stack pointer relative arg slot.
38052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38053         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38054         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38055
38056 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38057
38058         [BZ #3992]
38059         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38060
38061 2012-02-27  David S. Miller  <davem@davemloft.net>
38062
38063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38067         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38068         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38069         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38070         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38071
38072 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38073
38074         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38075         later.  Allow versions 5-9.
38076         * configure: Regenerated.
38077         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38078         required minimum version and 4.6 as recommended version.  Do not
38079         mention bugs in GCC 2.7 and 2.8.
38080         * INSTALL: Regenerated.
38081
38082 2012-02-27  David S. Miller  <davem@davemloft.net>
38083
38084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38088         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38089         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38090         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38091         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38092
38093         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38094         manipulate bits before adding and subtracting TWO112[sx].
38095         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38096
38097 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38098
38099         [BZ #13775]
38100         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38101         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38102         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38103         being in POSIX, because they are in 1003.1-2008.
38104
38105         * rt/tst-aio.c: Include <fcntl.h>.
38106         * rt/tst-aio7.c: Likewise.
38107         * rt/tst-aio64.c: Likewise.
38108
38109         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38110
38111 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38112
38113         * manual/install.texi (--with-headers): Describe headers as
38114         interface headers, not private headers.
38115         (Specific advice for GNU/Linux systems): Describe use of headers
38116         from "make headers_install", not private headers from older
38117         kernels.
38118         * INSTALL: Regenerated.
38119         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38120         Change to 2.6.19.
38121         * sysdeps/unix/sysv/linux/configure: Regenerated.
38122
38123         * manual/llio.texi (fclean): Remove documentation.
38124
38125         * manual/Makefile (libc-texi-generated): New variable.  Include
38126         version.texi.
38127         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38128         $(libc-texi-generated), not duplicated list of files.
38129         (version.texi, stamp-version): New rules.
38130         (realclean): Remove $(libc-texi-generated), not individual files
38131         from that list.  Do not remove dir-add.texinfo.
38132         * manual/libc.texinfo: Comment out uses of edition numbers and
38133         references to printed manual.  Remove last-updated dates.
38134         (EDITION): Comment out.
38135         (ISBN): Likewise.
38136         (VERSION, UPDATED): Remove.
38137         (version.texi): Include.
38138
38139 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38140
38141         * sysdeps/posix/spawni.c: Include <signal.h>.
38142         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38143         * sysdeps/pthread/aio_fsync.c: Likewise.
38144
38145 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38146
38147         * conform/Makefile (tests): Run only when not cross-compiling and
38148         when fast-check is not defined.
38149
38150         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38151         * conform/data/limits.h-data: Fixes for POSIX2008.
38152         * conform/run-conformtest.sh: Run all tests.
38153         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38154         headers.
38155         * include/bits/dlfcn.h: Likewise.
38156         * include/langinfo.h: Likewise.
38157         * include/monetary.h: Likewise.
38158         * include/sys/poll.h: Likewise.
38159
38160         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38161         for __USE_GNU.
38162         * posix/spawn.h: Define __need_sigset_t.
38163         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38164         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38165         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38166         to get sigevent_t only.
38167         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38168         only for __USE_GNU.
38169         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38170         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38171         process_vm_writev only for __USE_GNU.
38172         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38173
38174         * conform/Makefile: For now ignore errors from run-conformtest.
38175         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38176         POSIX to avoid namespace pollution.  Don't prepend headers.
38177         * conform/data/aio.h-data: Fixes for POSIX testing.
38178         * conform/data/fcntl.h-data: Likewise.
38179         * conform/data/glob.h-data: Likewise.
38180         * conform/data/grp.h-data: Likewise.
38181         * conform/data/pthread.h-data: Likewise.
38182         * conform/data/pwd.h-data: Likewise.
38183         * conform/data/signal.h-data: Likewise.
38184         * conform/data/spawn.h-data: Likewise.
38185         * conform/data/stdio.h-data: Likewise.
38186         * conform/data/stdlib.h-data: Likewise.
38187         * conform/data/stropts.h-data: Likewise.
38188         * conform/data/sys/mman.h-data: Likewise.
38189         * conform/data/sys/stat.h-data: Likewise.
38190         * conform/data/sys/types.h-data: Likewise.
38191         * conform/data/sys/wait.h-data: Likewise.
38192         * conform/data/time.h-data: Likewise.
38193         * conform/data/unistd.h-data: Likewise.
38194         * conform/data/utime.h-data: Likewise.
38195
38196         * io/sys/stat.h: fchmod was always in POSIX.
38197         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38198         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38199         * rt/aio.h: Define __need_timespec before including <time.h>.
38200         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38201         struct.  Add forward declaration of pthread_attr_t and use it in
38202         sigevent.
38203         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38204         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38205         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38206         always remove CLK_TCK definition.
38207
38208 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38209
38210         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38211
38212 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38213
38214         * conform/run-conformtest.sh: New file.
38215         * conform/Makefile: Run run-conformtest for tests.
38216         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38217         support.
38218
38219         * conform/data/uchar.h-data: New file.
38220         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38221         * conform/data/arpa/inet.h-data: Likewise.
38222         * conform/data/assert.h-data: Likewise.
38223         * conform/data/complex.h-data: Likewise.
38224         * conform/data/cpio.h-data: Likewise.
38225         * conform/data/ctype.h-data: Likewise.
38226         * conform/data/dirent.h-data: Likewise.
38227         * conform/data/dlfcn.h-data: Likewise.
38228         * conform/data/errno.h-data: Likewise.
38229         * conform/data/fcntl.h-data: Likewise.
38230         * conform/data/float.h-data: Likewise.
38231         * conform/data/fmtmsg.h-data: Likewise.
38232         * conform/data/fnmatch.h-data: Likewise.
38233         * conform/data/ftw.h-data: Likewise.
38234         * conform/data/glob.h-data: Likewise.
38235         * conform/data/grp.h-data: Likewise.
38236         * conform/data/iconv.h-data: Likewise.
38237         * conform/data/inttypes.h-data: Likewise.
38238         * conform/data/langinfo.h-data: Likewise.
38239         * conform/data/libgen.h-data: Likewise.
38240         * conform/data/limits.h-data: Likewise.
38241         * conform/data/locale.h-data: Likewise.
38242         * conform/data/math.h-data: Likewise.
38243         * conform/data/monetary.h-data: Likewise.
38244         * conform/data/mqueue.h-data: Likewise.
38245         * conform/data/ndbm.h-data: Likewise.
38246         * conform/data/net/if.h-data: Likewise.
38247         * conform/data/netdb.h-data: Likewise.
38248         * conform/data/netinet/in.h-data: Likewise.
38249         * conform/data/nl_types.h-data: Likewise.
38250         * conform/data/poll.h-data: Likewise.
38251         * conform/data/pthread.h-data: Likewise.
38252         * conform/data/pwd.h-data: Likewise.
38253         * conform/data/regex.h-data: Likewise.
38254         * conform/data/sched.h-data: Likewise.
38255         * conform/data/search.h-data: Likewise.
38256         * conform/data/semaphore.h-data: Likewise.
38257         * conform/data/setjmp.h-data: Likewise.
38258         * conform/data/signal.h-data: Likewise.
38259         * conform/data/spawn.h-data: Likewise.
38260         * conform/data/stdarg.h-data: Likewise.
38261         * conform/data/stdio.h-data: Likewise.
38262         * conform/data/stdlib.h-data: Likewise.
38263         * conform/data/string.h-data: Likewise.
38264         * conform/data/strings.h-data: Likewise.
38265         * conform/data/stropts.h-data: Likewise.
38266         * conform/data/sys/ipc.h-data: Likewise.
38267         * conform/data/sys/mman.h-data: Likewise.
38268         * conform/data/sys/msg.h-data: Likewise.
38269         * conform/data/sys/resource.h-data: Likewise.
38270         * conform/data/sys/select.h-data: Likewise.
38271         * conform/data/sys/sem.h-data: Likewise.
38272         * conform/data/sys/shm.h-data: Likewise.
38273         * conform/data/sys/socket.h-data: Likewise.
38274         * conform/data/sys/stat.h-data: Likewise.
38275         * conform/data/sys/statvfs.h-data: Likewise.
38276         * conform/data/sys/time.h-data: Likewise.
38277         * conform/data/sys/timeb.h-data: Likewise.
38278         * conform/data/sys/times.h-data: Likewise.
38279         * conform/data/sys/types.h-data: Likewise.
38280         * conform/data/sys/uio.h-data: Likewise.
38281         * conform/data/sys/un.h-data: Likewise.
38282         * conform/data/sys/utsname.h-data: Likewise.
38283         * conform/data/sys/wait.h-data: Likewise.
38284         * conform/data/syslog.h-data: Likewise.
38285         * conform/data/tar.h-data: Likewise.
38286         * conform/data/termios.h-data: Likewise.
38287         * conform/data/utime.h-data: Likewise.
38288         * conform/data/utmpx.h-data: Likewise.
38289         * conform/data/varargs.h-data: Likewise.
38290         * conform/data/wchar.h-data: Likewise.
38291         * conform/data/wctype.h-data: Likewise.
38292         * conform/data/wordexp.h-data: Likewise.
38293
38294         * include/stropts.h: New file.
38295         * include/uchar.h: New file.
38296         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38297         * include/assert.h: Likewise.
38298         * include/ctype.h: Likewise.
38299         * include/dirent.h: Likewise.
38300         * include/dlfcn.h: Likewise.
38301         * include/fcntl.h: Likewise.
38302         * include/fnmatch.h: Likewise.
38303         * include/glob.h: Likewise.
38304         * include/grp.h: Likewise.
38305         * include/libio.h: Likewise.
38306         * include/locale.h: Likewise.
38307         * include/math.h: Likewise.
38308         * include/net/if.h: Likewise.
38309         * include/netdb.h: Likewise.
38310         * include/netinet/in.h: Likewise.
38311         * include/pthread.h: Likewise.
38312         * include/pwd.h: Likewise.
38313         * include/regex.h: Likewise.
38314         * include/sched.h: Likewise.
38315         * include/search.h: Likewise.
38316         * include/setjmp.h: Likewise.
38317         * include/signal.h: Likewise.
38318         * include/stdio.h: Likewise.
38319         * include/stdlib.h: Likewise.
38320         * include/string.h: Likewise.
38321         * include/sys/cdefs.h: Likewise.
38322         * include/sys/mman.h: Likewise.
38323         * include/sys/msg.h: Likewise.
38324         * include/sys/resource.h: Likewise.
38325         * include/sys/select.h: Likewise.
38326         * include/sys/socket.h: Likewise.
38327         * include/sys/stat.h: Likewise.
38328         * include/sys/statvfs.h: Likewise.
38329         * include/sys/time.h: Likewise.
38330         * include/sys/times.h: Likewise.
38331         * include/sys/uio.h: Likewise.
38332         * include/sys/utsname.h: Likewise.
38333         * include/sys/wait.h: Likewise.
38334         * include/termios.h: Likewise.
38335         * include/time.h: Likewise.
38336         * include/ulimit.h: Likewise.
38337         * include/unistd.h: Likewise.
38338         * include/utime.h: Likewise.
38339         * include/wchar.h: Likewise.
38340         * include/wctype.h: Likewise.
38341         * include/wordexp.h: Likewise.
38342
38343         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38344
38345         * time/time.h: TIME_UTC must be a macro.
38346         Make timespec_get available for ISO C11 only as well.
38347
38348 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38349
38350         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38351         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38352
38353 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38354
38355         * configure.in: Use -o not -a in test for unsupported multi-arch.
38356
38357 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38358
38359         * manual/texinfo.tex: Update to version 2012-01-19.16.
38360
38361 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38362
38363         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38364
38365 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38366
38367         [BZ #13738]
38368         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38369         * manual/fdl-1.3.texi: New file.
38370         * manual/fdl-1.1.texi: File removed.
38371
38372         [BZ #13738]
38373         * manual/libc.texinfo (FDL_VERSION): New @set.
38374         Use it for mention of FDL in cover text.
38375         (Documentation License): Use it in @include file name.
38376
38377 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38378             Roland McGrath  <roland@hack.frob.com>
38379
38380         [BZ #5461]
38381         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38382         (not LONG_LONG_MAX and LONG_LONG_MIN.
38383         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38384         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38385         name.
38386         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38387
38388 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38389
38390         [BZ #2547]
38391         [BZ #11365]
38392         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38393         manipulate bits before adding and subtracting TWO23[sx].
38394         * math/libm-test.inc (nearbyint_test): Add more tests.
38395
38396 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38397
38398         [BZ #2548]
38399         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38400         bits before adding and subtracting TWO23[sx].
38401         * math/libm-test.inc (rint_test): Add more tests.
38402         (rint_test_tonearest): Likewise.
38403         (rint_test_towardzero): Likewise.
38404         (rint_test_downward): Likewise.
38405         (rint_test_upward: Likewise.
38406
38407 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38408
38409         [BZ #10110]
38410         * include/stdc-predef.h: New file.  Extracted from features.h.
38411         * include/features.h: Include stdc-predef.h.
38412         * Makefile (headers): Add stdc-predef.h.
38413         * CONFORMANCE (Compiler limitations): Update.
38414
38415 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38416
38417         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38418
38419 2012-02-21  David S. Miller  <davem@davemloft.net>
38420
38421         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38422         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38423
38424 2012-02-20  David S. Miller  <davem@davemloft.net>
38425
38426         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38427         using a normal save/restore sequence, rather than allocating a
38428         dummy stack frame just to store a frame pointer and restore.
38429         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38430
38431 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38432
38433         * manual/install.texi: Fix stray word in line-wrapped comment.
38434
38435 2012-02-20  David S. Miller  <davem@davemloft.net>
38436
38437         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38438         both binutils and gcc support GOTDATA.
38439
38440         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38441         "rd %pc" in the PIC register setup sequences.
38442
38443         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38444         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38445         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38446         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38447         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38448         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38449         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38450         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38452         (SYSCALL_ERROR_HANDLER): Likewise.
38453         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38454         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38455         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38456         (SYSCALL_ERROR_HANDLER): Likewise.
38457
38458         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38459         (HAVE_GCC_GOTDATA): New.
38460         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38461         relocation support in both binutils and gcc.
38462         * sysdeps/sparc/elf/configure: Regenerate.
38463
38464         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38465         * sysdeps/sparc/sparc32/elf/configure: Delete.
38466         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38467         * sysdeps/sparc/sparc64/elf/configure: Delete.
38468         * sysdeps/sparc/elf/configure.in: New file.
38469         * sysdeps/sparc/elf/configure: Generate.
38470
38471         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38472         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38473         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38474         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38475         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38476
38477 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38478
38479         * manual/install.texi: Do not mention specific glibc version
38480         numbers.
38481         * manual/libc.texinfo (VERSION, UPDATED): Update.
38482         (@copying): Use @copyright{} and range of years.
38483
38484 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38485
38486         [BZ #13695]
38487         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38488         [crti.S not in sysdirs] (generated): Do not append.
38489         [crti.S not in sysdirs] (omit-deps): Likewise.
38490         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38491         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38492         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38493         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38494         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38495         Likewise.
38496         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38497         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38498         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38499         * csu/defs.awk: Remove file.
38500         * sysdeps/generic/initfini.c: Likewise.
38501         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38502         variable.
38503         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38504         Likewise.
38505
38506 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38507
38508         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38509         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38510         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38511         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38512         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38513         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38514         <bits/epoll.h>.
38515         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38516         (__EPOLL_PACKED): Define to empty if not defined by
38517         <bits/epoll.h>.
38518         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38520         bits/epoll.h.
38521
38522 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38523
38524         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38525         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38526         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38527         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38528         <bits/timerfd.h>.
38529         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38531         bits/timerfd.h.
38532
38533 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38534
38535         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38536         in C locale.
38537         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38538         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38539         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38541
38542 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38543
38544         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38545         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38546
38547 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38548
38549         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38550         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38551         defined.
38552         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38553         Likewise.
38554         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38555         entry for 2.16.
38556
38557 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38558
38559         * math/w_acos.c: Use non-signaling floating-point comparisons.
38560         * math/w_acosf.c: Likewise.
38561         * math/w_acosh.c: Likewise.
38562         * math/w_acoshf.c: Likewise.
38563         * math/w_acoshl.c: Likewise.
38564         * math/w_acosl.c: Likewise.
38565         * math/w_asin.c: Likewise.
38566         * math/w_asinf.c: Likewise.
38567         * math/w_asinl.c: Likewise.
38568         * math/w_atanh.c: Likewise.
38569         * math/w_atanhf.c: Likewise.
38570         * math/w_atanhl.c: Likewise.
38571         * math/w_exp2.c: Likewise.
38572         * math/w_exp2f.c: Likewise.
38573         * math/w_exp2l.c: Likewise.
38574         * math/w_j0.c: Likewise.
38575         * math/w_j0f.c: Likewise.
38576         * math/w_j0l.c: Likewise.
38577         * math/w_j1.c: Likewise.
38578         * math/w_j1f.c: Likewise.
38579         * math/w_j1l.c: Likewise.
38580         * math/w_jn.c: Likewise.
38581         * math/w_jnf.c: Likewise.
38582         * math/w_log.c: Likewise.
38583         * math/w_log10.c: Likewise.
38584         * math/w_log10f.c: Likewise.
38585         * math/w_log10l.c: Likewise.
38586         * math/w_log2.c: Likewise.
38587         * math/w_log2f.c: Likewise.
38588         * math/w_log2l.c: Likewise.
38589         * math/w_logf.c: Likewise.
38590         * math/w_logl.c: Likewise.
38591         * math/w_sqrt.c: Likewise.
38592         * math/w_sqrtf.c: Likewise.
38593         * math/w_sqrtl.c: Likewise.
38594         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38595         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38596         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38597         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38598         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38599
38600 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38601
38602         [BZ #9739]
38603         * manual/string.texi (strnlen): Use correct parameter name in
38604         equivalent expression.
38605
38606 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38607
38608         [BZ #11174]
38609         * manual/users.texi (seteuid): Consistently use neweuid for
38610         argument name.
38611
38612 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38613
38614         [BZ #13704]
38615         * manual/nss.texi (Services in the NSS configuration): Correct
38616         list of services in example configuration file.
38617
38618 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38619
38620         [BZ #11322]
38621         * manual/arith.texi: Remove statements about negative zero
38622         behaving identically to zero.
38623
38624 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38625
38626         [BZ #5993]
38627         * manual/install.texi: Do not document upgrading from libc5.
38628
38629 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38630
38631         [BZ #4596]
38632         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38633
38634 2012-02-18  David S. Miller  <davem@davemloft.net>
38635
38636         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38637         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38638         %o7 across the call.
38639         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38640         instead.
38641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38642         SETUP_PIC_REG_LEAF.
38643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38644         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38645         * sysdeps/sparc/crtn.S: Likewise.
38646
38647 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38648
38649         * aout/Makefile: Remove.
38650
38651 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38652
38653         [BZ #13058]
38654         * manual/examples/argp-ex1.c (main): Format definition in GNU
38655         style.
38656         * manual/examples/argp-ex2.c (main): Likewise.
38657         * manual/examples/argp-ex3.c (main): Likewise.
38658         * manual/examples/argp-ex4.c (main): Likewise.
38659         * manual/examples/longopt.c (main): Use new-style prototype
38660         definition.
38661         * manual/examples/strncat.c (main): Specify return type and use
38662         (void) for arguments.
38663         * manual/examples/subopt.c (main): Use char **argv argument.
38664
38665 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38666
38667         [BZ #5077]
38668         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38669         rounding modes.
38670
38671 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38672
38673         [BZ #6907]
38674         * manual/string.texi (strchr): Change when strchrnul is
38675         recommended.
38676
38677 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38678
38679         [BZ #174]
38680         * manual/locale.texi (setlocale): Document LOCPATH.
38681
38682 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38683
38684         [BZ #10210]
38685         * manual/process.texi (execle): Move @dots{} before last argument.
38686
38687 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38688
38689         [BZ #12047]
38690         * manual/charset.texi (Generic Charset Conversion): Fix typo
38691         (LC_TYPE -> LC_CTYPE).
38692
38693 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38694
38695         [BZ #5805]
38696         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38697         (scalbnf): Likewise.
38698         (scalbnl): Likewise.
38699         (scalbln): Likewise.
38700         (scalblnf): Likewise.
38701         (scalblnl): Likewise.
38702         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38703         (vwarnx): Likewise.
38704         (verr): Likewise.
38705         (verrx): Likewise.
38706         * manual/filesys.texi (telldir): Use braces around return type.
38707         * manual/llio.texi (mmap): Add space after comma.
38708         (mmap64): Likewise.
38709         * manual/math.texi (jn): Use @var{} on parameter names.
38710         (jnf): Likewise.
38711         (jnl): Likewise.
38712         (yn): Likewise.
38713         (ynf): Likewise.
38714         (ynl): Likewise.
38715         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38716         line.
38717         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38718         "...".
38719         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38720         (sched_get_priority_max): Likewise.
38721         * manual/signal.texi (sigvec): Add space after comma.
38722         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38723         names.
38724         (if_indextoname): Likewise.
38725         (if_freenameindex): Likewise.
38726         (sendto): Use ',' instead of '.' in prototype.
38727         * manual/startup.texi (syscall): Use @dots{} instead of literal
38728         "...".
38729         * manual/stdio.texi (__fpending): Separate initial words of
38730         paragraph from @deftypefun line.
38731         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38732         "...".
38733         (vsyslog): Use @var{} on parameter names.
38734         * manual/terminal.texi (stty): Use @var{} on parameter names.
38735         * manual/users.texi (getutmp): Use @var{} on parameter names.
38736         (getutmpx): Likewise.
38737
38738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38739
38740         [BZ #6884]
38741         * manual/stdio.texi (fopen): Fix typos in description of
38742         ",ccs=STRING".
38743
38744 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38745
38746         [BZ #4026]
38747         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38748         get clock_id definition.
38749
38750 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38751
38752         [BZ #4822]
38753         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38754         (madvise): Cast every argument to void on its own.
38755
38756 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38757
38758         [BZ #9902]
38759         * manual/startup.texi (Exit Status): Fix typo.
38760
38761 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38762
38763         [BZ #10140]
38764         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38765         * manual/examples/argp-ex2.c: Likewise.
38766         * manual/examples/argp-ex3.c: Likewise.
38767
38768 2012-02-16  Richard Henderson  <rth@redhat.com>
38769
38770         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38771         * sysdeps/s390/s390-32/initfini.c: Remove.
38772         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38773         * sysdeps/s390/s390-64/initfini.c: Remove.
38774
38775 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38776
38777         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38778         compiler output for sysdeps/generic/initfini.c.
38779         * sysdeps/sh/elf/initfini.c: Remove file.
38780
38781 2012-02-16  David S. Miller  <davem@davemloft.net>
38782
38783         [BZ #11494]
38784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38785
38786         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38787         * sysdeps/sparc/crti.S: New file.
38788         * sysdeps/sparc/crtn.S: New file.
38789         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38790         * sysdeps/sparc/sparc64/Makefile: Likewise.
38791
38792 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38793
38794         [BZ #3335]
38795         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38796
38797 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38798
38799         [BZ #4822]
38800         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38801
38802         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38803         (write, read, close): Likewise.
38804         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38805
38806 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38807
38808         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38809         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38810         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38811         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38812         <bits/signalfd.h>.
38813         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38815         bits/signalfd.h.
38816
38817 2012-02-14  Marek Polacek  <polacek@redhat.com>
38818
38819         * sysdeps/x86_64/crti.S: New file.
38820         * sysdeps/x86_64/crtn.S: New file.
38821         * sysdeps/x86_64/elf/initfini.c: Remove file.
38822
38823 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38824
38825         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38826         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38827         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38828         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38829         <bits/inotify.h>.
38830         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38832         bits/inotify.h.
38833
38834 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38835
38836         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38837         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38838         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38839         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38840         <bits/eventfd.h>.
38841         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38843         bits/eventfd.h.
38844
38845 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38846
38847         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38848         __feraiseexcept instead of feraiseexcept.
38849
38850         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38851         nanosleep invocations.
38852         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38853         strings, and add error checking for a nanosleep invocations.
38854
38855 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38856
38857         Replace FSF snail mail address with URLs, as per GNU coding standards.
38858         Most of the snail mail addresses were wrong anyway, and omitting
38859         them makes the source code easier to maintain.  Almost all of the
38860         changes are to license notices and to locale LC_IDENTIFICATION
38861         addresses, except for this one:
38862         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38863         not its snail mail address.
38864
38865 2012-02-09  Richard Henderson  <rth@twiddle.net>
38866
38867         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38868         of kernel-features.h.
38869
38870         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38871
38872 2012-02-08  Marek Polacek  <polacek@redhat.com>
38873
38874         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38875         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38876         * sysdeps/gnu/_G_config.h: Likewise.
38877         * sysdeps/generic/_G_config.h: Likewise.
38878
38879 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38880
38881         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38882         tests.
38883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38884
38885         * sysdeps/powerpc/powerpc32/crti.S: New file.
38886         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38887         * sysdeps/powerpc/powerpc64/crti.S: New file.
38888         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38889
38890         * Makeconfig (have-initfini): Don't set.
38891         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38892         * configure.in (nopic_initfini): Don't substitute.
38893         * config.h.in (HAVE_INITFINI): Don't #undef.
38894         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38895         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38896
38897 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38898
38899         Support crti.S and crtn.S provided directly by architectures.
38900         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38901         [crti.S in sysdirs] (omit-deps): Likewise.
38902         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38903         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38904         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38905         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38906         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38907         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38908         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38909         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38910         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38911         compiler output for sysdeps/generic/initfini.c.
38912         * sysdeps/i386/elf/Makefile: Remove file.
38913         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38914
38915 2012-02-07  Marek Polacek  <polacek@redhat.com>
38916
38917         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38918         * sysdeps/gnu/_G_config.h: Likewise.
38919         * sysdeps/mach/hurd/_G_config.h: Likewise.
38920
38921 2012-02-07  Marek Polacek  <polacek@redhat.com>
38922
38923         * math/Makefile (tests): Add tst-CMPLX2.
38924         * math/tst-CMPLX2.c: New file.
38925
38926 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38927
38928         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38929
38930         * math/libm-test.inc (jn_test): Add missing L suffix.
38931
38932 2012-02-06  Marek Polacek  <polacek@redhat.com>
38933
38934         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38935         * sysdeps/i386/fpu/e_powf.S: Likewise.
38936         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38937         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38938         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38939         * sysdeps/i386/fpu/e_pow.S: Likewise.
38940         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38941         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38942         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38943         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38944         * sysdeps/i386/fpu/e_log2.S: Likewise.
38945         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38946         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38947         * sysdeps/i386/fpu/e_powl.S: Likewise.
38948         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38949         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38950         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38951         * sysdeps/i386/fpu/e_logl.S: Likewise.
38952         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38953         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38954         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38955         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38956         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38957         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38958         * sysdeps/i386/fpu/e_log.S: Likewise.
38959         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38960         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38961         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38962         * sysdeps/i386/fpu/e_logf.S: Likewise.
38963         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38964         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38965         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38966         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38967         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38968         * sysdeps/i386/fpu/e_log10.S: Likewise.
38969         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38970         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38971         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38972         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38973         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38974         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38975         * sysdeps/i386/asm-syntax.h: Likewise.
38976         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38977         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38978         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38979         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38980         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38981         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38982         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38983         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38984         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38985         * sysdeps/powerpc/sysdep.h: Likewise.
38986         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38987         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38988
38989 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38990
38991         [BZ #411]
38992         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38993
38994 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38995
38996         * sysdeps/i386/sysdep.h: Include <features.h>.
38997         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38998         version.
38999
39000 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39001
39002         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39003         Define.
39004         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39005         LOAD_PIC_REG_STR.
39006
39007 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39008
39009         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39010         (SETUP_PIC_REG): Use GET_PC_THUNK.
39011         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39012         macro.
39013
39014 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39015
39016         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39017         for non-PIC compilation.
39018         (SETUP_PIC_REG): Add .p2align directive.
39019         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39020         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39021         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39022         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39023         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39024         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39025         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39026         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39027         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39028         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39029         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39030         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39031         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39032         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39033         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39034         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39036         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39038         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39039         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39040         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39041         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39042         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39043         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39044         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39045         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39046         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39047         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39048         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39049         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39050         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39051         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39053         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39055         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39056         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39057         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39058         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39059         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39060
39061 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39062
39063         * math/tst-CMPLX.c: Include <stdio.h>.
39064
39065 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39066
39067         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39068         float.
39069         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39070         * sysdeps/sparc/bits/mathdef.h: Likewise.
39071
39072 2012-01-31  Marek Polacek  <polacek@redhat.com>
39073
39074         * libio/libio.h: Don't define _PARAMS.
39075         * locale/programs/config.h: Don't define PARAMS.
39076         * stdlib/strtol_l.c: Likewise.
39077         (__strtol_l): Remove PARAMS from the prototype.
39078
39079 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39080
39081         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39082         names.  Just use the correct names.  Remove unnecessary wrapper
39083         functions.
39084         * malloc/arena.c: Likewise.
39085         * malloc/hooks.c: Likewise.
39086
39087         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39088         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39089         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39090
39091 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39092
39093         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39094         into tail calls.
39095         (update_get_addr): New function.
39096         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39097         GET_ADDR_MODULE parameter.
39098
39099 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39100
39101         * crypt/cert.c: Remove __STDC__ conditionals.
39102         * crypt/crypt-entry.c: Likewise.
39103         * crypt/crypt_util.c: Likewise.
39104         * libio/filedoalloc.c: Likewise.
39105         * libio/fileops.c: Likewise.
39106         * libio/genops.c: Likewise.
39107         * libio/iofclose.c: Likewise.
39108         * libio/iofdopen.c: Likewise.
39109         * libio/iofopen.c: Likewise.
39110         * libio/iofopen64.c: Likewise.
39111         * libio/iogetdelim.c: Likewise.
39112         * libio/iopopen.c: Likewise.
39113         * libio/obprintf.c: Likewise.
39114         * libio/oldfileops.c: Likewise.
39115         * libio/oldiofclose.c: Likewise.
39116         * libio/oldiofdopen.c: Likewise.
39117         * libio/oldiofopen.c: Likewise.
39118         * libio/oldiopopen.c: Likewise.
39119         * libio/wfiledoalloc.c: Likewise.
39120         * libio/wgenops.c: Likewise.
39121         * locale/programs/xmalloc.c: Likewise.
39122         * misc/syslog.c: Likewise.
39123         * stdio-common/xbug.c: Likewise.
39124         * string/memchr.c: Likewise.
39125         * string/memcmp.c: Likewise.
39126         * string/memrchr.c: Likewise.
39127         * string/rawmemchr.c: Likewise.
39128         * sysdeps/posix/getcwd.c: Likewise.
39129         * time/strftime_l.c: Likewise.
39130
39131 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39132
39133         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39134         * config.make.in (config-cflags-sse2avx): Define.
39135         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39136         Fix typo.
39137
39138 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39139
39140         * scripts/config.guess: Update from upstream config git repository.
39141         * scripts/config.sub: Likewise.
39142
39143 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39144
39145         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39146         (EM_NUM): Update.
39147         (R_TILEPRO_*, R_TILEGX_*): New macros.
39148
39149         * scripts/firstversions.awk: Fix bug in version range handling.
39150
39151         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39152
39153         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39154
39155         * include/sys/epoll.h: New file.
39156         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39157         libc_hidden_def.
39158
39159 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39160
39161         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39162         Avoid unnecessary __WORDSIZE == 64 test.
39163         (fmaxf): Use VEX format if possible.
39164         (fmax): Likewise.
39165         (fminf): Likewise.
39166         (fmin): Likewise.
39167
39168         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39169         * math/math_private.h: Remove libc_fegetround* and
39170         libc_fesetround*.
39171         * sysdeps/i386/configure.in: Check for -msse2avx.
39172         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39173         also if SSE2AVX is defined.
39174         Remove libc_fegetround* and libc_fesetround*.
39175         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39176         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39177         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39178         of HAS_YMM_USABLE.
39179         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39180         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39181         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39182         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39183         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39184
39185         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39186
39187 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39188
39189         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39190         size is not set.
39191         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39192
39193 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39194
39195         [BZ #13618]
39196         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39197         relocation.
39198         * Makeconfig (libm): Define.
39199         * elf/Makefile: Add rules to build and run tst-relsort1.
39200         * elf/tst-relsort1.c: New file.
39201         * elf/tst-relsort1mod1.c: New file.
39202         * elf/tst-relsort1mod2.c: New file.
39203
39204 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39205
39206         * math/s_ldexp.c: Remove __STDC__ conditionals.
39207         * math/s_ldexpf.c: Likewise.
39208         * math/s_ldexpl.c: Likewise.
39209         * math/s_nextafter.c: Likewise.
39210         * math/s_nexttowardf.c: Likewise.
39211         * math/s_significand.c: Likewise.
39212         * math/s_significandf.c: Likewise.
39213         * math/s_significandl.c: Likewise.
39214         * math/w_jnl.c: Likewise.
39215         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39216         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39217         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39218         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39219         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39220         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39221         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39222         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39223         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39224         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39225         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39226         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39227         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39228         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39229         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39230         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39231         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39232         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39233         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39234         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39235         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39236         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39237         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39239         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39240         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39241         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39242         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39243         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39244         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39245         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39246         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39247         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39248         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39249         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39250         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39251         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39252         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39253         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39254         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39255         * sysdeps/ieee754/k_standard.c: Likewise.
39256         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39257         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39258         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39259         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39260         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39261         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39262         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39263         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39264         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39265         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39266         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39267         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39268         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39269         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39270         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39271         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39272         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39273         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39274         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39275         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39276         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39277         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39278         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39279         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39280         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39281         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39282         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39283         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39285         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39286         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39287         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39288         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39289         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39290         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39291         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39292         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39293         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39294         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39295         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39296         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39298         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39299         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39300         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39301         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39302         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39304         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39305         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39306         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39309         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39310         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39311         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39312         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39313         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39314         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39315         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39316         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39317         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39318         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39319         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39320         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39321         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39322         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39323         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39324         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39325         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39326         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39327         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39328         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39329         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39330         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39331         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39332         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39333         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39334         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39335         * sysdeps/ieee754/s_matherr.c: Likewise.
39336         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39337         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39339         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39340
39341 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39342
39343         * crypt/md5.h: Remove __STDC__ conditionals.
39344         * libio/libioP.h: Likewise.
39345         * locale/programs/config.h: Likewise.
39346         * sysdeps/generic/sysdep.h: Likewise.
39347         * sysdeps/i386/asm-syntax.h: Likewise.
39348         * sysdeps/s390/asm-syntax.h: Likewise.
39349         * sysdeps/unix/sysdep.h: Likewise.
39350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39352
39353 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39354
39355         * libio/libio.h: Remove __STDC__ conditionals.
39356         * malloc/obstack.h: Likewise.
39357         * math/complex.h: Likewise.
39358         * math/math.h: Likewise.
39359         * sysdeps/generic/_G_config.h: Likewise.
39360         * sysdeps/gnu/_G_config.h: Likewise.
39361         * sysdeps/mach/hurd/_G_config.h: Likewise.
39362         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39363         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39364         * sysdeps/sparc/bits/mathdef.h: Likewise.
39365
39366 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39367
39368         [BZ #13583]
39369         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39370         Clean up HAS_* macros.
39371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39372         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39373         possible.
39374         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39375         HAS_AVX.
39376         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39377         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39378         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39379         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39380         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39381
39382 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39383
39384         * elf/tst-unique3.cc (gets): Remove declaration.
39385         * elf/tst-unique3lib.cc (gets): Likewise.
39386         * elf/tst-unique3lib2.cc (gets): Likewise.
39387         * elf/tst-unique4.cc (gets): Likewise.
39388
39389 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39390
39391         * include/stdio.h: Add C++ protection.  Add gets declarations and
39392         definitions.
39393         * debug/tst-chk1.c: Don't declare gets here.
39394         * stdio-common/tst-gets.c: Likewise.
39395
39396 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39397
39398         * posix/glob: Remove directory.
39399
39400 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39401
39402         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39403
39404 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39405
39406         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39407         of the non-standard EPFNOSUPPORT.
39408
39409 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39410
39411         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39412         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39413         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39414
39415 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39416
39417         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39418
39419 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39420
39421         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39422         transient errors.
39423         * nscd/grpcache.c (cache_addgr): Likewise.
39424         * nscd/hstcache.c (cache_addhst): Likewise.
39425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39426         * nscd/pwdcache.c (cache_addpw): Likewise.
39427         * nscd/servicescache.c (cache_addserv): Likewise.
39428
39429 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39430
39431         * malloc/malloc.c: Various cleanups.
39432         * malloc/hooks.c: Likewise.
39433
39434         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39435         * stdlib/bug-fmtmsg1.c: New file.
39436
39437         * stdlib/fmtmsg.c (init): Add missing unlock.
39438         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39439
39440 2012-01-12  Marek Polacek  <polacek@redhat.com>
39441
39442         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39443         and _GNU_SOURCE.
39444
39445 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39446
39447         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39448         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39449         macro to ensure uniqueness of label name.
39450         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39451         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39452
39453 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39454
39455         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39456
39457         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39458         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39459         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39461
39462 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39463
39464         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39465
39466         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39467         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39468         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39469
39470         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39471
39472         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39473         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39474         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39476
39477         * math/bits/math-finite.h: Add ldexp support.
39478
39479 2012-01-10  Marek Polacek  <polacek@redhat.com>
39480
39481         * locale/programs/localedef.h (show_archive_content): Add noreturn
39482         attribute.
39483
39484 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39485
39486         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39487
39488 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39489
39490         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39491
39492         * io/Makefile (headers): Add bits/poll2.h.
39493
39494 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39495
39496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39497         typo #include statement.
39498
39499 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39500
39501         * include/sys/cdefs.h: Define __attribute_alloc_size.
39502         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39503         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39504         * elf/pldd.c: Likewise.
39505         * iconv/iconv_charmap.c: Likewise.
39506         * iconv/iconvconfig.c: Likewise.
39507         * iconv/strtab.c: Likewise.
39508         * locale/programs/locale.c: Likewise.
39509         * locale/programs/localedef.h: Likewise.
39510         * locale/programs/simple-hash.c: Likewise.
39511         * nscd/nscd.h: Likewise.
39512         * nss/makedb.c: Likewise.
39513         * sysdeps/generic/ldconfig.h: Likewise.
39514         * locale/programs/localedef.c: Remove xmalloc prototype.
39515         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39516
39517 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39518
39519         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39520         appropriate.
39521
39522 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39523
39524         * math/Makefile (tests): Add tst-CMPLX.
39525         * math/tst-CMPLX.c: New file.
39526
39527         * math/complex.h (CMPLXL): Fix typo.
39528
39529         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39530         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39531         GLIBC_2.16.
39532         * debug/tst-chk1.c: Add poll and ppoll tests.
39533         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39534         * include/sys/poll.h: Add hidden proto for ppoll.
39535         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39536         * sysdeps/mach/hurd/ppoll.c: Likewise.
39537         * io/ppoll.c: Likewise.
39538         * debug/poll_chk.c: New file.
39539         * debug/ppoll_chk.c: New file.
39540         * include/bits/poll2.h: New file.
39541         * io/bits/poll2.h: New file.
39542
39543         [BZ #1350]
39544         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39545
39546         * configure.in: static is always set to yes.  Remove.
39547         * config.make.in: Don't set build-static.
39548         * Makeconfig: Remove use of build-static.
39549         * dlfcn/Makefile: Likewise.
39550         * elf/Makefile: Likewise.
39551         * math/Makefile: Likewise.
39552         * misc/Makefile: Likewise.
39553         * nptl/Makefile: Likewise.
39554         * sysdeps/mach/hurd/Makefile: Likewise.
39555
39556         * configure.in: PWD_P is not used anymore.
39557         * config.make.in: Remove PWD_P entry.
39558
39559         * configure.in: Remove last remnants of RANLIB.
39560         No need to check for signed size_t anymore.
39561         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39562         and IA-64.
39563         Remove __builtin_expect test because we require at least gcc 3.4.
39564         * aclocal.m4: Likewise.
39565
39566         * wcsmbs/mbrtoc16.c: Implement using towc function.
39567         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39568         * wcsmbs/wcsmbsload.c: Likewise.
39569         * iconv/gconv_simple.c: Likewise.
39570         * iconv/gconv_int.h: Likewise.
39571         * iconv/gconv_builtin.h: Likewise.
39572         * iconv/iconv_prog.c: Remove CHAR16 handling.
39573
39574         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39575
39576         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39577
39578         * configure.in: Remove --with-elf and --enable-bounded options.
39579         Dont set base_machine for ia64.  More non-ELF conditions removed.
39580         Remove testing and setting of leading underscore information.
39581         * config.make.in (build-bounded): Set to no.
39582         * config.h.in: Remove NO_UNDERSCORES entry.
39583         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39584         them.
39585         * csu/start.c: Remove !NO_UNDERSCORE code.
39586         * locale/localeinfo.h: Likewise.
39587         * sysdeps/generic/machine-gmon.h: Likewise.
39588         * sysdeps/generic/sysdep.h: Likewise.
39589         * sysdeps/i386/sysdep.h: Likewise.
39590         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39591         * sysdeps/mach/sysdep.h: Likewise.
39592         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39593         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39594         * sysdeps/sh/sysdep.h: Likewise.
39595         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39596         * sysdeps/unix/i386/sysdep.S: Likewise.
39597         * sysdeps/unix/sparc/start.c: Likewise.
39598         * sysdeps/unix/sparc/sysdep.S: Likewise.
39599         * sysdeps/unix/sparc/sysdep.h: Likewise.
39600         * sysdeps/unix/start.c: Likewise.
39601         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39602         * sysdeps/x86_64/sysdep.h: Likewise.
39603
39604 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39605
39606         [BZ #13553]
39607         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39608         for non-gcc.
39609         * argp/argp-fmtstream.h: Use const instead __const.
39610         * argp/argp.h: Likewise.
39611         * assert/assert.h: Likewise.
39612         * bits/fenv.h: Likewise.
39613         * bits/sched.h: Likewise.
39614         * bits/sigset.h: Likewise.
39615         * bits/sigthread.h: Likewise.
39616         * catgets/nl_types.h: Likewise.
39617         * conform/data/pthread.h-data: Likewise.
39618         * crypt/crypt-private.h: Likewise.
39619         * crypt/crypt.h: Likewise.
39620         * crypt/crypt_util.c: Likewise.
39621         * ctype/ctype.h: Likewise.
39622         * debug/execinfo.h: Likewise.
39623         * debug/mbsnrtowcs_chk.c: Likewise.
39624         * debug/mbsrtowcs_chk.c: Likewise.
39625         * debug/wcsnrtombs_chk.c: Likewise.
39626         * debug/wcsrtombs_chk.c: Likewise.
39627         * debug/wcstombs_chk.c: Likewise.
39628         * dirent/dirent.h: Likewise.
39629         * dlfcn/dlfcn.h: Likewise.
39630         * elf/neededtest4.c: Likewise.
39631         * grp/grp.h: Likewise.
39632         * gshadow/gshadow.h: Likewise.
39633         * iconv/gconv.h: Likewise.
39634         * iconv/gconv_int.h: Likewise.
39635         * iconv/gconv_simple.c: Likewise.
39636         * iconv/iconv.h: Likewise.
39637         * iconv/loop.c: Likewise.
39638         * iconv/skeleton.c: Likewise.
39639         * include/aio.h: Likewise.
39640         * include/aliases.h: Likewise.
39641         * include/argz.h: Likewise.
39642         * include/arpa/inet.h: Likewise.
39643         * include/assert.h: Likewise.
39644         * include/dirent.h: Likewise.
39645         * include/dlfcn.h: Likewise.
39646         * include/execinfo.h: Likewise.
39647         * include/fcntl.h: Likewise.
39648         * include/fenv.h: Likewise.
39649         * include/glob.h: Likewise.
39650         * include/grp.h: Likewise.
39651         * include/libintl.h: Likewise.
39652         * include/mntent.h: Likewise.
39653         * include/netdb.h: Likewise.
39654         * include/pwd.h: Likewise.
39655         * include/rpc/netdb.h: Likewise.
39656         * include/sched.h: Likewise.
39657         * include/search.h: Likewise.
39658         * include/shadow.h: Likewise.
39659         * include/signal.h: Likewise.
39660         * include/stdio.h: Likewise.
39661         * include/stdlib.h: Likewise.
39662         * include/string.h: Likewise.
39663         * include/sys/socket.h: Likewise.
39664         * include/sys/stat.h: Likewise.
39665         * include/sys/statfs.h: Likewise.
39666         * include/sys/statvfs.h: Likewise.
39667         * include/sys/syslog.h: Likewise.
39668         * include/sys/time.h: Likewise.
39669         * include/sys/uio.h: Likewise.
39670         * include/time.h: Likewise.
39671         * include/unistd.h: Likewise.
39672         * include/utmp.h: Likewise.
39673         * include/wchar.h: Likewise.
39674         * include/wctype.h: Likewise.
39675         * inet/aliases.h: Likewise.
39676         * inet/arpa/inet.h: Likewise.
39677         * inet/netinet/ether.h: Likewise.
39678         * inet/netinet/in.h: Likewise.
39679         * intl/libintl.h: Likewise.
39680         * io/bits/fcntl2.h: Likewise.
39681         * io/fcntl.h: Likewise.
39682         * io/ftw.h: Likewise.
39683         * io/sys/poll.h: Likewise.
39684         * io/sys/stat.h: Likewise.
39685         * io/sys/statfs.h: Likewise.
39686         * io/sys/statvfs.h: Likewise.
39687         * io/utime.h: Likewise.
39688         * libio/bits/stdio.h: Likewise.
39689         * libio/bits/stdio2.h: Likewise.
39690         * libio/libio.h: Likewise.
39691         * libio/libioP.h: Likewise.
39692         * libio/stdio.h: Likewise.
39693         * locale/lc-ctype.c: Likewise.
39694         * locale/locale.h: Likewise.
39695         * login/utmp.h: Likewise.
39696         * malloc/arena.c: Likewise.
39697         * malloc/malloc.c: Likewise.
39698         * malloc/malloc.h: Likewise.
39699         * malloc/mcheck.c: Likewise.
39700         * malloc/mtrace.c: Likewise.
39701         * math/bits/mathcalls.h: Likewise.
39702         * math/fenv.h: Likewise.
39703         * math/math_private.h: Likewise.
39704         * misc/bits/error.h: Likewise.
39705         * misc/bits/syslog.h: Likewise.
39706         * misc/err.h: Likewise.
39707         * misc/error.h: Likewise.
39708         * misc/fstab.h: Likewise.
39709         * misc/mntent.h: Likewise.
39710         * misc/regexp.h: Likewise.
39711         * misc/search.h: Likewise.
39712         * misc/sgtty.h: Likewise.
39713         * misc/sys/mman.h: Likewise.
39714         * misc/sys/syslog.h: Likewise.
39715         * misc/sys/uio.h: Likewise.
39716         * misc/sys/xattr.h: Likewise.
39717         * misc/ttyent.h: Likewise.
39718         * nis/rpcsvc/ypclnt.h: Likewise.
39719         * nss/nss.h: Likewise.
39720         * posix/bits/unistd.h: Likewise.
39721         * posix/fnmatch.h: Likewise.
39722         * posix/glob.h: Likewise.
39723         * posix/sched.h: Likewise.
39724         * posix/spawn.h: Likewise.
39725         * posix/sys/wait.h: Likewise.
39726         * posix/unistd.h: Likewise.
39727         * posix/wordexp.h: Likewise.
39728         * pwd/pwd.h: Likewise.
39729         * resolv/netdb.h: Likewise.
39730         * resource/sys/resource.h: Likewise.
39731         * rt/aio.h: Likewise.
39732         * rt/bits/mqueue2.h: Likewise.
39733         * rt/mqueue.h: Likewise.
39734         * shadow/shadow.h: Likewise.
39735         * signal/signal.h: Likewise.
39736         * socket/send.c: Likewise.
39737         * socket/sendto.c: Likewise.
39738         * socket/sys/socket.h: Likewise.
39739         * stdio-common/printf.h: Likewise.
39740         * stdlib/bits/stdlib.h: Likewise.
39741         * stdlib/fmtmsg.h: Likewise.
39742         * stdlib/monetary.h: Likewise.
39743         * stdlib/stdlib.h: Likewise.
39744         * stdlib/ucontext.h: Likewise.
39745         * streams/stropts.h: Likewise.
39746         * string/argz.h: Likewise.
39747         * string/bits/string2.h: Likewise.
39748         * string/string.h: Likewise.
39749         * string/strings.h: Likewise.
39750         * sunrpc/rpc/auth.h: Likewise.
39751         * sunrpc/rpc/auth_des.h: Likewise.
39752         * sunrpc/rpc/clnt.h: Likewise.
39753         * sunrpc/rpc/netdb.h: Likewise.
39754         * sunrpc/rpc/pmap_clnt.h: Likewise.
39755         * sunrpc/rpc/xdr.h: Likewise.
39756         * sysdeps/generic/inttypes.h: Likewise.
39757         * sysdeps/generic/net/if.h: Likewise.
39758         * sysdeps/generic/sys/swap.h: Likewise.
39759         * sysdeps/gnu/net/if.h: Likewise.
39760         * sysdeps/gnu/utmpx.h: Likewise.
39761         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39762         * sysdeps/i386/i486/bits/string.h: Likewise.
39763         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39764         * sysdeps/s390/bits/string.h: Likewise.
39765         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39766         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39767         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39768         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39769         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39770         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39771         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39772         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39773         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39774         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39775         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39776         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39777         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39778         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39779         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39780         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39781         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39782         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39783         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39784         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39786         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39787         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39788         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39789         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39790         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39791         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39792         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39793         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39794         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39795         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39796         * sysvipc/sys/ipc.h: Likewise.
39797         * sysvipc/sys/msg.h: Likewise.
39798         * sysvipc/sys/sem.h: Likewise.
39799         * sysvipc/sys/shm.h: Likewise.
39800         * termios/termios.h: Likewise.
39801         * time/sys/time.h: Likewise.
39802         * time/time.h: Likewise.
39803         * wcsmbs/bits/wchar2.h: Likewise.
39804         * wcsmbs/uchar.h: Likewise.
39805         * wcsmbs/wchar.h: Likewise.
39806         * wctype/wctype.h: Likewise.
39807
39808         [BZ #13551]
39809         * Makeconfig: Remove all but ELF support including AIX support.
39810         * Makerules: Likewise.
39811         * config.h.in: Likewise.
39812         * config.make.in: Likewise.
39813         * configure: Likewise.
39814         * configure.in: Likewise.
39815         * csu/Makefile: Likewise.
39816         * csu/version.c: Likewise.
39817         * debug/Makefile: Likewise.
39818         * dlfcn/Makefile: Likewise.
39819         * elf/Makefile: Likewise.
39820         * extra-lib.mk: Likewise.
39821         * iconv/Makefile: Likewise.
39822         * include/libc-symbols.h: Likewise.
39823         * include/shlib-compat.h: Likewise.
39824         * resolv/Makefile: Likewise.
39825         * resolv/res_libc.c: Likewise.
39826         * rt/Makefile: Likewise.
39827         * sysdeps/i386/asm-syntax.h: Likewise.
39828         * sysdeps/i386/sysdep.h: Likewise.
39829         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39830         * sysdeps/mach/sysdep.h: Likewise.
39831         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39832         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39833         * sysdeps/s390/asm-syntax.h: Likewise.
39834         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39835         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39836         * sysdeps/sh/sysdep.h: Likewise.
39837         * sysdeps/unix/sparc/sysdep.h: Likewise.
39838         * sysdeps/wordsize-32/divdi3.c: Likewise.
39839         * sysdeps/x86_64/sysdep.h: Likewise.
39840
39841         * argp/Versions: Remove _argp_unlock_xxx.
39842
39843         [BZ #13559]
39844         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39845         * abilist/libBrokenLocale.abilist: Likewise.
39846         * abilist/libanl.abilist: Likewise.
39847         * abilist/libc.abilist: Likewise.
39848         * abilist/libcrypt.abilist: Likewise.
39849         * abilist/libdl.abilist: Likewise.
39850         * abilist/libm.abilist: Likewise.
39851         * abilist/libnsl.abilist: Likewise.
39852         * abilist/libpthread.abilist: Likewise.
39853         * abilist/libresolv.abilist: Likewise.
39854         * abilist/librt.abilist: Likewise.
39855         * abilist/libthread_db.abilist: Likewise.
39856         * abilist/libutil.abilist: Likewise.
39857         * abilist/libnss_db.abilist: New file.
39858
39859         * scripts/abilist.awk: Add support for indirect functions.
39860
39861         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39862
39863         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39864
39865         * shlib-versions: Remove entries for ports architectures.
39866
39867         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39868         files in ports.
39869         * elf/stackguard-macros.h: Remove support for IA-64.
39870         * elf/tst-auditmod1.c: Likewise.
39871         * sysdeps/generic/ldsodefs.h: Likewise.
39872
39873         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39874         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39875         configure files.
39876
39877         [BZ #13552]
39878         * configure.in: Remove --enable-omitfp support.
39879         * FAQ.in: Adjust.
39880         * config.make.in: Likewise.
39881         * Makeconfig: Likewise.
39882         * manual/install.texi: Likewise.
39883
39884         In case anyone cares, the IA-64 architecture could move to ports.
39885         * sysdeps/ia64/*: Removed.
39886         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39887         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39888
39889         [BZ #13555]
39890         * configure.in: Remove entries for unsupported architectures.
39891
39892         [BZ #13533]
39893         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39894         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39895         routines.
39896         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39897         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39898         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39899         fall back to using wcrtomb.
39900         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39901         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39902         renaming.
39903         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39904         * wcsmbs/tst-c16c32-1.c: New file.
39905
39906         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39907         local variable.
39908
39909         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39910
39911         * elf/tst-unique3.cc: Add explicit declaration of gets.
39912         * elf/tst-unique3lib.cc: Likewise.
39913         * elf/tst-unique3lib2.cc: Likewise.
39914         * elf/tst-unique4.cc: Likewise.
39915
39916         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39917
39918 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39919
39920         [BZ #13566]
39921         * assert/assert.h (static_assert): Don't define for C++.
39922         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39923         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39924
39925 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39926
39927         * iconv/loop.c (single loop): Fix assertion in storing of
39928         remaining bytes.
39929
39930         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39931
39932 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39933
39934         * posix/getconf.c: Update copyright year.
39935         * nss/getent.c: Likewise.
39936         * nss/makedb.c: Likewise.
39937         * iconv/iconvconfig.c: Likewise.
39938         * iconv/iconv_prog.c: Likewise.
39939         * elf/ldconfig.c: Likewise.
39940         * elf/pldd.c: Likewise.
39941         * elf/sotruss.ksh: Likewise.
39942         * catgets/gencat.c: Likewise.
39943         * csu/version.c: Likewise.
39944         * elf/ldd.bash.in: Likewise.
39945         * elf/sprof.c (print_version): Likewise.
39946         * locale/programs/locale.c: Likewise.
39947         * locale/programs/localedef.c: Likewise.
39948         * login/programs/pt_chown.c: Likewise.
39949         * nscd/nscd.c (print_version): Likewise.
39950         * debug/xtrace.sh: Likewise.
39951         * malloc/memusage.sh: Likewise.
39952         * malloc/mtrace.pl: Likewise.
39953         * debug/catchsegv.sh: Likewise.
39954
39955 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39956
39957         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39958         pure attribute.
39959
39960 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39961
39962         [BZ #13533]
39963         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39964         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39965         transformations.
39966         * iconv/gconv_int.h: Likewise.
39967         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39968         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39969         from libc for GLIBC_2.16.
39970         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39971         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39972         * wcsmbs/uchar.h: Really define mbstate_t.
39973         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39974         * wcsmbs/c16rtomb.c: New file.
39975         * wcsmbs/mbrtoc16.c: New file.
39976         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39977         for C/POSIX locale.
39978         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39979         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39980
39981         * wcsmbs/wchar.h: Add missing __restrict.
39982
39983 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39984
39985         [BZ #13532]
39986         * time/Makefile (routines): Add timespec_get.
39987         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39988         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39989         timespec for ISO C11.
39990         * time/timespec_get.c: New file.
39991         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39992         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39993
39994         [BZ #13531]
39995         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39996         * stdlib/stdlib.h: Declare aligned_alloc.
39997         * Versions.def: Add GLIBC_2.16 for libc.
39998         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39999
40000         [BZ 13527]
40001         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40002         ISO C11.
40003
40004         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40005         code.
40006
40007         [BZ #13528]
40008         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40009
40010         [BZ #13529]
40011         * assert/assert.h (static_assert): Define.
40012
40013         * version.h: Update for 2.16 development version.
40014
40015         [BZ #13526]
40016         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40017         _ISOC11_SOURCE.
40018
40019         * version.h (RELEASE): Bump for 2.15 release.
40020         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40021
40022         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40023         Patch by Marek Polacek <mpolacek@redhat.com>.
40024
40025         * bits/byteswap.h: Protect long long constants with __extension__.
40026         * sysdeps/i386/bits/byteswap.h: Likewise.
40027         * sysdeps/ia64/bits/byteswap.h: Likewise.
40028         * sysdeps/s390/bits/byteswap.h: Likewise.
40029         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40030
40031 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40032
40033         [BZ #13540]
40034         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40035         destination buffer.
40036         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40037
40038 2011-12-23  Marek Polacek  <polacek@redhat.com>
40039
40040         * elf/dl-addr.c (determine_info): Add inline keyword.
40041         * elf/tst-auditmod4b.c (check_avx): Likewise.
40042         * elf/tst-auditmod6b.c (check_avx): Likewise.
40043         * elf/tst-auditmod6c.c (check_avx): Likewise.
40044         * elf/tst-auditmod7b.c (check_avx): Likewise.
40045
40046 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40047
40048         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40049         !__SSE_MATH__.
40050
40051 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40052
40053         [BZ #13540]
40054         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40055         processing for last bytes.
40056
40057 2011-08-06  Bruno Haible  <bruno@clisp.org>
40058
40059         [BZ #13061]
40060         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40061         U+0385, not to U+1FEE.
40062
40063         [BZ #13062]
40064         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40065         entry for U+00A5 U+0301.
40066
40067 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40068
40069         [BZ #13166]
40070         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40071         buffer for the output is too small.
40072
40073         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40074         optimization.
40075
40076         [BZ #13185]
40077         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40078         SSE flags if possible.
40079
40080 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40081
40082         [BZ #13540]
40083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40084         processing for last bytes.
40085
40086 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40087
40088         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40089         (syscall-list-default-options, syscall-list-default-condition)
40090         (syscall-list-includes): Define.
40091         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40092         list of ABIs and options and #if conditions for each ABI.  Do not
40093         handle common syscalls between ABIs specially.
40094         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40095         Remove.
40096         (syscall-list-variants, syscall-list-32bit-options)
40097         (syscall-list-32bit-condition, syscall-list-64bit-options)
40098         (syscall-list-64bit-condition): Define.
40099         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40109         Remove.
40110         (syscall-list-variants, syscall-list-32bit-options)
40111         (syscall-list-32bit-condition, syscall-list-64bit-options)
40112         (syscall-list-64bit-condition): Define.
40113
40114 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40115
40116         * locale/iso-639.def: Add brx entry.
40117
40118         [BZ #13328]
40119         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40120         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40121
40122         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40123         __feraiseexcept_renamed.
40124
40125 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40126
40127         [BZ #13538]
40128         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40129         EPOLLET with unsigned values.
40130         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40132
40133         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40134         to large cancellation.
40135         * math/s_cacoshf.c: Likewise.
40136         * math/s_cacoshl.c: Likewise.
40137
40138 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40139
40140         [BZ #13305]
40141         [BZ #12786]
40142         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40143         * math/s_cacoshf.c: Likewise.
40144         * math/s_cacoshl.c: Likewise.
40145
40146 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40147
40148         [BZ #13439]
40149         * iconv/gconv.h: Define __GCONV_SWAP.
40150         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40151         * iconvdata/utf-16.c: Likewise.
40152         * iconvdata/utf-32.c: Likewise.
40153
40154 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40155
40156         [BZ #13524]
40157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40158         numerator after shifting it by one limb.
40159
40160 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40161
40162         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40163         under [__USE_EXTERN_INLINES].
40164
40165 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40166
40167         [BZ #13446]
40168         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40169
40170 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40171
40172         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40173         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40174         optimized code.
40175         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40176         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40177         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40178         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40179         for strncasecmp/strncasecmp_l compilation.
40180         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40181         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40182
40183 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40184
40185         [BZ #13484]
40186         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40187         of __asm__.
40188
40189 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40190
40191         [BZ #13506]
40192         * time/tzfile.c (__tzfile_read): Check values from file header.
40193
40194 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40195
40196         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40197         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40198         * powerpc/powerpc32/dl-start.S: Likewise.
40199         * powerpc/powerpc32/elf/start.S: Likewise.
40200         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40201         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40202         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40203         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40204         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40205         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40206         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40207         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40208         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40209         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40210         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40211         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40212         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40213         * powerpc/powerpc32/memset.S: Likewise.
40214         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40215         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40216         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40217         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40218         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40219         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40220         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40221         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40222         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40223         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40224         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40225         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40226         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40227
40228 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40229
40230         * math/libm-test.inc: Added more nearbyint tests.
40231         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40232         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40233         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40234         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40235
40236 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40237
40238         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40239         FD_CLOEXEC.
40240
40241 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40242
40243         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40244         Add wcscpy-ssse3 wcscpy-c.
40245         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40246         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40247         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40248         * sysdeps/x86_64/wcschr.S: New file.
40249         * sysdeps/x86_64/wcsrchr.S: New file.
40250         * string/test-strcmp.c: Remove checking of wcscmp function for
40251         wrong alignments.
40252         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40253         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40254         wcsrchr-sse2 wcsrchr-c.
40255         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40256         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40257         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40258         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40259         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40260         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40261         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40262         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40263         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40264         * wcsmbc/wcschr.c (WCSCHR): New macro.
40265
40266 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40267
40268         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40269         * wcsmbs/test-wcsrchr.c: New file.
40270         * string/test-strrchr.c: Add wcsrchr support.
40271         (WIDE): New macro.
40272         * wcsmbs/test-wcscpy.c: New file.
40273         * string/test-strcpy.c: Add wcscpy support.
40274         (WIDE): New macro.
40275
40276 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40277
40278         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40279         the inner loop.
40280
40281 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40282
40283         [BZ #13472]
40284         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40285
40286 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40287
40288         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40289         Minor optimizations.
40290
40291         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40292         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40293         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40294
40295 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40296
40297         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40298         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40299         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40300         for gcc to avoid warnings.
40301         * inet/Makefile (tests): Add tst-checks.
40302         * inet/tst-checks.c: New file.
40303
40304         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40305         warning.
40306
40307         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40308         __wmemcmp_sse2.
40309
40310         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40311         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40312
40313         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40314
40315 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40316
40317         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40318         problem.
40319
40320         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40321
40322 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40323
40324         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40325         conditional on GCC version.
40326         (__arch_compare_and_exchange_val_8_acq)
40327         (__arch_compare_and_exchange_val_16_acq)
40328         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40329         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40330         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40331
40332 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40333
40334         * sysdeps/sh/backtrace.c: New file.
40335
40336 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40337
40338         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40339         parenthesis.
40340
40341 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40342
40343         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40344         falling back to utime.
40345
40346 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40347
40348         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40349         expectations for float.
40350
40351 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40352
40353         * locale/weight.h (findidx): Add parameter len.
40354         * locale/weightwc.h (findidx): Likewise.
40355         * posix/fnmatch_loop.c (FCT): Adjust caller.
40356         * posix/regcomp.c (build_equiv_class): Likewise.
40357         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40358         * posix/regexec.c (check_node_accept_bytes): Likewise.
40359         * string/strcoll_l.c (STRCOLL): Likewise.
40360         * string/strxfrm_l.c (STRXFRM): Likewise.
40361
40362 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40363
40364         * Makefile.in: Remove CVSOPT handling.
40365         * configure.in: Remove use of AC_REVISION.
40366         * iconvdata/Makefile (distribute): No need to filter out CVS.
40367         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40368         handling.
40369
40370 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40371
40372         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40373         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40374         [USE_AS_STRNCASECMP_L]: Likewise.
40375         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40376         NO_TLS_DIRECT_SEG_REFS.
40377         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40378         Fix argument offsets for non-PIC.
40379         [USE_AS_STRNCASECMP_L]: Likewise.
40380         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40381         NO_TLS_DIRECT_SEG_REFS.
40382
40383 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40384
40385         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40386         O_CLOEXEC.
40387         * locale/loadlocale.c (_nl_load_locale): Likewise.
40388
40389 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40390
40391         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40392         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40393         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40394         (SYSCALL_GETTIME): Set errno on error.
40395
40396         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40397         count references to noai6ai_cached.
40398
40399 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40400
40401         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40402
40403         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40404         FD_CLOEXEC for /proc/self/maps.
40405
40406         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40407         FD_CLOEXEC for /proc/meminfo.
40408
40409         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40410         gai.conf.
40411
40412         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40413         FD_CLOEXEC for given file.
40414
40415         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40416
40417         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40418         FD_CLOEXEC for /etc/hosts.
40419         (_gethtent): Likewise.
40420
40421         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40422
40423         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40424         cancellation and set FD_CLOEXEC for /etc/netgroup.
40425
40426         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40427         reading /etc/publickey.
40428
40429         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40430         allow cancellation when reading /etc/group.
40431
40432         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40433         cancellation.
40434         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40435
40436         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40437         when using data file.
40438
40439         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40440
40441         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40442         (write_nis_obj): Use "c" and "e" in fopen.
40443
40444         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40445
40446         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40447
40448         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40449
40450         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40451
40452         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40453         locale.alias.
40454
40455         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40456
40457         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40458
40459         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40460
40461         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40462         file parsing and set FD_CLOEXEC.
40463
40464 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40465
40466         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40467
40468 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40469
40470         * malloc/arena.c (arena_get2): Don't call reused_arena when
40471         _int_new_arena failed.
40472
40473 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40474
40475         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40476         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40477         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40478         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40479         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40480         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40481         to compile strcasecmp and strncasecmp.
40482         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40483         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40484
40485         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40486
40487 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40488
40489         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40490         locale-defines.sym to gen-as-const-headers.
40491         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40492         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40493         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40494         to compile strcasecmp and strncasecmp.
40495         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40496         strcasecmp_l and strncasecmp_l.
40497         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40498         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40499         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40500         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40501         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40502         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40503         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40504         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40505         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40506         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40507         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40508
40509 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40510
40511         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40512         result of SYSDEP_GETTIME_CPU to retval.
40513         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40514         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40515
40516         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40517         variable.
40518
40519         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40520         mantissa words.
40521         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40522
40523         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40524         from unused variable.
40525
40526         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40527         DWARF definitions.
40528         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40529         for assembling.
40530
40531         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40532         over namespaces.
40533
40534         * sunrpc/rpc_prot.c (rejected): Fix case value.
40535
40536         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40537         unsigned long long int to avoid warnings in shift.
40538
40539         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40540         of use of trans.
40541         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40542         variable tmp.
40543
40544         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40545         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40546         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40547
40548         * nis/nis_table.c (nis_list): Use variable of correct type for
40549         result of __follow_path call.
40550
40551 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40552
40553         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40554         of math functions ceil, trunc, floor, round, and sqrt, when
40555         avaliable on the platform.
40556         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40557         name clash.
40558         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40559         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40560         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40561
40562 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40563
40564         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40565         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40566
40567 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40568
40569         * include/unistd.h: Fix __readlink return type.
40570         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40571
40572 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40573
40574         * stdlib/ucontext.h: Undo last change for makecontext.
40575
40576 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40577
40578         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40579
40580         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40581         * setjmp/setjmp.h: Mark functions as non-leaf.
40582         * setjmp/bits/setjmp2.h: Likewise.
40583         * stdlib/ucontext.h: Likewise.
40584
40585 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40586
40587         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40588         (reused_arena): Don't check arena limit.
40589         (arena_get2): Atomically check arena limit.
40590
40591 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40592
40593         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40594         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40595
40596         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40597         instructions.
40598
40599 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40600
40601         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40602         handler when locking.
40603
40604         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40605         Fix size of allocated buffer.
40606
40607 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40608
40609         [BZ #10103]
40610         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40611         declarations for long double functions.
40612         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40613
40614         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40615
40616 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40617
40618         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40619         installed.
40620
40621         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40622         is disabled.
40623
40624 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40625
40626         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40627
40628 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40629
40630         * include/alloca.h (stackinfo_alloca_round): Define.
40631         (extend_alloca): Use it.
40632         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40633         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40634         here.
40635
40636         * scripts/check-local-headers.sh: Ignore libaudit.h.
40637
40638         * nscd/Makefile (extra-objs): Make recursively expanded.
40639
40640 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40641
40642         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40643         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40644
40645         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40646         * posix/tst-rfc3484-2.c: Likewise.
40647         * posix/tst-rfc3484-3.c: Likewise.
40648
40649         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40650         process_vm_writev.
40651         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40652         process_vm_writev.
40653         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40654         process_vm_writev from libc using GLIBC_2.15 version.
40655
40656         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40657
40658 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40659
40660         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40661         stack usage.
40662
40663 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40664
40665         [BZ #13367]
40666         * nss/getent.c (initgroups_keys): Show error message in case no group
40667         names are given.
40668
40669         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40670         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40671         __bump_nl_timestamp.
40672         * nscd/connections (nscd_init): When host database is served open
40673         netlink socket and request notification about configuration changes.
40674         (main_loop_poll): Track netlink file descriptor and bump timestamp
40675         in case data becomes available.
40676         (main_loop_epoll): Likewise.
40677         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40678         (database_pers_head): Add extra_data fileds.
40679         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40680         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40681         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40682         Adjust caller.
40683         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40684         in6ai data, call __free_in6ai.
40685         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40686         Add -DHAVE_NETLINK.
40687         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40688         interface information.  Reuse previous data if netlink timestamp
40689         is not changed.
40690         (__bump_nl_timestamp): New function.
40691         (__free_in6ai): New function.
40692
40693 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40694
40695         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40696         close_not_cancel_no_status here.
40697         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40698
40699 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40700
40701         [BZ #13276]
40702         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40703         return value.
40704
40705         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40706         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40707         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40708
40709 2011-07-03  Andreas Jaeger  <aj@suse.de>
40710
40711         [BZ #10709]
40712         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40713         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40714         * math/libm-test.inc (sin_test): Add test case.
40715
40716 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40717
40718         [BZ #13337]
40719         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40720         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40721
40722         * elf/chroot_canon.c (chroot_canon): Cleanups.
40723
40724         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40725
40726         [BZ #13335]
40727         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40728         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40729
40730         * string/test-strchr.c: Make usable for strchrnul testing.
40731         * string/test-strchrnul.c: New file.
40732         * string/Makefile (strop-tests): Add strchrnul.
40733
40734         * po/it.po: Update from translation team.
40735         * po/es.po: Likewise.
40736
40737 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40738
40739         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40740         the three constants needed as parameters.  Drop the others.
40741         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40742         __m128i_strloadu_tolower.
40743         Create and initialize variable zero and use it in all the places
40744         where _mm_setzero_si128 was used.
40745
40746         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40747         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40748         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40749         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40750         anymore.
40751         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40752         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40753         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40754         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40755         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40756         __mpranred, __mptan.
40757         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40758         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40759         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40760         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40761         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40762         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40763         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40764         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40765         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40766
40767 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40768
40769         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40770         redefine if SHARED.
40771         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40772
40773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40774         wide char related routines to wcsmbs subdir.
40775
40776 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40777
40778         [BZ #13344]
40779         * misc/sys/cdefs.h (__THROWNL): Define.
40780         * posix/unistd.h: Use __THREADNL instead of __THREAD
40781         for memory synchronization functions.
40782
40783 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40784
40785         [BZ #13349]
40786         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40787         doesn't exist.
40788         * manual/stdio.texi (Obstack Streams): Node removed.
40789
40790 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40791
40792         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40793         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40794         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40795
40796         * math/math_private.h (math_force_eval): Allow non-addressable
40797         arguments.
40798         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40799
40800 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40801
40802         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40803         file is not needed.
40804
40805         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40806         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40807         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40808         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40809         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40810         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40811         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40812         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40813         Add AVX variants.
40814         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40815         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40816         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40817         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40818         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40819         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40820         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40821         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40822         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40823         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40824         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40825         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40826         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40827         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40828         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40829         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40830         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40831         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40832         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40833
40834         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40835         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40836
40837         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40838         place.  Use VEX encoding when compiling for AVX.
40839
40840 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40841
40842         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40843         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40844
40845         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40846
40847 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40848
40849         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40850         useless if() expression.
40851         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40852         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40853         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40854         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40855         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40856         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40857         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40858         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40859         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40860         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40861         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40862         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40863         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40864         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40865         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40866         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40867         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40868         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40869         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40870
40871         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40872
40873 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40874
40875         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40876         condition.
40877         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40878
40879 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40880
40881         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40882         .text section.  Avoid duplicate constants.
40883         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40886         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40887         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40890         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40891         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40893         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40895         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40898         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40900         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40906         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40907         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40908         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40909         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40910         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40911         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40912         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40913         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40914         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40915         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40916         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40917         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40918         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40919         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40920         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40921         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40922         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40923         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40924         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40925         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40926         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40927         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40928
40929 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40930
40931         * sysdeps/x86_64/dla.h: Move to ...
40932         * sysdeps/x86_64/fpu/dla.h: ...here.
40933         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40934         situations.  Use __builtin_fma only for gcc 4.6 and up.
40935
40936         * config.make.in: Add have-mfma4 entry.
40937         * configure.in: Substitute libc_cv_cc_fma4.
40938         * math/Makefile (dbl-only-routines): Add sincostab.
40939         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40940         Use __sincostab not sincos.
40941         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40942         name is a macro.
40943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40947         using __copysign.
40948         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40949         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40950         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40951         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40952         and __inv.
40953         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40954         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40955         __copysign.
40956         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40957         define aliases when function name is a macro.
40958         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40959         sysdeps/ieee754/dbl-64/sincos.tbl.
40960         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40961         fma4-enabled routines.
40962         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40963         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40964         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40965         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40966         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40967         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40968         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40969         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40970         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40971         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40972         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40973         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40974         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40975         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40976         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40977         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40978         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40979         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40980         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40981         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40982         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40983         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40984         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40985         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40986         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40987         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40988         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40989         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40990         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40991         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40992
40993         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40994         rename.
40995         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40996         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41001         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41003
41004 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41005
41006         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41007
41008 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41009
41010         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41011
41012         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41013         prediction.
41014         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41015
41016         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41017         Remove unused variable magic_bits.
41018         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41019
41020         * string/strnlen.c: Define and use STRNLEN macro.
41021         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41022         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41023         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41024         * wcsmbs/wcslen.c: Define and use WCSLEN.
41025         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41026         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41027         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41028         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41029         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41030         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41031         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41032
41033 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41034
41035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41036         strnlen-sse2-no-bsf.
41037         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41038         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41039         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41040         Add strnlen support.
41041         (USE_AS_STRNLEN): New macro.
41042         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41043         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41044         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41045         * sysdeps/x86_64/wcslen.S: New file.
41046
41047 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41048
41049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41050         XMM-moves are used for copying on small sizes.
41051
41052 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41053
41054         * wcsmbs/Makefile (strop-tests): Add wcschr.
41055         * wcsmbs/test-wcschr.c: New file.
41056         * string/test-strchr.c: Update.
41057         Add wcschr support.
41058         (WIDE): New macro.
41059
41060 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41061
41062         * wcsmbs/Makefile (strop-tests): Add wcslen.
41063         * wcsmbs/test-wcslen.c: New file.
41064         * string/test-strlen.c: Update.
41065         Add wcslen support.
41066         (WIDE): New macro.
41067
41068 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41069
41070         * po/it.po: Update from translation team.
41071
41072 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41073
41074         * sysdeps/x86_64/wcscmp.S: Update.
41075         Fix wrong comparison semantics.
41076         wcscmp shall use signed comparison not unsigned.
41077         Don't use substraction to avoid overflow bug.
41078         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41079         * wcsmbc/wcscmp.c: Likewise.
41080         * string/test-strcmp.c: Likewise.
41081         Add new tests to check cases with negative values.
41082
41083 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41084
41085         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41086         * sysdeps/x86_64/dla.h: ...here.  New file.
41087         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41088         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41096
41097 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41098
41099         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41100         __ynl_finite aliases.
41101
41102 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41103
41104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41105
41106         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41107         define DLA_FMA.
41108         [DLA_FMA] (EMULV): Use DLA_FMA.
41109         [DLA_FMA] (MUL12): Use EMULV.
41110         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41111         that are not needed.
41112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41119
41120 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41121
41122         * math/s_nan.c: Undef __nan.
41123         * math/s_nanf.c: Undef __nanf.
41124         * math/s_nanl.c: Undef __nanl.
41125         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41126         "math_private.h".
41127
41128 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41129
41130         * math/s_catan.c: Add branch predictions.
41131         * math/s_catanf.c: Likewise.
41132         * math/s_catanh.c: Likewise.
41133         * math/s_catanhf.c: Likewise.
41134         * math/s_catanhl.c: Likewise.
41135         * math/s_catanl.c: Likewise.
41136         * math/s_cexp.c: Likewise.
41137         * math/s_cexpf.c: Likewise.
41138         * math/s_cexpl.c: Likewise.
41139         * math/s_clog.c: Likewise.
41140         * math/s_clog10.c: Likewise.
41141         * math/s_clog10f.c: Likewise.
41142         * math/s_clog10l.c: Likewise.
41143         * math/s_clogf.c: Likewise.
41144         * math/s_clogl.c: Likewise.
41145         * math/s_csqrt.c: Likewise.
41146         * math/s_csqrtf.c: Likewise.
41147         * math/s_csqrtl.c: Likewise.
41148         * math/s_ctanf.c: Likewise.
41149         * math/s_ctanh.c: Likewise.
41150         * math/s_ctanhf.c: Likewise.
41151         * math/s_ctanhl.c: Likewise.
41152         * math/s_ctanl.c: Likewise.
41153
41154         * math/math_private.h: Define __nan, __nanf, __nanl.
41155         * math/s_cacosh.c: Include <math_private.h>.
41156         * math/s_cacoshl.c: Likewise.
41157         * math/s_casinh.c: Likewise.
41158         * math/s_casinhf.c: Likewise.
41159         * math/s_casinhl.c: Likewise.
41160         * math/s_ccos.c: Rely entire on ccosh.
41161         * math/s_ccosf.c: Rely entire on ccoshf.
41162         * math/s_ccosl.c: Rely entirely on ccoshl.
41163         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41164         Remove tests for FE_INVALID.
41165         * math/s_ccoshf.c: Likewise.
41166         * math/s_ccoshl.c: Likewise.
41167         * math/s_csin.c: Likewise.
41168         * math/s_csinf.c: Likewise.
41169         * math/s_csinh.c Likewise.
41170         * math/s_csinhf.c: Likewise.
41171         * math/s_csinhl.c: Likewise.
41172         * math/s_csinl.c: Likewise.
41173         * math/s_ctan.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41175         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41176         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41177
41178 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41179
41180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41181         compilation problems.
41182
41183         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41184         __builtin_expect.
41185
41186 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41187
41188         * sysdeps/i386/configure.in: Test for -mfma4 option.
41189         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41190         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41191         COMMON_CPUID_INDEX_80000001.
41192         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41193         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41194         use it if FMA3 is not supported.
41195         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41196
41197         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41198         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41199
41200 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41201
41202         [BZ #12892]
41203         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41204         it would create a cycle with a link time dependency.
41205
41206 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41207
41208         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41209         instruction.
41210         * string/Makefile (strop-tests): Add rawmemchr.
41211         * string/test-rawmemchr.c: New file.
41212
41213         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41214         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41215         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41216         when compiling str{,n}casecmp and when AVX is available.  Hook up
41217         new optimized code in initializers.
41218
41219 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41220
41221         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41222         __feraiseexcept instead of feraiseexcept.
41223
41224 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41225
41226         * math/math_private.h: Define defaults for libc_fetestexcept and
41227         libc_feupdateenv.
41228         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41229         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41230         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41231         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41232         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41233         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41234         libc_fetestexcept and libc_feupdateenv.
41235
41236         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41237         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41238         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41239         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41240         libc_feholdexcept_setround.
41241
41242         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41243         Add s_nearbyint-c and s_nearbyintf-c.
41244         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41245         nearbyintf inlines.
41246         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41247         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41248         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41249         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41250
41251         * math/math_private.h: Define defaults for libc_fegetround,
41252         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41253         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41254         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41255         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41256         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41257         standard functions.
41258         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41259         Remove comments and hacks for old compiler versions.
41260         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41261         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41262         libc_feholdexceptl.
41263
41264 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41265
41266         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41267         (__feraiseexcept_renamed): Add __NTH.
41268         (feraiseexcept): Add __NTH.  Rename local variables to fix
41269         namespace violations.
41270
41271 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41272
41273         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41274
41275         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41276
41277         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41278         recently added interfaces.
41279         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41280
41281         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41282         about macro parameter expansion.
41283
41284         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41285         __NO_MATH_INLINES is defined.  Cleanups.
41286
41287         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41288         and __floorf is target has SSE4.1.
41289         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41290         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41291         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41292         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41293
41294         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41295         name.
41296         (floorf): Likewise.
41297
41298         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41299
41300 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41301
41302         * misc/sys/cdefs.h: Fix last change.
41303
41304         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41305         database lookup.
41306
41307 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41308
41309         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41310
41311         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41312         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41313         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41314         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41315         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41316         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41317         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41318         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41319         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41320         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41321         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41322         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41323         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41324         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41325         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41326         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41327         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41328         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41329         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41330         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41331         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41332         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41333
41334         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41335         ceil, ceilf, floor, floorf.
41336
41337         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41338         Perform IRELATIVE relocations last.
41339
41340         * elf/do-rel.h: Add another parameter nrelative, replacing the
41341         local variable with the same name.  Change name of the function
41342         to end in Rel or Rela (uppercase).
41343         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41344         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41345         elf_dynamic_do_##reloc function.
41346
41347 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41348
41349         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41350         is sufficient, at least on modern CPUs.
41351
41352         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41353
41354         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41355         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41356
41357         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41358         __expl_finite.
41359         * math/bits/math-finite.h: Add entries for exp.
41360         * math/e_expl.c: Add __*_finite alias.
41361         * sysdeps/i386/fpu/e_exp.S: Likewise.
41362         * sysdeps/i386/fpu/e_expf.S: Likewise.
41363         * sysdeps/i386/fpu/e_expl.c: Likewise.
41364         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41365         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41366         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41368         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41369         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41370         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41371
41372         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41373         is sufficient, at least on modern CPUs.
41374
41375         * ctype/ctype-info.c (__ctype_init): Define.
41376         * include/ctype.h (__ctype_init): Declare.
41377         (__ctype_b_loc): The variable is always initialized.
41378         (__ctype_toupper_loc): Likewise.
41379         (__ctype_tolower_loc): Likewise.
41380         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41381         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41382
41383 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41384
41385         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41386
41387         * configure.in: Also look in $cxxmachine/include for C++ system
41388         headers.
41389
41390 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41391
41392         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41393         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41394         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41395         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41396         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41397         (USE_AS_WMEMCMP): New macro.
41398         Fixing indents.
41399         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41400         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41401         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41402         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41404         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41405         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41406         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41407         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41408         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41409         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41410         (USE_AS_WMEMCMP): New macro.
41411         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41412         * sysdeps/string/test-memcmp.c: Update.
41413         Fix simple_wmemcmp.
41414         Add new tests.
41415         * wcsmbs/wmemcmp.c: Update.
41416         (WMEMCMP): New macro.
41417         Fix overflow bug.
41418
41419 2011-10-12  Andreas Jaeger  <aj@suse.de>
41420
41421         [BZ #13268]
41422         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41423
41424 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41425
41426         * libio/iofwide.c (do_length): Avoid warning.
41427
41428         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41429
41430 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41431
41432         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41433
41434         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41435         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41436         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41437         * sysdeps/i386/i686/fpu/e_log.S: New file.
41438         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41439         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41440
41441         * ctype/ctype.h: Add support for inlined isXXX functions when
41442         compiling C++ code.
41443
41444 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41445
41446         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41447
41448         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41449
41450 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41451
41452         [BZ #13291]
41453         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41454
41455 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41456
41457         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41458         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41459         feraiseexcept.
41460
41461         * sysdeps/x86_64/memrchr.S: Check for zero size.
41462
41463         * string/stratcliff.c: Add memrchr tests.
41464
41465 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41466
41467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41468         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41469         rawmemchr-sse2 rawmemchr-sse2-bsf.
41470         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41471         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41472         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41473         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41474         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41475         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41476         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41477         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41478         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41479         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41480         * string/memrchr.c (MEMRCHR): New macro.
41481
41482 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41483
41484         Add integration with gcc's -ffinite-math-only and optimize wrapper
41485         functions in libm.
41486         * Versions.def: Define GLIBC_2.15 version for libm.
41487         * math/Makefile (headers): Add bits/math-finite.h.
41488         * math/bits/math-finite.h: New file.
41489         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41490         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41491         * math/e_acoshl.c: Add __*_finite alias.
41492         * math/e_acosl.c: Likewise.
41493         * math/e_asinl.c: Likewise.
41494         * math/e_atan2l.c: Likewise.
41495         * math/e_atanhl.c: Likewise.
41496         * math/e_coshl.c: Likewise.
41497         * math/e_exp10.c: Likewise.
41498         * math/e_exp10f.c: Likewise.
41499         * math/e_exp10l.c: Likewise.
41500         * math/e_exp2l.c: Likewise.
41501         * math/e_fmodl.c: Likewise.
41502         * math/e_gammal_r.c: Likewise.
41503         * math/e_hypotl.c: Likewise.
41504         * math/e_j0l.c: Likewise.
41505         * math/e_j1l.c: Likewise.
41506         * math/e_jnl.c: Likewise.
41507         * math/e_lgammal_r.c: Likewise.
41508         * math/e_log10l.c: Likewise.
41509         * math/e_log2l.c: Likewise.
41510         * math/e_logl.c: Likewise.
41511         * math/e_powl.c: Likewise.
41512         * math/e_sinhl.c: Likewise.
41513         * math/e_sqrtl.c: Likewise.
41514         * math/e_scalb.c: Completely rewritten and optimized.
41515         * math/e_scalbf.c: Likewise.
41516         * math/e_scalbl.c: Likewise.
41517         * math/w_acos.c: Likewise.
41518         * math/w_acosf.c: Likewise.
41519         * math/w_acosl.c: Likewise.
41520         * math/w_acosh.c: Likewise.
41521         * math/w_acoshf.c: Likewise.
41522         * math/w_acoshl.c: Likewise.
41523         * math/w_asin.c: Likewise.
41524         * math/w_asinf.c: Likewise.
41525         * math/w_asinl.c: Likewise.
41526         * math/w_atan2.c: Likewise.
41527         * math/w_atan2f.c: Likewise.
41528         * math/w_atan2l.c: Likewise.
41529         * math/w_atanh.c: Likewise.
41530         * math/w_atanhf.c: Likewise.
41531         * math/w_atanhl.c: Likewise.
41532         * math/w_exp10.c: Likewise.
41533         * math/w_exp10f.c: Likewise.
41534         * math/w_exp10l.c: Likewise.
41535         * math/w_fmod.c: Likewise.
41536         * math/w_fmodf.c: Likewise.
41537         * math/w_fmodl.c: Likewise.
41538         * math/w_j0.c: Likewise.
41539         * math/w_j0f.c: Likewise.
41540         * math/w_j0l.c: Likewise.
41541         * math/w_j1.c: Likewise.
41542         * math/w_j1f.c: Likewise.
41543         * math/w_j1l.c: Likewise.
41544         * math/w_jn.c: Likewise.
41545         * math/w_jnf.c: Likewise.
41546         * math/w_log.c: Likewise.
41547         * math/w_logf.c: Likewise.
41548         * math/w_logl.c: Likewise.
41549         * math/w_log10.c: Likewise.
41550         * math/w_log10f.c: Likewise.
41551         * math/w_log10l.c: Likewise.
41552         * math/w_log2.c: Likewise.
41553         * math/w_log2f.c: Likewise.
41554         * math/w_log2l.c: Likewise.
41555         * math/w_pow.c: Likewise.
41556         * math/w_powf.c: Likewise.
41557         * math/w_powl.c: Likewise.
41558         * math/w_remainder.c: Likewise.
41559         * math/w_remainderf.c: Likewise.
41560         * math/w_remainderl.c: Likewise.
41561         * math/w_scalb.c: Likewise.
41562         * math/w_scalbf.c: Likewise.
41563         * math/w_scalbl.c: Likewise.
41564         * math/w_sqrt.c: Likewise.
41565         * math/w_sqrtf.c: Likewise.
41566         * math/w_sqrtl.c: Likewise.
41567         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41568         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41569         used.
41570         * math/math_private.h: Declare __kernel_standard_f.
41571         * math/w_cosh.c: Remove cruft and optimize a bit.
41572         * math/w_coshf.c: Likewise.
41573         * math/w_coshl.c: Likewise.
41574         * math/w_exp2.c: Likewise.
41575         * math/w_exp2f.c: Likewise.
41576         * math/w_exp2l.c: Likewise.
41577         * math/w_hypot.c: Likewise.
41578         * math/w_hypotf.c: Likewise.
41579         * math/w_hypotl.c: Likewise.
41580         * math/w_lgamma.c: Likewise.
41581         * math/w_lgamma_r.c: Likewise.
41582         * math/w_lgammaf.c: Likewise.
41583         * math/w_lgammaf_r.c: Likewise.
41584         * math/w_lgammal.c: Likewise.
41585         * math/w_lgammal_r.c: Likewise.
41586         * math/w_sinh.c: Likewise.
41587         * math/w_sinhf.c: Likewise.
41588         * math/w_sinhl.c: Likewise.
41589         * math/w_tgamma.c: Likewise.
41590         * math/w_tgammaf.c: Likewise.
41591         * math/w_tgammal.c: Likewise.
41592         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41593         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41594         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41595         Minor optimizations.  Pretty printing.  Remove cruft.
41596         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41597         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41598         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41599         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41600         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41601         * sysdeps/i386/fpu/e_asin.S: Likewise.
41602         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41603         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41604         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41605         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41606         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41607         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41608         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41609         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41610         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41611         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41612         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41613         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41614         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41615         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41616         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41617         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41618         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41619         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41620         * sysdeps/i386/fpu/e_log.S: Likewise.
41621         * sysdeps/i386/fpu/e_log10.S: Likewise.
41622         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41623         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41624         * sysdeps/i386/fpu/e_log2.S: Likewise.
41625         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41626         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41627         * sysdeps/i386/fpu/e_logf.S: Likewise.
41628         * sysdeps/i386/fpu/e_logl.S: Likewise.
41629         * sysdeps/i386/fpu/e_pow.S: Likewise.
41630         * sysdeps/i386/fpu/e_powf.S: Likewise.
41631         * sysdeps/i386/fpu/e_powl.S: Likewise.
41632         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41633         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41634         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41635         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41636         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41637         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41638         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41639         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41640         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41641         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41642         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41643         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41644         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41645         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41646         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41647         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41648         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41649         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41650         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41651         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41652         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41654         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41655         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41656         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41657         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41662         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41663         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41664         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41665         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41666         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41667         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41668         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41669         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41670         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41671         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41672         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41673         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41674         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41675         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41676         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41677         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41678         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41679         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41680         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41681         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41682         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41683         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41684         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41685         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41686         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41687         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41688         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41689         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41690         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41691         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41692         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41693         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41694         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41695         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41696         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41698         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41705         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41706         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41707         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41711         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41712         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41713         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41716         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41717         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41718         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41719         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41720         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41721         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41722         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41723         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41724         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41726         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41727         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41728         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41729         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41730         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41731         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41732         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41733         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41734         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41735         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41736         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41737         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41738         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41739         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41740         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41741         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41742         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41743         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41744         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41745         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41746         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41747         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41748         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41749         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41750         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41751         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41752         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41753         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41754         (__isnanf): Likewise.
41755         (__isinf_ns): Likewise.
41756         (__isinf_nsf): Likewise.
41757         (__finite): Likewise.
41758         (__finitef): Likewise.
41759         (__ieee754_sqrt): Define as macro.
41760         (__ieee754_sqrtf): Define as macro.
41761         (__ieee754_sqrtl): Define as macro.
41762         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41763         inlined copy.
41764         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41765         __FINITE_MATH_ONLY__ consistent.
41766         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41767
41768 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41769
41770         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41771         of rawmemchr.
41772
41773         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41774
41775 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41776
41777         * po/ja.po: Update from translation team.
41778
41779 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41780
41781         * locale/programs/locarchive.c (prepare_address_space): New function.
41782         (create_archive, enlarge_archive, open_archive): Use it.
41783
41784         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41785         inside [SHARED], where it is used.
41786
41787         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41788
41789         * nss/getent.c (netgroup_keys): Remove unused variable.
41790         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41791
41792 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41793
41794         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41795         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41797         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41798         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41799         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41800         * math/Makefile (libm-calls): Add s_isinf_ns.
41801         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41802         * math/multc3.c: Likewise.
41803         * math/s_casin.c: Likewise.
41804         * math/s_casinf.c: Likewise.
41805         * math/s_casinl.c: Likewise.
41806         * math/s_ccos.c: Likewise.
41807         * math/s_ccosf.c: Likewise.
41808         * math/s_ccosl.c: Likewise.
41809         * math/s_ctan.c: Likewise.
41810         * math/s_ctanf.c: Likewise.
41811         * math/s_ctanh.c: Likewise.
41812         * math/s_ctanhf.c: Likewise.
41813         * math/s_ctanhl.c: Likewise.
41814         * math/s_ctanl.c: Likewise.
41815         * math/w_fmod.c: Likewise.
41816         * math/w_fmodf.c: Likewise.
41817         * math/w_fmodl.c: Likewise.
41818         * math/w_remainder.c: Likewise.
41819         * math/w_remainderf.c: Likewise.
41820         * math/w_remainderl.c: Likewise.
41821         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41822         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41823         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41824         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41825         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41826         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41827         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41828         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41829
41830         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41831         of the number.
41832         * stdio-common/printf_fphex.c: Likewise.
41833         * stdio-common/printf_size.c: Likewise.
41834
41835         * math/e_exp10.c: Include math_private.h using <...> not "...".
41836         * math/e_exp10f.c: Likewise.
41837         * math/e_exp10l.c: Likewise.
41838         * math/e_exp2l.c: Likewise.
41839         * math/e_j0l.c: Likewise.
41840         * math/e_j1l.c: Likewise.
41841         * math/e_jnl.c: Likewise.
41842         * math/e_lgammal_r.c: Likewise.
41843         * math/e_rem_pio2l.c: Likewise.
41844         * math/e_scalb.c: Likewise.
41845         * math/e_scalbf.c: Likewise.
41846         * math/e_scalbl.c: Likewise.
41847         * math/k_cosl.c: Likewise.
41848         * math/k_sinl.c: Likewise.
41849         * math/k_tanl.c: Likewise.
41850         * math/s_cacoshf.c: Likewise.
41851         * math/s_catan.c: Likewise.
41852         * math/s_catanf.c: Likewise.
41853         * math/s_catanh.c: Likewise.
41854         * math/s_catanhf.c: Likewise.
41855         * math/s_catanhl.c: Likewise.
41856         * math/s_catanl.c: Likewise.
41857         * math/s_ccosh.c: Likewise.
41858         * math/s_ccoshf.c: Likewise.
41859         * math/s_ccoshl.c: Likewise.
41860         * math/s_cexp.c: Likewise.
41861         * math/s_cexpf.c: Likewise.
41862         * math/s_cexpl.c: Likewise.
41863         * math/s_clog.c: Likewise.
41864         * math/s_clog10.c: Likewise.
41865         * math/s_clog10f.c: Likewise.
41866         * math/s_clog10l.c: Likewise.
41867         * math/s_clogf.c: Likewise.
41868         * math/s_clogl.c: Likewise.
41869         * math/s_csin.c: Likewise.
41870         * math/s_csinf.c: Likewise.
41871         * math/s_csinh.c: Likewise.
41872         * math/s_csinhf.c: Likewise.
41873         * math/s_csinhl.c: Likewise.
41874         * math/s_csinl.c: Likewise.
41875         * math/s_csqrt.c: Likewise.
41876         * math/s_csqrtf.c: Likewise.
41877         * math/s_csqrtl.c: Likewise.
41878         * math/s_ctan.c: Likewise.
41879         * math/s_ctanf.c: Likewise.
41880         * math/s_ctanh.c: Likewise.
41881         * math/s_ctanhf.c: Likewise.
41882         * math/s_ctanhl.c: Likewise.
41883         * math/s_ctanl.c: Likewise.
41884         * math/s_ldexp.c: Likewise.
41885         * math/s_ldexpf.c: Likewise.
41886         * math/s_ldexpl.c: Likewise.
41887         * math/s_significand.c: Likewise.
41888         * math/s_significandf.c: Likewise.
41889         * math/s_significandl.c: Likewise.
41890         * math/w_acos.c: Likewise.
41891         * math/w_acosf.c: Likewise.
41892         * math/w_acosh.c: Likewise.
41893         * math/w_acoshf.c: Likewise.
41894         * math/w_acoshl.c: Likewise.
41895         * math/w_acosl.c: Likewise.
41896         * math/w_asin.c: Likewise.
41897         * math/w_asinf.c: Likewise.
41898         * math/w_asinl.c: Likewise.
41899         * math/w_atan2.c: Likewise.
41900         * math/w_atan2f.c: Likewise.
41901         * math/w_atan2l.c: Likewise.
41902         * math/w_atanh.c: Likewise.
41903         * math/w_atanhf.c: Likewise.
41904         * math/w_atanhl.c: Likewise.
41905         * math/w_cosh.c: Likewise.
41906         * math/w_coshf.c: Likewise.
41907         * math/w_coshl.c: Likewise.
41908         * math/w_dremf.c: Likewise.
41909         * math/w_exp10.c: Likewise.
41910         * math/w_exp10f.c: Likewise.
41911         * math/w_exp10l.c: Likewise.
41912         * math/w_exp2.c: Likewise.
41913         * math/w_exp2f.c: Likewise.
41914         * math/w_fmod.c: Likewise.
41915         * math/w_fmodf.c: Likewise.
41916         * math/w_fmodl.c: Likewise.
41917         * math/w_hypot.c: Likewise.
41918         * math/w_hypotf.c: Likewise.
41919         * math/w_hypotl.c: Likewise.
41920         * math/w_j0.c: Likewise.
41921         * math/w_j0f.c: Likewise.
41922         * math/w_j0l.c: Likewise.
41923         * math/w_j1.c: Likewise.
41924         * math/w_j1f.c: Likewise.
41925         * math/w_j1l.c: Likewise.
41926         * math/w_jn.c: Likewise.
41927         * math/w_jnf.c: Likewise.
41928         * math/w_jnl.c: Likewise.
41929         * math/w_lgamma.c: Likewise.
41930         * math/w_lgamma_r.c: Likewise.
41931         * math/w_lgammaf.c: Likewise.
41932         * math/w_lgammaf_r.c: Likewise.
41933         * math/w_lgammal.c: Likewise.
41934         * math/w_lgammal_r.c: Likewise.
41935         * math/w_log.c: Likewise.
41936         * math/w_log10.c: Likewise.
41937         * math/w_log10f.c: Likewise.
41938         * math/w_log10l.c: Likewise.
41939         * math/w_log2.c: Likewise.
41940         * math/w_log2f.c: Likewise.
41941         * math/w_log2l.c: Likewise.
41942         * math/w_logf.c: Likewise.
41943         * math/w_logl.c: Likewise.
41944         * math/w_pow.c: Likewise.
41945         * math/w_powf.c: Likewise.
41946         * math/w_powl.c: Likewise.
41947         * math/w_remainder.c: Likewise.
41948         * math/w_remainderf.c: Likewise.
41949         * math/w_remainderl.c: Likewise.
41950         * math/w_scalb.c: Likewise.
41951         * math/w_scalbf.c: Likewise.
41952         * math/w_scalbl.c: Likewise.
41953         * math/w_sinh.c: Likewise.
41954         * math/w_sinhf.c: Likewise.
41955         * math/w_sinhl.c: Likewise.
41956         * math/w_sqrt.c: Likewise.
41957         * math/w_sqrtf.c: Likewise.
41958         * math/w_sqrtl.c: Likewise.
41959         * math/w_tgamma.c: Likewise.
41960         * math/w_tgammaf.c: Likewise.
41961         * math/w_tgammal.c: Likewise.
41962
41963         * po/ja.po: Update from translation team.
41964
41965 2011-09-29  Andreas Jaeger  <aj@suse.de>
41966
41967         [BZ #13179]
41968         * sunrpc/netname.c (netname2host): Fix logic.
41969
41970         [BZ #6779]
41971         [BZ #6783]
41972         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41973         correctly.
41974         * math/w_remainder.c (__remainder): Likewise.
41975         * math/w_remainderf.c (__remainderf): Likewise.
41976         * math/libm-test.inc (remainder_test): Add test cases.
41977
41978 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41979
41980         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41981         sdiv_qrnnd.
41982
41983 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41984
41985         * string/test-memcmp.c: Avoid unncessary #defines.
41986         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41987
41988 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41989
41990         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41991         Use new sse2 version for core i3 - i7 as it's faster
41992         than sse42 version.
41993         (bit_Prefer_PMINUB_for_stringop): New.
41994         * sysdeps/x86_64/rawmemchr.S: Update.
41995         Replace with faster SSE2 version.
41996         * sysdeps/x86_64/memrchr.S: New file.
41997         * sysdeps/x86_64/memchr.S: Update.
41998         Replace with faster SSE2 version.
41999
42000 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42001
42002         * elf/dl-load.c (lose): Add cast to avoid warning.
42003
42004 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42005
42006         * po/ca.po: Update from translation team.
42007
42008         * inet/getnetgrent_r.c: Hook up nscd.
42009         * nscd/Makefile (routines): Add nscd_netgroup.
42010         (nscd-modules): Add netgroupcache.
42011         (CFLAGS-netgroupcache.c): Define.
42012         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42013         (cache_search): Add const to second parameter.
42014         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42015         INNETGR.
42016         (dbs): Add netgrdb entry.
42017         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42018         (verify_persistent_db): Handle netgrdb.
42019         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42020         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42021         GETFDNETGR.
42022         (netgroup_response_header): Define.
42023         (innetgroup_response_header): Define.
42024         (datahead): Add netgroup_response_header and innetgroup_response_header
42025         elements.
42026         * nscd/nscd.conf: Add entries for netgroup cache.
42027         * nscd/nscd.h (dbtype): Add netgrdb.
42028         (_PATH_NSCD_NETGROUP_DB): Define.
42029         (netgroup_iov_disabled): Declare.
42030         (xmalloc, xcalloc, xrealloc): Move declarations here.
42031         (cache_search): Adjust prototype.
42032         Add netgroup-related prototypes.
42033         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42034         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42035         (__nscd_innetgr): Declare.
42036         * nscd/selinux.c (perms): Use access_vector_t as element type and
42037         add netgroup-related initializers.
42038         * nscd/netgroupcache.c: New file.
42039         * nscd/nscd_netgroup.c: New file.
42040         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42041         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42042         For four parameters use innetgr.
42043         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42044         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42045         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42046         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42047
42048         * nscd/connections.c (register_traced_file): Don't register file
42049         for disabled databases.
42050
42051 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42052
42053         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42054
42055         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42056         from tree and freeing node.
42057
42058 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42059
42060         * nss/nsswitch.c (__nss_database_lookup): Handle
42061         nss_parse_service_list out of memory case.
42062
42063 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42064
42065         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42066         out of memory case.
42067
42068 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42069
42070         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42071         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42072         pass it down.
42073         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42074         elf_machine_rela, elf_machine_lazy_rel.
42075         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42076         (ELF_DYNAMIC_DO_REL): Likewise.
42077         (ELF_DYNAMIC_DO_RELA): Likewise.
42078         (ELF_DYNAMIC_RELOCATE): Likewise.
42079         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42080         to ELF_DYNAMIC_DO_REL.
42081         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42082         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42083         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42084         elf_machine_rela.
42085         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42086         skip_ifunc, don't call ifunc function if non-zero.
42087         (elf_machine_rela): Likewise.
42088         (elf_machine_lazy_rel): Likewise.
42089         (elf_machine_lazy_rela): Likewise.
42090         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42091         (elf_machine_lazy_rel): Likewise.
42092         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42093         Likewise.
42094         (elf_machine_lazy_rel): Likewise.
42095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42096         Likewise.
42097         (elf_machine_lazy_rel): Likewise.
42098         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42099         (elf_machine_lazy_rel): Likewise.
42100         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42101         (elf_machine_lazy_rel): Likewise.
42102         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42103         (elf_machine_lazy_rel): Likewise.
42104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42105         (elf_machine_lazy_rel): Likewise.
42106         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42107         (elf_machine_lazy_rel): Likewise.
42108         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42109         (elf_machine_lazy_rel): Likewise.
42110
42111 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42112
42113         * nss/nss_files/files-init.c (_nss_files_init): Use static
42114         initialization for all the *_traced_file variables.
42115
42116 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42117
42118         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42119
42120 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42121
42122         [BZ #13226]
42123         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42124
42125 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42126
42127         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42128         Reread the line before reparsing it.
42129
42130 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42131
42132         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42133
42134 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42135             Maxim Kuvyrkov  <maxim@codesourcery.com>
42136             Joseph Myers  <joseph@codesourcery.com>
42137
42138         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42139         if needed for __stack_chk_guard.
42140
42141 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42142
42143         * sysdeps/posix/spawni.c (script_execute): Always define it.
42144         It will be optimized away if unused.
42145         (maybe_script_execute): New function.
42146         (__spawni): Call it.
42147
42148         * Makerules: Don't include tls.make.
42149         (config-tls): Always set to thread.
42150         * tls.make.c: File removed.
42151
42152 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42153
42154         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42155         * config.make.in (CPPFLAGS-config): New substituted variable.
42156
42157 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42158
42159         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42160
42161         [BZ #13192]
42162         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42163         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42164
42165 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42166
42167         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42168         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42169         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42170         (CALL_FAIL): Likewise.
42171         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42172         (CALL_FAIL): Macro removed.
42173         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42174
42175 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42176
42177         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42178         for __FINITE_MATH_ONLY__ == 1.
42179
42180 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42181
42182         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42183         __ieee754_sqrt instead of sqrt.
42184         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42185         __ieee754_sqrtf instead of sqrtf.
42186         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42187         __floorf instead of floorf.
42188         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42189         __floorf, __truncf instead of floorf, truncf.
42190
42191 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42192
42193         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42194
42195         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42196         __extern_always_inline.
42197         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42198         32-bit.
42199
42200 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42201
42202         * elf/rtld.c (dl_main): Also relocate in dependency order when
42203         doing symbol dependency testing.
42204
42205 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42206
42207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42208         Always define `refsym'.
42209
42210 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42211
42212         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42213         (__FD_ELT): Renamed from __FDELT.
42214         * misc/bits/select2.h (__FD_ELT): Likewise.
42215         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42216         __FD_MASK instead of __FDELT, __FDMASK.
42217         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42218         Likewise.
42219         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42220         Likewise.
42221
42222         * elf/Makefile (gen-ldd): Fix pattern.
42223
42224         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42225         (init_tls): Likewise.
42226
42227 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42228
42229         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42230
42231 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42232
42233         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42234         `struct cmsghdr *' instead of `void *'.
42235         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42236         Likewise.
42237
42238 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42239
42240         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42241         if non-absolute.
42242         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42243         ldd_rewrite_script.
42244
42245 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42246
42247         * configure.in: Remove --with-tls option.
42248         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42249         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42250         out in case it is missing.
42251         * sysdeps/ia64/elf/configure.in: Likewise.
42252         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42253         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42254         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42255         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42256         * sysdeps/sh/elf/configure.in: Likewise.
42257         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42258         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42259         * sysdeps/x86_64/elf/configure.in: Likewise.
42260         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42261         * sysdeps/mach/hurd/tls.h: Likewise.
42262
42263         [BZ #13067]
42264         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42265
42266         [BZ #13090]
42267         * configure.in: Fix use of AC_INIT.
42268
42269         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42270
42271 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42272
42273         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42274         __set_errno.
42275         * malloc/hooks.c: Likewise.
42276
42277         [BZ #11929]
42278         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42279         variables statically.
42280         (narenas): Initialize.
42281         (list_lock): Initialize.
42282         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42283         initializtion of main_arena and list_lock.  Small cleanups.
42284         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42285         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42286         Add initializers to main_arena and mp_.
42287         (malloc_state): Remove pagesize member.  Change all users to use
42288         GLRO(dl_pagesize).
42289
42290         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42291         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42292         is always initialized.
42293
42294         * malloc/malloc.c: Removed unused configurations and dead code.
42295         * malloc/arena.c: Likewise.
42296         * malloc/hooks.c: Likewise.
42297         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42298
42299         * include/tls.h: Removed.  USE___THREAD must always be defined.
42300         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42301         * elf/dl-libc.c: Likewise.
42302         * elf/dl-tsd.c: Likewise.
42303         * include/errno.h: Likewise.
42304         * include/netdb.h: Likewise.
42305         * include/resolv.h: Likewise.
42306         * inet/herrno-loc.c: Likewise.
42307         * inet/herrno.c: Likewise.
42308         * malloc/arena.c: Likewise.
42309         * malloc/hooks.c: Likewise.
42310         * malloc/malloc.c: Likewise.
42311         * resolv/res-state.c: Likewise.
42312         * resolv/res_libc.c: Likewise.
42313         * sysdeps/i386/dl-machine.h: Likewise.
42314         * sysdeps/ia64/dl-machine.h: Likewise.
42315         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42316         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42317         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42318         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42319         * sysdeps/sh/dl-machine.h: Likewise.
42320         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42321         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42322         * sysdeps/unix/i386/sysdep.S: Likewise.
42323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42324         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42326         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42327         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42329         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42332         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42333         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42334         * sysdeps/x86_64/dl-machine.h: Likewise.
42335         * tls.make.c: Likewise.
42336
42337         * configure.in: Remove --with-__thread option.  Make tests for
42338         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42339         tls_model attribute fail if no support is available.  Remove
42340         USE_IN_LIBIO.
42341         * Makeconfig: Adjust for dropped configure option.  All features are
42342         now mandatory.
42343         * Makerules: Likewise.
42344         * Versions.def: Likewise.
42345         * argp/argp-fmtstream.c: Likewise.
42346         * argp/argp-fmtstream.h: Likewise.
42347         * argp/argp-help.c: Likewise.
42348         * assert/assert.c: Likewise.
42349         * config.h.in: Likewise.
42350         * config.make.in: Likewise.
42351         * configure: Likewise.
42352         * configure.in: Likewise.
42353         * csu/Versions: Likewise.
42354         * csu/init.c: Likewise.
42355         * elf/tst-audit2.c: Likewise.
42356         * elf/tst-tls10.c: Likewise.
42357         * elf/tst-tls10.h: Likewise.
42358         * elf/tst-tls11.c: Likewise.
42359         * elf/tst-tls12.c: Likewise.
42360         * elf/tst-tls14.c: Likewise.
42361         * elf/tst-tlsmod11.c: Likewise.
42362         * elf/tst-tlsmod12.c: Likewise.
42363         * elf/tst-tlsmod13.c: Likewise.
42364         * elf/tst-tlsmod13a.c: Likewise.
42365         * elf/tst-tlsmod14a.c: Likewise.
42366         * elf/tst-tlsmod15b.c: Likewise.
42367         * elf/tst-tlsmod16a.c: Likewise.
42368         * elf/tst-tlsmod16b.c: Likewise.
42369         * elf/tst-tlsmod7.c: Likewise.
42370         * elf/tst-tlsmod8.c: Likewise.
42371         * elf/tst-tlsmod9.c: Likewise.
42372         * gmon/gmon.c: Likewise.
42373         * grp/fgetgrent_r.c: Likewise.
42374         * grp/putgrent.c: Likewise.
42375         * hurd/fopenport.c: Likewise.
42376         * include/libc-symbols.h: Likewise.
42377         * include/tls.h: Likewise.
42378         * intl/gettextP.h: Likewise.
42379         * intl/loadinfo.h: Likewise.
42380         * locale/global-locale.c: Likewise.
42381         * locale/localeinfo.h: Likewise.
42382         * mach/devstream.c: Likewise.
42383         * malloc/arena.c: Likewise.
42384         * malloc/set-freeres.c: Likewise.
42385         * misc/err.c: Likewise.
42386         * misc/getttyent.c: Likewise.
42387         * misc/mntent_r.c: Likewise.
42388         * posix/getopt.c: Likewise.
42389         * posix/wordexp.c: Likewise.
42390         * pwd/fgetpwent_r.c: Likewise.
42391         * resolv/Versions: Likewise.
42392         * resolv/res_hconf.c: Likewise.
42393         * shadow/fgetspent_r.c: Likewise.
42394         * shadow/putspent.c: Likewise.
42395         * stdio-common/printf_fphex.c: Likewise.
42396         * stdio-common/tmpfile.c: Likewise.
42397         * stdlib/abort.c: Likewise.
42398         * stdlib/fmtmsg.c: Likewise.
42399         * sunrpc/auth_unix.c: Likewise.
42400         * sunrpc/clnt_perr.c: Likewise.
42401         * sunrpc/clnt_tcp.c: Likewise.
42402         * sunrpc/clnt_udp.c: Likewise.
42403         * sunrpc/clnt_unix.c: Likewise.
42404         * sunrpc/openchild.c: Likewise.
42405         * sunrpc/svc_simple.c: Likewise.
42406         * sunrpc/svc_tcp.c: Likewise.
42407         * sunrpc/svc_udp.c: Likewise.
42408         * sunrpc/svc_unix.c: Likewise.
42409         * sunrpc/xdr.c: Likewise.
42410         * sunrpc/xdr_array.c: Likewise.
42411         * sunrpc/xdr_rec.c: Likewise.
42412         * sunrpc/xdr_ref.c: Likewise.
42413         * sunrpc/xdr_stdio.c: Likewise.
42414
42415 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42416
42417         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42418
42419 2011-07-03  Andreas Jaeger  <aj@suse.de>
42420
42421         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42422         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42423         regenerate with gen-libm-tests.pl.
42424
42425 2010-05-12  Petr Baudis  <pasky@suse.cz>
42426
42427         [BZ #11589]
42428         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42429         around j0() zero points by switching to j1().
42430         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42431         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42434
42435 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42436
42437         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42438         instead of 0.
42439         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42440         instead of 0.
42441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42442         Patch in part by Pavel Roskin <proski@gnu.org>.
42443
42444         [BZ #13138]
42445         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42446         realloc.
42447         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42448         Free memory block if necessary.
42449
42450         [BZ #12847]
42451         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42452         be NULL.  Don't lock in this case.
42453
42454 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42455
42456         * elf/elf.h (ELFOSABI_GNU): New macro.
42457         (ELFOSABI_LINUX): Define to that.
42458
42459 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42460
42461         * string/strncat.c (strncat): Undef the symbol in case it has been
42462         defined in bits/string.h.
42463
42464 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42465
42466         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42467
42468         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42469         link map.
42470
42471 2011-08-17  Andreas Jaeger  <aj@suse.de>
42472
42473         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42474
42475 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42476             Ian Lance Taylor  <iant@google.com>
42477
42478         * math/libm-test.inc (lround_test): New testcase.
42479         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42480
42481 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42482
42483         * Makefile: Remove support for automatic cvs check-ins.
42484         * Makerules: Likewise.
42485         * config.make.in: Likewise.
42486         * configure.in: Likewise.
42487         * intl/Makefile: Likewise.
42488         * locale/Makefile: Likewise.
42489         * po/Makefile: Likewise.
42490         * posix/Makefile: Likewise.
42491         * sysdeps/gnu/Makefile: Likewise.
42492         * sysdeps/mach/hurd/Makefile: Likewise.
42493         * sysdeps/sparc/sparc32/Makefile: Likewise.
42494
42495         [BZ #13118]
42496         * posix/Makefile (bug-regex32-ENV): Define.
42497         Patch by John Stanley <jpsinthemix@verizon.net>.
42498
42499         * misc/Makefile (headers): Add bits/select2.h.
42500         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42501         * misc/bits/select2.h: New file.
42502         * include/bits/select2.h: New file.
42503         * debug/Makefile (routines): Add fdelt_chk.
42504         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42505         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42506         FD_ISSET.
42507         * debug/fdelt_chk.c: New file.
42508
42509         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42510         * wcsmbs/test-wmemcmp.c: Likewise.
42511         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42512         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42513
42514 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42515
42516         * string/Makefile (strop-tests): Add memcmp.
42517         * string/test-wmemcmp.c: New file.
42518         * string/test-memcmp.c: Add wmemcmp support.
42519
42520 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42521
42522         [BZ #13153]
42523         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42524         2011-07-19 change.
42525
42526         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42527         garbage value in a __mach_port_mod_refs call in the cases of the
42528         task-self and thread-self ports.
42529
42530 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42531
42532         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42533
42534 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42535
42536         * elf/dl-load.c (lose): Check for non-null L.
42537
42538 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42539
42540         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42541
42542         * elf/dl-libc.c (dlerror_run): Pass back error code from
42543         dl_catch_error.
42544
42545         [BZ #13123]
42546         * elf/dl-load.c (lose): Free l_origin if it is valid.
42547
42548         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42549         names.
42550         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42551         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42552         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42553         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42554         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42555         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42556
42557 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42558
42559         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42560         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42561         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42562         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42563         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42564         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42565         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42566         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42567         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42568         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42569
42570 2011-08-15  Alan Modra  <amodra@gmail.com>
42571
42572         [BZ #13092]
42573         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42574         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42575         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42576         ppc_mcount to static-only-routines.
42577         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42578         __mcount_internal.
42579         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42580         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42581
42582 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42583
42584         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42585         for finite and infinity parameters.
42586
42587 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42588
42589         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42590         and add nop instructions for throughput optimization.
42591         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42592
42593 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42594
42595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42596         aligned copy for power7 with vector-scalar instructions.
42597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42598
42599 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42600
42601         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42602         AVX check.
42603
42604 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42605
42606         [BZ #13144]
42607         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42608         last change.
42609
42610 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42611
42612         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42613         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42614         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42615         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42616         clock_gettime.
42617
42618 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42619
42620         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42621         Forgot to demangle the pointer.
42622
42623         * sysdeps/i386/sysdep.h: Define atom_text_section.
42624         * sysdeps/x86_64/sysdep.h: Likewise.
42625         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42626         section with atom_text_section.
42627         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42628         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42629         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42630         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42631         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42632
42633         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42634         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42635         already be defined.  Change to take two parameters and don't assign
42636         result to variable.  Adjust all users.
42637         Define INTERNAL_GETTIME if not already defined.
42638         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42639         call.
42640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42641         HAVE_CLOCK_GETTIME_VSYSCALL.
42642         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42643
42644         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42645         gettimeofday vsyscall, just use time.
42646
42647 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42648
42649         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42650         <errno.h>.
42651
42652 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42653
42654         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42655         syscall on x86-64.
42656         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42657         syscall.
42658         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42659         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42660         syscall if possible.
42661
42662 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42663
42664         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42665         e_ident.  Don't pass to find_mapsXX.
42666         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42667
42668 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42669
42670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42671         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42672         * sysdeps/x86_64/multiarch/strchr.S: Update.
42673         Check bit_slow_BSF bit.
42674         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42675         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42676         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42677
42678 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42679
42680         [BZ #13134]
42681         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42682         before glibc 2.15.
42683         (tryshell): Define.
42684         (__spawni): Change last parameter to be flag.  Test
42685         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42686         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42687         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42688         * posix/spawni.c: Likewise.
42689         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42690         * posix/spawnp.c: Likewise.  Change normal version to use
42691         SPAWN_XFLAGS_USE_PATH.
42692         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42693         SPAWN_XFLAGS_TRY_SHELL.
42694
42695         [BZ #13150]
42696         * posix/glob.h: Remove gcc 1.x support.
42697
42698         [BZ #13068]
42699         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42700
42701 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42702
42703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42704         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42705         strrchr-sse2-bsf
42706         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42707         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42708         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42709         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42710         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42711         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42712
42713 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42714
42715         * sysdeps/x86_64/wcscmp.S: New file.
42716
42717         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42718         wcscmp-c wcscmp-sse2
42719         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42720         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42721         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42722         * wcsmbs/wcscmp.c: Allow renaming.
42723
42724 2011-09-05  David S. Miller  <davem@davemloft.net>
42725
42726         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42727         stack slot, rather than the struct return pointer slot.
42728         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42729         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42731         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42732
42733 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42734
42735         * po/ja.po: Update from translation team.
42736
42737         [BZ #13144]
42738         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42739         kernel in 64-bit binaries.
42740
42741 2011-09-01  David S. Miller  <davem@davemloft.net>
42742
42743         * elf/elf.h (HWCAP_SPARC_*): Move to..
42744         * sysdeps/sparc/sysdep.h: this new file and add new values.
42745         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42746         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42747         _DL_HWCAP_COUNT to 24.
42748         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42749         entries.
42750         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42751         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42752         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42753         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42754         instead of magic constants.
42755         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42756
42757 2011-08-31  David S. Miller  <davem@davemloft.net>
42758
42759         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42760         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42761         Reimplement to do errno handling inline.
42762         (SYSCALL_ERROR_HANDLER): New macro.
42763         (__SYSCALL_STRING): Do not do errno handling in asm.
42764         (__CLONE_SYSCALL_STRING): Delete.
42765         (__INTERNAL_SYSCALL_STRING): Delete.
42766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42767         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42768         (PSEUDO): Reimplement to do errno handling inline.
42769         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42770         (SYSCALL_ERROR_HANDLER): New macro.
42771         (__SYSCALL_STRING): Do not do errno handling in asm.
42772         (__CLONE_SYSCALL_STRING): Delete.
42773         (__INTERNAL_SYSCALL_STRING): Delete.
42774         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42775         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42776         i386.
42777         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42778         (inline_syscall*): Add 'err' argument.
42779         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42780         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42781         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42782         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42783
42784         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42785         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42786
42787 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42788
42789         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42790
42791 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42792
42793         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42794         directive.
42795
42796 2011-08-24  David S. Miller  <davem@davemloft.net>
42797
42798         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42799
42800 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42801
42802         * elf/Makefile: Add rules to build and run unload8 test.
42803         * elf/unload8.c: New file.
42804         * elf/unload8mod1.c: New file.
42805         * elf/unload8mod1x.c: New file.
42806         * elf/unload8mod2.c: New file.
42807         * elf/unload8mod3.c: New file.
42808
42809         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42810         it wasn't used.
42811
42812 2011-08-23  David S. Miller  <davem@davemloft.net>
42813
42814         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42815         subtract stack bias.
42816         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42817         %sp not %fp in calculations.
42818         (_JMPBUF_UNWINDS_ADJ): Likewise.
42819
42820         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42821         (aio_suspend): Call it to force an exception region around the
42822         AIO_MISC_WAIT() invocation.
42823
42824 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42825
42826         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42827         backslash.
42828
42829 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42830
42831         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42832         protection macro.
42833         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42834         and <dl-machine.h>.
42835         (Elf64_FuncDesc): Remove.
42836
42837 2011-08-22  David S. Miller  <davem@davemloft.net>
42838
42839         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42840         sigaltstack check, add missing cfi directives.
42841         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42842         missing cfi directives, and sigaltstack handling.
42843
42844 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42845
42846         [BZ #11724]
42847         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42848         object is seen twice.
42849         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42850
42851         * elf/Makefile (distribute): Add tst-initorder2.c.
42852         (tests): Add tst-initorder2.
42853         (modules-names): Add tst-initorder2a tst-initorder2b
42854         tst-initorder2c tst-initorder2d.  Add rules to build them.
42855         ($(objpfx)tst-initorder2.out): New rule.
42856         * elf/tst-initorder2.c: New file.
42857         * elf/tst-initorder2.exp: New file.
42858
42859 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42860
42861         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42862
42863         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42864         dependencies back to end of function.
42865
42866         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42867         $(elfobjdir)/ld.so.
42868
42869 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42870
42871         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42872         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42873         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42874         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42875         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42876         of __vdso_gettimeofday.
42877         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42878         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42879         attribute_hidden.
42880         (_libc_vdso_platform_setup): Remove initialization of
42881         __vdso_gettimeofday and __vdso_time.
42882
42883 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42884
42885         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42886         and fgetc_unlocked.
42887         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42888         getc_unlocked.
42889
42890         * elf/dl-open.c (add_to_global): Report additions to the global scope
42891         for LD_DEBUG=scopes.
42892         (dl_open_worker): Also print scope of newly loaded dependencies.
42893         (_dl_show_scope): Indicate if there is no scope.
42894
42895         [BZ #13114]
42896         * stdio-common/Makefile (tests): Add bug24.
42897         * stdio-common/bug24.c: New file.
42898
42899 2011-08-19  Andreas Jaeger  <aj@suse.de>
42900
42901         [BZ #13114]
42902         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42903         non-existant file when using close-on-exec mode.
42904
42905 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42906
42907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42908         the very first instruction.
42909
42910         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42911         the CFI state in the end.
42912         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42913         inclusion of dl-trampoline.h.
42914         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42915
42916 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42917
42918         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42919         expectations for long double.
42920
42921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42922         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42923
42924 2011-08-14  David S. Miller  <davem@davemloft.net>
42925
42926         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42927         artificual limit depends upon the system page size.
42928
42929 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42930
42931         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42932         * resolv/Makefile: Define CFLAGS-libresolv.
42933
42934 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42935
42936         * nss/makedb.c (compute_tables): Make variables used in nested
42937         function static.
42938
42939 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42940
42941         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42942         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42943         if buffer was too small.
42944
42945         * elf/pldd.c (main): Attach to all threads in the process.
42946         Rewrite /proc handling to use *at functions.
42947
42948 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42949
42950         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42951         specifies first scope to show.
42952         (dl_open_worker): Update callers.  Move printing scope of new
42953         object to before the relocation.
42954         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42955         * sysdeps/generic/ldsodefs.h: Update declaration.
42956
42957         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42958         string for the scope number.
42959
42960 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42961
42962         * nscd/servicescache.c (cache_addserv): Make sure written is always
42963         initialized.
42964
42965 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42966
42967         * sysdeps/i386/i486/bits/atomic.h
42968         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42969         statement expression, so as to suppress "set but not used" warning.
42970         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42971
42972         * string/strncat.c (STRNCAT): Use prototype definition.
42973
42974         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42975         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42976         -Iprograms here.
42977         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42978         (localedef-modules): Add localedef.
42979         (locale-modules): Add locale.
42980
42981         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42982         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42983         to avoid a warning.
42984
42985 2011-08-14  David S. Miller  <davem@davemloft.net>
42986
42987         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42988         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42989
42990 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42991
42992         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42993         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42994         * elf/rtld.c (dl_main): Set l_name of vDSO.
42995         Call _dl_show_scope when DL_DEBUG_SCOPES.
42996         (process_dl_debug): Recognize scopes flag and also set it for all.
42997         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42998         Declare _dl_show_scope.
42999
43000         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43001         (do_dlopen): Pass caller_dlopen to dl_open.
43002         (__libc_dlopen_mode): Initialize caller_dlopen.
43003
43004         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43005         of libc.  Make tolower call locale-independent.  Optimize a bit by
43006         using isdigit instead of isalnum.
43007         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43008
43009 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43010
43011         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43012         was a dependency or dynamically loaded.
43013
43014 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43015
43016         * intl/l10nflist.c: Allow architecture-specific pop function.
43017         * sysdeps/x86_64/l10nflist.c: New file.
43018
43019         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43020         classification.
43021
43022 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43023
43024         * include/dirent.h: Add libc_hidden_proto for scandirat and
43025         scandirat64.  Don't declare __scandirat64.
43026         * dirent/scandirat.c: Add libc_hidden_def.
43027         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43028         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43029
43030 2011-08-10  David S. Miller  <davem@davemloft.net>
43031
43032         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43033         enum.
43034         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43035         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43036         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43037
43038 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43039
43040         * Versions.def [libc]: Add GLIBC_2.15.
43041         * dirent/Makefile (routines): Add scandirat and scandirat64.
43042         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43043         GLIBC_2.15.
43044         * dirent/dirent.h: Declare scandirat and scandirat64.
43045         * dirent/scandirat.c: New file.
43046         * dirent/scandirat64.c: New file.
43047         * sysdeps/wordsize-64/scandirat.c: New file.
43048         * sysdeps/wordsize-64/scandirat64.c: New file.
43049         * dirent/opendir.c: Define opendirat.
43050         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43051         using scandirat.
43052         * dirent/scandir64.c: Adjust for scandir.c change.
43053         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43054         __scandirat64, and __scandir_cancel_handler.
43055         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43056         additional parameter and use openat instead of open (outside of ld.so).
43057         Add new __opendir as wrapper around __opendirat.
43058         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43059         here without requiring old scandirat implementation.
43060
43061 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43062
43063         * dirent/scandir.c (cancel_handler): Renamed to
43064         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43065         defined.  Adjust users.
43066         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43067         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43068
43069 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43070
43071         * string/test-string.h (IMPL): Use __STRING to expand name and then
43072         stringify it.
43073
43074         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43075         of cleanups.
43076
43077 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43078
43079         * string/Makefile: Update.
43080         (strop-tests): Append strncat.
43081         * string/test-wcscmp.c: New file.
43082         New comprehensive test for wcscmp.
43083         * string/test-strcmp.c: Update.
43084         (WIDE): New define.
43085
43086 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43087
43088         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43089         line.
43090
43091 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43092
43093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43094         encoding to ACE if AI_IDN.
43095
43096 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43097
43098         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43099         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43100
43101 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43102
43103         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43104         Fix overflow bug in strncat.
43105         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43106
43107         * string/test-strncat.c: Update.
43108         Add new tests for checking overflow bugs.
43109
43110 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43111
43112         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43113         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43114         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43115         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43116         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43117         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43118         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43119         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43120         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43121
43122         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43123         (USE_AS_STRCAT): Define.
43124         Add strcat and strncat support.
43125         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43126
43127 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43128
43129         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43130         __n bigger than INT_MAX+1.
43131         (__strncmp_g): Likewise.
43132
43133 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43134
43135         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43136         * libio/stido.h: Likewise.
43137
43138         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43139         (AF_NFC): Define.
43140         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43141         (AF_NFC): Define.
43142
43143         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43144         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43145         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43146         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43147         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43148
43149         [BZ #13021]
43150         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43151         installed.
43152
43153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43154         typo.
43155         (_dl_x86_64_save_sse): Likewise.
43156
43157 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43158
43159         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43160         OSXSAVE.
43161         (_dl_x86_64_save_sse): Likewise.
43162
43163         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43164
43165         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43166
43167 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43168
43169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43170         change.
43171         (_dl_x86_64_save_sse): Use correct AVX check.
43172
43173 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43174
43175         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43176         bug in strncpy/strncat.
43177         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43178
43179 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43180
43181         * string/tester.c (test_strcat): Add tests for different alignments
43182         of source and destination.
43183         (test_strncat): Likewise.
43184
43185 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43186
43187         [BZ #12852]
43188         * posix/glob.c (glob): Check passed in values before using them in
43189         expressions to avoid some overflows.
43190         (glob_in_dir): Likewise.
43191
43192         [BZ #13007]
43193         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43194         check for AVX enablement so that we don't crash with old kernels and
43195         new hardware.
43196         * elf/tst-audit4.c: Add same checks here.
43197         * elf/tst-audit6.c: Likewise.
43198
43199         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43200
43201 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43202
43203         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43204
43205 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43206
43207         * po/cs.po: Update from translation team.
43208         * po/bg.po: Likewise.
43209
43210 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43211
43212         * misc/sys/cdefs.h: Add support for const attribute.
43213         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43214         to gnu_dev_{major,minor,makedev} functions.
43215
43216 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43217
43218         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43219
43220 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43221
43222         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43223         strlen results.
43224
43225 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43226
43227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43228         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43229         register in order to avoid conflicts with the soft frame pointer
43230         being held in r11 when necessary.
43231         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43232         (INTERNAL_VSYSCALL_NCS): Likewise.
43233
43234 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43235
43236         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43237         * elf/dl-fini.c (_dl_fini): Adjust caller.
43238         * elf/dl-close.c (_dl_close_worker): Likewise.
43239         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43240
43241 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43242
43243         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43244         "aux_cache->nlibs < 0".
43245
43246         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43247         in the reload-count case.
43248
43249 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43250
43251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43252         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43253         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43254         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43255         * sysdeps/x86_64/multiarch/strcat.S: New file.
43256         * sysdeps/x86_64/multiarch/strncat.S: New file.
43257         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43258         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43259         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43260         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43261         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43262         (USE_AS_STRCAT): Define.
43263         Add strcat and strncat support.
43264         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43266         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43267         * string/strncat.c: Update.
43268         (USE_AS_STRNCAT): Define.
43269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43270         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43271         and i7.
43272         * sysdeps/x86_64/multiarch/init-arch.h
43273         (bit_Prefer_PMINUB_for_stringop): New.
43274         (index_Prefer_PMINUB_for_stringop): Likewise.
43275         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43276         bit_Prefer_PMINUB_for_stringop.
43277
43278 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43279
43280         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43281         buffer64.
43282         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43283         of casting of buffer.
43284         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43285         buffer32 and buffer64.
43286         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43287         writes instead of casting of buffer.
43288         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43289         buffer32.
43290         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43291         casting of buffer.
43292
43293 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43294
43295         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43296
43297 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43298
43299         * nscd/nscd.c (termination_handler): Don't do anything for a database
43300         if it has not yet been initialized.
43301
43302 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43303
43304         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43305
43306 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43307
43308         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43309
43310 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43311
43312         * po/nl.po: Update from translation team.
43313         * po/sv.po: Likewise.
43314
43315 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43316
43317         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43318         now disallowed by GCC.
43319
43320         * configure.in (use-default-link): Default to yes if a test -shared
43321         link meets our qualifications.
43322         * configure: Regenerated.
43323
43324         * config.make.in (output-format): New variable.
43325         * configure.in: Check for ld --print-output-format support.
43326         * configure: Regenerated.
43327         * Makerules ($(common-objpfx)format.lds)
43328         [$(output-format) != unknown]: Just use $(output-format),
43329         instead of the linker-script munging.
43330
43331 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43332
43333         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43334         of $(common-objpfx)shlib.lds.
43335         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43336
43337         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43338         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43339
43340         * configure.in (-z relro check): Adjust test code to add a large
43341         writable data section after it.
43342         * configure: Regenerated.
43343
43344 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43345
43346         * configure.in (-z relro check): Fix test code to make the variable
43347         truly const.
43348         * configure: Regenerated.
43349
43350 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43351
43352         * nscd/nscd.h (struct traced_file): Define.
43353         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43354         elements.  Add traced_files.
43355         (inotify_fd): Declare.
43356         (register_traced_file): Declare.
43357         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43358         (inotify_fd): Export.
43359         (resolv_conf_descr): Remove.
43360         (nscd_init): Move inotify descriptor creation to main.
43361         Don't register files for notification here.
43362         (register_traced_file): New function.
43363         (invalidate_cache): Don't use reset_res to determine whether to call
43364         res_init, go through the list of registered files.
43365         (main_loop_poll): The inotify descriptors are now stored in the
43366         structures for the traced files.
43367         (main_loop_epoll): Likewise
43368         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43369         to __nss_disable_nscd.
43370         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43371         for a database anymore.  Check the records for all the registered
43372         files instead.
43373         * nss/Makefile (libnss_files-routines): Add files-init.
43374         (libnss_db-routines): Add db-init.
43375         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43376         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43377         * nss/nss_db/db-init.c: New file.
43378         * nss/nss_files/files-init.c: New file.
43379         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43380         __nss_lookup_function.
43381         (__nss_lookup_function): Call nss_load_library.
43382         (nss_load_all_libraries): New function.
43383         (__nss_disable_nscd): Take parameter with callback function for files
43384         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43385         used for the cached services.
43386         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43387         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43388         options for features to all the files in nscd.
43389
43390         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43391
43392 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43393
43394         * csu/elf-init.c (__libc_csu_init): Comment typo.
43395
43396 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43397
43398         * po/pl.po: Update from translation team.
43399         * po/ja.po: Likewise.
43400         * po/ru.po: Likewise.
43401         * po/ko.po: Likewise.
43402         * po/fr.po: Likewise.
43403
43404 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43405
43406         * configure.in (.ctors/.dtors header and trailer check):
43407         Use an empirical test on a built program.
43408         * configure: Regenerated.
43409
43410         * configure.in (-z relro check): Use an empirical test on a built DSO.
43411         Detect, but do not require, on ia64.
43412         * configure: Regenerated.
43413
43414         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43415         Update tests that use readelf to use $READELF instead.
43416         * configure: Regenerated.
43417
43418 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43419
43420         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43421         if the result is not used.
43422
43423 2011-07-05  Andreas Jaeger  <aj@suse.de>
43424
43425         [BZ#9696]
43426         * stdlib/tst-strtod.c: Add testcase.
43427
43428 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43429
43430         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43431         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43432         The latter has a higher limit.  Take additional parameter to pass to
43433         the new function.
43434         (__pathconf): Pass file to __statfs_link_max.
43435         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43436         __statfs_link_max.
43437         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43438         __statfs_link_max.
43439
43440         [BZ #12868]
43441         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43442         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43443         Handle Lustre.
43444         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43445         (__statfs_filesize_max): Likewise.
43446         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43447
43448 2011-07-05  Andreas Jaeger  <aj@suse.de>
43449
43450         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43451
43452 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43453
43454         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43455         `status' variable.
43456         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43457         Likewise.
43458
43459 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43460
43461         * Makefile (strop-tests): Add strncat.
43462         * string/test-strncat.c: New file.
43463
43464 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43465
43466         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43467
43468 2011-06-21  Andreas Jaeger  <aj@suse.de>
43469
43470         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43471         Copy rule from iconvdata/Makefile.
43472
43473 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43474
43475         [BZ #12922]
43476         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43477         but no long options are defined, just return 'W'.
43478
43479 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43480
43481         [BZ #9696]
43482         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43483
43484 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43485
43486         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43487         netgroups to read.
43488         (innetgr): Likewise.
43489
43490 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43491
43492         * config.make.in (install_root): Default to $(DESTDIR).
43493
43494 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43495
43496         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43497
43498 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43499
43500         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43501
43502         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43503         containing directory rather than embedding absolute directory names.
43504
43505         * scripts/check-local-headers.sh: Rewritten using awk.
43506         Match by word, not by line.  Print error messages for matches.
43507         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43508
43509         * Makerules [shlib-lds-flags empty]:
43510         ($(common-objpfx)libc_pic.opts): New target.
43511         ($(common-objpfx)libc_pic.os.clean): New target.
43512         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43513
43514         * config.make.in (OBJCOPY): New variable.
43515         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43516         * configure: Regenerated.
43517
43518         * config.make.in (use-default-link): New variable.
43519         * configure.in (use_default_link): Grok --with-default-link to set it.
43520         * configure: Regenerated.
43521         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43522         (shlib-lds, shlib-lds-flags): Define to empty.
43523
43524         * Makerules (shlib-lds): New variable.
43525         (shlib-lds-flags): New variable.
43526         (build-shlib, build-moduile, build-module-asneeded): Use it.
43527         ($(common-objpfx)libc.so): Use $(shlib-lds).
43528         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43529         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43530
43531         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43532         DT_FLAGS/DT_FLAGS_1 with zero flags.
43533
43534         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43535         linker script munging.
43536
43537 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43538
43539         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43540         as 128-bit value.
43541         * crypt/sha512.c (sha512_process_block): Perform total addition using
43542         128-bit if possible.
43543         (__sha512_finish_ctx): Likewise.
43544         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43545         as 64-bit value.
43546         * crypt/sha256.c (SWAP64): Define.
43547         (sha256_process_block): Perform total addition using 64-bit if
43548         possible.
43549         (__sha256_finish_ctx): Likewise.
43550
43551 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43552
43553         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43554         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43555         * nscd/hstcache.c (cache_addhst): Likewise.
43556         * nscd/grpcache.c (cache_addgr): Likewise.
43557         * nscd/aicache.c (addhstaiX): Likewise
43558         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43559
43560 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43561
43562         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43563         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43564         * nscd/hstcache.c (cache_addhst): Likewise.
43565         * nscd/grpcache.c (cache_addgr): Likewise.
43566         * nscd/aicache.c (addhstaiX): Likewise
43567
43568 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43569
43570         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43571         domain only when needed.
43572
43573 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43574
43575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43576         is always restored.
43577
43578 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43579
43580         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43581         are re-adding the entry.
43582         * nscd/servicescache.c (cache_addserv): Likewise.
43583
43584 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43585
43586         * sysdeps/generic/dl-irel.h: fix protection against multiple
43587         inclusions.
43588         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43589
43590 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43591
43592         [BZ #12935]
43593         * malloc/memusage.sh: Fix quoting in message.
43594         * debug/xtrace.sh: Likewise.
43595
43596         * configure.in: Remove support for --experimental-malloc option, make
43597         it the default.
43598         * config.make.in: Likewise.
43599         * malloc/Makefile: Likewise.
43600
43601 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43602
43603         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43604         two-byte characters.
43605
43606 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43607
43608         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43609         AC_CACHE_CHECK invocation.
43610         * configure: Regenerated.
43611
43612         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43613
43614 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43615
43616         [BZ #12350]
43617         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43618         bit from old_res_options.
43619
43620         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43621
43622         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43623         value type for setfct.
43624
43625 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43626
43627         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43628         __gettimeofday instead of gettimeofday.
43629
43630 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43631
43632         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43633
43634 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43635
43636         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43637
43638         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43639         info.
43640
43641 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43642
43643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43644         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43645         strcpy-sse2-unaligned strncpy-sse2-unaligned
43646         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43647         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43648         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43649         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43650         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43651         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43652         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43653         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43654         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43655         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43656         (STRCPY): Support SSE2 and SSSE3 versions.
43657
43658 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43659
43660         [BZ #12874]
43661         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43662         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43663         kernels which artificially limit size of requests.
43664
43665 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43666
43667         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43668         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43669         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43670         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43671         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43672         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43673         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43674         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43675         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43676         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43677         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43678         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43679         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43680         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43681         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43682         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43683         Enable unaligned load optimization for Intel Core i3, i5 and i7
43684         processors.
43685         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43686         Define.
43687         (index_Fast_Unaligned_Load): Define.
43688         (HAS_FAST_UNALIGNED_LOAD): Define.
43689
43690 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43691
43692         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43693
43694 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43695
43696         [BZ #12907]
43697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43698         until it is clear that the information is realy needed.
43699         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43700
43701 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43702
43703         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43704
43705 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43706
43707         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43708         /sys/devices/system/cpu/online if it is usable.
43709
43710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43711         reading the information from the /proc filesystem to once a second.
43712
43713 2011-06-21  Andreas Jaeger  <aj@suse.de>
43714
43715         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43716         NULL after inclusion of kernel headers.
43717
43718 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43719
43720         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43721         calls to internal_setent.
43722
43723         [BZ #12885]
43724         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43725         addresses using gethostbyname4_r ignore IPv4 addresses.
43726
43727         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43728         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43729
43730         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43731
43732 2011-06-20  David S. Miller  <davem@davemloft.net>
43733
43734         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43735         inclusions.
43736         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43737
43738         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43739         (elf_irel): Use it.
43740         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43741         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43742         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43743         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43744         * sysdeps/x86_64/dl-irel.h: Likewise.
43745
43746         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43747         * elf/dl-sym.c: Likewise.
43748
43749 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43750
43751         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43752         need to dereference resplen2.
43753
43754 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43755
43756         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43757
43758 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43759
43760         * Makeconfig: Define vardbdir and inst_vardbdir.
43761         * nss/Makefile: Add rules to install db-Makefile.
43762
43763         * nss/nss_db/db-XXX.c: Cleanup.
43764
43765         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43766         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43767         GLIBC_PRIVATE.
43768         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43769         * nss/makedb.c: Implement -g option to specify that value strings
43770         are generated and should not be added to table iterated over for
43771         get*ent calls.
43772         * nss/nss_db/db-initgroups.c: New file.
43773
43774         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43775         interface.
43776
43777         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43778         (internal_getgrouplist): Adjust to name change.
43779         Update use_initgroups_entry if this is not the first call.
43780         * nss/databases.def: Add initgroups entry.
43781
43782         * nss/makedb.c (compute_tables): Check result of multiple hash table
43783         sizes to minimize maximum chain length.
43784
43785 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43786
43787         * Versions.def: Add entry for libnss_db.
43788         * shlib-versions: Likewise.
43789         * nss/Makefile: Add rules to build libnss_db.
43790         * nss/Versions: Add libnss_db information.  Organize libnss_files
43791         entries better.
43792         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43793         makedb progra.  Some minor improvements to generate smaller files.
43794         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43795         here from...
43796         * nss/makedb.c: ...here.
43797         Improve database format to be smaller and require less memory at
43798         runtime.
43799         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43800         db anymore.
43801         * nss/nss_db/db-netgrp.c: Likewise.
43802         * nss/nss_db/db-open.c: Likewise.
43803         * nss/nss_files/flies-XXX.x: Adjust comments.
43804         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43805         * nss/nss_files/files-grp.c: Likewise.
43806         * nss/nss_files/files-hosts.c: Likewise.
43807         * nss/nss_files/files-network.c: Likewise.
43808         * nss/nss_files/files-proto.c: Likewise.
43809         * nss/nss_files/files-pwd.c: Likewise.
43810         * nss/nss_files/files-rpc.c: Likewise.
43811         * nss/nss_files/files-service.c: Likewise.
43812         * nss/nss_files/files-sgrp.c: Likewise.
43813         * nss/nss_files/files-spwd.c: Likewise.
43814         * nss/nss_db/db-alias.c: Removed.
43815         * nss/nss_db/dummy-db.h: Removed.
43816
43817 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43818
43819         * nss/makedb.c: Rewritten to not use database library.
43820         * nss/Makefile: Update to build new makedb program.
43821
43822 2011-06-14  Andreas Jaeger  <aj@suse.de>
43823
43824         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43825         memset declaration.
43826
43827 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43828
43829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43830         tmpbuf.
43831
43832 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43833
43834         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43835         * elf/Makefile ($(objpfx)ld.so): Likewise.
43836
43837         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43838         Don't list ld.so twice in dependencies.
43839
43840         * posix/bug-regex31.c: Include <stdlib.h>.
43841
43842         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43843
43844         * nis/nss_compat/compat-spwd.c
43845         (getspent_next_nss_netgr): Remove unused variable.
43846         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43847
43848         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43849         nonmembers" output to use the right array.
43850
43851         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43852
43853         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43854
43855         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43856         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43857         * catgets/gencat.c (read_input_file): Likewise.
43858         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43859
43860         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43861         variable definition inside #if's controlling its use.
43862
43863         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43864
43865         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43866
43867         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43868
43869         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43870         unreachable code.
43871
43872         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43873
43874         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43875         * configure: Regenerated.
43876
43877         * Makerules: Revert last change.
43878         * elf/Makefile: Likewise.
43879
43880 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43881
43882         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43883         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43884         (reloc-link): Likewise.
43885
43886 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43887
43888         * elf/Makefile: Add rules to build pldd.
43889         * elf/pldd.c: New file.
43890         * elf/pldd-xx.c: New file.
43891
43892 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43893
43894         * version.h: Update for 2.15 development version.
43895
43896 2011-06-07  David S. Miller  <davem@davemloft.net>
43897
43898         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43899         ifuncs.
43900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43901         elf_machine_lazy_rel): Likewise.
43902         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43904         elf_machine_lazy_rel): Likewise.
43905         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43906         dl_hwcap via passed in argument.
43907         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43908         Likewise.
43909
43910 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43911
43912         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43913
43914 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43915
43916         [BZ #12849]
43917         * manual/fdl-1.1.texi: New file, verbatim from:
43918         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43919         * manual/lgpl-2.1.texi: New file, verbatim from:
43920         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43921         * manual/Makefile (licenses): New variable, list those new file names.
43922         (texis): Use it.
43923         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43924
43925         * manual/fdl.texi: File removed.
43926         * manual/lesser.texi: File removed.
43927         * manual/libc.texinfo (Copying, Documentation License):
43928         Use new @include file names, put @appendix directive before @include.
43929
43930 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43931
43932         [BZ #12841]
43933         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43934         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43935         (mq_open): Add __NTH.
43936
43937 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43938
43939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43940         Assume Intel Core i3/i5/i7 processor if AVX is available.
43941
43942 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43943
43944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43945         typo.
43946
43947 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43948
43949         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43950         memory.  Use alloca_account.  Fix memory leak when retrying.
43951
43952 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43953
43954         * version.h (RELEASE): Bump for 2.14 release.
43955         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43956
43957         * config.make.in (RANLIB): Remove entry.
43958
43959 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43960
43961         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43962         (libc.pot): Work around missing support for .ksh extension in xgettext.
43963
43964         [BZ #12684]
43965         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43966         if both request failed.
43967         (send_dg): In case of server errors clear resplen or *resplen2.
43968
43969         [BZ #12454]
43970         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43971         when there are multiple maps.
43972         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43973         (_dl_fini): Remove test here.
43974
43975         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43976
43977 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43978
43979         [BZ #12350]
43980         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43981         bit from old_res_options.
43982         (gaih_inet): Likewise.
43983
43984         [BZ #11099]
43985         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43986         as signed.
43987
43988         * resolv/res_init.c (res_setoptions): Make the code more compact.
43989
43990         [BZ #11558]
43991         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43992         set RES_USEVC.
43993
43994         [BZ #11634]
43995         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43996
43997         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43998
43999         [BZ #11781]
44000         * malloc/malloc.h: Declare malloc hook variables as volatile.
44001
44002         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44003         in last patch.
44004
44005         [BZ #11799]
44006         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44007         raise in the comment.
44008         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44009         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44010         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44011
44012 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44013
44014         [BZ #12811]
44015         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44016         grow the buffers more if it already has to be sufficient.
44017         (build_wcs_upper_buffer): Likewise.
44018         * posix/regexec.c (check_matching): Likewise.
44019         (clean_state_log_if_needed): Likewise.
44020         (extend_buffers): Don't enlarge buffers beyond size of the input
44021         buffer.
44022         Patches mostly by Emil Wojak <emil@wojak.eu>.
44023         * posix/bug-regex32.c: New file.
44024         * posix/Makefile (tests): Add bug-regex32.
44025
44026         * locale/findlocale.c (_nl_find_locale): Return right away if
44027         _nl_explode_name failed.
44028         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44029
44030         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44031
44032         * debug/xtrace.sh: Unify messages.
44033         * malloc/memusage.sh: Likewise.
44034
44035         [BZ #12813]
44036         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44037         time symbol from vDSO.  Substitute with vsyscall if not available.
44038         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44039         __vdso_time.
44040
44041         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44042         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44043         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44044         Add sendmmsg and internal_sendmmsg.
44045         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44046         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44047         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44048
44049         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44050         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44051         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44052
44053 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44054
44055         [BZ #12813]
44056         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44057         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44058         available.
44059         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44060         __vdso_getcpu.
44061
44062         [BZ #12814]
44063         * iconvdata/Makefile (tests): Add bug-iconv9.
44064         * iconvdata/bug-iconv9.c: New file.
44065
44066 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44067
44068         [BZ #12814]
44069         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44070
44071 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44072
44073         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44074         (struct user_regs_struct): Change intcs field back to cs.
44075
44076 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44077
44078         * po/ja.po: Update from translation team.
44079
44080 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44081
44082         [BZ #12795]
44083         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44084         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44085
44086 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44087
44088         * stdlib/longlong.h: Update from GCC.
44089
44090 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44091
44092         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44093         parameter name.
44094         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44095         Add parameter name.
44096         (__sysconf): Pass it down.
44097
44098 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44099
44100         [BZ #12671]
44101         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44102         some situations.
44103         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44104         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44105         add in in __libc_use_alloca calls.  Adjust callers.
44106         (glob): Use malloc in some situations.
44107
44108         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44109         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44110         pltexit.
44111
44112 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44113
44114         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44115         and CLOCK_BOOTTIME_ALARM.
44116
44117         [BZ #12782]
44118         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44119         is returned.
44120
44121         * string/_strerror.c (__strerror_r): Print negative errors as signed
44122         numbers.
44123
44124         [BZ #12777]
44125         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44126         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44127         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44128
44129         * configure.in: Fix typo in redirection and correct removal of test
44130         files in two cases.
44131
44132         [BZ #12788]
44133         * locale/setlocale.c (new_composite_name): Fix test to check for
44134         identical name of all categories.
44135
44136         [BZ #12792]
44137         * libio/filedoalloc.c (local_isatty): New function.
44138         (_IO_file_doallocate): Use local_isatty.
44139         * stdio-common/perror.c (perror): In case a new stream is used
44140         forward the stream error.
44141         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44142         error flag.
44143
44144 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44145
44146         [BZ #11869]
44147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44148         alloca.
44149         * include/alloca.h (extend_alloca_account): Define.
44150
44151         [BZ #11857]
44152         * posix/regex.h: Fix comments with documentation of user-accessible
44153         fields after compilation and describe correct free'ing of pattern
44154         after re_compile_pattern.
44155         Patch by Reuben Thomas <rrt@sc3d.org>.
44156
44157 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44158
44159         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44160         and -mno-altivec to prevent the compiler from using Altivec and/or
44161         VSX instructions when the corresponding registers are not available.
44162
44163 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44164
44165         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44166
44167 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44168
44169         * libio/freopen.c (freopen): Use __dup2, not dup2.
44170         * libio/freopen64.c (freopen64): Likewise.
44171
44172 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44173
44174         [BZ #12775]
44175         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44176         * math/Makefile (tests): Add test-powl.
44177         (CFLAGS-test-powl.c): Define.
44178         * math/test-powl.c: New file.
44179
44180 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44181
44182         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44183
44184 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44185
44186         [BZ #11837]
44187         * iconvdata/gb18030.c: Update to GB18020-2005.
44188
44189 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44190
44191         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44192         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44193         Patch by Aharon Robbins <arnold@skeeve.com>.
44194
44195         [BZ #11892]
44196         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44197         on the stack.
44198
44199         [BZ #11895]
44200         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44201         through underflows.
44202
44203         [BZ #12766]
44204         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44205         point to strings before performing equality test for error_one_per_line
44206         mode.
44207
44208         [BZ #11697]
44209         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44210
44211         [BZ #11820]
44212         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44213         (struct user_fpregs_struct): Avoid __uint*_t types.
44214
44215         [BZ #6420]
44216         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44217         symbol info.  Use it instead of calling _dl_addr locally.
44218         (lock_and_info): New function.
44219         (tr_freehook): Call lock_and_info and pass symbol info as additional
44220         parameter to tr_where.
44221         (tr_mallochook): Likewise.
44222         (tr_reallochook): Likewise.
44223         (tr_memalignhook): Likewise.
44224
44225         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44226         used and couldn't be at all thread-safe.
44227
44228 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44229
44230         * libio/freopen.c (freopen): Don't close old file descriptor
44231         before the new one is opened.  Instead dup the new file descriptor
44232         to the old one after the new stream is created.
44233         * libio/freopen64.c (freopen64): Likewise.
44234         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44235         * libio/fileops.c (_IO_new_file_close_it): Handle new
44236         _IO_FLAGS2_NOCLOSE flag.
44237         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44238         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44239         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44240         _IO_FLAGS2_NOCLOSE flag.
44241         * include/unistd.h: Add hidden_proto for dup3.
44242         Define __have_dup3.
44243         * io/dup3.c: Define hidden symbol.
44244         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44245
44246         [BZ #7101]
44247         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44248         when an incomplete long option is used.
44249         * posix/tst-getopt_long1.c: New file.
44250         * posix/Makefile (tests): Add tst-getopt_long1.
44251
44252         [BZ #10138]
44253         * scripts/config.guess: Update from autoconf-2.68.
44254         * scripts/config.sub: Likewise.
44255
44256         [BZ #10157]
44257         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44258         tests into ...
44259         (has_cpuclock): ...this.  New function.
44260         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44261         macro here based on has_cpuclock code.
44262
44263         [BZ #10149]
44264         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44265         First byte (not low byte) is now always NUL.
44266         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44267
44268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44269         Use non-cancelable interfaces.
44270
44271         [BZ #9809]
44272         * locale/iso-639.def: Add entry for Sorani.
44273
44274         [BZ #11901]
44275         * include/stdlib.h: Move include protection to the right place.
44276         Define abort_msg_s.  Declare __abort_msg with it.
44277         * stdlib/abort.c (__abort_msg): Adjust type.
44278         * assert/assert.c (__assert_fail_base): New function.  Majority
44279         of code from __assert_fail.  Allocate memory for __abort_msg with
44280         mmap.
44281         (__assert_fail): Now call __assert_fail_base.
44282         * assert/assert-perr.c: Remove bulk of implementation.  Use
44283         __assert_fail_base.
44284         * include/assert.hL Declare __assert_fail_base.
44285         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44286         mmap.
44287         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44288
44289 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44290
44291         [BZ #11952]
44292         [BZ #12453]
44293         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44294         until all modules are registered in the DTV.
44295         * elf/Makefile: Add rules to build and run tst-tls19.
44296         * elf/tst-tls19.c: New file.
44297         * elf/tst-tls19mod1.c: New file.
44298         * elf/tst-tls19mod2.c: New file.
44299         * elf/tst-tls19mod3.c: New file.
44300         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44301
44302         [BZ #12083]
44303         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44304         correctly.
44305
44306         [BZ #12601]
44307         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44308         two-byte sequence errors.
44309         * iconvdata/Makefile (tests): Add bug-iconv8.
44310         * iconvdata/bug-iconv8.c: New file.
44311
44312         [BZ #12626]
44313         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44314         buf2 definition.
44315
44316         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44317
44318         [BZ #12432]
44319         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44320         (dummy_getcfa): New function.
44321         (init): Get _Unwind_GetCFA address, use dummy if not found.
44322         (backtrace_helper): In recursion check, also check whether CFA changes.
44323         (__backtrace): Completely initialize arg.
44324
44325         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44326         storing incomplete byte sequence in state object.  Avoid testing for
44327         guaranteed too small input if we know there is enough data available.
44328
44329 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44330
44331         * Makeconfig (+link-pie): Indent.
44332         * Rules (binaries-pie): Define if $(have-fpie) and
44333         $(build-shared).
44334         (binaries-shared): Also filter out $(binaries-pie).
44335         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44336         * nscd/Makefile (others-pie): Add nscd.
44337         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44338         ($(objpfx)nscd): Remove command override.
44339         * login/Makefile (others-pie): Add pt_chown.
44340         ($(objpfx)pt_chown): Remove command override.
44341         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44342         remove command overrides.
44343
44344 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44345
44346         * libio/tst_putwc.c: Fix error messages.
44347
44348         [BZ #12724]
44349         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44350         currently writing and seek to current position when not.
44351         * libio/Makefile (tests): Add bug-fclose1.
44352         * libio/bug-fclose1.c: New file.
44353
44354 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44355
44356         [BZ #12511]
44357         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44358         don't set DF_1_NODELETE here.
44359         (do_lookup_x): When entering new entry test for copy relocation
44360         and if necessary set DF_1_NODELETE flag.
44361         * elf/tst-unique4.cc: New file.
44362         * elf/tst-unique4.h: New file.
44363         * elf/tst-unique4lib.cc: New file.
44364         * elf/Makefile: Add rules to build and run tst-unique4.
44365         Patch by Piotr Bury <pbury@goahead.com>.
44366
44367 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44368
44369         [BZ #12052]
44370         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44371
44372         [BZ #12625]
44373         * misc/mntent_r.c (addmntent): Flush the stream after the output
44374
44375         [BZ #12393]
44376         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44377         (is_trusted_path_normalize): Skip initial colon.  Append slash
44378         to empty buffer.  Duplicate is_trusted_path code but allow
44379         constructed patch to be prefix.
44380         (is_dst): Allow $ORIGIN followed by /.
44381         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44382         Correct testing of result of is_trusted_path_normalize
44383         (decompose_rpath): Fix warning.
44384
44385 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44386
44387         [BZ #11257]
44388         * grp/initgroups.c (internal_getgrouplist): When we found the service
44389         list through the initgroups entry in nsswitch.conf do not always
44390         continue on a successful lookup.  Don't always use the
44391         __nss_group_database value if it is set.
44392         * nss/nsswitch.conf (initgroups): Change action for successful db
44393         lookup to continue for compatibility.
44394
44395 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44396
44397         [BZ #11532]
44398         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44399         and CP774 modules.
44400         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44401         and CP774 modules.
44402         * iconvdata/tst-tables.sh: Likewise.
44403         * iconvdata/cp770.c: New file.
44404         * iconvdata/cp771.c: New file.
44405         * iconvdata/cp772.c: New file.
44406         * iconvdata/cp773.c: New file.
44407         * iconvdata/cp774.c: New file.
44408         * iconvdata/testdata/CP770: New file.
44409         * iconvdata/testdata/CP770..UTF8: New file.
44410         * iconvdata/testdata/CP771: New file.
44411         * iconvdata/testdata/CP771..UTF8: New file.
44412         * iconvdata/testdata/CP772: New file.
44413         * iconvdata/testdata/CP772..UTF8: New file.
44414         * iconvdata/testdata/CP773: New file.
44415         * iconvdata/testdata/CP773..UTF8: New file.
44416         * iconvdata/testdata/CP774: New file.
44417         * iconvdata/testdata/CP774..UTF8: New file.
44418
44419         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44420         END CHARMAP line.
44421         * iconvdata/gen-8bit-gap.sh: Likewise.
44422         * iconvdata/gen-8bit.sh: Likewise.
44423
44424         * locale/iso-639.def: Add ary entry.
44425
44426         [BZ #11258]
44427         * locale/C-translit.h.in: Add U20A1 transliteration.
44428
44429         [BZ #12178]
44430         * locale/iso-639.def: Add wae entry.
44431         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44432
44433         [BZ #12545]
44434         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44435         for n.
44436
44437         [BZ #12711]
44438         * locale/C-translit.h.in: Add entry for U20B9.
44439         Patch by pravin.d.s@gmail.com.
44440
44441 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44442
44443         [BZ #12713]
44444         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44445         ENAMETOOLONG use generic getcwd.
44446         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44447         in rtld.  Use *stat64.
44448         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44449         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44450         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44451         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44452         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44453         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44454         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44455         __fstatat64 macros.
44456         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44457         * dirent/rewinddir.c: Add libc_hidden_def.
44458         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44459         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44460
44461         * include/dirent.h (__alloc_dir): Add flags parameter.
44462         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44463         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44464         __alloc_dir.
44465         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44466         from fdopendir if O_CLOEXEC is already set.
44467
44468 2011-03-15  Alan Modra  <amodra@gmail.com>
44469
44470         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44471         l_tls_firstbyte_offset non-zero.  Save padding offset in
44472         l_tls_firstbyte_offset for later use.
44473         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44474         freeing static tls block.
44475
44476 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44477
44478         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44479         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44480         being defined by the kernel headers.
44481
44482 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44483
44484         [BZ #12734]
44485         * resolv/resolv.h: Define RES_NOTLDQUERY.
44486         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44487         no-tld-query and set RES_NOTLDQUERY.
44488         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44489         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44490         modern BIND to search name as TLD unless forbidden.
44491
44492 2011-05-07  Petr Baudis  <pasky@suse.cz>
44493             Ulrich Drepper  <drepper@gmail.com>
44494
44495         [BZ #12393]
44496         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44497         (is_trusted_path): ...to here.
44498         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44499         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44500         using is_trusted_path_normalize() in setuid scripts.
44501
44502 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44503
44504         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44505         __BEGIN/__END_DECLS.
44506
44507 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44508
44509         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44510         NSS_STATUS_NOTFOUND if no record was found.
44511
44512 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44513
44514         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44515         (headers-not-in-tirpc): Remove rpc/netdb.h
44516         * resolv/netdb.h: Revert last change.
44517
44518 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44519
44520         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44521         circular dependency between libgcc.a and libc.a.
44522
44523 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44524
44525         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44526         * nis/Makefile: Don't install rpcsvc/*.
44527         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44528         instead of <rpc/types.h>.
44529         (MAXHOSTNAMELEN): Define.
44530
44531 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44532
44533         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44534
44535 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44536
44537         [BZ #12714]
44538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44539         gethostbyname4_r when IPv6 results are possible.
44540
44541 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44542
44543         [BZ #12723]
44544         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44545         _PC_PIPE_BUF handling.
44546
44547 2011-04-30  Bruno Haible  <bruno@clisp.org>
44548
44549         [BZ #12717]
44550         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44551         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44552         to 'int'.
44553         * inet/getnameinfo.c (getnameinfo): Likewise.
44554
44555 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44556
44557         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44558         to groups setting in database lookup.
44559         * nss/nsswitch.conf: Add initgroups entry.
44560
44561 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44562
44563         [BZ #12685]
44564         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44565         mode string.
44566         Patch by Eric Blake <eblake@redhat.com>.
44567
44568 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44569
44570         * sunrpc/Makefile (need-export-routines): Add svc_run.
44571         (routines): Remove svc_run.
44572         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44573         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44574         * sunrpc/svc_run.c (svc_run): Likewise.
44575         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44576
44577 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44578
44579         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44580         problem in reallocation in last patch.
44581
44582 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44583
44584         * sunrpc/Makefile: Move inclusion of Rules.
44585
44586 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44587
44588         * nss/nss_files/files-initgroups.c: New file.
44589         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44590         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44591         _nss_files_initgroups_dyn.
44592
44593 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44594
44595         * elf/elf.h (R_ARM_IRELATIVE): Define.
44596
44597 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44598
44599         * po/ru.po: Update from translation team.
44600
44601 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44602
44603         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44604         dependencies.
44605
44606 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44607
44608         [BZ #12653]
44609         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44610         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44611         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44612         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44613         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44614
44615 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44616
44617         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44618         differing bytes.
44619         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44621         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44622
44623 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44624
44625         [BZ #12420]
44626         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44627         storing it.
44628         * stdlib/bug-getcontext.c: New file.
44629         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44630
44631 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44632
44633         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44634         instructions into .machine "z9-109".
44635         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44636         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44637
44638 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44639
44640         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44641         between environment variables and auxiliary vector.
44642
44643 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44644
44645         * Makefile: Add rules to build linkobj/libc.so.
44646         * include/libc-symbols.h: Define libc_hidden_nolink.
44647         * include/rpc/auth.h: Mark functions which are to be hidden.
44648         * include/rpc/auth_des.h: Likewise.
44649         * include/rpc/auth_unix.h: Likewise.
44650         * include/rpc/clnt.h: Likewise.
44651         * include/rpc/des_crypt.h: Likewise.
44652         * include/rpc/key_prot.h: Likewise.
44653         * include/rpc/pmap_clnt.h: Likewise.
44654         * include/rpc/pmap_prot.h: Likewise.
44655         * include/rpc/pmap_rmt.h: Likewise.
44656         * include/rpc/rpc_msg.h: Likewise.
44657         * include/rpc/svc.h: Likewise.
44658         * include/rpc/svc_auth.h: Likewise.
44659         * include/rpc/xdr.h: Likewise.
44660         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44661         * nss/Makefile: Likewise.
44662         * sunrpc/Makefile: Don't install headers.  Build library with normal
44663         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44664         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44665         for the compat linking library.  Remove use of INTDEF/INTUSE.
44666         * sunrpc/auth_none.c: Likewise.
44667         * sunrpc/auth_unix.c: Likewise.
44668         * sunrpc/authdes_prot.c: Likewise.
44669         * sunrpc/authuxprot.c: Likewise.
44670         * sunrpc/clnt_gen.c: Likewise.
44671         * sunrpc/clnt_perr.c: Likewise.
44672         * sunrpc/clnt_raw.c: Likewise.
44673         * sunrpc/clnt_simp.c: Likewise.
44674         * sunrpc/clnt_tcp.c: Likewise.
44675         * sunrpc/clnt_udp.c: Likewise.
44676         * sunrpc/clnt_unix.c: Likewise.
44677         * sunrpc/des_crypt.c: Likewise.
44678         * sunrpc/des_soft.c: Likewise.
44679         * sunrpc/get_myaddr.c: Likewise.
44680         * sunrpc/key_call.c: Likewise.
44681         * sunrpc/key_prot.c: Likewise.
44682         * sunrpc/netname.c: Likewise.
44683         * sunrpc/pm_getmaps.c: Likewise.
44684         * sunrpc/pm_getport.c: Likewise.
44685         * sunrpc/pmap_clnt.c: Likewise.
44686         * sunrpc/pmap_prot.c: Likewise.
44687         * sunrpc/pmap_prot2.c: Likewise.
44688         * sunrpc/pmap_rmt.c: Likewise.
44689         * sunrpc/publickey.c: Likewise.
44690         * sunrpc/rpc_cmsg.c: Likewise.
44691         * sunrpc/rpc_common.c: Likewise.
44692         * sunrpc/rpc_dtable.c: Likewise.
44693         * sunrpc/rpc_prot.c: Likewise.
44694         * sunrpc/rpc_thread.c: Likewise.
44695         * sunrpc/rtime.c: Likewise.
44696         * sunrpc/svc.c: Likewise.
44697         * sunrpc/svc_auth.c: Likewise.
44698         * sunrpc/svc_authux.c: Likewise.
44699         * sunrpc/svc_raw.c: Likewise.
44700         * sunrpc/svc_run.c: Likewise.
44701         * sunrpc/svc_simple.c: Likewise.
44702         * sunrpc/svc_tcp.c: Likewise.
44703         * sunrpc/svc_udp.c: Likewise.
44704         * sunrpc/svc_unix.c: Likewise.
44705         * sunrpc/svcauth_des.c: Likewise.
44706         * sunrpc/xcrypt.c: Likewise.
44707         * sunrpc/xdr.c: Likewise.
44708         * sunrpc/xdr_array.c: Likewise.
44709         * sunrpc/xdr_float.c: Likewise.
44710         * sunrpc/xdr_intXX_t.c: Likewise.
44711         * sunrpc/xdr_mem.c: Likewise.
44712         * sunrpc/xdr_rec.c: Likewise.
44713         * sunrpc/xdr_ref.c: Likewise.
44714         * sunrpc/xdr_sizeof.c: Likewise.
44715         * sunrpc/xdr_stdio.c: Likewise.
44716
44717 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44718
44719         [BZ #12650]
44720         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44721         * sysdeps/ia64/dl-tls.h: Likewise.
44722         * sysdeps/powerpc/dl-tls.h: Likewise.
44723         * sysdeps/s390/dl-tls.h: Likewise.
44724         * sysdeps/sh/dl-tls.h: Likewise.
44725         * sysdeps/sparc/dl-tls.h: Likewise.
44726         * sysdeps/x86_64/dl-tls.h: Likewise.
44727         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44728
44729 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44730
44731         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44732         rpath element also skip the following colon.
44733         (expand_dynamic_string_token): Add is_path parameter and pass
44734         down to DL_DST_REQUIRED and _dl_dst_substitute.
44735         (decompose_rpath): Call expand_dynamic_string_token with
44736         non-zero is_path.  Ignore empty rpaths.
44737         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44738         with zero is_path.
44739
44740 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44741
44742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44743         Make cancelable.
44744
44745 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44746
44747         [BZ #12655]
44748         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44749         Patch by Filipe David Manana <fdmanana@apache.org>.
44750
44751 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44752
44753         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44754         Maintain aligned stack.
44755         (CHECK_RSP): Remove unused macro.
44756
44757 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44758
44759         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44760         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44761
44762 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44763
44764         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44765
44766         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44767
44768 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44769
44770         [BZ #12518]
44771         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44772         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44773         * sysdeps/x86_64/memmove.c: New file.
44774         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44775         (memcpy): Renamed to ...
44776         (__new_memcpy): This.
44777         (memcpy): Provide GLIBC_2_14 memcpy.
44778         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44779         (memcpy): Provide GLIBC_2_2_5 memcpy.
44780
44781 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44782
44783         [BZ #12631]
44784         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44785
44786 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44787
44788         * misc/syncfs.c: New file.
44789         * misc/Makefile (routines): Add syncfs.
44790         * posix/unistd.h: Declare syncfs.
44791         * sysdeps/unix/syscalls.list: Add syncfs.
44792
44793 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44794
44795         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44796         open_by_handle_at.
44797         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44798         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44799         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44800         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44801         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44802         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44803         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44804
44805 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44806
44807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44808         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44809         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44810         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44811         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44812         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44813         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44814
44815         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44816         sync_file_range.c with -fexceptions.
44817         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44818         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44819         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44820         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44821         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44822         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44823         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44824         sync_file_range as cancellation point
44825         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44826         now a wrapper around __call_sync_file_range with cancellation handling.
44827         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44828         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44829         function name to __call_sync_file_range.
44830         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44831         Add call_sync_file_range.
44832
44833 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44834
44835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44836         bits/timex.h.
44837
44838 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44839
44840         * iconv/iconv.h: Fix typo in comment.
44841         * io/fcntl.h: Likewise.
44842         * libio/stdio.h: Likewise.
44843         * posix/spawn.h: Likewise.
44844         * posix/unistd.h: Likewise.
44845         * stdlib/stdlib.h: Likewise.
44846         * time/time.h: Likewise.
44847         * wcsmbs/wchar.h: Likewise.
44848
44849         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44850         open_by_handle): Add.
44851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44852         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44853         Augment a few comments.
44854         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44855         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44856         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44858         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44859         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44860         open_by_handle.
44861
44862         * io/fcntl.h (AT_EMPTY_PATH): Define.
44863
44864 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44865
44866         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44867         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44868         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44869         to...
44870         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44871         * Versions.def: Add GLIBC_2.14.
44872         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44873         Export.
44874
44875 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44878         round counter.
44879         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44880
44881 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44882
44883         [BZ #12597]
44884         * string/test-strncmp.c (do_page_test): New function.
44885         (check2): Likewise.
44886         (test_main): Call check2.
44887         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44888
44889 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44890
44891         [BZ #12587]
44892         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44893         Handle cache information in CPU leaf 4.
44894         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44895
44896 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44897
44898         [BZ #12583]
44899         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44900         character representation.
44901         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44902
44903 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44904
44905         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44906         END(__isnan) to END(__isnanf) to match function entry point/label
44907         EALIGN(__isnanf,...).
44908
44909 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44910
44911         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44912
44913 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44914
44915         [BZ #12510]
44916         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44917         copy from the symbol referenced in the relocation to initialize the
44918         used variable.
44919         Patch by Piotr Bury <pbury@goahead.com>.
44920         * elf/Makefile: Add rules to build and tst-unique3.
44921         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44922         * elf/tst-unique3.cc: New file.
44923         * elf/tst-unique3.h: New file.
44924         * elf/tst-unique3lib.cc: New file.
44925         * elf/tst-unique3lib2.cc: New file.
44926
44927         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44928
44929 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44930
44931         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44932         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44933         to _start.
44934
44935 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44936
44937         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44938         to-be-loaded object along a path to loader is ld.so.
44939
44940 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44941             Ulrich Drepper  <drepper@gmail.com>
44942
44943         * sysdeps/x86_64/memset.S: After aligning destination, code
44944         branches to different locations depending on the value of
44945         misalignment, when multiarch is enabled. Fix this.
44946
44947 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44948
44949         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44950         Set _x86_64_preferred_memory_instruction for AMD processsors.
44951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44952         Set bit_Prefer_SSE_for_memop for AMD processors.
44953
44954 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44955
44956         * libio/fmemopen.c (fmemopen): Optimize a bit.
44957
44958 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44959
44960         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44961
44962 2011-03-03  Roland McGrath  <roland@redhat.com>
44963
44964         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44965
44966 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44967
44968         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44969         __bzero_ultra1 instead of __memset_ultra1.
44970
44971 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44972             Ulrich Drepper  <drepper@gmail.com>
44973
44974         [BZ #12509]
44975         * include/link.h (struct link_map): Add l_orig_initfini.
44976         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44977         returning unsuccessfully.
44978         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44979         close of a file loaded at startup, restore the original l_initfini
44980         list.
44981         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44982         list, store the pointer.
44983         * elf/Makefile ($(objpfx)noload-mem): New rule.
44984         (noload-ENV): Define.
44985         (tests): Add $(objpfx)noload-mem.
44986         * elf/noload.c: Include <memcheck.h>.
44987         (main): Call mtrace.  Close all opened handles.
44988
44989 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44990
44991         [BZ #12454]
44992         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44993         dependencies are missing.
44994
44995 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44996
44997         Fix __if_freereq crash: Unlike the generic version which uses free,
44998         Hurd needs munmap.
44999         * sysdeps/mach/hurd/ifreq.h: New file.
45000
45001 2011-01-27  Petr Baudis  <pasky@suse.cz>
45002             Ulrich Drepper  <drepper@gmail.com>
45003
45004         [BZ 12445]#
45005         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45006         to extend_alloca().
45007         * stdio-common/bug23.c: New file.
45008         * stdio-common/Makefile (tests): Add bug23.
45009
45010 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45011             Ulrich Drepper  <drepper@gmail.com>
45012
45013         [BZ #12489]
45014         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45015         before performing relro protection.  At old place add assertion
45016         to make sure nothing changed.
45017
45018 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45019             Glauber de Oliveira Costa  <glommer@gmail.com>
45020
45021         * elf/elf.h: Add new ARM TLS relocs.
45022
45023 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45024
45025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45026         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45027         cast from r3.
45028         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45029         'tests' variable.
45030         * sysdeps/wordsize-64/tst-writev.c: New file.
45031
45032 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45033
45034         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45035         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45036         insns in _dl_start to prevent a TOC reference before relocs are
45037         resolved.
45038
45039 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45040
45041         [BZ #12469]
45042         * Makeconfig: Remove RANLIB definition.
45043         * Makerules: Don't use RANLIB.
45044         * aclocal.m4: Remove ranlib test.
45045         * configure.in: No need to check for ranlib.
45046         * elf/rtld-Rules: Don't use RANLIB.
45047
45048 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45049
45050         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45051         protection macro.
45052         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45053         inclusion protection macro.
45054
45055         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45056         SIGRTMIN and SIGRTMAX and print information in that case only when
45057         SIGRTMIN is defined.
45058
45059 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45060
45061         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45062         arginfo fn returning -1.
45063
45064         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45065         and thousands string is zero terminated.
45066
45067 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45068
45069         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45070         sysdeps/unix/sysv/linux/bits/socket.h.
45071
45072 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45073
45074         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45075         (__CPU_COUNT): Remove old macros.
45076         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45077         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45078         (__CPU_ALLOC, __CPU_FREE): Add macros.
45079         (__sched_cpualloc, __sched_cpufree): Add declarations.
45080
45081 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45082
45083         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45084         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45085         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45086         (readdhstai): Return value of addhstaiX call.
45087         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45088         (addgrbyX): Return value returned by cache_addgr.
45089         (readdgrbyname): Return value returned by addgrbyX.
45090         (readdgrbygid): Likewise.
45091         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45092         (addpwbyX): Return value returned by cache_addpw.
45093         (readdpwbyname): Return value returned by addhstbyX.
45094         (readdpwbyuid): Likewise.
45095         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45096         (addservbyX): Return value returned by cache_addserv.
45097         (readdservbyname): Return value returned by addservbyX:
45098         (readdservbyport): Likewise.
45099         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45100         (addhstbyX): Return value returned by cache_addhst.
45101         (readdhstbyname): Return value returned by addhstbyX.
45102         (readdhstbyaddr): Likewise.
45103         (readdhstbynamev6): Likewise.
45104         (readdhstbyaddrv6): Likewise.
45105         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45106         (readdinitgroups): Return value returned by addinitgroupsX.
45107         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45108         (prune_cache): Keep track of timeout value of re-added entries.
45109         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45110         * nscd/nscd.h: Adjust prototypes of readd* functions.
45111
45112 2011-02-04  Roland McGrath  <roland@redhat.com>
45113
45114         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45115         (nis_stats): Likewise.
45116         * nis/nis_modify.c (nis_modify): Likewise.
45117         * nis/nis_remove.c (nis_remove): Likewise.
45118         * nis/nis_add.c (nis_add): Likewise.
45119
45120         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45121
45122         * posix/fnmatch_loop.c: Add some consts.
45123
45124         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45125
45126 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45127
45128         [BZ #12460]
45129         * config.make.in (config-cflags-novzeroupper): Define.
45130         * configure.in: Substitute libc_cv_cc_novzeroupper.
45131         * elf/Makefile (AVX-CFLAGS): Define.
45132         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45133         (CFLAGS-tst-auditmod4a.c): Likewise.
45134         (CFLAGS-tst-auditmod4b.c): Likewise.
45135         (CFLAGS-tst-auditmod6b.c): Likewise.
45136         (CFLAGS-tst-auditmod6c.c): Likewise.
45137         (CFLAGS-tst-auditmod7b.c): Likewise.
45138         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45139
45140 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45141
45142         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45143         function to the callback.
45144         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45145
45146 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45147
45148         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45149         of errno.
45150
45151 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45152
45153         [BZ #11724]
45154         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45155         of constructors.
45156         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45157         of destructors.
45158         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45159
45160         [BZ #11724]
45161         * elf/Makefile: Add rules to build and run new test.
45162         * elf/tst-initorder.c: New file.
45163         * elf/tst-initorder.exp: New file.
45164         * elf/tst-initordera1.c: New file.
45165         * elf/tst-initordera2.c: New file.
45166         * elf/tst-initordera3.c: New file.
45167         * elf/tst-initordera4.c: New file.
45168         * elf/tst-initorderb1.c: New file.
45169         * elf/tst-initorderb2.c: New file.
45170         * elf/tst-order-a1.c: New file.
45171         * elf/tst-order-a2.c: New file.
45172         * elf/tst-order-a3.c: New file.
45173         * elf/tst-order-a4.c: New file.
45174         * elf/tst-order-b1.c: New file.
45175         * elf/tst-order-b2.c: New file.
45176         * elf/tst-order-main.c: New file.
45177         New test case by George Gensure <werkt0@gmail.com>.
45178
45179 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45180
45181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45182         decoding ACE if AI_CANONIDN.
45183
45184 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45185
45186         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45187
45188 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45189
45190         * version.h (RELEASE): Bump for 2.13 release.
45191         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45192
45193         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45194
45195         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45196         MADV_NOHUGEPAGE.
45197         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45198         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45199         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45200         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45201         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45202         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45203
45204         * posix/getconf.c: Update copyright year.
45205         * catgets/gencat.c: Likewise.
45206         * csu/version.c: Likewise.
45207         * debug/catchsegv.sh: Likewise.
45208         * debug/xtrace.sh: Likewise.
45209         * elf/ldconfig.c: Likewise.
45210         * elf/ldd.bash.in: Likewise.
45211         * elf/sprof.c (print_version): Likewise.
45212         * iconv/iconv_prog.c: Likewise.
45213         * iconv/iconvconfig.c: Likewise.
45214         * locale/programs/locale.c: Likewise.
45215         * locale/programs/localedef.c: Likewise.
45216         * malloc/memusage.sh: Likewise.
45217         * malloc/mtrace.pl: Likewise.
45218         * nscd/nscd.c (print_version): Likewise.
45219         * nss/getent.c: Likewise.
45220
45221         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45222         PF_CAIF, and PF_ALG.
45223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45224
45225 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45226
45227         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45228         (modules-names): Use them.
45229         (ifunc-test-modules, ifunc-pie-tests): Define.
45230         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45231         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45232         (test-extras): Likewise.
45233         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45234         $(compile-command.c).
45235         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45236         (all-built-dso): Define.
45237         (check-textrel.out, check-execstack.out): Depend on it.
45238
45239         * configure.in: Don't override --enable-multi-arch.
45240
45241 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45242
45243         [BZ #6812]
45244         * nscd/hstcache.c (tryagain): Define.
45245         (cache_addhst): Return tryagain not notfound for temporary errors.
45246         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45247         failed.
45248
45249 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45250
45251         [BZ #10563]
45252         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45253         to make the syscall.
45254         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45255
45256         [BZ #12378]
45257         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45258         and fall back to matching as normal character if the string ends before
45259         the matching ']' is found.  This is what POSIX requires.
45260         * posix/testfnm.c: Adjust test result.
45261         * posix/globtest.sh: Adjust test result.  Add new test.
45262         * posix/tst-fnmatch.input: Likewise.
45263         * posix/tst-fnmatch2.c: Add new test.
45264
45265 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45266
45267         * elf/Makefile (check-execstack): Revert last change.  Depend on
45268         check-execstack.h.
45269         (check-execstack.h): New target.
45270         (generated): Add check-execstack.h.
45271         * elf/check-execstack.c: Include "check-execstack.h".
45272         (main): Revert last change.
45273         (handle_file): Return zero if GNU_STACK is absent and
45274         DEFAULT_STACK_PERMS doesn't include PF_X.
45275
45276 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45277
45278         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45279         in child fails because the descriptor is already closed.
45280         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45281         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45282         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45283
45284         [BZ #12397]
45285         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45286         syscall.
45287
45288         [BZ #10484]
45289         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45290         temporary buffer used to handle multi lookups locally.
45291         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45292
45293 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45294
45295         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45296         loader is ld.so.
45297
45298 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45299
45300         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45301         alignment for SSE2.
45302
45303 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45304
45305         [BZ #12394]
45306         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45307         characters.  When rounding increased number of integer digits recompute
45308         number of groups.
45309         * stdio-common/tst-grouping.c: New file.
45310         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45311
45312 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45313
45314         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45315         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45316
45317         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45318         void.
45319         * bits/select.h: Likewise.
45320
45321 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45322
45323         * po/ja.po: Update from translation team.
45324
45325 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45326
45327         [BZ #11155]
45328         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45329         implementation just like for lxstat, fxstatat, et al.
45330
45331 2010-12-27  Jim Meyering  <meyering@redhat.com>
45332
45333         [BZ #12348]
45334         * posix/regexec.c (build_trtable): Return failure indication upon
45335         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45336
45337 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45338
45339         [BZ #12201]
45340         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45341         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45342         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45343         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45344
45345         [BZ #12207]
45346         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45347
45348         [BZ #12204]
45349         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45350         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45351
45352 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45353
45354         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45355         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45356         script has SORT_BY_INIT_PRIORITY.
45357         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45358         NO_CTORS_DTORS_SECTIONS is defined.
45359         * elf/soinit.c: Likewise.
45360         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45361         NO_CTORS_DTORS_SECTIONS is defined.
45362         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45363         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45364         * sysdeps/sh/init-first.c: Likewise.
45365         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45366
45367 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45368
45369         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45370         always use the slow path.
45371
45372 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45373
45374         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45375         similar rule which adds the sysdep directories to the header search in
45376         order to pick up the correct platform stackinfo.h.
45377         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45378         perform test if it is, otherwise return successfully without testing.
45379         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45380         DEFAULT_STACK_PERMS define in stackinfo.h.
45381         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45382         defined in stackinfo.h.
45383         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45384         DEFAULT_STACK_PERMS defined in stackinfo.h.
45385         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45386         * sysdeps/ia64/stackinfo.h: Likewise.
45387         * sysdeps/s390/stackinfo.h: Likewise.
45388         * sysdeps/sh/stackinfo.h: Likewise.
45389         * sysdeps/sparc/stackinfo.h: Likewise.
45390         * sysdeps/x86_64/stackinfo.h: Likewise.
45391         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45392         PF_X for powerpc64.  Retain PF_X for powerpc32.
45393
45394 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45395
45396         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45397         accurately.
45398         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45399         GETDENTS_64BIT_ALIGNED.
45400
45401 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45402
45403         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45404
45405 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45406
45407         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45408         _GNU_SOURCE.
45409
45410         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45411         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45412         Remove __restrict.
45413         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45414         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45415
45416 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45417
45418         [BZ #11655]
45419         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45420         are initialized.
45421
45422 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45423
45424         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45425
45426 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45427
45428         * po/it.po: Update from translation team.
45429
45430 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45431
45432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45433         unused codes.
45434
45435 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45436
45437         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45438
45439 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45440
45441         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45442         specially.
45443         (gaih_getanswer_slice): Likewise.
45444
45445 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45446
45447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45448
45449 2010-05-31  Petr Baudis  <pasky@suse.cz>
45450
45451         [BZ #11149]
45452         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45453         silently even in the chroot mode.
45454
45455 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45456
45457         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45458         last patch a bit.  Pretty printing
45459
45460 2010-05-31  Petr Baudis <pasky@suse.cz>
45461
45462         [BZ #10085]
45463         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45464         initialization of skip_initgroups_dyn.
45465
45466 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45467
45468         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45469         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45470
45471 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45472
45473         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45474
45475 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45476
45477         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45478         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45479         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45480         ($(objpfx)tst-fnmatch-mem): New rule.
45481         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45482         * posix/tst-fnmatch.c (main): Call mtrace.
45483
45484 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45485
45486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45487         Support Intel processor model 6 and model 0x2c.
45488
45489 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45490
45491         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45492           signed comparison.
45493
45494 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45495
45496         [BZ #12205]
45497         * string/test-strncasecmp.c (check_result): New function.
45498         (do_one_test): Use it.
45499         (check1): New function.
45500         (test_main): Use it.
45501         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45502         Support strcasecmp and strncasecmp.
45503
45504 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45505
45506         [BZ #12194]
45507         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45508         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45509
45510 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45511
45512         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45513         IFUNC support.
45514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45515         memset-x86-64.
45516         * sysdeps/x86_64/multiarch/bzero.S: New file.
45517         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45518         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45519         * sysdeps/x86_64/multiarch/memset.S: New file.
45520         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45522         Set bit_Prefer_SSE_for_memop for Intel processors.
45523         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45524         Define.
45525         (index_Prefer_SSE_for_memop): Define.
45526         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45527
45528 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45529
45530         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45531         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45532
45533 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45534
45535         [BZ #12191]
45536         * sysdeps/i386/i686/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
45541         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45542         (__x86_64_raw_data_cache_size_half): Likewise.
45543         (__x86_64_raw_shared_cache_size): Likewise.
45544         (__x86_64_raw_shared_cache_size_half): Likewise.
45545         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45546         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45547         and __x86_64_raw_shared_cache_size_half.  Round
45548         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45549         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45550         to multiple of 256 bytes.
45551
45552 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45553
45554         [BZ #12167]
45555         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45556         of inacessible symlinks.  Verify result of symlink before returning it.
45557         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45558         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45559
45560 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45561
45562         * math/math.h (isinf): Fix typo in comment.
45563
45564 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45565
45566         * po/da.po: Update from translation team.
45567
45568 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45569
45570         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45571         is added to the list.
45572
45573 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45574             Ulrich Drepper  <drepper@gmail.com>
45575
45576         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45577         the global list here.  Move code to...
45578         (_dl_add_to_namespace_list): ...here.  New function.
45579         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45580         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45581         * elf/dl-load.c (lose): Don't remove the element from the list.
45582         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45583         (_dl_map_object): Likewise.
45584
45585 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45586
45587         [BZ #12159]
45588         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45589         into all bytes of SSE register.
45590         Patch by Richard Li <richardpku@gmail.com>.
45591
45592 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45593
45594         [BZ #12140]
45595         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45596         perturbing.
45597
45598 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45599
45600         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45601         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45602         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45603         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45605         submachine.
45606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45607
45608 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45609
45610         * include/dlfcn.h (__RTLD_SECURE): Define.
45611         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45612         mode & __RTLD_SECURE instead.
45613         (open_path): Rename preloaded parameter to secure.
45614         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45615         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45616         * elf/dl-deps.c (openaux): Likewise.
45617         * elf/rtld.c (struct map_args): Remove is_preloaded.
45618         (map_doit): Don't use it.
45619         (dl_main): Likewise.
45620         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45621         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45622
45623 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45624
45625         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45626         (sysd-rules-targets): Remove duplicates.
45627         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45628         rtld-%.$o dependency.
45629
45630 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45631
45632         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45633         _dl_map_object do it.
45634
45635 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45636
45637         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45638         fast fma builtins, define the macros in the C99 standard.
45639         (FP_FAST_FMAF): Likewise.
45640         (FP_FAST_FMAL): Likewise.
45641         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45642
45643         * bits/mathdef.h: Update copyright year.
45644         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45645
45646 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45647
45648         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45649         builtins, define the macros in the C99 standard.
45650         (FP_FAST_FMAF): Likewise.
45651         (FP_FAST_FMAL): Likewise.
45652         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45653         multiply/add.
45654         (FP_FAST_FMAF): Likewise.
45655
45656 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45657
45658         [BZ #3268]
45659         * math/libm-test.inc (fma_test): Some new testcases.
45660         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45661         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45662         y and infinite z.  Do multiplication by C already in long double.
45663         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45665         y and infinite z.  Do bitwise or of inexact bit into u.d.
45666         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45667         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45668         * sysdeps/i386/fpu/s_fma.S: Removed.
45669         * sysdeps/i386/fpu/s_fmal.S: Removed.
45670
45671 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45672
45673         [BZ #3268]
45674         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45675         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45676         computation is not scheduled after fetestexcept.  Fix value
45677         of minimum denormal long double.
45678
45679 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45680
45681         [BZ #3268]
45682         * math/libm-test.inc (fma_test): Add some more tests.
45683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45684         correctly.
45685
45686 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45687
45688         * scripts/data/localplt-s390-linux-gnu.data: New file.
45689         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45690
45691 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45692
45693         [BZ #3268]
45694         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45695         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45696         instead of dbl-64.
45697         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45698         inlines.
45699         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45701         if one of x and y is very large and the other is subnormal.
45702         * sysdeps/s390/fpu/s_fmaf.c: New file.
45703         * sysdeps/s390/fpu/s_fma.c: New file.
45704         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45705         * sysdeps/powerpc/fpu/s_fma.S: New file.
45706         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45707         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45708         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45709
45710 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45711
45712         [BZ #3268]
45713         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45714         fma tests.
45715         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45716         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45717         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45718         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45719         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45720         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45721         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45722
45723 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45724
45725         [BZ #12078]
45726         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45727         * posix/bug-regex31.input: Add test case.
45728
45729 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45730
45731         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45732         * posix/bug-regex31.input: New file.
45733
45734         [BZ #12078]
45735         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45736         (parse_sub_exp): Fix last change, use postorder.
45737
45738         * posix/bug-regex31.c: New file.
45739         * posix/Makefile: Add rules to build and run bug-regex31.
45740
45741         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45742
45743         [BZ #12078]
45744         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45745
45746         [BZ #12108]
45747         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45748         to have entries in sys_siglist.
45749
45750         [BZ #12093]
45751         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45752         be NULL.
45753
45754 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45755
45756         [BZ #3268]
45757         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45758         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45759         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45760         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45761         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45762         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45763         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45764         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45765         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45766         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45767         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45768         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45769         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45770         * math/ftestexcept.c (fetestexcept): Likewise.
45771         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45772         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45773         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45774         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45775         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45776         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45777         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45778
45779 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45780
45781         [BZ #12107]
45782         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45783         newline.
45784
45785 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45786
45787         * string/bug-strstr1.c: New file.
45788         * string/Makefile: Add rules to build and run bug-strstr1.
45789
45790 2010-10-05  Eric Blake  <eblake@redhat.com>
45791
45792         [BZ #12092]
45793         * string/str-two-way.h (two_way_long_needle): Always clear memory
45794         when skipping input due to the shift table.
45795
45796 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45797
45798         [BZ #12005]
45799         * malloc/mcheck.c: Handle large requests.
45800
45801         [BZ #12077]
45802         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45803         for strncmp and strncasecmp.
45804         * string/stratcliff.c: Add tests for strcmp and strncmp.
45805         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45806
45807 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45808
45809         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45810         __set_fpscr.
45811
45812 2010-09-30  Andreas Jaeger  <aj@suse.de>
45813
45814         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45815         (CGROUP_SUPER_MAGIC): Define.
45816         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45817         Handle btrfs and cgroup file systems.
45818         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45819         Likewise.
45820
45821 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45822
45823         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45824         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45825
45826 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45827
45828         [BZ #12067]
45829         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45830         trying to locate the ELF header.
45831
45832 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45833
45834         [BZ #11611]
45835         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45836         Mask out sign-bit copies when constructing f_fsid.
45837
45838 2010-09-24  Petr Baudis <pasky@suse.cz>
45839
45840         * debug/stack_chk_fail_local.c: Add missing licence exception.
45841         * debug/warning-nop.c: Likewise.
45842
45843 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45844
45845         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45846         implementing getdents64 using getdents syscall, set d_type if
45847         __ASSUME_GETDENTS32_D_TYPE.
45848
45849 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45850
45851         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45852         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45853
45854 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45855
45856         [BZ #12037]
45857         * posix/unistd.h: Undo change of feature selection for ftruncate from
45858         2010-01-11.
45859
45860 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45861
45862         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45863         detection.
45864
45865 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45866
45867         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45868         fanotify_mark.
45869         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45870
45871 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45872
45873         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45874         variables after CHECK_SP call.
45875         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45876
45877 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45878             Ulrich Drepper  <drepper@redhat.com>
45879
45880         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45881         re-relocationg ld.so.
45882         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45883         _dl_init_paths call.
45884         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45885         here anymore.
45886
45887 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45888
45889         * resolv/res_init.c (__res_vinit): Count the default server we added.
45890
45891 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45892             Ulrich Drepper  <drepper@redhat.com>
45893
45894         [BZ #11968]
45895         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45896         (____longjmp_chk): Use %ebx for saving value across system call.
45897         Add unwind info.
45898
45899 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45900
45901         * manual/Makefile: Don't mix pattern rules with normal rules.
45902
45903 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45904
45905         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45906         operation.
45907         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45908         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45909         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45910         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45912         Likewise.
45913
45914 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45915
45916         [BZ #11979]
45917         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45918         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45919
45920 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45921
45922         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45923         * sysdeps/x86_64/addmul_1.S: Likewise.
45924         * sysdeps/x86_64/lshift.S: Likewise.
45925         * sysdeps/x86_64/mul_1.S: Likewise.
45926         * sysdeps/x86_64/rshift.S: Likewise.
45927         * sysdeps/x86_64/sub_n.S: Likewise.
45928         * sysdeps/x86_64/submul_1.S: Likewise.
45929
45930 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45931
45932         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45933         Define __sched_param instead of SCHED_* and sched_param when
45934         <bits/sched.h> is included with __need_schedparam defined.
45935         * bits/sched.h [__need_schedparam]
45936         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45937         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45938         (__defined_schedparam): Define to 1.
45939         (__sched_param): New structure, identical to sched_param.
45940         (__need_schedparam): Undefine.
45941
45942 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45943
45944         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45945         (epoll_create1): Declare.
45946
45947         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45948
45949 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45950
45951         [BZ #7066]
45952         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45953         shifting retval into place.
45954
45955 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45956
45957         * nis/rpcsvc/nis.h: Update copyright notice.
45958         * nis/rpcsvc/nis.x: Likewise.
45959         * nis/rpcsvc/nis_callback.h: Likewise.
45960         * nis/rpcsvc/nis_callback.x: Likewise.
45961         * nis/rpcsvc/nis_object.x: Likewise.
45962         * nis/rpcsvc/nis_tags.h: Likewise.
45963         * nis/rpcsvc/yp.h: Likewise.
45964         * nis/rpcsvc/yp.x: Likewise.
45965         * nis/rpcsvc/ypupd.h: Likewise.
45966         * nis/yp_xdr.c: Likewise.
45967         * nis/ypupdate_xdr.c: Likewise.
45968
45969         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45970         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45971         (pmap_getport): Use __libc_rpc_getport.
45972         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45973         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45974         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45975
45976 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45977
45978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45979         fanotify_mark.
45980
45981 2010-08-27  Roland McGrath  <roland@redhat.com>
45982
45983         * sysdeps/i386/i686/multiarch/Makefile
45984         (CFLAGS-varshift.c): New variable.
45985
45986 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45987
45988         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45989         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45990
45991         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45992
45993         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45994
45995 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45996
45997         * sysdeps/x86_64/strlen.S: Unroll the loop.
45998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45999         strlen-sse2 strlen-sse2-bsf.
46000         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46001         __strlen_no_bsf if bit_Slow_BSF is set.
46002         (__strlen_sse42): Removed.
46003         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46004         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46005
46006 2010-08-25  Roland McGrath  <roland@redhat.com>
46007
46008         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46009         * sysdeps/x86_64/multiarch/varshift.c: New file.
46010         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46011         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46012         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46013         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46014
46015 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46016
46017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46018         strlen-sse2 strlen-sse2-bsf.
46019         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46020         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46021         (__strlen_sse2): Removed.
46022         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46023         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46024         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46025         bit_Slow_BSF for Atom.
46026         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46027         (index_Slow_BSF): Define.
46028         (HAS_SLOW_BSF): Define.
46029
46030 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46031
46032         [BZ #10851]
46033         * resolv/res_init.c (__res_vinit): When no server address at all
46034         is given default to loopback.
46035
46036 2010-08-24  Roland McGrath  <roland@redhat.com>
46037
46038         * configure.in: Remove config-name.h generation.
46039         * configure: Regenerated.
46040         * config-name.in: File removed.
46041         * scripts/config-uname.sh: New file.
46042         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46043         ($(objdir)config-name.h): New target.
46044
46045         * sunrpc/rpc_parse.h: Avoid nested comment.
46046
46047 2010-08-24  Richard Henderson  <rth@redhat.com>
46048             Ulrich Drepper  <drepper@redhat.com>
46049             H.J. Lu  <hongjiu.lu@intel.com>
46050
46051         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46053         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46054         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46055         _mm_alignr_epi8 with _mm_loadu_si128.
46056         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46057         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46058         (__m128i_shift_right): Removed.
46059         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46060         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46061         * sysdeps/x86_64/multiarch/varshift.h: New file.
46062         * sysdeps/x86_64/multiarch/varshift.S: New file.
46063
46064 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46065
46066         * configure.in: Move assembler checks to before sysdep dir checking.
46067
46068 2010-08-20  Petr Baudis  <pasky@suse.cz>
46069
46070         * LICENSES: Sync the sunrpc license.
46071
46072 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46073
46074         * sunrpc/auth_des.c: Update copyright notice once again.
46075         * sunrpc/auth_none.c: Likewise.
46076         * sunrpc/auth_unix.c: Likewise.
46077         * sunrpc/authdes_prot.c: Likewise.
46078         * sunrpc/authuxprot.c: Likewise.
46079         * sunrpc/bindrsvprt.c: Likewise.
46080         * sunrpc/clnt_gen.c: Likewise.
46081         * sunrpc/clnt_perr.c: Likewise.
46082         * sunrpc/clnt_raw.c: Likewise.
46083         * sunrpc/clnt_simp.c: Likewise.
46084         * sunrpc/clnt_tcp.c: Likewise.
46085         * sunrpc/clnt_udp.c: Likewise.
46086         * sunrpc/clnt_unix.c: Likewise.
46087         * sunrpc/des_crypt.c: Likewise.
46088         * sunrpc/des_soft.c: Likewise.
46089         * sunrpc/get_myaddr.c: Likewise.
46090         * sunrpc/getrpcport.c: Likewise.
46091         * sunrpc/key_call.c: Likewise.
46092         * sunrpc/key_prot.c: Likewise.
46093         * sunrpc/openchild.c: Likewise.
46094         * sunrpc/pm_getmaps.c: Likewise.
46095         * sunrpc/pm_getport.c: Likewise.
46096         * sunrpc/pmap_clnt.c: Likewise.
46097         * sunrpc/pmap_prot.c: Likewise.
46098         * sunrpc/pmap_prot2.c: Likewise.
46099         * sunrpc/pmap_rmt.c: Likewise.
46100         * sunrpc/rpc/auth.h: Likewise.
46101         * sunrpc/rpc/auth_unix.h: Likewise.
46102         * sunrpc/rpc/clnt.h: Likewise.
46103         * sunrpc/rpc/des_crypt.h: Likewise.
46104         * sunrpc/rpc/key_prot.h: Likewise.
46105         * sunrpc/rpc/netdb.h: Likewise.
46106         * sunrpc/rpc/pmap_clnt.h: Likewise.
46107         * sunrpc/rpc/pmap_prot.h: Likewise.
46108         * sunrpc/rpc/pmap_rmt.h: Likewise.
46109         * sunrpc/rpc/rpc.h: Likewise.
46110         * sunrpc/rpc/rpc_des.h: Likewise.
46111         * sunrpc/rpc/rpc_msg.h: Likewise.
46112         * sunrpc/rpc/svc.h: Likewise.
46113         * sunrpc/rpc/svc_auth.h: Likewise.
46114         * sunrpc/rpc/types.h: Likewise.
46115         * sunrpc/rpc/xdr.h: Likewise.
46116         * sunrpc/rpc_clntout.c: Likewise.
46117         * sunrpc/rpc_cmsg.c: Likewise.
46118         * sunrpc/rpc_common.c: Likewise.
46119         * sunrpc/rpc_cout.c: Likewise.
46120         * sunrpc/rpc_dtable.c: Likewise.
46121         * sunrpc/rpc_hout.c: Likewise.
46122         * sunrpc/rpc_main.c: Likewise.
46123         * sunrpc/rpc_parse.c: Likewise.
46124         * sunrpc/rpc_parse.h: Likewise.
46125         * sunrpc/rpc_prot.c: Likewise.
46126         * sunrpc/rpc_sample.c: Likewise.
46127         * sunrpc/rpc_scan.c: Likewise.
46128         * sunrpc/rpc_scan.h: Likewise.
46129         * sunrpc/rpc_svcout.c: Likewise.
46130         * sunrpc/rpc_tblout.c: Likewise.
46131         * sunrpc/rpc_util.c: Likewise.
46132         * sunrpc/rpc_util.h: Likewise.
46133         * sunrpc/rpcinfo.c: Likewise.
46134         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46135         * sunrpc/rpcsvc/key_prot.x: Likewise.
46136         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46137         * sunrpc/rpcsvc/mount.x: Likewise.
46138         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46139         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46140         * sunrpc/rpcsvc/rex.x: Likewise.
46141         * sunrpc/rpcsvc/rstat.x: Likewise.
46142         * sunrpc/rpcsvc/rusers.x: Likewise.
46143         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46144         * sunrpc/rpcsvc/spray.x: Likewise.
46145         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46146         * sunrpc/rtime.c: Likewise.
46147         * sunrpc/svc.c: Likewise.
46148         * sunrpc/svc_auth.c: Likewise.
46149         * sunrpc/svc_authux.c: Likewise.
46150         * sunrpc/svc_raw.c: Likewise.
46151         * sunrpc/svc_run.c: Likewise.
46152         * sunrpc/svc_simple.c: Likewise.
46153         * sunrpc/svc_tcp.c: Likewise.
46154         * sunrpc/svc_udp.c: Likewise.
46155         * sunrpc/svc_unix.c: Likewise.
46156         * sunrpc/svcauth_des.c: Likewise.
46157         * sunrpc/xcrypt.c: Likewise.
46158         * sunrpc/xdr.c: Likewise.
46159         * sunrpc/xdr_array.c: Likewise.
46160         * sunrpc/xdr_float.c: Likewise.
46161         * sunrpc/xdr_mem.c: Likewise.
46162         * sunrpc/xdr_rec.c: Likewise.
46163         * sunrpc/xdr_ref.c: Likewise.
46164         * sunrpc/xdr_sizeof.c: Likewise.
46165         * sunrpc/xdr_stdio.c: Likewise.
46166
46167         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46168         handling.
46169
46170 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46171
46172         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46173
46174 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46175
46176         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46177         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46178         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46179         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46180         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46181         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46182         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46183         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46184         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46185         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46186         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46187         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46188         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46189         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46190
46191 2010-07-26  Anton Blanchard  <anton@samba.org>
46192
46193         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46194         * malloc/arena.c (heap_trim): Likewise.
46195
46196 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46197
46198         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46199         here.  Not...
46200         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46201         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46202
46203 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46204
46205         * sysdeps/i386/elf/Makefile: New file.
46206
46207 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46208
46209         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46210         from fanotify_init.
46211         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46212         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46213
46214 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46215
46216         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46217         of strncasecmp_l.
46218         * sysdeps/multiarch/strcmp.S: Likewise.
46219
46220 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46221
46222         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46223         strncase_l-nonascii.
46224         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46225         Add strncase_l-ssse3.
46226         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46227         * sysdeps/x86_64/strcmp.S: Likewise.
46228         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46229         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46230         * sysdeps/x86_64/strncase.S: New file.
46231         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46232         * sysdeps/x86_64/strncase_l.S: New file.
46233         * string/Makefile (strop-tests): Add strncasecmp.
46234         * string/test-strncasecmp.c: New file.
46235
46236         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46237         warning.
46238
46239         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46240         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46241
46242 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46243
46244         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46245
46246 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46247
46248         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46249         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46250         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46251
46252 2010-05-01  Alan Modra  <amodra@gmail.com>
46253
46254         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46255         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46256         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46257         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46258         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46259         tidying.  Don't tail-call __sigjmp_save for static lib.
46260         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46261         save location.
46262         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46263         (CALL_MCOUNT): Add eh info, and nop after bl.
46264         (TAIL_CALL_SYSCALL_ERROR): New macro.
46265         (PSEUDO_RET): Use it.
46266         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46267         Correct save location of integer regs and cr.
46268         (_dl_profile_resolve): Correct cr save location.  Delete nops
46269         after bl when SHARED.  Reduce cfi size a little by better
46270         placement of cfi directives.
46271         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46272         make a stack frame.  Instead use parm save area as a temp.
46273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46274         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46276         Don't make a stack frame for parent, use parm save area.
46277         Increase child stack frame to 112 bytes.  Don't save unused reg,
46278         and adjust reg usage.  Set up cfi on error recovery and
46279         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46281         (__makecontext): Add dummy nop after jump to exit.
46282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46283         Use correct parm save area and cr save, reduce stack frame.
46284         Correct cfi for possible PSEUDO_RET frame setup.
46285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46286         Branch to local label emitted by PSEUDO_RET rather than
46287         __syscall_error.
46288
46289 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46290
46291         [BZ #11904]
46292         * locale/programs/locale.c (print_assignment): New function.
46293         (show_locale_vars): Use it.
46294
46295 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46296
46297         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46298         field.
46299         (struct statfs64): Likewise.
46300         (_STATFS_F_FLAGS): Define.
46301         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46302         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46303         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46304         (ST_VALID): Define locally.
46305         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46306         __statvfs_getflags, use the provided value.
46307         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46308         __ASSUME_STATFS_F_FLAGS.
46309
46310         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46311
46312         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46313         Add sys/fanotify.h.
46314         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46315         fanotify_mask for GLIBC_2.13.
46316         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46317         fanotify_init and fanotify_mark.
46318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46319         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46320
46321         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46322         Add prlimit.
46323         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46324         prlimit64 for GLIBC_2.13.
46325         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46326         prlimit64.
46327         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46328         syscall.
46329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46330         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46331         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46332         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46333         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46334         add prlimit alias.
46335         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46336
46337         [BZ #11903]
46338         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46339         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46340
46341         * nss/Makefile: Add rules to build and run tst-nss-test1.
46342         * shlib-versions: Add entry for libnss_test1.
46343         * nss/nss_test1.c: New file.
46344         * nss/tst-nss-test1.c: New file.
46345
46346         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46347         (__nss_configure_lookup): Set appropriate entry in
46348         __nss_configure_lookup to true.
46349         * nss/nsswitch.h: Define enum with indeces of databases in
46350         databases and __nss_database_custom arrays.  Declare
46351         __nss_database_custom.
46352         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46353         to avoid using nscd when custom rules are installed.
46354         * nss/getXXbyYY_r.c: Likewise.
46355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46356
46357         * nss/nss_files/files-parse.c: Whitespace fixes.
46358
46359 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46360
46361         [BZ #11883]
46362         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46363         * posix/fnmatch_loop.c: Likewise.
46364
46365 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46366
46367         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46368         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46369         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46370         * Versions.def [GLIBC_2.13]: Add.
46371
46372 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46373
46374         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46375         Also fail if tpwd after pwuid call is NULL.
46376
46377 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46378
46379         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46380         when converting to ms.
46381
46382 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46383
46384         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46385         EOPNOTSUPP errors with ENOTTY.
46386         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46387         EOPNOTSUPP errors with ENOTTY.
46388
46389 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46390
46391         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46392         Add strcasecmp_l-ssse3.
46393         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46394         strcasecmp.
46395         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46396         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46397         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46398
46399 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46400
46401         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46402
46403         * string/Makefile (strop-tests): Add strcasecmp.
46404         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46405         strcasecmp_l-nonascii.
46406         (gen-as-const-headers): Add locale-defines.sym.
46407         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46408         * sysdeps/x86_64/strcasecmp.S: New file.
46409         * sysdeps/x86_64/strcasecmp_l.S: New file.
46410         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46411         * sysdeps/x86_64/locale-defines.sym: New file.
46412         * string/test-strcasecmp.c: New file.
46413
46414         * string/test-strcasestr.c: Test both ends of the range of characters.
46415         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46416
46417 2010-07-29  Roland McGrath  <roland@redhat.com>
46418
46419         [BZ #11856]
46420         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46421
46422 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46423
46424         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46425         for ld.so.
46426
46427 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46428
46429         * manual/memory.texi (Malloc Tunable Parameters): Document
46430         M_PERTURB.
46431
46432 2010-07-26  Roland McGrath  <roland@redhat.com>
46433
46434         [BZ #11840]
46435         * configure.in (-fgnu89-inline check): Set and substitute
46436         gnu89_inline, not libc_cv_gnu89_inline.
46437         * configure: Regenerated.
46438         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46439
46440 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46441
46442         * string/test-strnlen.c: New file.
46443         * string/Makefile (strop-tests): Add strnlen.
46444         * string/tester.c (test_strnlen): Add a few more test cases.
46445         * string/tst-strlen.c: Better error reporting.
46446
46447         * sysdeps/x86_64/strnlen.S: New file.
46448
46449 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46450
46451         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46452         lower-latency instructions.
46453
46454 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46455
46456         * string/test-strcasestr.c: New file.
46457         * string/test-strstr.c: New file.
46458         * string/Makefile (strop-tests): Add strstr and strcasestr.
46459         * string/str-two-way.h: Don't undefine MAX.
46460         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46461
46462 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46463
46464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46465         strcasestr-nonascii.
46466         (CFLAGS-strcasestr-nonascii.c): Define.
46467         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46468         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46469         Remove unused attribute.
46470
46471 2010-07-20  Roland McGrath  <roland@redhat.com>
46472
46473         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46474         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46475         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46476         like LD_HWCAP_MASK can disable hwcaps.
46477
46478 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46479
46480         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46481
46482 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46483
46484         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46485         call in strcasestr.
46486         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46487         __strcasestr_sse42_nonascii.
46488         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46489         strcasestr-nonascii.c.
46490         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46491
46492 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46493
46494         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46495         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46496         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46497         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46498
46499 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46500
46501         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46502         fcntl.
46503
46504 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46505
46506         [BZ #11577]
46507         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46508         dl_signal_cerror.
46509
46510 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46511
46512         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46513         _PC_PIPE_BUF using F_GETPIPE_SZ.
46514
46515 2010-07-05  Roland McGrath  <roland@redhat.com>
46516
46517         * manual/arith.texi (Rounding Functions): Fix rint description
46518         implicit in round description.
46519
46520 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46521
46522         * elf/Makefile: Fix linking for a few tests to make recent linker
46523         happy.
46524
46525 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46526
46527         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46528         $(common-objpfx)libc_nonshared.a.
46529
46530 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46531
46532         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46533         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46534         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46535         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46536         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46537         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46538         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46539         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46554         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46555         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46556         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46557         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46558         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46559         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46560         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46561         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46562         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46563         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46564         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46565         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46580
46581 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46582
46583         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46584         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46585         * string/memmove.c (memmove): Renamed to ...
46586         (MEMMOVE): ...this.  Default to memmove.
46587         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46588         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46589         (END_CHK): Define.
46590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46591         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46592         mempcpy-ssse3-back memmove-ssse3-back.
46593         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46594         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46595         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46596         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46597         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46598         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46599         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46600         * sysdeps/x86_64/multiarch/memmove.c: New file.
46601         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46602         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46603         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46604         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46605         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46606         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46607         Define.
46608         (index_Fast_Copy_Backward): Define.
46609         (HAS_ARCH_FEATURE): Define.
46610         (HAS_FAST_REP_STRING): Define.
46611         (HAS_FAST_COPY_BACKWARD): Define.
46612
46613 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46614
46615         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46616         Restore proper fallback handling.
46617
46618 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46619
46620         [BZ #11701]
46621         * posix/group_member.c (__group_member): Correct checking loop.
46622
46623         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46624         OOM in getpwuid_r correctly.  Return error number when the caller
46625         should return, otherwise -1.
46626         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46627         call returning > 0 value.
46628         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46629
46630 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46631
46632         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46633         libc_nonshared.a from targets in modules-names.
46634
46635 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46636
46637         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46638         requires it.
46639
46640 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46641
46642         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46643         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46644         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46645         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46646
46647 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46648
46649         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46650
46651 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46652
46653         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46654         and F_GETPIPE_SZ.
46655         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46656         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46659         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46660         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46661
46662 2010-06-14  Roland McGrath  <roland@redhat.com>
46663
46664         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46665
46666 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46667
46668         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46669         __REDIRECT followed by __THROW.
46670         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46671         * posix/getopt.h (getopt): Likewise.
46672
46673 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46674
46675         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46676         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46677         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46678         in AT_FLAGS.
46679         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46680         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46681
46682 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46683
46684         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46685
46686 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46687
46688         [BZ #11640]
46689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46690         Properly check family and model.
46691
46692 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46693
46694         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46695
46696 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46697
46698         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46699
46700 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46701
46702         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46703         symbol reference.
46704
46705 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46706
46707         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46708         symbol reference.
46709
46710 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46711
46712         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46713         and internal_recvmmsg.
46714         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46715         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46716         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46717         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46718
46719         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46720         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46721         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46722
46723 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46724
46725         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46726
46727 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46728
46729         POWER7 optimizations.
46730         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46731         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46732
46733 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46734
46735         * version.h: Update for 2.13 development version.
46736
46737 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46738
46739         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46740         exceptions.  Return 0.
46741
46742 2010-05-07  Roland McGrath  <roland@redhat.com>
46743
46744         * elf/ldconfig.c (main): Add a const.
46745
46746 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46747
46748         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46749         (args_options): Add no-idn option.
46750         (ahosts_keys_int): Add idn_flags to ai_flags.
46751         (parse_option): Handle 'i' option to clear idn_flags.
46752
46753         * malloc/malloc.c (_int_free): Possible race in the most recently
46754         added check.  Only act on the data if no current modification
46755         happened.
46756
46757 See ChangeLog.17 for earlier changes.